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
+72Lines changed: 72 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -551,6 +551,12 @@ Type: End-of-Life
551
551
The `os.tmpDir()` API was deprecated in Node.js 7.0.0 and has since been
552
552
removed. Please use [`os.tmpdir()`][] instead.
553
553
554
+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/tmpDir-to-tmpdir)):
555
+
556
+
```bash
557
+
npx codemod@latest @nodejs/tmpDir-to-tmpdir
558
+
```
559
+
554
560
### DEP0023: `os.getNetworkInterfaces()`
555
561
556
562
<!-- YAML
@@ -628,6 +634,12 @@ Type: End-of-Life
628
634
629
635
`util.print()` has been removed. Please use [`console.log()`][] instead.
630
636
637
+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/util-print-to-console-log)):
`util.puts()` has been removed. Please use [`console.log()`][] instead.
651
663
664
+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/util-print-to-console-log)):
`util.debug()` has been removed. Please use [`console.error()`][] instead.
672
690
691
+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/util-debug-to-console-error)):
`util.error()` has been removed. Please use [`console.error()`][] instead.
693
717
718
+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/util-print-to-console-log)):
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/create-require-from-path)):
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/rmdir)):
3101
+
3102
+
```bash
3103
+
npx codemod@latest @nodejs/rmdir
3104
+
```
3105
+
3052
3106
### DEP0148: Folder mappings in `"exports"` (trailing `"/"`)
3053
3107
3054
3108
<!-- YAML
@@ -3630,6 +3684,12 @@ Type: Runtime
3630
3684
`F_OK`, `R_OK`, `W_OK` and `X_OK` getters exposed directly on `node:fs` are
3631
3685
deprecated. Get them from `fs.constants` or `fs.promises.constants` instead.
3632
3686
3687
+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/fs-access-mode-constants)):
0 commit comments