diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 4eb90c4c38c2d8..b2ca8308a93f53 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -560,16 +560,16 @@ The `tls.createSecurePair()` API was deprecated in documentation in Node.js ### DEP0065: repl.REPL_MODE_MAGIC and NODE_REPL_MODE=magic -Type: Documentation-only +Type: End-of-Life The `repl` module's `REPL_MODE_MAGIC` constant, used for `replMode` option, has -been deprecated. Its behavior has been functionally identical to that of +been removed. Its behavior has been functionally identical to that of `REPL_MODE_SLOPPY` since Node.js v6.0.0, when V8 5.0 was imported. Please use `REPL_MODE_SLOPPY` instead. The `NODE_REPL_MODE` environment variable is used to set the underlying -`replMode` of an interactive `node` session. Its default value, `magic`, is -similarly deprecated in favor of `sloppy`. +`replMode` of an interactive `node` session. Its value, `magic`, is also +removed. Please use `sloppy` instead. ### DEP0066: outgoingMessage.\_headers, outgoingMessage.\_headerNames diff --git a/doc/api/repl.md b/doc/api/repl.md index c868106f2f946a..00b39d52457e55 100644 --- a/doc/api/repl.md +++ b/doc/api/repl.md @@ -421,6 +421,9 @@ Returns `true` if `keyword` is a valid keyword, otherwise `false`.