node/lib/internal
Yagiz Nizipli bb8cc65edb
lib: replace createDeferredPromise util with Promise.withResolvers
PR-URL: https://github.com/nodejs/node/pull/54836
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
2024-10-19 10:13:58 +02:00
..
assert assert: make assertion_error use Myers diff algorithm 2024-10-17 16:02:54 +00:00
async_local_storage
bootstrap lib: convert transfer sequence to array in js 2024-10-13 18:11:21 +00:00
child_process
cluster lib: add flag to drop connection when running in cluster mode 2024-10-17 15:11:41 +00:00
console lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
crypto lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
debugger lib: prefer optional chaining 2024-09-24 19:48:15 +00:00
dns lib: fix typos 2024-09-25 14:35:18 +00:00
events lib: remove Symbol[Async]Dispose polyfills 2024-10-07 09:47:44 +00:00
fs lib: replace createDeferredPromise util with Promise.withResolvers 2024-10-19 10:13:58 +02:00
http2 lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
legacy
main watch: preserve output when gracefully restarted 2024-09-30 21:02:58 +00:00
modules esm: fix inconsistency with importAssertion in resolve hook 2024-10-15 21:02:07 +02:00
per_context lib: move Symbol[Async]Dispose polyfills to internal/util 2024-09-10 21:24:56 +00:00
perf lib: convert transfer sequence to array in js 2024-10-13 18:11:21 +00:00
process url: handle "unsafe" characters properly in pathToFileURL 2024-10-18 07:20:43 +00:00
quic quic: start adding in the internal quic js api 2024-09-29 11:41:03 -07:00
readline lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
repl repl: catch \v and \r in new-line detection 2024-09-25 08:51:11 +00:00
source_map lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
streams lib: replace createDeferredPromise util with Promise.withResolvers 2024-10-19 10:13:58 +02:00
test
test_runner lib: replace createDeferredPromise util with Promise.withResolvers 2024-10-19 10:13:58 +02:00
tls tls: add allowPartialTrustChain flag 2024-09-09 17:24:10 +02:00
util assert: fix deepEqual always return true on URL 2024-10-13 14:01:47 +00:00
v8 src: fixup Error.stackTraceLimit during snapshot building 2024-09-30 15:05:12 +00:00
vm
watch_mode
webstreams lib: replace createDeferredPromise util with Promise.withResolvers 2024-10-19 10:13:58 +02:00
worker lib: convert transfer sequence to array in js 2024-10-13 18:11:21 +00:00
abort_controller.js lib: replace createDeferredPromise util with Promise.withResolvers 2024-10-19 10:13:58 +02:00
assert.js lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
async_context_frame.js
async_hooks.js
blob.js lib: replace createDeferredPromise util with Promise.withResolvers 2024-10-19 10:13:58 +02:00
blocklist.js
buffer.js buffer: throw when writing beyond buffer" 2024-09-28 08:21:43 -07:00
child_process.js lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
cli_table.js
constants.js
data_url.js esm: use Undici/fetch data: URL parser 2024-09-07 10:22:03 +02:00
dgram.js
encoding.js
error_serdes.js lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
errors.js module: throw ERR_NO_TYPESCRIPT when compiled without amaro 2024-10-11 15:41:38 +00:00
event_target.js events: optimize EventTarget.addEventListener 2024-10-14 10:24:32 +00:00
file.js buffer: correctly apply prototype to cloned File / Blob 2024-09-28 22:05:58 +00:00
fixed_queue.js
freelist.js
freeze_intrinsics.js
heap_utils.js
histogram.js
http.js
inspector_async_hook.js
inspector_network_tracking.js lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
js_stream_socket.js
linkedlist.js
mime.js
navigator.js
net.js
options.js lib: prefer optional chaining 2024-09-24 19:48:15 +00:00
priority_queue.js
promise_hooks.js
querystring.js
README.md doc: add note about --expose-internals 2024-09-23 20:22:45 +00:00
repl.js
socket_list.js
socketaddress.js
stream_base_commons.js
timers.js
trace_events_async_hooks.js
tty.js tty: fix links for terminal colors 2024-09-24 22:26:59 +02:00
url.js url: handle "unsafe" characters properly in pathToFileURL 2024-10-18 07:20:43 +00:00
util.js lib: replace createDeferredPromise util with Promise.withResolvers 2024-10-19 10:13:58 +02:00
v8_prof_polyfill.js
v8_prof_processor.js
validators.js
vm.js
wasm_web_api.js
watchdog.js
webidl.js lib: convert transfer sequence to array in js 2024-10-13 18:11:21 +00:00
webstorage.js
worker.js

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.