node/lib/internal
Ruben Bridgewater d3f79aa65d
assert: allow printf-style messages as assertion error
Also add functions as allowed message input.
This allows to have leavy message computation to become cheaper.

PR-URL: https://github.com/nodejs/node/pull/58849
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
2025-10-17 20:15:17 +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 lib,src: cache ModuleWrap.hasAsyncGraph 2025-09-11 12:54:24 +00:00
child_process child_process: fix parsing messages with splitted length field 2025-01-18 19:39:56 +00:00
cluster
console console: allow per-stream inspectOptions option 2025-10-03 16:11:08 +02:00
crypto src: update crypto.getCipherInfo() to use DictionaryTemplate 2025-10-05 14:05:35 +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
errors lib: add source map support for assert messages 2025-09-11 10:37:46 +00:00
events
fs lib: revert to using default derived class constructors 2025-08-30 14:28:10 +00:00
http2 http2: rename variable to additionalPseudoHeaders 2025-10-13 08:31:02 +00:00
inspector inspector: support handshake response for websocket inspection 2025-10-14 07:06:15 +00:00
legacy
main watch: add --watch-kill-signal flag 2025-06-28 22:51:59 +00:00
modules module: handle null source from async loader hooks in sync hooks 2025-10-14 16:28:22 +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: remove redundant destroyHook checks 2025-10-08 12:11:43 +00:00
quic lib: fix typo in QuicSessionStats 2025-10-10 04:16:56 +00:00
readline repl: fix cpu overhead pasting big strings to the REPL 2025-09-14 00:06:47 +00:00
repl repl: move completion logic to internal module 2025-10-08 07:37:22 +00:00
source_map lib: add source map support for assert messages 2025-09-11 10:37:46 +00:00
streams stream: use new AsyncResource instead of bind 2025-09-16 20:24:38 +00:00
test
test_runner assert: allow printf-style messages as assertion error 2025-10-17 20:15:17 +00:00
tls tls: move IP-address servername deprecation to eol 2025-06-02 19:01:00 +00:00
util console,util: improve array inspection performance 2025-09-30 15:32:40 +02:00
v8
vm vm: expose hasTopLevelAwait on SourceTextModule 2025-09-19 09:12:17 +00:00
watch_mode watch: check parent and child path properly 2025-04-06 09:48:53 +02:00
webstreams stream: add brotli support to CompressionStream and DecompressionStream 2025-08-21 02:22:19 +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
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 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 lib: revert to using default derived class constructors 2025-08-30 14:28:10 +00:00
child_process.js child_process: move _channel to end-of-life 2025-06-02 16:25:50 +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
error_serdes.js lib: avoid StackOverflow on serializeError 2025-04-29 21:12:29 +00:00
errors.js url: add err.input to ERR_INVALID_FILE_URL_PATH 2025-09-05 17:03:16 +00:00
event_target.js lib: implement passive listener behavior per spec 2025-10-04 03:17:35 +00:00
file.js
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,https: handle IPv6 with proxies 2025-09-22 23:19:26 +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: add type checking to urlToHttpOptions() 2025-09-12 12:59:26 +00:00
util.js util: remove outdated TODO comment 2025-09-07 13:04:52 +00:00
v8_prof_polyfill.js
v8_prof_processor.js
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
watchdog.js
webidl.js
webstorage.js src: unflag --experimental-webstorage by default 2025-09-25 11:59:58 +00:00
worker.js worker: add heap profile API 2025-09-23 12:41:47 +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.