node/lib/internal
YieldRay 42fd6401c2
fs: ensure consistency for mkdtemp in both fs and fs/promises
Port changes for mkdtemp from lib/fs.js to lib/internal/fs/promise.js,
ensuring consistent behavior.

Refs: https://github.com/nodejs/node/pull/51078
PR-URL: https://github.com/nodejs/node/pull/53776
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: LiviaMedeiros <livia@cirno.name>
2024-07-23 11:56:18 +00:00
..
assert lib: enforce ASCII order in error code imports 2024-04-23 17:05:38 +00:00
bootstrap process: port on-exit-leak-free to core 2024-07-11 17:57:20 +00:00
child_process tools: add lint rule to keep primordials in ASCII order 2024-04-21 16:53:08 +00:00
cluster lib: improve cluster/primary code 2024-07-21 22:23:17 +00:00
console module: print amount of load time of a cjs module 2024-05-30 16:58:59 +00:00
crypto crypto: remove ERR_CRYPTO_SCRYPT_INVALID_PARAMETER 2024-07-10 16:38:00 +00:00
debugger debugger: use internal/url.URL instead of url.parse 2023-09-13 18:03:14 +00:00
dns lib: enforce ASCII order in error code imports 2024-04-23 17:05:38 +00:00
events lib: fix naming convention of Symbol 2024-06-10 14:56:14 +00:00
fs fs: ensure consistency for mkdtemp in both fs and fs/promises 2024-07-23 11:56:18 +00:00
http2 http2: remove prototype primordials 2024-07-05 06:20:12 +00:00
legacy tools: add lint rule to keep primordials in ASCII order 2024-04-21 16:53:08 +00:00
main module: unflag detect-module 2024-07-20 18:30:46 +00:00
modules module: unflag detect-module 2024-07-20 18:30:46 +00:00
per_context tools: add lint rule to keep primordials in ASCII order 2024-04-21 16:53:08 +00:00
perf lib: add toJSON to PerformanceMeasure 2024-06-29 04:48:23 +00:00
process process: unify experimental warning messages 2024-07-23 11:56:03 +00:00
readline http, readline: replace sort with toSorted 2024-07-10 16:46:24 +00:00
repl repl: fix await object patterns without values 2024-06-07 01:24:32 +00:00
source_map lib: decorate async stack trace in source maps 2024-07-18 14:45:43 +00:00
streams stream: pipeline wait for close before calling the callback 2024-06-27 11:29:35 +00:00
test v8: implement v8.queryObjects() for memory leak regression testing 2024-03-02 22:11:30 +00:00
test_runner test_runner: added colors to dot reporter 2024-07-23 12:39:10 +03:00
tls tls: fix negative sessionTimeout handling 2024-05-18 00:26:11 +00:00
util src: refactor embedded entrypoint loading 2024-07-05 19:58:35 +00:00
v8 lib: enforce ASCII order in error code imports 2024-04-23 17:05:38 +00:00
vm vm: fix ASCII-betical order 2024-04-25 19:14:16 +00:00
watch_mode test_runner: handle file rename and deletion under watch mode 2024-06-02 08:11:30 +00:00
webstreams stream: improve inspector ergonomics 2024-07-12 18:00:27 +00:00
worker worker: add postMessageToThread 2024-07-09 07:16:04 +00:00
abort_controller.js lib: use predefined variable instead of bit operation 2024-04-20 16:24:25 +00:00
assert.js
async_hooks.js tools: add lint rule to keep primordials in ASCII order 2024-04-21 16:53:08 +00:00
blob.js buffer: add .bytes() method to Blob 2024-06-04 02:00:05 +00:00
blocklist.js src: distinguish HTML transferable and cloneable 2023-07-07 17:00:00 +00:00
buffer.js
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
dgram.js lib: enforce ASCII order in error code imports 2024-04-23 17:05:38 +00:00
encoding.js stream: implement min option for ReadableStreamBYOBReader.read 2024-01-04 12:57:14 +01:00
error_serdes.js tools: add lint rule to keep primordials in ASCII order 2024-04-21 16:53:08 +00:00
errors.js crypto: remove ERR_CRYPTO_SCRYPT_INVALID_PARAMETER 2024-07-10 16:38:00 +00:00
event_target.js lib: fix naming convention of Symbol 2024-06-10 14:56:14 +00: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 tools: add lint rule to keep primordials in ASCII order 2024-04-21 16:53:08 +00:00
heap_utils.js tools: add lint rule to keep primordials in ASCII order 2024-04-21 16:53:08 +00:00
histogram.js lib: enforce ASCII order in error code imports 2024-04-23 17:05:38 +00:00
http.js src,lib: expose getCategoryEnabledBuffer to use on node.http 2024-07-16 18:40:22 +00:00
idna.js
inspector_async_hook.js tools: add lint rule to keep primordials in ASCII order 2024-04-21 16:53:08 +00:00
inspector_network_tracking.js inspector: add initial support for network inspection 2024-07-19 05:00:30 +00:00
js_stream_socket.js http2: fix h2-over-h2 connection proxying 2024-04-08 09:53:18 +00:00
linkedlist.js
mime.js util: pass invalidSubtypeIndex instead of trimmedSubtype to error 2023-12-25 04:29:00 +00:00
navigator.js lib: make navigator not runtime-lookup process.version/arch/platform 2024-07-15 23:09:54 +00:00
net.js lib: enforce ASCII order in error code imports 2024-04-23 17:05:38 +00:00
options.js src: reduce unnecessary serialization of CLI options in C++ 2024-05-02 22:57:03 +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 tools: add lint rule to keep primordials in ASCII order 2024-04-21 16:53:08 +00:00
querystring.js
README.md lib, doc: rename readme.md to README.md 2024-04-14 10:30:31 +00:00
repl.js
socket_list.js
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: emit warning if delay is negative or NaN 2024-06-28 11:36:31 +00:00
trace_events_async_hooks.js
tty.js
url.js lib: make navigator not runtime-lookup process.version/arch/platform 2024-07-15 23:09:54 +00:00
util.js lib: refactor platform utility methods 2024-07-15 18:58:11 +00:00
v8_prof_polyfill.js
v8_prof_processor.js
validators.js lib: fix misleading argument of validateUint32 2024-06-05 22:59:05 +00:00
vm.js typings: lib/internal/vm.js 2024-02-19 01:19:44 +00:00
wasm_web_api.js
watchdog.js
webidl.js stream: treat compression web stream format per its WebIDL definition 2023-11-12 10:01:51 +00:00
webstorage.js src: move ToNamespacedPath call of webstorage 2024-07-21 20:49:10 +00:00
worker.js worker: add postMessageToThread 2024-07-09 07:16:04 +00: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.