Skip to content

Conversation

@BridgeAR
Copy link
Member

@BridgeAR BridgeAR commented May 7, 2020

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), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@BridgeAR BridgeAR requested review from jasnell, lance and targos May 7, 2020 18:38
@nodejs-github-bot nodejs-github-bot added the repl Issues and PRs related to the REPL subsystem. label May 7, 2020
@mscdex mscdex added the semver-major PRs that contain breaking changes and should be released in the next major version. label May 7, 2020
@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented May 8, 2020

@nodejs-github-bot
Copy link
Collaborator

@BridgeAR
Copy link
Member Author

BridgeAR commented May 9, 2020

@nodejs/repl @nodejs/tsc PTAL. CITGM looks good.

@Trott
Copy link
Member

Trott commented May 10, 2020

@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.)

@BridgeAR BridgeAR force-pushed the remove-deprecated-repl-functions branch from 8c9db59 to 046721d Compare May 11, 2020 13:03
@nodejs-github-bot
Copy link
Collaborator

@BridgeAR BridgeAR added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label May 11, 2020
@BridgeAR BridgeAR force-pushed the remove-deprecated-repl-functions branch from 046721d to 0455535 Compare May 15, 2020 12:48
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

BridgeAR added 4 commits May 18, 2020 03:22
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]>
@BridgeAR BridgeAR force-pushed the remove-deprecated-repl-functions branch from 0455535 to 551f4c4 Compare May 18, 2020 01:22
@nodejs-github-bot
Copy link
Collaborator

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]>
@BridgeAR BridgeAR force-pushed the remove-deprecated-repl-functions branch from 551f4c4 to eae6e38 Compare May 18, 2020 01:29
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@BridgeAR
Copy link
Member Author

Landed in e88d098...a416692

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. repl Issues and PRs related to the REPL subsystem. semver-major PRs that contain breaking changes and should be released in the next major version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants