node/lib/internal
Hüseyin Açacak 00b2f07f9d
fs,win: fix bug in paths with trailing slashes
Fixes: https://github.com/nodejs/node/issues/17801
Refs: https://github.com/nodejs/node/pull/33831
PR-URL: https://github.com/nodejs/node/pull/54160
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
2024-10-10 11:14:56 +00:00
..
assert assert: show the diff when deep comparing data with a custom message 2024-09-28 08:11:05 -07:00
async_local_storage lib: improve async_context_frame structure 2024-08-09 19:44:42 +00:00
bootstrap lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
child_process tools: add lint rule to keep primordials in ASCII order 2024-04-21 16:53:08 +00:00
cluster lib: prefer logical assignment 2024-10-09 06:42:16 +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 fs,win: fix bug in paths with trailing slashes 2024-10-10 11:14:56 +00:00
http2 lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
legacy tools: add lint rule to keep primordials in ASCII order 2024-04-21 16:53:08 +00:00
main watch: preserve output when gracefully restarted 2024-09-30 21:02:58 +00:00
modules module: wrap swc error in ERR_INVALID_TYPESCRIPT_SYNTAX 2024-10-10 09:12:39 +00:00
per_context lib: move `Symbol[Async]Dispose` polyfills to `internal/util` 2024-09-10 21:24:56 +00:00
perf perf_hooks: add missing type argument to getEntriesByName 2024-09-24 19:39:51 +00:00
process lib: prefer logical assignment 2024-10-09 06:42:16 +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: prefer logical assignment 2024-10-09 06:42:16 +00:00
test v8: implement v8.queryObjects() for memory leak regression testing 2024-03-02 22:11:30 +00:00
test_runner lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
tls tls: add `allowPartialTrustChain` flag 2024-09-09 17:24:10 +02:00
util lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
v8 src: fixup Error.stackTraceLimit during snapshot building 2024-09-30 15:05:12 +00:00
vm vm: fix ASCII-betical order 2024-04-25 19:14:16 +00:00
watch_mode test_runner: ensure test watcher picks up new test files 2024-08-29 08:55:34 +00:00
webstreams lib: remove `Symbol[Async]Dispose` polyfills 2024-10-07 09:47:44 +00:00
worker worker: add `markAsUncloneable` api 2024-10-04 07:09:37 +00:00
README.md doc: add note about `--expose-internals` 2024-09-23 20:22:45 +00:00
abort_controller.js lib: validate signals with interface converter 2024-09-29 08:45:22 +00:00
assert.js lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
async_context_frame.js async_hooks: add an InactiveAsyncContextFrame class 2024-08-30 20:27:28 +00:00
async_hooks.js tools: add lint rule to keep primordials in ASCII order 2024-04-21 16:53:08 +00:00
blob.js buffer: coerce extrema to int in `blob.slice` 2024-09-29 09:51:10 +00:00
blocklist.js src: distinguish HTML transferable and cloneable 2023-07-07 17:00:00 +00:00
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 lib: align console.table row to the left 2023-10-28 01:14:22 +00:00
constants.js
data_url.js esm: use Undici/`fetch` `data:` URL parser 2024-09-07 10:22:03 +02:00
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 lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
errors.js module: wrap swc error in ERR_INVALID_TYPESCRIPT_SYNTAX 2024-10-10 09:12:39 +00:00
event_target.js events: allow null/undefined eventInitDict 2024-09-21 09:08:39 -07:00
file.js buffer: correctly apply prototype to cloned `File` / `Blob` 2024-09-28 22:05:58 +00:00
fixed_queue.js lib: ensure no holey array in fixed_queue 2024-09-02 01:42:44 +00:00
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
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 lib: prefer logical assignment 2024-10-09 06:42:16 +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 src: use v8::Isolate::GetDefaultLocale() to compute navigator.language 2024-08-29 03:25:51 +00:00
net.js lib: enforce ASCII order in error code imports 2024-04-23 17:05:38 +00:00
options.js lib: prefer optional chaining 2024-09-24 19:48:15 +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
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 stream: relocate the status checking code in the onwritecomplete 2024-09-02 07:29:17 +00:00
timers.js lib: improve async_context_frame structure 2024-08-09 19:44:42 +00:00
trace_events_async_hooks.js
tty.js tty: fix links for terminal colors 2024-09-24 22:26:59 +02:00
url.js path: fix bugs and inconsistencies 2024-09-14 14:56:31 +00:00
util.js src: implement IsInsideNodeModules() in C++ 2024-10-08 10:19:46 +00:00
v8_prof_polyfill.js
v8_prof_processor.js
validators.js zlib: simplify validators 2024-08-27 14:58:36 +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 lib: implement interface converter in webidl 2024-09-29 08:45:22 +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

README.md

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.