node/lib/internal/modules/esm
RafaelGSS fbdfe9399c lib: add diagnostics_channel events to module loading
This commit adds a tracing channel for module loading
through `import()` and `require()`.

Co-Authored-By: Stephen Belanger <admin@stephenbelanger.com>
PR-URL: https://github.com/nodejs/node/pull/44340
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
2024-06-20 21:25:04 -03:00
..
assert.js lib,doc: replace references to import assertions 2024-05-17 08:07:48 +00:00
create_dynamic_module.js module: centralize SourceTextModule compilation for builtin loader 2024-04-03 23:31:48 +00:00
fetch_module.js dns: add order option and support ipv6first 2024-04-17 15:24:28 +00:00
formats.js tools: add lint rule to keep primordials in ASCII order 2024-04-21 16:53:08 +00:00
get_format.js tools: add lint rule to keep primordials in ASCII order 2024-04-21 16:53:08 +00:00
hooks.js lib: reduce amount of caught URL errors 2024-06-13 18:32:59 +00:00
initialize_import_meta.js tools: add lint rule to keep primordials in ASCII order 2024-04-21 16:53:08 +00:00
load.js lib,src: remove --experimental-policy 2024-05-07 16:25:45 +00:00
loader.js lib: add diagnostics_channel events to module loading 2024-06-20 21:25:04 -03:00
module_job.js module: cache synchronous module jobs before linking 2024-05-09 00:25:14 +00:00
module_map.js lib,doc: replace references to import assertions 2024-05-17 08:07:48 +00:00
resolve.js fs: add fast api for InternalModuleStat 2024-06-16 16:08:09 +00:00
shared_constants.js esm: move hook execution to separate thread 2023-04-13 09:35:17 +02:00
translators.js module: print amount of load time of a cjs module 2024-05-30 16:58:59 +00:00
utils.js lib: allow CJS source map cache to be reclaimed 2024-05-28 22:56:56 +00:00
worker.js Revert "module: have a single hooks thread for all workers" 2024-06-02 22:10:34 +00:00