Skip to content

repl: deprecate REPLServer.parseREPLKeyword

This method does not need to be visible to user code. It has been undocumented since it was introduced which was perhaps v0.8.9, as far as I can tell.

The motivation for this change is that the method is simply an implementation detail of the REPLServer behavior, and does not need to be exposed to user code.

This change adds documentation of the method with a deprecation warning as recommended by @jasnell in https://github.com/nodejs/node/issues/7619#issuecomment-236608809.

Refs: https://github.com/nodejs/node/issues/7619

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
Affected core subsystem(s)

repl, doc

Merge request reports

Loading