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
PR-URL: #60811
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
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
@@ -1028,6 +1028,12 @@ Type: Runtime
1028
1028
The [`util.isArray()`][] API is deprecated. Please use `Array.isArray()`
1029
1029
instead.
1030
1030
1031
+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/util-is)):
1032
+
1033
+
```bash
1034
+
npx codemod@latest @nodejs/util-is
1035
+
```
1036
+
1031
1037
### DEP0045: `util.isBoolean()`
1032
1038
1033
1039
<!-- YAML
@@ -2184,6 +2190,12 @@ Type: Runtime
2184
2190
The [`crypto.fips`][] property is deprecated. Please use `crypto.setFips()`
2185
2191
and `crypto.getFips()` instead.
2186
2192
2193
+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/crypto-fips-to-getFips)).
2194
+
2195
+
```bash
2196
+
npx codemod@latest @nodejs/crypto-fips-to-getFips
2197
+
```
2198
+
2187
2199
### DEP0094: Using `assert.fail()` with more than one argument
2188
2200
2189
2201
<!-- YAML
@@ -2308,6 +2320,12 @@ Type: End-of-Life
2308
2320
2309
2321
This was never a documented feature.
2310
2322
2323
+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/createCredentials-to-createSecureContext)).
@@ -3987,6 +4005,12 @@ Instantiating classes without the `new` qualifier exported by the `node:repl` mo
3987
4005
It is recommended to use the `new` qualifier instead. This applies to all REPL classes, including
3988
4006
`REPLServer` and `Recoverable`.
3989
4007
4008
+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/repl-classes-with-new)):
4009
+
4010
+
```bash
4011
+
npx codemod@latest @nodejs/repl-classes-with-new
4012
+
```
4013
+
3990
4014
<!-- md-lint skip-deprecation DEP0186 -->
3991
4015
3992
4016
### DEP0187: Passing invalid argument types to `fs.existsSync`
0 commit comments