node/lib/internal
Joyee Cheung af5d1c93ce
Some checks failed
Coverage Windows / coverage-windows (push) Waiting to run
Coverage Linux (without intl) / coverage-linux-without-intl (push) Failing after 1m30s
Test and upload documentation to artifacts / build-docs (push) Failing after 5m28s
Linters / format-cpp (push) Has been skipped
Linters / lint-cpp (push) Successful in 3m56s
Linters / lint-py (push) Successful in 3m3s
Linters / lint-sh (push) Failing after 1m52s
Linters / lint-pr-url (push) Has been skipped
Linters / lint-readme (push) Successful in 1m27s
Notify on Push / Notify on Force Push on `main` (push) Has been skipped
Notify on Push / Notify on Push on `main` that lacks metadata (push) Has been skipped
Scorecard supply-chain security / Scorecard analysis (push) Failing after 52s
Coverage Linux / coverage-linux (push) Failing after 57s
Linters / lint-addon-docs (push) Successful in 2m6s
Linters / lint-yaml (push) Successful in 2m42s
Linters / lint-codeowners (push) Failing after 59s
Linters / lint-js-and-md (push) Successful in 13m14s
esm: sync-ify module translation
This completes the TODO to compile WASM synchronously and thus
making translation (i.e. compilation + instantiation) synchronous.

