diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 8aac6d1aa38..ac40c7612db 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -1666,6 +1666,12 @@ Type: End-of-Life The `tls.createSecurePair()` API was deprecated in documentation in Node.js 0.11.3. Users should use `tls.Socket` instead. +An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/tls-create-secure-pair-to-tls-socket)): + +```bash +npx codemod @nodejs/tls-create-secure-pair-to-tls-socket +``` + ### DEP0065: `repl.REPL_MODE_MAGIC` and `NODE_REPL_MODE=magic`