diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 465095d9cdbe44..d6444713799904 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -551,7 +551,7 @@ Type: End-of-Life The `os.tmpDir()` API was deprecated in Node.js 7.0.0 and has since been removed. Please use [`os.tmpdir()`][] instead. -An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/tmpDir-to-tmpdir)): +An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/tmpdir-to-tmpdir)): ```bash npx codemod@latest @nodejs/tmpDir-to-tmpdir @@ -688,10 +688,10 @@ Type: End-of-Life `util.debug()` has been removed. Please use [`console.error()`][] instead. -An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/util-debug-to-console-error)): +An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/util-print-to-console-log)): ```bash -npx codemod@latest @nodejs/util-debug-to-console-error +npx codemod@latest @nodejs/util-print-to-console-log ``` ### DEP0029: `util.error()` @@ -1897,6 +1897,12 @@ Type: End-of-Life deprecated. Please use `fs.ftruncate()` or `fs.ftruncateSync()` to work with file descriptors. +An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/fs-truncate-fd-deprecation)): + +```bash +npx codemod@latest @nodejs/fs-truncate-fd-deprecation +``` + ### DEP0082: `REPLServer.prototype.memory()`