node/lib/internal
cjihrig 11f8765475 test_runner: don't exceed call stack when filtering
This commit updates filteredRun() to call postRun() after a
microtask instead of synchronously. Currently, if approximately
1,545 subtests are filtered, enough synchronous calls can be
made to cause a call stack exceeded exception.

PR-URL: https://github.com/nodejs/node/pull/52488
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
2024-04-14 01:22:22 +00:00
..
assert lib: enforce use of trailing commas 2023-03-06 10:44:14 +01:00
bootstrap lib: refactor lazy loading of undici for fetch method 2024-04-12 17:54:42 +00:00
child_process lib: enforce use of trailing commas for functions 2023-02-14 18:45:16 +01:00
cluster net: do not treat server.maxConnections=0 as Infinity 2023-06-26 06:17:51 +00:00
console lib: create global console properties at snapshot build time 2024-02-20 18:25:31 +00:00
crypto crypto: validate RSA-PSS saltLength in subtle.sign and subtle.verify 2024-04-03 05:16:10 +00:00
debugger debugger: use internal/url.URL instead of url.parse 2023-09-13 18:03:14 +00:00
dns dns: call handle.setServers() with a valid array 2023-11-21 20:56:02 +00:00
events events: extract addAbortListener for safe internal use 2024-03-16 09:08:55 +00:00
fs fs,permission: make handling of buffers consistent 2024-04-06 07:37:04 +00:00
http2 http2: fix h2-over-h2 connection proxying 2024-04-08 09:53:18 +00:00
legacy src: implement natives binding without special casing 2023-06-09 15:32:55 +02:00
main cli: implement node --run <script-in-package-json> 2024-04-08 00:49:14 +00:00
modules module: tidy code and comments 2024-04-13 19:41:20 +00:00
per_context lib: move function declaration outside of loop 2023-12-23 01:51:47 +01:00
perf perf_hooks: performance milestone time origin timestamp improvement 2024-02-28 16:52:30 +00:00
policy policy: use tamper-proof integrity check function 2023-10-13 18:03:19 -03:00
process process: wait for 'exit' before printing result 2024-03-25 12:28:54 +00:00
readline events: rename high & low watermark for consistency 2024-04-05 14:07:47 +00:00
repl lib: fix output message when repl is used with pm 2023-06-17 17:28:38 +00:00
source_map test_runner: use source maps when reporting coverage 2024-03-15 06:33:42 +00:00
streams stream: make Duplex inherit destroy from Writable 2024-04-05 18:34:33 +00:00
test v8: implement v8.queryObjects() for memory leak regression testing 2024-03-02 22:11:30 +00:00
test_runner test_runner: don't exceed call stack when filtering 2024-04-14 01:22:22 +00:00
tls tls: fix order of setting cipher before setting cert and key 2023-11-16 14:40:37 +00:00
util module: support require()ing synchronous ESM graphs 2024-03-18 18:10:06 +08:00
v8 bootstrap: throw ERR_NOT_SUPPORTED_IN_SNAPSHOT in unsupported operation 2023-05-24 14:49:46 +02:00
vm module: centralize SourceTextModule compilation for builtin loader 2024-04-03 23:31:48 +00:00
watch_mode watch: use internal addAbortListener 2024-03-16 09:09:00 +00:00
webstreams stream: use internal addAbortListener 2024-03-16 09:08:59 +00:00
worker worker: protect against user mutating well-known prototypes 2023-08-23 09:06:51 +00:00
abort_controller.js lib: improve perf of AbortSignal creation 2024-04-10 20:16:03 +00:00
assert.js
async_hooks.js tools: fix jsdoc lint 2023-05-02 00:48:20 +00:00
blob.js lib: reduce overhead of blob clone 2023-10-17 06:23:40 +00:00
blocklist.js src: distinguish HTML transferable and cloneable 2023-07-07 17:00:00 +00:00
buffer.js src: throw DataCloneError on transfering untransferable objects 2023-05-05 11:22:42 +00:00
child_process.js errors: improve hideStackFrames 2023-11-11 16:25:08 +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
dgram.js src: return uint32 for guessHandleType 2023-06-15 19:21:49 +00:00
encoding.js stream: implement min option for ReadableStreamBYOBReader.read 2024-01-04 12:57:14 +01:00
error_serdes.js lib: add support for inherited custom inspection methods 2023-06-11 08:10:47 +00:00
errors.js module: disallow CJS <-> ESM edges in a cycle from require(esm) 2024-04-08 14:45:55 +00:00
event_target.js events: no stopPropagation call in cancelBubble 2024-02-26 16:56:26 -05:00
file.js lib,src: replace toUSVString with toWellFormed() 2023-11-29 16:00:57 +00:00
fixed_queue.js
freelist.js
freeze_intrinsics.js lib: fix use of --frozen-intrinsics with --jitless 2023-12-23 12:38:24 +00:00
heap_utils.js v8: implement v8.queryObjects() for memory leak regression testing 2024-03-02 22:11:30 +00:00
histogram.js perf_hooks: reduce overhead of createHistogram 2023-10-23 12:38:54 +00:00
http.js
idna.js src: replace idna functions with ada::idna 2023-04-28 18:48:38 +00:00
inspector_async_hook.js lib: add trailing commas to more internal files 2023-02-26 11:34:02 +01: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
mime.js util: pass invalidSubtypeIndex instead of trimmedSubtype to error 2023-12-25 04:29:00 +00:00
navigator.js lib: add navigator.language & navigator.languages 2023-11-04 18:07:42 +00:00
net.js errors: improve hideStackFrames 2023-11-11 16:25:08 +00:00
options.js lib: replace string prototype usage with alternatives 2024-04-11 21:46:46 +00:00
priority_queue.js test_runner: add Date to the supported mock APIs 2023-10-23 11:23:12 +00:00
promise_hooks.js lib: add trailing commas to more internal files 2023-02-26 11:34:02 +01:00
querystring.js lib: add trailing commas to more internal files 2023-02-26 11:34:02 +01:00
readme.md
repl.js repl: add trailing commas in source files 2023-02-24 09:43:27 +01:00
shell.js cli: implement node --run <script-in-package-json> 2024-04-08 00:49:14 +00:00
socket_list.js lib: add trailing commas to more internal files 2023-02-26 11:34:02 +01:00
socketaddress.js src: distinguish HTML transferable and cloneable 2023-07-07 17:00:00 +00:00
stream_base_commons.js http2: fix h2-over-h2 connection proxying 2024-04-08 09:53:18 +00:00
timers.js timers: use V8 fast API calls 2023-02-28 09:37:24 +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 lib: add trailing commas to more internal files 2023-02-26 11:34:02 +01:00
url.js url: implement parse method for safer URL parsing 2024-04-13 12:57:12 +00:00
util.js lib: move encodingsMap to internal/util 2024-02-27 13:27:18 +01: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 stream: implement min option for ReadableStreamBYOBReader.read 2024-01-04 12:57:14 +01:00
vm.js typings: lib/internal/vm.js 2024-02-19 01:19:44 +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 stream: treat compression web stream format per its WebIDL definition 2023-11-12 10:01:51 +00:00
worker.js test: update flag to disable SharedArrayBuffer 2023-10-10 08:27:59 +02:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These modules can be changed at any time. Reliance on these modules outside of core is not supported in any way.