node/lib
Chengzhong Wu 8e7ae60e3b
async_hooks: enable AsyncLocalStorage once constructed
This fixes the leak behavior when using `enterWith` when no
`AsyncLocalStorage`s were enabled inside a promise.

PR-URL: https://github.com/nodejs/node/pull/58029
Fixes: https://github.com/nodejs/node/issues/53037
Refs: https://github.com/nodejs/node/pull/58019
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2025-04-27 21:43:28 +00:00
..
assert
dns dns: make promise API fully constructed from lib/internal/dns/promises 2022-06-20 19:58:45 +01:00
fs
inspector inspector: refactor inspector/promises to be more robust 2022-10-19 18:39:31 +00:00
internal async_hooks: enable AsyncLocalStorage once constructed 2025-04-27 21:43:28 +00:00
path
readline readline: fix unresolved promise on abortion 2025-01-29 17:01:26 -08:00
stream stream: add pipeline() for webstreams 2023-02-02 19:45:42 +00:00
test test_runner: do not expose internal loader 2024-08-13 15:17:50 +02:00
timers lib: remove unnecessary optional chaining 2024-11-07 15:59:12 +00:00
util
_http_agent.js lib: remove startsWith/endsWith primordials for char checks 2024-10-19 10:18:10 +00:00
_http_client.js http: add setDefaultHeaders option to http.request 2024-12-12 16:43:10 +00:00
_http_common.js lib: prefer optional chaining 2024-09-24 19:48:15 +00:00
_http_incoming.js lib: prefer optional chaining 2024-09-24 19:48:15 +00:00
_http_outgoing.js http: remove outgoingmessage _headers and _headersList 2025-04-02 23:17:51 +00:00
_http_server.js http: add diagnostic channel http.server.response.created 2024-11-02 13:46:20 +00:00
_stream_duplex.js
_stream_passthrough.js
_stream_readable.js
_stream_transform.js
_stream_wrap.js
_stream_writable.js
_tls_common.js lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
_tls_wrap.js tls: remove unnecessary type check on normalize 2025-03-13 12:31:53 +00:00
assert.js assert: mark partialDeepStrictEqual() as stable 2025-03-12 18:26:17 +00:00
async_hooks.js inspector: skip promise hook in the inspector async hook 2025-02-23 01:07:21 +00:00
buffer.js buffer: move SlowBuffer to EOL 2025-04-27 07:40:37 -07:00
child_process.js child_process: deprecate passing args to spawn and execFile 2025-03-21 16:15:18 +00:00
cluster.js cluster: use ObjectPrototypeHasOwnProperty 2023-05-25 16:04:19 +00:00
console.js
constants.js
crypto.js lib: remove obsolete Cipher export 2025-03-04 08:33:21 -08:00
dgram.js dgram: support blocklist in udp 2024-12-15 14:19:27 +00:00
diagnostics_channel.js diagnostics_channel: fix unsubscribe during publish 2024-10-14 10:55:39 +00:00
dns.js dns: remove redundant code using common variable 2025-03-11 13:54:00 +00:00
domain.js lib: the REPL should survive deletion of Array.prototype methods 2024-09-17 15:08:43 +00:00
eslint.config_partial.mjs module: use buffer.toString base64 2024-12-21 11:02:30 +00:00
events.js events: getMaxListeners detects 0 listeners 2025-01-30 19:55:18 +00:00
fs.js fs: remove ability to call truncate with fd 2025-03-22 19:39:44 +00:00
http2.js http2: add server handshake utility 2024-01-12 16:09:48 +00:00
http.js http: expose websockets 2024-07-08 15:55:43 +00:00
https.js lib: remove Symbol[Async]Dispose polyfills 2024-10-07 09:47:44 +00:00
inspector.js lib: add warning when binding inspector to public IP 2025-03-21 08:11:10 -07:00
module.js lib: allow skipping source maps in node_modules 2025-01-23 22:44:10 +00:00
net.js net: make _setSimultaneousAccepts() end-of-life deprecated 2025-03-22 01:00:06 +00:00
os.js os: fix netmask format check condition in getCIDR function 2025-04-20 05:54:48 +00:00
path.js path: fix path traversal in normalize() on Windows 2025-01-21 15:53:46 -03:00
perf_hooks.js lib: add trailing commas to all public core modules 2023-02-28 12:10:24 +01:00
process.js src: disambiguate terms used to refer to builtins and addons 2022-08-09 01:36:49 +08:00
punycode.js punycode: limit deprecation warning 2025-01-18 18:01:54 +00:00
querystring.js lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
quic.js src, quic: refine more of the quic implementation 2025-01-06 10:47:36 -08:00
readline.js lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
repl.js repl: add support for multiline history 2025-04-13 11:58:01 +00:00
sea.js sea: support sea.getRawAsset() 2024-02-02 15:25:34 +01:00
sqlite.js sqlite: add DatabaseSync.prototype[Symbol.dispose]() 2025-03-18 18:52:07 +00:00
stream.js stream: change stream to use index instead of for...of 2024-08-23 07:31:55 +00:00
string_decoder.js string_decoder: refactor encoding validation 2024-09-23 22:49:53 +00:00
sys.js lib: add note about removing node:sys module 2024-09-05 21:53:52 +02:00
test.js test_runner: add assert.register() API 2025-01-04 18:30:04 +00:00
timers.js timers: optimize timer functions with improved argument handling 2025-03-24 20:30:52 +00:00
tls.js lib: limit split function calls to prevent excessive array length 2025-03-18 15:52:50 +00:00
trace_events.js trace_events: use private fields instead of symbols for Tracing 2023-12-28 23:20:22 +00:00
tty.js tty: initialize winSize array with values 2024-08-11 06:32:13 +00:00
url.js url: add URLPattern implementation 2025-02-01 02:13:57 +00:00
util.js util: expose diff function used by the assertion errors 2025-03-19 23:59:07 +00:00
v8.js v8: add v8.getCppHeapStatistics() method 2025-03-04 11:14:34 +00:00
vm.js lib: add validation for options in compileFunction 2024-12-06 06:53:06 +00:00
wasi.js wasi: make returnOnExit true by default 2023-04-11 16:35:52 -04:00
worker_threads.js src,worker: add isInternalWorker 2025-01-14 18:24:30 +00:00
zlib.js zlib: use modern class syntax for zstd classes 2025-02-10 19:42:20 +00:00