Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
module: refactor modules bootstrap
PR-URL: #29937 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
- Loading branch information
Showing
with
176 additions
and 101 deletions.
- +4 −4 doc/api/esm.md
- +4 −1 lib/internal/bootstrap/loaders.js
- +60 −9 lib/internal/bootstrap/pre_execution.js
- +4 −5 lib/internal/main/run_main_module.js
- +3 −2 lib/internal/main/worker_thread.js
- +36 −30 lib/internal/modules/cjs/loader.js
- +9 −2 lib/internal/modules/esm/loader.js
- +4 −4 lib/internal/modules/esm/module_job.js
- +2 −1 lib/internal/modules/esm/module_map.js
- +5 −3 lib/internal/modules/esm/translators.js
- +30 −20 lib/internal/process/esm_loader.js
- +1 −1 lib/internal/process/execution.js
- +9 −6 lib/repl.js
- +1 −1 test/es-module/test-esm-loader-modulemap.js
- +0 −7 test/es-module/test-esm-no-extension.js
- +0 −1 test/parallel/test-bootstrap-modules.js
- +4 −4 test/parallel/test-internal-module-map-asserts.js
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.