| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1329d9b commit 30c99bf
1 file changed
| 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)): | ||
| 1670 | + | ||
| 1671 | + ```bash | ||
| 1672 | + npx codemod @nodejs/tls-create-secure-pair-to-tls-socket | ||
| 1673 | + ``` | ||
| 1674 | + | ||
| 1669 | 1675 | ### 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)): | ||
| 2485 | + | ||
| 2486 | + ```bash | ||
| 2487 | + npx codemod @nodejs/crypto-createcipheriv-migration | ||
| 2488 | + ``` | ||
| 2489 | + | ||
| 2466 | 2490 | ### DEP0107: `tls.convertNPNProtocols()` | |
| 2467 | 2491 | ||
| 2468 | 2492 | <!-- YAML | |
@@ -2842,6 +2866,12 @@ Please use the publicly documented [`timeout.refresh()`][] instead. | |||
| 2842 | 2866 | If re-referencing the timeout is necessary, [`timeout.ref()`][] can be used | |
| 2843 | 2867 | with no performance impact since Node.js 10. | |
| 2844 | 2868 | ||
| 2869 | + An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/timers-deprecations)). | ||
| 2870 | + | ||
| 2871 | + ```bash | ||
| 2872 | + npx codemod @nodejs/timers-deprecations | ||
| 2873 | + ``` | ||
| 2874 | + | ||
| 2845 | 2875 | ### DEP0127: `timers._unrefActive()` | |
| 2846 | 2876 | ||
| 2847 | 2877 | <!-- YAML | |
@@ -2861,6 +2891,12 @@ Please use the publicly documented [`timeout.refresh()`][] instead. | |||
| 2861 | 2891 | If unreferencing the timeout is necessary, [`timeout.unref()`][] can be used | |
| 2862 | 2892 | with no performance impact since Node.js 10. | |
| 2863 | 2893 | ||
| 2894 | + An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/timers-deprecations)). | ||
| 2895 | + | ||
| 2896 | + ```bash | ||
| 2897 | + npx codemod @nodejs/timers-deprecations | ||
| 2898 | + ``` | ||
| 2899 | + | ||
| 2864 | 2900 | ### DEP0128: modules with an invalid `main` entry and an `index.js` file | |
| 2865 | 2901 | ||
| 2866 | 2902 | <!-- YAML | |
@@ -3510,6 +3546,12 @@ Type: End-of-Life | |||
| 3510 | 3546 | This error code was removed due to adding more confusion to | |
| 3511 | 3547 | the errors used for value type validation. | |
| 3512 | 3548 | ||
| 3549 | + An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/err-invalid-callback)): | ||
| 3550 | + | ||
| 3551 | + ```bash | ||
| 3552 | + npx codemod @nodejs/err-invalid-callback | ||
| 3553 | + ``` | ||
| 3554 | + | ||
| 3513 | 3555 | ### DEP0160: `process.on('multipleResolves', handler)` | |
| 3514 | 3556 | ||
| 3515 | 3557 | <!-- YAML | |
@@ -4192,6 +4234,12 @@ Type: End-of-Life | |||
| 4192 | 4234 | ||
| 4193 | 4235 | The support for priority signaling has been removed following its deprecation in the [RFC 9113][]. | |
| 4194 | 4236 | ||
| 4237 | + An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/http2-priority-signaling)): | ||
| 4238 | + | ||
| 4239 | + ```bash | ||
| 4240 | + npx codemod@latest @nodejs/http2-priority-signaling | ||
| 4241 | + ``` | ||
| 4242 | + | ||
| 4195 | 4243 | ### DEP0195: Instantiating `node:http` classes without `new` | |
| 4196 | 4244 | ||
| 4197 | 4245 | <!-- YAML | |
| Back | FazBrowse Home | New Git URL |
0 commit comments