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
+48Lines changed: 48 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1666,6 +1666,12 @@ Type: End-of-Life
1666
1666
The `tls.createSecurePair()` API was deprecated in documentation in Node.js
1667
1667
0.11.3. Users should use `tls.Socket` instead.
1668
1668
1669
+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/tls-create-secure-pair-to-tls-socket)):
### DEP0065: `repl.REPL_MODE_MAGIC` and `NODE_REPL_MODE=magic`
1670
1676
1671
1677
<!-- YAML
@@ -2256,6 +2262,12 @@ Type: End-of-Life
2256
2262
`timers.enroll()` has been removed. Please use the publicly documented
2257
2263
[`setTimeout()`][] or [`setInterval()`][] instead.
2258
2264
2265
+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/timers-deprecations)).
2266
+
2267
+
```bash
2268
+
npx codemod @nodejs/timers-deprecations
2269
+
```
2270
+
2259
2271
### DEP0096: `timers.unenroll()`
2260
2272
2261
2273
<!-- YAML
@@ -2273,6 +2285,12 @@ Type: End-of-Life
2273
2285
`timers.unenroll()` has been removed. Please use the publicly documented
2274
2286
[`clearTimeout()`][] or [`clearInterval()`][] instead.
2275
2287
2288
+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/timers-deprecations)).
2289
+
2290
+
```bash
2291
+
npx codemod @nodejs/timers-deprecations
2292
+
```
2293
+
2276
2294
### DEP0097: `MakeCallback` with `domain` property
2277
2295
2278
2296
<!-- YAML
@@ -2463,6 +2481,12 @@ It is recommended to derive a key using
2463
2481
[`crypto.createCipheriv()`][] and [`crypto.createDecipheriv()`][] to obtain the
2464
2482
[`Cipheriv`][] and [`Decipheriv`][] objects respectively.
2465
2483
2484
+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/crypto-createcipheriv-migration)):
0 commit comments