diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 524273bc1cd8b5..afa048b03f28af 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -744,6 +744,12 @@ Type: End-of-Life The `SlowBuffer` class has been removed. Please use [`Buffer.allocUnsafeSlow(size)`][] instead. +An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/slow-buffer-to-buffer-alloc-unsafe-slow)). + +```bash +npx codemod@latest @nodejs/slow-buffer-to-buffer-alloc-unsafe-slow +``` + ### DEP0031: `ecdh.setPublicKey()`