@@ -1680,6 +1680,12 @@ Type: End-of-Life |
1680 | 1680 | The `tls.createSecurePair()` API was deprecated in documentation in Node.js |
1681 | 1681 | 0.11.3. Users should use `tls.Socket` instead. |
1682 | 1682 |
|
| 1683 | +An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/tls-create-secure-pair-to-tls-socket)): |
| 1684 | + |
| 1685 | +```bash |
| 1686 | +npx codemod @nodejs/tls-create-secure-pair-to-tls-socket |
| 1687 | +``` |
| 1688 | + |
1683 | 1689 | ### DEP0065: `repl.REPL_MODE_MAGIC` and `NODE_REPL_MODE=magic` |
1684 | 1690 |
|
1685 | 1691 | <!-- YAML |
@@ -2276,6 +2282,12 @@ Type: End-of-Life |
2276 | 2282 | `timers.enroll()` has been removed. Please use the publicly documented |
2277 | 2283 | [`setTimeout()`][] or [`setInterval()`][] instead. |
2278 | 2284 |
|
| 2285 | +An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/timers-deprecations)). |
| 2286 | + |
| 2287 | +```bash |
| 2288 | +npx codemod @nodejs/timers-deprecations |
| 2289 | +``` |
| 2290 | + |
2279 | 2291 | ### DEP0096: `timers.unenroll()` |
2280 | 2292 |
|
2281 | 2293 | <!-- YAML |
@@ -2293,6 +2305,12 @@ Type: End-of-Life |
2293 | 2305 | `timers.unenroll()` has been removed. Please use the publicly documented |
2294 | 2306 | [`clearTimeout()`][] or [`clearInterval()`][] instead. |
2295 | 2307 |
|
| 2308 | +An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/timers-deprecations)). |
| 2309 | + |
| 2310 | +```bash |
| 2311 | +npx codemod @nodejs/timers-deprecations |
| 2312 | +``` |
| 2313 | + |
2296 | 2314 | ### DEP0097: `MakeCallback` with `domain` property |
2297 | 2315 |
|
2298 | 2316 | <!-- YAML |
@@ -2483,6 +2501,12 @@ It is recommended to derive a key using |
2483 | 2501 | [`crypto.createCipheriv()`][] and [`crypto.createDecipheriv()`][] to obtain the |
2484 | 2502 | [`Cipheriv`][] and [`Decipheriv`][] objects respectively. |
2485 | 2503 |
|
| 2504 | +An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/crypto-createcipheriv-migration)): |
| 2505 | + |
| 2506 | +```bash |
| 2507 | +npx codemod @nodejs/crypto-createcipheriv-migration |
| 2508 | +``` |
| 2509 | + |
2486 | 2510 | ### DEP0107: `tls.convertNPNProtocols()` |
2487 | 2511 |
|
2488 | 2512 | <!-- YAML |
@@ -2872,6 +2896,12 @@ Please use the publicly documented [`timeout.refresh()`][] instead. |
2872 | 2896 | If re-referencing the timeout is necessary, [`timeout.ref()`][] can be used |
2873 | 2897 | with no performance impact since Node.js 10. |
2874 | 2898 |
|
| 2899 | +An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/timers-deprecations)). |
| 2900 | + |
| 2901 | +```bash |
| 2902 | +npx codemod @nodejs/timers-deprecations |
| 2903 | +``` |
| 2904 | + |
2875 | 2905 | ### DEP0127: `timers._unrefActive()` |
2876 | 2906 |
|
2877 | 2907 | <!-- YAML |
@@ -2891,6 +2921,12 @@ Please use the publicly documented [`timeout.refresh()`][] instead. |
2891 | 2921 | If unreferencing the timeout is necessary, [`timeout.unref()`][] can be used |
2892 | 2922 | with no performance impact since Node.js 10. |
2893 | 2923 |
|
| 2924 | +An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/timers-deprecations)). |
| 2925 | + |
| 2926 | +```bash |
| 2927 | +npx codemod @nodejs/timers-deprecations |
| 2928 | +``` |
| 2929 | + |
2894 | 2930 | ### DEP0128: modules with an invalid `main` entry and an `index.js` file |
2895 | 2931 |
|
2896 | 2932 | <!-- YAML |
@@ -3559,6 +3595,12 @@ Type: End-of-Life |
3559 | 3595 | This error code was removed due to adding more confusion to |
3560 | 3596 | the errors used for value type validation. |
3561 | 3597 |
|
| 3598 | +An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/err-invalid-callback)): |
| 3599 | + |
| 3600 | +```bash |
| 3601 | +npx codemod @nodejs/err-invalid-callback |
| 3602 | +``` |
| 3603 | + |
3562 | 3604 | ### DEP0160: `process.on('multipleResolves', handler)` |
3563 | 3605 |
|
3564 | 3606 | <!-- YAML |
@@ -4277,6 +4319,12 @@ Type: End-of-Life |
4277 | 4319 |
|
4278 | 4320 | The support for priority signaling has been removed following its deprecation in the [RFC 9113][]. |
4279 | 4321 |
|
| 4322 | +An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/http2-priority-signaling)): |
| 4323 | + |
| 4324 | +```bash |
| 4325 | +npx codemod@latest @nodejs/http2-priority-signaling |
| 4326 | +``` |
| 4327 | + |
4280 | 4328 | ### DEP0195: Instantiating `node:http` classes without `new` |
4281 | 4329 |
|
4282 | 4330 | <!-- YAML |
|