You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/api/buffer.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
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):
Copy file name to clipboardExpand all lines: doc/api/deprecations.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
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)).
@@ -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`
Copy file name to clipboardExpand all lines: doc/api/globals.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
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)):
Copy file name to clipboardExpand all lines: doc/api/repl.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
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)):
Copy file name to clipboardExpand all lines: doc/api/util.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
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
0 commit comments