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)).
0 commit comments