diff --git a/doc/api/buffer.md b/doc/api/buffer.md index 66b04675641a42..981c053ac40f0c 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -5189,6 +5189,12 @@ For code running using Node.js APIs, converting between base64-encoded strings and binary data should be performed using `Buffer.from(str, 'base64')` and `buf.toString('base64')`.** +An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/buffer-atob-btoa): + +```bash +npx codemod@latest @nodejs/buffer-atob-btoa +``` + ### `buffer.btoa(data)` ### DEP0187: Passing invalid argument types to `fs.existsSync` diff --git a/doc/api/globals.md b/doc/api/globals.md index fee0236de5004c..e37d12389bf607 100644 --- a/doc/api/globals.md +++ b/doc/api/globals.md @@ -274,7 +274,7 @@ added: v16.0.0 Global alias for [`buffer.atob()`][]. -An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/util-is)): +An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/buffer-atob-btoa)): ```bash npx codemod@latest @nodejs/buffer-atob-btoa @@ -298,6 +298,12 @@ added: v16.0.0 Global alias for [`buffer.btoa()`][]. +An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/buffer-atob-btoa)): + +```bash +npx codemod@latest @nodejs/buffer-atob-btoa +``` + ## `clearImmediate(immediateObject)`