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/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`
0 commit comments