node/lib/internal
Voltrex eb44d19a18 dns: cleanup validation
The `validateString()` validator should cleanup the validation and
keep consistency.

PR-URL: https://github.com/nodejs/node/pull/40061
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2021-09-16 22:42:42 +00:00
..
assert lib: avoid mutating Error.stackTraceLimit when it is not writable 2021-04-15 00:17:16 +02:00
bootstrap lib: add structuredClone() global 2021-08-28 08:55:01 -07:00
child_process child_process: retain reference to data with advanced serialization 2021-05-23 16:25:50 +02:00
cluster cluster: fix comment regarding child_process file 2021-08-25 08:32:52 -07:00
console readline: move utilities to internal modules 2021-05-02 09:20:18 +02:00
crypto crypto: check webcrypto asymmetric key types during importKey 2021-09-07 18:25:39 +00:00
debugger debugger: prevent simultaneous heap snapshots 2021-08-05 11:52:55 +00:00
dns dns: cleanup validation 2021-09-16 22:42:42 +00:00
fs fs: combine require() and destructure 2021-08-21 15:37:00 +00:00
http2 errors: remove eager stack generation for node errors 2021-07-07 20:50:57 -05:00
legacy lib: make process.binding('util') return only type checkers 2021-03-27 15:45:12 +00:00
main lib,repl: ignore non-canBeRequiredByUsers built-in 2021-09-07 10:51:56 +08:00
modules module: support pattern trailers for imports field 2021-09-15 01:51:29 -07:00
per_context stream: implement WHATWG streams 2021-06-30 12:54:41 -07:00
perf perf_hooks: fix PerformanceObserver gc crash 2021-08-02 12:39:21 +08:00
policy policy: canonicalize before resolving specifiers 2021-08-19 12:43:21 -05:00
process esm: consolidate ESM loader hooks 2021-09-11 18:08:35 -07:00
readline readline: add autoCommit option 2021-09-16 23:16:46 +02:00
repl repl: fix top level await with surrogate characters 2021-09-08 21:12:33 +02:00
source_map process: add api to enable source-maps programmatically 2021-07-15 19:45:16 +08:00
streams stream: fix highwatermark threshold and add the missing error 2021-09-07 14:28:20 +00:00
test lib: add support for JSTransferable as a mixin 2021-04-26 07:55:48 -07:00
tls tls: move legacy code into own file 2021-07-11 18:40:18 +02:00
util lib: refactor debuglog init 2021-06-12 18:55:14 +02:00
vm vm: add import assertion support 2021-03-23 11:03:18 -05:00
webstreams stream: add isDisturbed helper 2021-08-06 07:45:38 +02:00
worker events: protect property defs against prototype polution 2021-08-25 08:21:00 -07:00
abort_controller.js lib: use ERR_ILLEGAL_CONSTRUCTOR 2021-08-01 14:24:26 +00:00
assert.js benchmark,doc,lib,test: prepare for padding lint rule 2019-11-30 06:28:29 -08:00
async_hooks.js async_hooks: merge resource_symbol with owner_symbol 2021-07-28 13:41:24 -07:00
blob.js buffer: add endings option, remove Node.js specific encoding option 2021-08-14 07:23:54 -07: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: use validator 2021-08-12 13:51:56 -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 lib: move DTRACE_* probes out of global scope 2019-03-12 14:19:36 +00:00
encoding.js lib: use validateObject 2021-08-12 13:51:08 -07:00
error_serdes.js lib: use global Error constructors from primordials 2020-10-07 13:44:19 +00:00
errors.js worker: remove file extension check 2021-08-26 13:14:02 -07:00
event_target.js events: add brand checks for detached accessors 2021-08-25 08:20:50 -07:00
fixed_queue.js lib: unnecessary const assignment for class 2020-04-24 22:53:36 +03:00
freelist.js http: remove unused hasItems() from freelist 2019-12-03 15:00:45 -08:00
freeze_intrinsics.js doc: use HEAD instead of master for links 2021-05-05 10:45:30 +02:00
heap_utils.js worker: add ability to take heap snapshot from parent thread 2020-02-03 07:04:13 -08:00
histogram.js lib: use ERR_ILLEGAL_CONSTRUCTOR 2021-08-01 14:24:26 +00:00
http.js perf_hooks: refactor perf_hooks for snapshot building 2021-06-28 16:20:12 +08: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 lib: use helper for readability 2021-08-12 14:52:01 -07:00
linkedlist.js
net.js net: refactor to use more primordials 2020-12-07 10:08:03 -08:00
options.js src: allow to negate boolean CLI flags 2021-06-21 20:18:20 +02: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 benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
socketaddress.js net: fix typo 2021-04-08 10:33:09 +02:00
stream_base_commons.js async_hooks: merge resource_symbol with owner_symbol 2021-07-28 13:41:24 -07:00
structured_clone.js lib: add structuredClone() global 2021-08-28 08:55:01 -07:00
timers.js lib: revert primordials in a hot path 2021-04-19 10:23:01 +02:00
trace_events_async_hooks.js lib: comment explaining special-case handling of promises 2021-07-23 03:54:33 +00:00
tty.js lib: cleanup validation 2021-08-12 15:49:53 -07:00
url.js lib,url: correct URL's argument to pass idlharness 2021-08-26 15:18:09 +08:00
util.js util: expose toUSVString 2021-08-22 07:08:00 +02:00
v8_prof_polyfill.js lib: harden lint checks for globals 2021-04-28 13:13:23 -07:00
v8_prof_processor.js lib: load v8_prof_processor dependencies as ESM 2021-03-15 15:56:14 +01:00
validators.js lib: simplify validators 2021-08-15 11:08:45 -07:00
watchdog.js src,lib: make ^C print a JS stack trace 2020-01-28 13:52:27 +08:00
worker.js worker: remove file extension check 2021-08-26 13:14:02 -07: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.