This bootstraps ESM loaders in the ShadowRealm with `ShadowRealm.prototype.importValue` as its entry point and enables loading ESM and CJS modules in the ShadowRealm. The module is imported without a parent URL and resolved with the current process's working directory. PR-URL: https://github.com/nodejs/node/pull/48655 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> |
||
|---|---|---|
| .. | ||
| check_syntax.js | ||
| embedding.js | ||
| eval_stdin.js | ||
| eval_string.js | ||
| inspect.js | ||
| mksnapshot.js | ||
| print_help.js | ||
| prof_process.js | ||
| repl.js | ||
| run_main_module.js | ||
| test_runner.js | ||
| watch_mode.js | ||
| worker_thread.js | ||