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
@@ -2199,6 +2205,12 @@ Type: Runtime
2199
2205
The [`crypto.fips`][] property is deprecated. Please use `crypto.setFips()`
2200
2206
and `crypto.getFips()` instead.
2201
2207
2208
+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/crypto-fips-to-getFips)).
2209
+
2210
+
```bash
2211
+
npx codemod@latest @nodejs/crypto-fips-to-getFips
2212
+
```
2213
+
2202
2214
### DEP0094: Using `assert.fail()` with more than one argument
2203
2215
2204
2216
<!-- YAML
@@ -2326,6 +2338,12 @@ Type: End-of-Life
2326
2338
2327
2339
This was never a documented feature.
2328
2340
2341
+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/createCredentials-to-createSecureContext)).
@@ -4049,6 +4067,12 @@ Instantiating classes without the `new` qualifier exported by the `node:repl` mo
4049
4067
The `new` qualifier must be used instead. This applies to all REPL classes, including
4050
4068
`REPLServer` and `Recoverable`.
4051
4069
4070
+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/repl-classes-with-new)):
4071
+
4072
+
```bash
4073
+
npx codemod@latest @nodejs/repl-classes-with-new
4074
+
```
4075
+
4052
4076
<!-- md-lint skip-deprecation DEP0186 -->
4053
4077
4054
4078
### 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
@@ -3797,6 +3797,12 @@ util.isArray({});
3797
3797
// Returns: false
3798
3798
```
3799
3799
3800
+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/util-is)):
3801
+
3802
+
```bash
3803
+
npx codemod@latest @nodejs/util-is
3804
+
```
3805
+
3800
3806
[Common System Errors]: errors.md#common-system-errors
3801
3807
[Custom inspection functions on objects]: #custom-inspection-functions-on-objects
0 commit comments