Skip to content

Commit 06b80d2

Browse files
BridgeARcodebytere
authored andcommitted
repl: remove deprecated repl.parseREPLKeyword() function
This removes the deprecated REPLServer.parseREPLKeyword function. It is deprecated for a long time and should not provide any benefit to users. To improve the maintainability of the REPL module, it's now removed. Signed-off-by: Ruben Bridgewater <[email protected]> PR-URL: #33286 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 46ec951 commit 06b80d2

File tree

3 files changed

+4
-22
lines changed

3 files changed

+4
-22
lines changed

doc/api/deprecations.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1564,12 +1564,15 @@ The `REPLServer.bufferedCommand` property was deprecated in favor of
15641564
### DEP0075: `REPLServer.parseREPLKeyword()`
15651565
<!-- YAML
15661566
changes:
1567+
- version: REPLACEME
1568+
pr-url: https://github.com/nodejs/node/pull/33286
1569+
description: End-of-Life.
15671570
- version: v9.0.0
15681571
pr-url: https://github.com/nodejs/node/pull/14223
15691572
description: Runtime deprecation.
15701573
-->
15711574

1572-
Type: Runtime
1575+
Type: End-of-Life
15731576

15741577
`REPLServer.parseREPLKeyword()` was removed from userland visibility.
15751578

lib/repl.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -679,11 +679,6 @@ function REPLServer(prompt,
679679
return false;
680680
}
681681

682-
self.parseREPLKeyword = deprecate(
683-
_parseREPLKeyword,
684-
'REPLServer.parseREPLKeyword() is deprecated',
685-
'DEP0075');
686-
687682
self.on('close', function emitExit() {
688683
if (paused) {
689684
pausedBuffer.push(['close']);

test/parallel/test-repl-deprecations.js

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)