Files
node/lib/internal
Antoine du Hamel 50f336c06f esm: fallback to getSource when load returns nullish source
When using the Modules Customization Hooks API to load CommonJS modules,
we want to support the returned value of `defaultLoad` which must be
nullish to preserve backward compatibility. This can be achieved by
fetching the source from the translator.

PR-URL: https://github.com/nodejs/node/pull/50825
Fixes: https://github.com/nodejs/node/issues/50435
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
2023-11-29 09:49:48 -03:00
..
2023-11-29 09:46:36 -03:00
2023-11-14 09:18:05 +01:00
2023-11-29 09:46:34 -03:00
2023-08-12 13:39:24 +02:00
…
2023-05-02 00:48:20 +00:00
2023-10-23 08:19:32 +02:00
2023-11-14 09:18:05 +01:00
…
2023-11-14 09:18:05 +01:00
…
2023-02-28 09:37:24 +00:00
2023-11-14 09:18:05 +01:00

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 modules can be changed at any time. Reliance on these modules outside of core is not supported in any way.