From c02920f708822b3b9c7c4547d78330ae6068e8e6 Mon Sep 17 00:00:00 2001 From: Augustin Mauroy <97875033+AugustinMauroy@users.noreply.github.com> Date: Fri, 26 Sep 2025 10:20:16 +0200 Subject: [PATCH 1/3] doc: add automated migration info to deprecations --- doc/api/deprecations.md | 70 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index b235bafa30cb4f..d81fa467433027 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -551,6 +551,12 @@ 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. +If you want an automated way to update your code you can use this codemod: + +```bash +npx codemod@latest @nodejs/tmpDir-to-tmpdir +``` + ### DEP0023: `os.getNetworkInterfaces()`