node/lib/internal/modules
Daniele Belardi ec2ffd6b9d module: self referential modules in repl or -r
Load self referential modules from the repl and using the preload flag
`-r`. In both cases the base path used for resolution is the current
`process.cwd()`. Also fixes an internal cycle bug in the REPL exports
resolution.

PR-URL: https://github.com/nodejs/node/pull/32261
Fixes: https://github.com/nodejs/node/issues/31595
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Jan Krems <jan.krems@gmail.com>
2020-07-23 07:50:01 -07:00
..
cjs module: self referential modules in repl or -r 2020-07-23 07:50:01 -07:00
esm module: self referential modules in repl or -r 2020-07-23 07:50:01 -07:00
package_json_reader.js esm: share package.json cache between ESM and CJS loaders 2020-05-24 16:22:31 -07:00
run_main.js repl: support --loader option in builtin REPL 2020-07-14 15:21:26 +02:00