-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
repl: remove deprecated repl features #33286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
CI: https://ci.nodejs.org/job/node-test-pull-request/31241/ ✔️ (yellow build) |
|
@nodejs/repl @nodejs/tsc PTAL. CITGM looks good. |
LGTM but I'd prefer to let someone with more REPL domain knowledge weigh in first. (But if that doesn't happen, I'll +1 this to help avoid it getting completely stalled.) |
8c9db59 to
046721d
Compare
046721d to
0455535
Compare
The .rli property is just a reference to the active REPL instance and it was deprecated for a long time. To improve maintainability of the REPL this feature is removed. Signed-off-by: Ruben Bridgewater <[email protected]>
This property is deprecated since Node.js v9.0.0 and to improve maintainability of the REPL it is now removed. Signed-off-by: Ruben Bridgewater <[email protected]>
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]>
This function is deprecated for multiple years and provides very little benefit to users. Thus, it's removed to improve the maintainability of the REPL module. Signed-off-by: Ruben Bridgewater <[email protected]>
0455535 to
551f4c4
Compare
This removes the memory function. It is deprecated for a long time while not being really helpful being exposed. Thus, it is removed to improve maintainability of the REPL module. Signed-off-by: Ruben Bridgewater <[email protected]>
551f4c4 to
eae6e38
Compare
|
Landed in e88d098...a416692 |
repl: remove deprecated .rli
The .rli property is just a reference to the active REPL instance
and it was deprecated for a long time.
To improve maintainability of the REPL this feature is removed.
repl: remove deprecated bufferedCommand property
This property is deprecated since Node.js v9.0.0 and to improve
maintainability of the REPL it is now removed.
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.
repl: remove deprecated repl.turnOffEditorMode() function
This function is deprecated for multiple years and provides very
little benefit to users. Thus, it's removed to improve the
maintainability of the REPL module.
repl: remove deprecated repl.memory function
This removes the memory function. It is deprecated for a long time
while not being really helpful being exposed. Thus, it is removed
to improve maintainability of the REPL module.
@nodejs/repl PTAL
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes