| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 3127a2b commit 2799f59
5 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5189,6 +5189,12 @@ For code running using Node.js APIs, converting between base64-encoded strings | |||
| 5189 | 5189 | and binary data should be performed using `Buffer.from(str, 'base64')` and | |
| 5190 | 5190 | `buf.toString('base64')`.** | |
| 5191 | 5191 | ||
| 5192 | + An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/buffer-atob-btoa): | ||
| 5193 | + | ||
| 5194 | + ```bash | ||
| 5195 | + npx codemod@latest @nodejs/buffer-atob-btoa | ||
| 5196 | + ``` | ||
| 5197 | + | ||
| 5192 | 5198 | ### `buffer.btoa(data)` | |
| 5193 | 5199 | ||
| 5194 | 5200 | <!-- YAML | |
@@ -5213,6 +5219,12 @@ For code running using Node.js APIs, converting between base64-encoded strings | |||
| 5213 | 5219 | and binary data should be performed using `Buffer.from(str, 'base64')` and | |
| 5214 | 5220 | `buf.toString('base64')`.** | |
| 5215 | 5221 | ||
| 5222 | + An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/buffer-atob-btoa): | ||
| 5223 | + | ||
| 5224 | + ```bash | ||
| 5225 | + npx codemod@latest @nodejs/buffer-atob-btoa | ||
| 5226 | + ``` | ||
| 5227 | + | ||
| 5216 | 5228 | ### `buffer.isAscii(input)` | |
| 5217 | 5229 | ||
| 5218 | 5230 | <!-- YAML | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1034,6 +1034,12 @@ Type: Runtime | |||
| 1034 | 1034 | The [`util.isArray()`][] API is deprecated. Please use `Array.isArray()` | |
| 1035 | 1035 | instead. | |
| 1036 | 1036 | ||
| 1037 | + An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/util-is)): | ||
| 1038 | + | ||
| 1039 | + ```bash | ||
| 1040 | + npx codemod@latest @nodejs/util-is | ||
| 1041 | + ``` | ||
| 1042 | + | ||
| 1037 | 1043 | ### DEP0045: `util.isBoolean()` | |
| 1038 | 1044 | ||
| 1039 | 1045 | <!-- YAML | |
@@ -2196,6 +2202,12 @@ Type: Runtime | |||
| 2196 | 2202 | The [`crypto.fips`][] property is deprecated. Please use `crypto.setFips()` | |
| 2197 | 2203 | and `crypto.getFips()` instead. | |
| 2198 | 2204 | ||
| 2205 | + An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/crypto-fips-to-getFips)). | ||
| 2206 | + | ||
| 2207 | + ```bash | ||
| 2208 | + npx codemod@latest @nodejs/crypto-fips-to-getFips | ||
| 2209 | + ``` | ||
| 2210 | + | ||
| 2199 | 2211 | ### DEP0094: Using `assert.fail()` with more than one argument | |
| 2200 | 2212 | ||
| 2201 | 2213 | <!-- YAML | |
@@ -2323,6 +2335,12 @@ Type: End-of-Life | |||
| 2323 | 2335 | ||
| 2324 | 2336 | This was never a documented feature. | |
| 2325 | 2337 | ||
| 2338 | + An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/createCredentials-to-createSecureContext)). | ||
| 2339 | + | ||
| 2340 | + ```bash | ||
| 2341 | + npx codemod@latest @nodejs/createCredentials-to-createSecureContext | ||
| 2342 | + ``` | ||
| 2343 | + | ||
| 2326 | 2344 | ### DEP0101: `--with-lttng` | |
| 2327 | 2345 | ||
| 2328 | 2346 | <!-- YAML | |
@@ -4046,6 +4064,12 @@ Instantiating classes without the `new` qualifier exported by the `node:repl` mo | |||
| 4046 | 4064 | The `new` qualifier must be used instead. This applies to all REPL classes, including | |
| 4047 | 4065 | `REPLServer` and `Recoverable`. | |
| 4048 | 4066 | ||
| 4067 | + An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/repl-classes-with-new)): | ||
| 4068 | + | ||
| 4069 | + ```bash | ||
| 4070 | + npx codemod@latest @nodejs/repl-classes-with-new | ||
| 4071 | + ``` | ||
| 4072 | + | ||
| 4049 | 4073 | <!-- md-lint skip-deprecation DEP0186 --> | |
| 4050 | 4074 | ||
| 4051 | 4075 | ### DEP0187: Passing invalid argument types to `fs.existsSync` | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -274,7 +274,7 @@ added: v16.0.0 | |||
| 274 | 274 | ||
| 275 | 275 | Global alias for [`buffer.atob()`][]. | |
| 276 | 276 | ||
| 277 | - An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/util-is)): | ||
| 277 | + An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/buffer-atob-btoa)): | ||
| 278 | 278 | ||
| 279 | 279 | ```bash | |
| 280 | 280 | npx codemod@latest @nodejs/buffer-atob-btoa | |
@@ -298,6 +298,12 @@ added: v16.0.0 | |||
| 298 | 298 | ||
| 299 | 299 | Global alias for [`buffer.btoa()`][]. | |
| 300 | 300 | ||
| 301 | + An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/buffer-atob-btoa)): | ||
| 302 | + | ||
| 303 | + ```bash | ||
| 304 | + npx codemod@latest @nodejs/buffer-atob-btoa | ||
| 305 | + ``` | ||
| 306 | + | ||
| 301 | 307 | ## `clearImmediate(immediateObject)` | |
| 302 | 308 | ||
| 303 | 309 | <!-- YAML | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -698,6 +698,12 @@ deprecated: | |||
| 698 | 698 | ||
| 699 | 699 | A list of the names of some Node.js modules, e.g., `'http'`. | |
| 700 | 700 | ||
| 701 | + An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/repl-builtin-modules)): | ||
| 702 | + | ||
| 703 | + ```bash | ||
| 704 | + npx codemod@latest @nodejs/repl-builtin-modules | ||
| 705 | + ``` | ||
| 706 | + | ||
| 701 | 707 | ## `repl.start([options])` | |
| 702 | 708 | ||
| 703 | 709 | <!-- YAML | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3795,6 +3795,12 @@ util.isArray({}); | |||
| 3795 | 3795 | // Returns: false | |
| 3796 | 3796 | ``` | |
| 3797 | 3797 | ||
| 3798 | + An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/util-is)): | ||
| 3799 | + | ||
| 3800 | + ```bash | ||
| 3801 | + npx codemod@latest @nodejs/util-is | ||
| 3802 | + ``` | ||
| 3803 | + | ||
| 3798 | 3804 | [Common System Errors]: errors.md#common-system-errors | |
| 3799 | 3805 | [Custom inspection functions on objects]: #custom-inspection-functions-on-objects | |
| 3800 | 3806 | [Custom promisified functions]: #custom-promisified-functions | |
| Back | FazBrowse Home | New Git URL |
0 commit comments