node/lib/internal
Mert Can Altin ed47077736
Some checks are pending
Coverage Linux (without intl) / coverage-linux-without-intl (push) Waiting to run
Coverage Linux / coverage-linux (push) Waiting to run
Coverage Windows / coverage-windows (push) Waiting to run
Test and upload documentation to artifacts / build-docs (push) Waiting to run
Linters / lint-addon-docs (push) Waiting to run
Linters / lint-cpp (push) Waiting to run
Linters / format-cpp (push) Waiting to run
Linters / lint-js-and-md (push) Waiting to run
Linters / lint-nix (push) Waiting to run
Linters / lint-py (push) Waiting to run
Linters / lint-yaml (push) Waiting to run
Linters / lint-sh (push) Waiting to run
Linters / lint-codeowners (push) Waiting to run
Linters / lint-pr-url (push) Waiting to run
Linters / lint-readme (push) Waiting to run
Notify on Push / Notify on Force Push on `main` (push) Waiting to run
Notify on Push / Notify on Push on `main` with invalid message (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
util: optimize toASCIILower function using V8s native toLowerCase
PR-URL: https://github.com/nodejs/node/pull/61107
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2025-12-27 00:40:39 +00:00
..
assert assert: use a set instead of an array for faster lookup 2025-12-22 19:30:36 +00:00
async_local_storage async_hooks: ensure AsyncLocalStore instances work isolated 2025-05-06 18:00:56 +00:00
bootstrap cli: add --require-module/--no-require-module 2025-12-08 16:11:49 +00:00
child_process child_process: fix parsing messages with splitted length field 2025-01-18 19:39:56 +00:00
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,test: enforce use of assert.fail via a lint rule 2025-12-11 15:23:33 +01: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 fs: detect dot files when using globstar 2025-12-11 21:12:03 +00:00
http2 http2,zlib: prefer call() over apply() if argument list is not array 2025-12-04 14:36:16 +00:00
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 module: fix sync resolve hooks for require with node: prefixes 2025-12-22 14:35:45 +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 process: preserve AsyncLocalStorage in queueMicrotask only when needed 2025-12-21 01:12:15 +00:00
quic lib,test: fix jsdoc comments 2025-11-30 19:14:12 +01:00
readline repl: fix pasting after moving the cursor to the left 2025-11-05 20:36:59 +00:00
repl repl: fix getters triggering side effects during completion 2025-12-20 18:54:12 +00:00
source_map lib: add source map support for assert messages 2025-09-11 10:37:46 +00:00
streams stream: do not pass readable.compose() output via Readable.from() 2025-12-23 18:52:32 +00:00
test
test_runner lib: enforce use of URLParse 2025-12-12 12:34:21 +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 nested proxy inspection 2025-12-22 22:22:04 +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 stream: fix isErrored/isWritable for WritableStreams 2025-12-03 13:08:34 +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: add lint rules for reflective function calls 2025-11-27 10:24:09 +01: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 src: implement Windows-1252 encoding support and update related tests 2025-12-04 14:23:01 +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 events: remove eventtarget custom inspect branding 2025-12-22 16:14:56 +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: add http.setGlobalProxyFromEnv() 2025-12-10 16:12:28 +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 util: optimize toASCIILower function using V8s native toLowerCase 2025-12-27 00:40:39 +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 lib: enforce use of URLParse 2025-12-12 12:34:21 +00:00
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 util: add convertProcessSignalToExitCode utility 2025-12-11 13:25:21 +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.