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
PR-URL: #60022
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
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)):
0 commit comments