node/lib/internal
moander 347b9f2304
errors: remove input from ERR_INVALID_URL message
Avoid potentially huge messages and leaked secrets.

PR-URL: https://github.com/nodejs/node/pull/38614
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
2021-05-18 13:10:08 +02:00
..
assert lib: avoid mutating Error.stackTraceLimit when it is not writable 2021-04-15 00:17:16 +02:00
bootstrap test: fix flaky test-crypto-timing-safe-dqual-benchmarks 2021-05-03 13:34:46 +02:00
child_process doc,lib: prepare for stricter multi-line array linting 2021-02-19 09:55:35 -08:00
cluster cluster: restructure to same prototype for cluster child 2021-03-05 09:49:37 -08:00
console readline: move utilities to internal modules 2021-05-03 13:34:48 +02:00
crypto util: add util.types.isKeyObject and util.types.isCryptoKey 2021-05-18 13:10:07 +02:00
dns lib: refactor to use validateString 2021-01-22 19:56:34 -08:00
fs fs: fix async iterator partial writes 2021-05-18 13:10:08 +02:00
http2 lib: harden lint checks for globals 2021-04-29 13:45:43 +02:00
inspector debugger: refactor inspect_repl to use primordials 2021-05-17 09:11:37 +02:00
legacy lib: make process.binding('util') return only type checkers 2021-03-27 15:45:12 +00:00
main lib: harden lint checks for globals 2021-04-29 13:45:43 +02:00
modules module: add support for URL to import.meta.resolve 2021-05-17 09:11:35 +02:00
per_context lib: harden lint checks for globals 2021-04-29 13:45:43 +02:00
perf perf_hooks: fix PerformanceObserver 'gc' crash 2021-04-29 13:45:38 +02:00
policy lib: remove use of array destructuring 2021-03-03 19:53:24 +01:00
process src: print arbitrary javascript exception value in node report 2021-04-29 13:45:34 +02:00
readline readline: move utilities to internal modules 2021-05-03 13:34:48 +02:00
repl readline: move utilities to internal modules 2021-05-03 13:34:48 +02:00
source_map errors: align source-map stacks with spec 2021-02-12 14:09:35 -08:00
streams lib: revert primordials in a hot path 2021-04-19 10:23:01 +02:00
test lib: add support for JSTransferable as a mixin 2021-04-29 13:45:34 +02:00
util util: add util.types.isKeyObject and util.types.isCryptoKey 2021-05-18 13:10:07 +02:00
vm vm: add import assertion support 2021-03-23 11:03:18 -05:00
worker lib: harden lint checks for globals 2021-04-29 13:45:43 +02:00
abort_controller.js lib: add brand checks to AbortController and AbortSignal 2021-03-19 12:30:56 -07:00
assert.js
async_hooks.js async_hooks: use new v8::Context PromiseHook API 2021-05-17 09:11:32 +02:00
blob.js lib: harden lint checks for globals 2021-04-29 13:45:43 +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: change wording in lib/internal/child_process comment 2021-04-01 12:52:06 -07: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
dtrace.js
encoding.js tools: improve valid-typeof lint rule 2021-03-28 08:01:44 -07:00
error_serdes.js lib: use global Error constructors from primordials 2020-10-07 13:44:19 +00:00
errors.js errors: remove input from ERR_INVALID_URL message 2021-05-18 13:10:08 +02:00
event_target.js lib: add WeakRef and FinalizationRegistry to primordials 2021-04-13 12:36:56 +02:00
fixed_queue.js
freelist.js
freeze_intrinsics.js doc: use HEAD instead of master for links 2021-05-17 09:11:28 +02:00
heap_utils.js
histogram.js perf_hooks: add histogram option to timerify 2021-03-05 08:16:03 -08:00
http.js http: fixup perf regression 2021-04-09 16:58:58 -07: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
linkedlist.js
net.js net: refactor to use more primordials 2020-12-07 10:08:03 -08:00
options.js lib: refactor to use optional chaining in internal/options.js 2021-01-24 08:19:32 -08:00
priority_queue.js lib: remove unused code 2020-12-29 15:49:09 +00: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
socketaddress.js net: fix typo 2021-04-08 10:33:09 +02:00
stream_base_commons.js lib: refactor to use validateCallback 2020-12-29 15:48:57 +00:00
timers.js lib: revert primordials in a hot path 2021-04-19 10:23:01 +02:00
tls.js tls: extract out SecureContext configuration 2021-04-12 08:39:16 -07:00
trace_events_async_hooks.js lib: replace charCodeAt with fixed Unicode 2020-06-19 07:46:37 -07:00
tty.js doc,lib: prepare for stricter multi-line array linting 2021-02-19 09:55:35 -08:00
url.js doc,lib: prepare for stricter multi-line array linting 2021-02-19 09:55:35 -08:00
util.js lib: revert primordials in a hot path 2021-04-19 10:23:01 +02:00
v8_prof_polyfill.js lib: harden lint checks for globals 2021-04-29 13:45:43 +02:00
v8_prof_processor.js lib: load v8_prof_processor dependencies as ESM 2021-03-15 15:56:14 +01:00
validators.js typings: add types for internalBinding('fs') 2021-04-14 12:24:23 +02:00
watchdog.js
worker.js process: add 'worker' event 2021-05-17 09:11:36 +02: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.