node/lib/internal
Joyee Cheung 83cd484d77
debugger: decrease timeout used to wait for the port to be free
By default, the debugger would query the specified inspector
sever port to see if it's available before starting the server,
and it would keep retrying until a timeout (previously 9999 ms)
is reached. This timeout seems to be longer than necessary. This
patch decreases the timeout to 3 seconds.

PR-URL: https://github.com/nodejs/node/pull/44359
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Richard Lau <rlau@redhat.com>
2022-08-24 13:52:54 +00:00
..
assert assert: add getCalls and reset to callTracker 2022-08-11 19:27:34 +00:00
bootstrap perf_hooks: add resourcetiming buffer limit 2022-08-21 10:43:39 +08:00
child_process child_process: improve ipc write performance 2022-06-19 16:10:53 +02:00
cluster cluster: send connection to other server when worker drop it 2022-07-24 11:18:33 +01:00
console lib: refactor to avoid unsafe regex primordials 2022-06-27 17:16:06 +02:00
crypto crypto: allow zero-length IKM in HKDF and in webcrypto PBKDF2 2022-08-12 21:36:29 +02:00
debugger debugger: decrease timeout used to wait for the port to be free 2022-08-24 13:52:54 +00:00
dns lib: add diagnostics channel and perf hooks detail 2022-07-29 14:27:16 +01:00
fs fs: use signed types for stat data 2022-07-18 16:35:14 +01:00
http2 http: add writeEarlyHints function to ServerResponse 2022-08-17 18:22:53 +00:00
legacy lib: make process.binding('util') return only type checkers 2021-03-27 15:45:12 +00:00
main test_runner: support programmatically running --test 2022-08-24 15:54:44 +03:00
modules src: disambiguate terms used to refer to builtins and addons 2022-08-09 01:36:49 +08:00
per_context lib: add Promise methods to avoid-prototype-pollution lint rule 2022-07-26 23:38:24 +01:00
perf perf_hooks: add resourcetiming buffer limit 2022-08-21 10:43:39 +08:00
policy lib: refactor to avoid unsafe regex primordials 2022-06-27 17:16:06 +02:00
process report: skip report if uncaught exception is handled 2022-08-16 21:04:48 +08:00
readline readline: fix to not access a property on an undefined value 2022-06-28 11:10:50 +01:00
repl repl: fix overzealous top-level await 2022-07-15 20:30:50 +01:00
source_map src,lib: print prinstine source when source map source not found 2022-08-06 19:56:27 +08:00
streams stream: use null for the error argument 2022-08-23 07:51:53 +00:00
test lib: add support for JSTransferable as a mixin 2021-04-26 07:55:48 -07:00
test_runner test_runner: support programmatically running --test 2022-08-24 15:54:44 +03:00
tls tls: use logical OR operator 2022-08-16 21:34:56 +00:00
util src: disambiguate terms used to refer to builtins and addons 2022-08-09 01:36:49 +08:00
v8 bootstrap: fixup Error.stackTraceLimit for user-land snapshot 2022-08-18 13:05:31 +00:00
vm lib: implement safe alternatives to Promise static methods 2022-07-10 14:17:23 +01:00
webstreams stream: fix isDetachedBuffer validations 2022-08-18 08:24:34 +00:00
worker lib: refactor to avoid prototype pollution 2022-08-17 18:36:33 +00:00
abort_controller.js lib: refactor transferable AbortSignal 2022-08-04 08:40:50 -07:00
assert.js benchmark,doc,lib,test: prepare for padding lint rule 2019-11-30 06:28:29 -08:00
async_hooks.js lib: use null-prototype objects for property descriptors 2022-06-03 09:23:58 +01:00
blob.js lib: refactor to avoid unsafe regex primordials 2022-06-27 17:16:06 +02:00
blocklist.js net: allow net.BlockList to use net.SocketAddress objects 2021-04-02 06:16:42 -07:00
buffer.js buffer,errors: add missing n literal in range error string 2021-04-17 19:34:42 +02:00
child_process.js lib: use null-prototype objects for property descriptors 2022-06-03 09:23:58 +01:00
cli_table.js lib: refactor to use primordials in lib/internal/cli_table 2021-04-05 18:20:38 -07:00
constants.js lib: replace charCodeAt with fixed Unicode 2020-06-19 07:46:37 -07:00
dgram.js lib: refactor to use validateFunction 2021-01-27 20:46:54 +02:00
encoding.js lib: use kEmptyObject in various places 2022-06-11 12:18:16 +02:00
error_serdes.js lib: use null-prototype objects for property descriptors 2022-06-03 09:23:58 +01:00
errors.js bootstrap: fixup Error.stackTraceLimit for user-land snapshot 2022-08-18 13:05:31 +00:00
event_target.js lib: refactor to avoid prototype pollution 2022-08-17 18:36:33 +00:00
fixed_queue.js lib: unnecessary const assignment for class 2020-04-24 22:53:36 +03:00
freelist.js http: remove unused hasItems() from freelist 2019-12-03 15:00:45 -08:00
freeze_intrinsics.js lib: fix TODO in freeze_intrinsics 2022-06-27 16:15:16 +01:00
heap_utils.js worker: add ability to take heap snapshot from parent thread 2020-02-03 07:04:13 -08:00
histogram.js lib: use kEmptyObject in various places 2022-06-11 12:18:16 +02:00
http.js http: trace http request / response 2022-08-05 14:25:06 +00:00
idna.js dns: use url module instead of punycode for IDNA 2021-03-23 20:44:31 +01:00
inspector_async_hook.js async_hooks: refactor to use more primordials 2020-11-20 20:10:19 +00:00
js_stream_socket.js tools: enable no-var ESLint rule for lib 2022-04-04 10:53:29 +00:00
linkedlist.js cluster: use linkedlist for round_robin_handle 2021-11-28 21:39:10 -08:00
net.js net: refactor to use more primordials 2020-12-07 10:08:03 -08:00
options.js bootstrap: refresh options in pre-execution 2022-03-31 19:29:08 +08:00
priority_queue.js lib: refactor PriorityQueue to use private field 2022-07-23 21:44:18 +01:00
promise_hooks.js lib: use kEmptyObject in various places 2022-06-11 12:18:16 +02:00
querystring.js typings: add JSDoc Types to lib/querystring 2021-04-18 11:00:28 +02:00
readme.md
repl.js lib: use Number.parseInt from primordials 2020-10-07 13:44:20 +00:00
socket_list.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
socketaddress.js net: fix typo 2021-04-08 10:33:09 +02:00
stream_base_commons.js lib: replace validator and error 2022-02-05 08:36:48 -08:00
structured_clone.js lib: throw error in structuedClone when no arguments are passed 2022-01-24 23:17:37 +00:00
timers.js timers: refactor internal classes to ES2015 syntax 2022-04-04 09:43:49 +01:00
trace_events_async_hooks.js lib: comment explaining special-case handling of promises 2021-07-23 03:54:33 +00:00
tty.js lib: refactor to avoid unsafe regex primordials 2022-06-27 17:16:06 +02:00
url.js lib: reset RegExp statics before running user code 2022-08-05 10:01:32 +02:00
util.js lib: refactor to avoid prototype pollution 2022-08-17 18:36:33 +00:00
v8_prof_polyfill.js tools: add console to the list of restricted globals 2022-02-19 19:00:55 +00:00
v8_prof_processor.js lib: refactor to avoid unsafe array iteration 2021-10-03 09:48:07 +00:00
validators.js typings: add JSDoc for internal/validators 2022-08-17 20:25:01 +02:00
wasm_web_api.js bootstrap: support more builtins in the embedded code cache 2022-08-05 01:11:20 +08:00
watchdog.js test: add semicolons for linter update 2021-11-08 13:16:21 -08:00
worker.js src: per-environment time origin value 2022-07-16 16:46:40 +08: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.