diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 465095d9cdbe44..56e84ebc611af8 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()` @@ -1061,6 +1061,12 @@ Type: End-of-Life The `util.isBoolean()` API has been removed. Please use `typeof arg === 'boolean'` instead. +An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/util-is)): + +```bash +npx codemod@latest @nodejs/util-is +``` + ### DEP0046: `util.isBuffer()`