node/lib/internal
René 9c2500295e
events: repurpose events.listenerCount() to accept EventTargets
PR-URL: https://github.com/nodejs/node/pull/60214
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
2025-11-26 11:09:07 +00:00
..
assert assert: allow printf-style messages as assertion error 2025-10-17 20:15:17 +00:00
async_local_storage async_hooks: ensure AsyncLocalStore instances work isolated 2025-05-06 18:00:56 +00:00
bootstrap module: mark type stripping as stable 2025-11-08 09:36:45 +00:00
child_process
cluster lib: prefer call() over apply() if argument list is not array 2025-11-23 08:45:46 +00:00
console console: optimize single-string logging 2025-11-02 23:33:58 +00:00
crypto lib: prefer call() over apply() if argument list is not array 2025-11-23 08:45:46 +00:00
debugger lib: use FastBuffer for empty buffer allocation 2025-11-15 21:39:32 +01:00
dns lib: prefer call() over apply() if argument list is not array 2025-11-23 08:45:46 +00:00
errors lib: add source map support for assert messages 2025-09-11 10:37:46 +00:00
events
fs lib: prefer call() over apply() if argument list is not array 2025-11-23 08:45:46 +00:00
http2 http2: add diagnostics channels for client stream request body 2025-11-01 19:56:44 +05:30
inspector inspector: inspect HTTP response body 2025-11-06 22:31:30 +00:00
legacy
main src: build v8 tick processor as built-in source text modules 2025-11-11 02:53:13 +00:00
modules lib: prefer call() over apply() if argument list is not array 2025-11-23 08:45:46 +00:00
per_context perf_hooks: fix stack overflow error 2025-10-13 10:05:45 +02:00
perf perf_hooks: fix stack overflow error 2025-10-13 10:05:45 +02:00
process lib: prefer call() over apply() if argument list is not array 2025-11-23 08:45:46 +00:00
quic lib: fix typo in QuicSessionStats 2025-10-10 04:16:56 +00:00
readline repl: fix pasting after moving the cursor to the left 2025-11-05 20:36:59 +00:00
repl repl: tab completion targets <class> instead of new <class> 2025-11-20 22:04:36 +00:00
source_map lib: add source map support for assert messages 2025-09-11 10:37:46 +00:00
streams events: repurpose events.listenerCount() to accept EventTargets 2025-11-26 11:09:07 +00:00
test
test_runner test_runner: fix line feed escaping in JUnit 2025-11-23 18:39:24 +00:00
tls lib: prefer call() over apply() if argument list is not array 2025-11-23 08:45:46 +00:00
util util: fix stylize of special properties in inspect 2025-10-31 08:33:38 +00:00
v8 src: fix timing of snapshot serialize callback 2025-10-28 00:15:55 +00:00
vm lib: prefer call() over apply() if argument list is not array 2025-11-23 08:45:46 +00:00
watch_mode watch: check parent and child path properly 2025-04-06 09:48:53 +02:00
webstreams lib: add support for readable byte streams to .toWeb() 2025-11-16 06:51:24 +00:00
worker lib: replace global SharedArrayBuffer constructor with bound method 2025-11-03 13:23:20 +00:00
abort_controller.js meta: enable jsdoc/check-tag-names rule 2025-07-18 09:28:21 +00:00
assert.js
async_context_frame.js lib: use Map primordial for ActiveAsyncContextFrame 2025-04-08 17:51:08 +00:00
async_hooks.js lib: remove redundant destroyHook checks 2025-10-08 12:11:43 +00:00
blob.js lib: fix typo in createBlobReaderStream 2025-10-27 14:14:15 +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 lib: revert to using default derived class constructors 2025-08-30 14:28:10 +00:00
child_process.js lib: prefer call() over apply() if argument list is not array 2025-11-23 08:45:46 +00:00
cli_table.js
constants.js
data_url.js meta: enable jsdoc/check-tag-names rule 2025-07-18 09:28:21 +00:00
dgram.js
encoding.js util: reduce TextEncoder.encodeInto function size 2025-10-23 14:38:22 +00:00
error_serdes.js lib: avoid StackOverflow on serializeError 2025-04-29 21:12:29 +00:00
errors.js esm: use sync loading/resolving on non-loader-hook thread 2025-10-31 20:45:10 +00:00
event_target.js lib: implement passive listener behavior per spec 2025-10-04 03:17:35 +00:00
file.js lib: prefer call() over apply() if argument list is not array 2025-11-23 08:45:46 +00:00
fixed_queue.js
freelist.js
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: replace startsWith with strict equality 2025-10-30 14:43:31 +00: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 http2 tracking support 2025-08-27 16:25:13 +00:00
js_stream_socket.js
linkedlist.js
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: add internal GetOptionsAsFlags 2025-08-16 06:43:49 +00:00
priority_queue.js lib: optimize priority queue 2025-10-04 22:08:00 +02:00
promise_hooks.js
querystring.js
README.md
repl.js repl: extract and standardize history from both repl and interface 2025-05-28 07:38:39 +00:00
socket_list.js
socketaddress.js
stream_base_commons.js
timers.js lib: remove redundant destroyHook checks 2025-10-08 12:11:43 +00:00
trace_events_async_hooks.js
tty.js tty: treat empty NO_COLOR same as absent NO_COLOR 2025-06-28 15:26:22 +02:00
url.js url: remove array.reduce usage 2025-11-23 17:13:58 +00:00
util.js src: add internal binding for constructing SharedArrayBuffers 2025-11-03 13:23:20 +00:00
v8_prof_polyfill.js src: build v8 tick processor as built-in source text modules 2025-11-11 02:53:13 +00:00
validators.js meta: enable jsdoc/check-tag-names rule 2025-07-18 09:28:21 +00:00
vm.js lib: prefer call() over apply() if argument list is not array 2025-11-23 08:45:46 +00:00
wasm_web_api.js
watchdog.js
webidl.js
webstorage.js lib: throw from localStorage getter on missing storage path 2025-10-31 19:48:29 +00:00
worker.js lib: replace global SharedArrayBuffer constructor with bound method 2025-11-03 13:23:20 +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.