node/lib
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
..
assert
dns
fs
inspector
internal esm: fallback to getSource when load returns nullish source 2023-11-29 09:49:48 -03:00
path
readline readline: use addAbortListener 2023-07-11 19:50:13 +03:00
stream
test test_runner: adds built in lcov reporter 2023-11-11 20:38:21 +01:00
timers fs: use kResistStopPropagation 2023-06-24 15:52:38 +00:00
util
.eslintrc.yaml errors: improve hideStackFrames 2023-11-14 09:18:05 +01:00
_http_agent.js lib: remove deprecated string methods 2023-11-14 09:18:04 +01:00
_http_client.js errors: improve hideStackFrames 2023-11-14 09:18:05 +01:00
_http_common.js http: null the joinDuplicateHeaders property on cleanup 2023-07-03 06:20:13 +00:00
_http_incoming.js
_http_outgoing.js errors: improve hideStackFrames 2023-11-14 09:18:05 +01:00
_http_server.js errors: improve hideStackFrames 2023-11-14 09:18:05 +01:00
_stream_duplex.js
_stream_passthrough.js
_stream_readable.js
_stream_transform.js
_stream_wrap.js
_stream_writable.js
_tls_common.js
_tls_wrap.js errors: improve hideStackFrames 2023-11-14 09:18:05 +01:00
assert.js lib: fix assert shows diff messages in ESM and CJS 2023-11-14 09:18:04 +01:00
async_hooks.js
buffer.js errors: improve hideStackFrames 2023-11-14 09:18:05 +01:00
child_process.js typings: update JSDoc for cwd in child_process 2023-08-08 15:32:31 +08:00
cluster.js cluster: use ObjectPrototypeHasOwnProperty 2023-05-25 16:04:19 +00:00
console.js
constants.js
crypto.js
dgram.js errors: improve hideStackFrames 2023-11-14 09:18:05 +01:00
diagnostics_channel.js lib: implement WeakReference on top of JS WeakRef 2023-08-16 18:45:07 +02:00
dns.js errors: improve hideStackFrames 2023-11-14 09:18:05 +01:00
domain.js lib: implement WeakReference on top of JS WeakRef 2023-08-16 18:45:07 +02:00
events.js stream: pre-allocate _events 2023-11-14 09:17:45 +01:00
fs.js fs: add c++ fast path for writeFileSync utf8 2023-11-29 09:46:37 -03:00
http.js lib: update params in jsdoc for HTTPRequestOptions 2023-09-29 13:14:24 +02:00
http2.js
https.js lib: update params in jsdoc for HTTPRequestOptions 2023-09-29 13:14:24 +02:00
inspector.js inspector: use private fields instead of symbols 2023-11-29 09:46:33 -03:00
module.js module: implement register utility 2023-06-12 00:00:46 +00:00
net.js net: check pipe mode and path 2023-11-29 09:46:33 -03:00
os.js errors: improve hideStackFrames 2023-11-14 09:18:05 +01:00
path.js
perf_hooks.js
process.js
punycode.js
querystring.js
readline.js readline: use addAbortListener 2023-07-11 19:50:13 +03:00
repl.js lib: remove deprecated string methods 2023-11-14 09:18:04 +01:00
stream.js errors: improve performance of instantiation 2023-09-28 09:57:38 +00:00
string_decoder.js
sys.js
test.js test_runner: add initial draft for fakeTimers 2023-06-22 04:01:52 +00:00
timers.js timers: support Symbol.dispose 2023-07-05 13:39:38 +00:00
tls.js
trace_events.js
tty.js errors: improve hideStackFrames 2023-11-14 09:18:05 +01:00
url.js url: validate pathToFileURL(path) argument as string 2023-08-31 20:35:04 +08:00
util.js errors: improve hideStackFrames 2023-11-14 09:18:05 +01:00
v8.js
vm.js vm: allow dynamic import with a referrer realm 2023-11-14 09:17:50 +01:00
wasi.js
worker_threads.js
zlib.js errors: improve hideStackFrames 2023-11-14 09:18:05 +01:00