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
{{ message }}
Repository navigation
Commit 9274903
Browse filesBrowse the repository at this point in the historyBrowse files
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
@@ -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)):
### 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
@@ -2487,6 +2505,12 @@ It is recommended to derive a key using
2487
2505
[`crypto.createCipheriv()`][] and [`crypto.createDecipheriv()`][] to obtain the
2488
2506
[`Cipheriv`][] and [`Decipheriv`][] objects respectively.
2489
2507
2508
+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/crypto-createcipheriv-migration)):
@@ -2876,6 +2900,12 @@ Please use the publicly documented [`timeout.refresh()`][] instead.
2876
2900
If re-referencing the timeout is necessary, [`timeout.ref()`][] can be used
2877
2901
with no performance impact since Node.js 10.
2878
2902
2903
+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/timers-deprecations)).
2904
+
2905
+
```bash
2906
+
npx codemod @nodejs/timers-deprecations
2907
+
```
2908
+
2879
2909
### DEP0127: `timers._unrefActive()`
2880
2910
2881
2911
<!-- YAML
@@ -2895,6 +2925,12 @@ Please use the publicly documented [`timeout.refresh()`][] instead.
2895
2925
If unreferencing the timeout is necessary, [`timeout.unref()`][] can be used
2896
2926
with no performance impact since Node.js 10.
2897
2927
2928
+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/timers-deprecations)).
2929
+
2930
+
```bash
2931
+
npx codemod @nodejs/timers-deprecations
2932
+
```
2933
+
2898
2934
### DEP0128: modules with an invalid `main` entry and an `index.js` file
2899
2935
2900
2936
<!-- YAML
@@ -3563,6 +3599,12 @@ Type: End-of-Life
3563
3599
This error code was removed due to adding more confusion to
3564
3600
the errors used for value type validation.
3565
3601
3602
+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/err-invalid-callback)):
The support for priority signaling has been removed following its deprecation in the [RFC 9113][].
4291
4333
4334
+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/http2-priority-signaling)):
0 commit comments