PR-URL: https://github.com/nodejs/node/pull/59453
Refs: https://github.com/nodejs/node/issues/55782
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
2025-08-14 14:28:40 +00:00
..
assert assert: change utils to use index instead of for...of 2025-08-07 22:47:09 +00:00
async_local_storage async_hooks: ensure AsyncLocalStore instances work isolated 2025-05-06 18:00:56 +00:00
bootstrap crypto: expose crypto.constants.OPENSSL_IS_BORINGSSL 2025-05-22 11:04:16 +00:00
child_process child_process: fix parsing messages with splitted length field 2025-01-18 19:39:56 +00:00
cluster lib: add flag to drop connection when running in cluster mode 2024-10-17 15:11:41 +00:00
console diagnostics_channel: capture console messages 2025-01-13 12:51:31 +00:00
crypto crypto: support ML-DSA KeyObject, sign, and verify 2025-08-06 21:49:30 +00:00
debugger debugger: fix behavior of plain object exec in debugger repl 2025-03-18 19:30:31 +00:00
dns meta: enable jsdoc/check-tag-names rule 2025-07-18 09:28:21 +00:00
events lib: remove Symbol[Async]Dispose polyfills 2024-10-07 09:47:44 +00:00
fs fs: fix glob TypeError on restricted dirs 2025-08-01 07:25:18 -07:00
http2 http2: set Http2Stream#sentHeaders for raw headers 2025-07-29 14:44:52 +00:00
inspector inspector: initial support for Network.loadNetworkResource 2025-07-10 12:34:11 +00:00
legacy tools: add lint rule to keep primordials in ASCII order 2024-04-21 16:53:08 +00:00
main watch: add --watch-kill-signal flag 2025-06-28 22:51:59 +00:00
modules esm: sync-ify module translation 2025-08-14 14:28:40 +00:00
per_context meta: enable jsdoc/check-tag-names rule 2025-07-18 09:28:21 +00:00
perf lib: rename validateInternalField into validateThisInternalField 2025-06-24 04:39:36 +01:00
process lib: add trace-sigint APIs 2025-08-11 09:14:44 +00:00
quic meta: enable jsdoc/check-tag-names rule 2025-07-18 09:28:21 +00:00
readline meta: enable jsdoc/check-tag-names rule 2025-07-18 09:28:21 +00:00
repl repl: extract and standardize history from both repl and interface 2025-05-28 07:38:39 +00:00
source_map lib: add type names in source mapped stack traces 2025-08-01 17:11:57 +00:00
streams lib: optimize writable stream buffer clearing 2025-08-11 03:29:01 +00:00
test v8: implement v8.queryObjects() for memory leak regression testing 2024-03-02 22:11:30 +00:00
test_runner test_runner: fix isSkipped check in junit 2025-08-13 08:50:42 +00:00
tls tls: move IP-address servername deprecation to eol 2025-06-02 19:01:00 +00:00
util lib: add trace-sigint APIs 2025-08-11 09:14:44 +00:00
v8 src: fixup Error.stackTraceLimit during snapshot building 2024-09-30 15:05:12 +00:00
vm module: link module with a module request record 2025-07-04 19:56:08 +00:00
watch_mode watch: check parent and child path properly 2025-04-06 09:48:53 +02:00
webstreams meta: enable jsdoc/check-tag-names rule 2025-07-18 09:28:21 +00:00
worker meta: enable jsdoc/check-tag-names rule 2025-07-18 09:28:21 +00:00
abort_controller.js meta: enable jsdoc/check-tag-names rule 2025-07-18 09:28:21 +00:00
assert.js lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
async_context_frame.js lib: use Map primordial for ActiveAsyncContextFrame 2025-04-08 17:51:08 +00:00
async_hooks.js inspector: prevent propagation of promise hooks to noPromise hooks 2025-08-12 09:14:18 +00:00
blob.js meta: enable jsdoc/check-tag-names rule 2025-07-18 09:28:21 +00:00
blocklist.js net: update net.blocklist to allow file save and file management 2025-07-08 20:37:51 +00:00
buffer.js buffer: give names to Buffer.prototype.*Write() functions 2025-05-12 07:02:23 +00:00
child_process.js child_process: move _channel to end-of-life 2025-06-02 16:25:50 +00:00
cli_table.js lib: align console.table row to the left 2023-10-28 01:14:22 +00:00
constants.js lib: add trailing commas to more internal files 2023-02-26 11:34:02 +01:00
data_url.js meta: enable jsdoc/check-tag-names rule 2025-07-18 09:28:21 +00:00
dgram.js lib: enforce ASCII order in error code imports 2024-04-23 17:05:38 +00:00
encoding.js util: add fast path for Latin1 decoding 2024-12-03 11:32:01 +00:00
error_serdes.js lib: avoid StackOverflow on serializeError 2025-04-29 21:12:29 +00:00
errors.js lib: restructure assert to become a class 2025-08-05 14:15:02 +00:00
event_target.js meta: enable jsdoc/check-tag-names rule 2025-07-18 09:28:21 +00:00
file.js buffer: correctly apply prototype to cloned File / Blob 2024-09-28 22:05:58 +00:00
fixed_queue.js lib: ensure no holey array in fixed_queue 2024-09-02 01:42:44 +00:00
freelist.js http: remove unused hasItems() from freelist 2019-12-03 15:00:45 -08:00
freeze_intrinsics.js lib: prefer AsyncIteratorPrototype primordial 2025-07-29 21:54:16 +00:00
heap_utils.js v8: fix missing callback in heap utils destroy 2025-06-30 11:51:40 +00:00
histogram.js perf_hooks: do not expose SafeMap via Histogram wrapper 2025-07-22 16:28:02 +00:00
http.js http,https: add built-in proxy support in http/https.request and Agent 2025-07-18 09:06:32 +02:00
inspector_async_hook.js inspector: skip promise hook in the inspector async hook 2025-02-23 01:07:21 +00:00
inspector_network_tracking.js inspector: add undici http tracking support 2025-01-08 16:56:42 +00:00
js_stream_socket.js http2: fix h2-over-h2 connection proxying 2024-04-08 09:53:18 +00:00
linkedlist.js lib: add trailing commas to more internal files 2023-02-26 11:34:02 +01:00
locks.js worker: implements nits in Web Locks code 2025-07-31 08:14:57 +00:00
mime.js meta: enable jsdoc/check-tag-names rule 2025-07-18 09:28:21 +00:00
navigator.js worker: add web locks api 2025-07-18 07:55:10 -07:00
net.js lib: simplify IPv6 checks in isLoopback() 2025-08-12 11:00:11 +02:00
options.js src: support namespace options in configuration file 2025-06-06 12:47:05 +00:00
priority_queue.js lib: optimize priority queue 2025-02-28 16:25:49 +00:00
promise_hooks.js tools: add lint rule to keep primordials in ASCII order 2024-04-21 16:53:08 +00:00
querystring.js lib: add trailing commas to more internal files 2023-02-26 11:34:02 +01:00
README.md doc: add note about --expose-internals 2024-09-23 20:22:45 +00:00
repl.js repl: extract and standardize history from both repl and interface 2025-05-28 07:38:39 +00:00
socket_list.js lib: add trailing commas to more internal files 2023-02-26 11:34:02 +01:00
socketaddress.js net: add SocketAddress.parse 2024-12-04 09:29:30 -08:00
stream_base_commons.js stream: relocate the status checking code in the onwritecomplete 2024-09-02 07:29:17 +00:00
timers.js timers: remove unnecessary allocation of _onTimeout 2025-03-20 08:44:44 +00:00
trace_events_async_hooks.js lib: add trailing commas to more internal files 2023-02-26 11:34:02 +01:00
tty.js tty: treat empty NO_COLOR same as absent NO_COLOR 2025-06-28 15:26:22 +02:00
url.js url: add fileURLToPathBuffer API 2025-06-14 14:06:04 -07:00
util.js lib: flag to conditionally modify proto on deprecate 2025-07-08 18:54:46 +00:00
v8_prof_polyfill.js lib: add trailing commas to more internal files 2023-02-26 11:34:02 +01:00
v8_prof_processor.js src: implement natives binding without special casing 2023-06-09 15:32:55 +02:00
validators.js meta: enable jsdoc/check-tag-names rule 2025-07-18 09:28:21 +00:00
vm.js meta: enable jsdoc/check-tag-names rule 2025-07-18 09:28:21 +00:00
wasm_web_api.js lib: add trailing commas to more internal files 2023-02-26 11:34:02 +01:00
watchdog.js lib: add trailing commas to more internal files 2023-02-26 11:34:02 +01:00
webidl.js lib: prefer symbol to number in webidl type function 2024-11-07 23:21:50 +00:00
webstorage.js src: move ToNamespacedPath call of webstorage 2024-07-21 20:49:10 +00:00
worker.js worker: add name for worker 2025-08-05 13:45:41 +00:00

Internal Modules

The modules located in lib/internal directory are exclusively meant for internal usage within the Node.js core. They are not intended to be accessed via user modules require(). These modules may change at any point in time. Relying on these internal modules outside the core is not supported and can lead to unpredictable behavior.

In certain scenarios, accessing these internal modules for debugging or experimental purposes might be necessary. Node.js provides the --expose-internals flag to expose these modules to userland code. This flag only exists to assist Node.js maintainers with debugging internals. It is not meant for use outside the project.