Skip to content

repl: add builtinModules

This adds an alias to _builtinLibs that is documented and should as such also be accessed publicly. It does not contain any underscored modules.

Signed-off-by: Ruben Bridgewater ruben@bridgewater.de

TODO: Add a test

https://github.com/nodejs/node/pull/33282 should land first. It updates the list to contain all modules. That is currently not the case.

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

Merge request reports

Loading