@@ -421,6 +421,9 @@ Returns `true` if `keyword` is a valid keyword, otherwise `false`.
421421<!-- YAML
422422added: v0.1.91
423423changes:
424+ - version: REPLACEME
425+ pr-url: https://github.com/nodejs/node/pull/REPLACEME
426+ description: The `REPL_MAGIC_MODE` replMode was removed.
424427 - version: v5.8.0
425428 pr-url: https://github.com/nodejs/node/pull/5388
426429 description: The `options` parameter is optional now.
@@ -462,9 +465,6 @@ changes:
462465 * ` repl.REPL_MODE_SLOPPY ` - evaluates expressions in sloppy mode.
463466 * ` repl.REPL_MODE_STRICT ` - evaluates expressions in strict mode. This is
464467 equivalent to prefacing every repl statement with ` 'use strict' ` .
465- * ` repl.REPL_MODE_MAGIC ` - This value is ** deprecated** , since enhanced
466- spec compliance in V8 has rendered magic mode unnecessary. It is now
467- equivalent to ` repl.REPL_MODE_SLOPPY ` (documented above).
468468 * ` breakEvalOnSigint ` - Stop evaluating the current piece of code when
469469 ` SIGINT ` is received, i.e. ` Ctrl+C ` is pressed. This cannot be used together
470470 with a custom ` eval ` function. Defaults to ` false ` .
@@ -512,9 +512,8 @@ environment variables:
512512 REPL history. Whitespace will be trimmed from the value.
513513 - ` NODE_REPL_HISTORY_SIZE ` - Defaults to ` 1000 ` . Controls how many lines of
514514 history will be persisted if history is available. Must be a positive number.
515- - ` NODE_REPL_MODE ` - May be any of ` sloppy ` , ` strict ` , or ` magic ` . Defaults
516- to ` sloppy ` , which will allow non-strict mode code to be run. ` magic ` is
517- ** deprecated** and treated as an alias of ` sloppy ` .
515+ - ` NODE_REPL_MODE ` - May be either ` sloppy ` or ` strict ` . Defaults
516+ to ` sloppy ` , which will allow non-strict mode code to be run.
518517
519518### Persistent History
520519
0 commit comments