Files
node/lib
Antoine du Hamel 4eafcf8ff5 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 10:12:05 +01:00
..
…
…
…
2023-07-11 19:50:13 +03:00
2023-06-24 15:52:38 +00:00
…
2023-01-10 05:38:36 +00:00
2023-11-11 16:25:08 +00:00
2023-11-11 16:25:08 +00:00
2023-11-11 16:25:08 +00:00
2023-03-26 18:03:58 +00:00
2023-11-11 16:25:08 +00:00
2023-11-11 16:25:08 +00:00
2023-10-29 16:29:59 +00:00
2023-06-12 00:00:46 +00:00
2023-11-21 12:21:57 +00:00
2023-11-11 16:25:08 +00:00
2023-04-03 17:47:28 +00:00
2023-07-11 19:50:13 +03:00
2023-11-11 15:44:16 +00:00
2023-05-02 00:48:20 +00:00
…
2023-07-05 13:39:38 +00:00
2023-11-11 16:25:08 +00:00
2023-11-11 16:25:08 +00:00