mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
This is a partial revert of
15157c3c3d. This change lead to a
regression that broke require() in the CLI REPL, as imported
files were evaluated in a different context.
Refs: https://github.com/nodejs/node/pull/5703
Fixes: https://github.com/nodejs/node/issues/7788
PR-URL: https://github.com/nodejs/node/pull/7795
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
Internal Modules
The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules.
These are subject to change at any time. Reliance on these modules outside of core is not supported in any way.