From c8a13a2389b86e5622473b86016782a40154808d Mon Sep 17 00:00:00 2001 From: Augustin Mauroy <97875033+AugustinMauroy@users.noreply.github.com> Date: Mon, 13 Oct 2025 15:16:07 +0200 Subject: [PATCH 1/6] doc: deprecations add more codemods --- doc/api/deprecations.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 465095d9cdbe44..e6c8abb78a8360 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 @@ -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()`