Skip to content

Commit c412cc4

Browse files
fix: md formatting
1 parent ec96e3b commit c412cc4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

doc/api/deprecations.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,7 @@ The `os.tmpDir()` API was deprecated in Node.js 7.0.0 and has since been
552552
removed. Please use [`os.tmpdir()`][] instead.
553553

554554
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/tmpDir-to-tmpdir)):
555+
555556
```bash
556557
npx codemod@latest @nodejs/tmpDir-to-tmpdir
557558
```
@@ -634,6 +635,7 @@ Type: End-of-Life
634635
`util.print()` has been removed. Please use [`console.log()`][] instead.
635636

636637
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/util-print-to-console-log)):
638+
637639
```bash
638640
npx codemod@latest @nodejs/util-print-to-console-log
639641
```
@@ -660,6 +662,7 @@ Type: End-of-Life
660662
`util.puts()` has been removed. Please use [`console.log()`][] instead.
661663

662664
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/util-print-to-console-log)):
665+
663666
```bash
664667
npx codemod@latest @nodejs/util-print-to-console-log
665668
```
@@ -686,6 +689,7 @@ Type: End-of-Life
686689
`util.debug()` has been removed. Please use [`console.error()`][] instead.
687690

688691
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/util-debug-to-console-error)):
692+
689693
```bash
690694
npx codemod@latest @nodejs/util-debug-to-console-error
691695
```
@@ -712,6 +716,7 @@ Type: End-of-Life
712716
`util.error()` has been removed. Please use [`console.error()`][] instead.
713717

714718
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/util-print-to-console-log)):
719+
715720
```bash
716721
npx codemod@latest @nodejs/util-print-to-console-log
717722
```
@@ -1442,6 +1447,7 @@ and choose a logging strategy that aligns with the specific
14421447
requirements and complexity of your application.
14431448

14441449
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/util-log-to-console-log)):
1450+
14451451
```bash
14461452
npx codemod@latest @nodejs/util-log-to-console-log
14471453
```
@@ -2785,6 +2791,7 @@ Type: End-of-Life
27852791
Use [`module.createRequire()`][] instead.
27862792

27872793
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/create-require-from-path)):
2794+
27882795
```bash
27892796
npx codemod@latest @nodejs/create-require-from-path
27902797
```
@@ -2951,6 +2958,7 @@ It is deprecated in favor of [`require.main`][], because it serves the same
29512958
purpose and is only available on CommonJS environment.
29522959

29532960
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/process-main-module)):
2961+
29542962
```bash
29552963
npx codemod@latest @nodejs/process-main-module
29562964
```
@@ -3126,6 +3134,7 @@ Use `fs.rm(path, { recursive: true, force: true })`,
31263134
`fs.promises.rm(path, { recursive: true, force: true })` instead.
31273135

31283136
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/rmdir)):
3137+
31293138
```bash
31303139
npx codemod@latest @nodejs/rmdir
31313140
```
@@ -3732,6 +3741,7 @@ Type: End-of-Life
37323741
removed. Get them from `fs.constants` or `fs.promises.constants` instead.
37333742

37343743
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/fs-access-mode-constants)):
3744+
37353745
```bash
37363746
npx codemod@latest @nodejs/fs-access-mode-constants
37373747
```
@@ -4082,6 +4092,7 @@ It is recommended to use the `new` qualifier instead. This applies to all http c
40824092
`OutgoingMessage`, `IncomingMessage`, `ServerResponse` and `ClientRequest`.
40834093

40844094
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/http-classes-with-new)):
4095+
40854096
```bash
40864097
npx codemod@latest @nodejs/http-classes-with-new
40874098
```
@@ -4126,6 +4137,7 @@ Type: Documentation-only
41264137
The [`util.types.isNativeError`][] API is deprecated. Please use [`Error.isError`][] instead.
41274138

41284139
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/types-is-native-error)):
4140+
41294141
```bash
41304142
npx codemod@latest @nodejs/types-is-native-error
41314143
```

0 commit comments

Comments
 (0)