Skip to content

Commit c893717

Browse files
include repl-builtin-modules
1 parent 818d490 commit c893717

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

doc/api/deprecations.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3123,6 +3123,12 @@ The `node:repl` module exports a `_builtinLibs` property that contains an array
31233123
of built-in modules. It was incomplete so far and instead it's better to rely
31243124
upon `require('node:module').builtinModules`.
31253125

3126+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/repl-builtin-modules)):
3127+
3128+
```bash
3129+
npx codemod@latest @nodejs/repl-builtin-modules
3130+
```
3131+
31263132
### DEP0143: `Transform._transformState`
31273133

31283134
<!-- YAML
@@ -4125,6 +4131,12 @@ of built-in modules. This was incomplete and matched the already deprecated
41254131
`repl._builtinLibs` ([DEP0142][]) instead it's better to rely
41264132
upon `require('node:module').builtinModules`.
41274133

4134+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/repl-builtin-modules)):
4135+
4136+
```bash
4137+
npx codemod@latest @nodejs/repl-builtin-modules
4138+
```
4139+
41284140
### DEP0192: `require('node:_tls_common')` and `require('node:_tls_wrap')`
41294141

41304142
<!-- YAML

0 commit comments

Comments
 (0)