doc: deprecation add more codemod

Signed-off-by: Augustin Mauroy <97875033+AugustinMauroy@users.noreply.github.com>
PR-URL: https://github.com/nodejs/node/pull/63175
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Aviv Keller <me@aviv.sh>
This commit is contained in:
Augustin Mauroy authored and Antoine du Hamel committed 2026-08-06 15:35:14 +02:00
1 parent 1329d9b9f1
commit 30c99bf08f
1 file changed
+48
+48
View File
@@ -1666,6 +1666,12 @@ Type: End-of-Life
The `tls.createSecurePair()` API was deprecated in documentation in Node.js
0.11.3. Users should use `tls.Socket` instead.
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/tls-create-secure-pair-to-tls-socket)):
```bash
npx codemod @nodejs/tls-create-secure-pair-to-tls-socket
```
### DEP0065: `repl.REPL_MODE_MAGIC` and `NODE_REPL_MODE=magic`
<!-- YAML
@@ -2256,6 +2262,12 @@ Type: End-of-Life
`timers.enroll()` has been removed. Please use the publicly documented
[`setTimeout()`][] or [`setInterval()`][] instead.
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/timers-deprecations)).
```bash
npx codemod @nodejs/timers-deprecations
```
### DEP0096: `timers.unenroll()`
<!-- YAML
@@ -2273,6 +2285,12 @@ Type: End-of-Life
`timers.unenroll()` has been removed. Please use the publicly documented
[`clearTimeout()`][] or [`clearInterval()`][] instead.
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/timers-deprecations)).
```bash
npx codemod @nodejs/timers-deprecations
```
### DEP0097: `MakeCallback` with `domain` property
<!-- YAML
@@ -2463,6 +2481,12 @@ It is recommended to derive a key using
[`crypto.createCipheriv()`][] and [`crypto.createDecipheriv()`][] to obtain the
[`Cipheriv`][] and [`Decipheriv`][] objects respectively.
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/crypto-createcipheriv-migration)):
```bash
npx codemod @nodejs/crypto-createcipheriv-migration
```
### DEP0107: `tls.convertNPNProtocols()`
<!-- YAML
@@ -2842,6 +2866,12 @@ Please use the publicly documented [`timeout.refresh()`][] instead.
If re-referencing the timeout is necessary, [`timeout.ref()`][] can be used
with no performance impact since Node.js 10.
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/timers-deprecations)).
```bash
npx codemod @nodejs/timers-deprecations
```
### DEP0127: `timers._unrefActive()`
<!-- YAML
@@ -2861,6 +2891,12 @@ Please use the publicly documented [`timeout.refresh()`][] instead.
If unreferencing the timeout is necessary, [`timeout.unref()`][] can be used
with no performance impact since Node.js 10.
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/timers-deprecations)).
```bash
npx codemod @nodejs/timers-deprecations
```
### DEP0128: modules with an invalid `main` entry and an `index.js` file
<!-- YAML
@@ -3510,6 +3546,12 @@ Type: End-of-Life
This error code was removed due to adding more confusion to
the errors used for value type validation.
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/err-invalid-callback)):
```bash
npx codemod @nodejs/err-invalid-callback
```
### DEP0160: `process.on('multipleResolves', handler)`
<!-- YAML
@@ -4192,6 +4234,12 @@ Type: End-of-Life
The support for priority signaling has been removed following its deprecation in the [RFC 9113][].
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/http2-priority-signaling)):
```bash
npx codemod@latest @nodejs/http2-priority-signaling
```
### DEP0195: Instantiating `node:http` classes without `new`
<!-- YAML