node/lib/internal
ZiJian Liu 6837a6de97 stream: accept iterable as a valid first argument
Fixes: https://github.com/nodejs/node/issues/36437

PR-URL: https://github.com/nodejs/node/pull/36479
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2020-12-15 13:40:40 +00:00
..
assert tools: enable no-unused-expressions lint rule 2020-12-07 20:33:45 +01:00
bootstrap build,lib,test: change whitelist to allowlist 2020-12-10 20:21:26 -05:00
child_process child_process: refactor to use more primordials 2020-11-13 22:00:05 +00:00
cluster cluster: refactor to use more primordials 2020-11-13 23:35:43 +00:00
console console: use more primordials 2020-11-05 23:11:56 +01:00
crypto crypto: fix passing TypedArray to webcrypto AES methods 2020-11-13 22:00:15 +00:00
dns dns: refactor to use more primordials 2020-12-07 19:40:52 +00:00
fs stream: add FileHandle support to Read/WriteStream 2020-12-05 00:50:06 +01:00
http2 http2: refactor to use more primordials 2020-12-07 10:01:29 -08:00
main lib: refactor to use more primordials 2020-11-19 19:18:14 +01:00
modules module: refactor to use more primordials 2020-12-04 06:19:12 -08:00
per_context lib: make safe primordials safe to iterate 2020-12-15 13:25:55 +00:00
policy policy: refactor to use more primordials 2020-11-27 17:19:30 +00:00
process process: refactor to use more primordials 2020-11-24 05:27:19 -08:00
quic quic: refactor to use more primordials 2020-11-25 05:24:28 -08:00
readline readline: refactor to use more primordials 2020-12-04 18:34:32 +00:00
repl repl: refactor to use more primordials 2020-12-02 20:22:03 +00:00
source_map lib: make safe primordials safe to iterate 2020-12-15 13:25:55 +00:00
streams stream: accept iterable as a valid first argument 2020-12-15 13:40:40 +00:00
test
util util: simplify constructor retrieval in inspect() 2020-12-14 05:42:06 -08:00
vm vm: refactor to use more primordials 2020-11-14 14:46:19 +00:00
worker lib: make safe primordials safe to iterate 2020-12-15 13:25:55 +00:00
abort_controller.js events: graduate Event, EventTarget, AbortController 2020-11-23 09:33:41 -08: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: refactor to use more primordials 2020-11-20 20:10:19 +00:00
blocklist.js net: make blocklist family case insensitive 2020-08-31 15:09:47 +00:00
buffer.js tools: enable no-unused-expressions lint rule 2020-12-07 20:33:45 +01:00
child_process.js child_process: refactor to use more primordials 2020-12-03 21:57:17 +00:00
cli_table.js src: remove _third_party_main support 2020-06-24 15:20:59 -07:00
constants.js lib: replace charCodeAt with fixed Unicode 2020-06-19 07:46:37 -07:00
dgram.js dgram: refactor to use more primordials 2020-12-04 18:34:22 +00:00
dtrace.js
encoding.js lib: use remaining typed arrays from primordials 2020-10-07 13:44:21 +00:00
error_serdes.js lib: use global Error constructors from primordials 2020-10-07 13:44:19 +00:00
errors.js tools: enable no-unused-expressions lint rule 2020-12-07 20:33:45 +01:00
event_target.js stream: add FileHandle support to Read/WriteStream 2020-12-05 00:50:06 +01: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 lib,tools: enforce access to prototype from primordials 2020-11-14 05:56:39 -08:00
heap_utils.js worker: add ability to take heap snapshot from parent thread 2020-02-03 07:04:13 -08:00
histogram.js perf,src: add HistogramBase and internal/histogram.js 2020-03-02 11:01:00 -08:00
http.js tools: add new ESLint rule: prefer-primordials 2020-11-07 18:28:14 +08:00
idna.js
inspector_async_hook.js async_hooks: refactor to use more primordials 2020-11-20 20:10:19 +00:00
js_stream_socket.js lib: improve debuglog() performance 2020-05-30 17:24:43 -04:00
linkedlist.js
net.js net: refactor to use more primordials 2020-12-07 10:08:03 -08:00
options.js src: allow embedders to disable esm loader 2020-06-29 09:12:11 -07:00
priority_queue.js lib: replace Symbol global by the primordials Symbol 2019-12-08 13:38:58 +01:00
querystring.js querystring: refactor to use more primordials 2020-12-03 09:23:59 -08:00
readme.md
repl.js lib: use Number.parseInt from primordials 2020-10-07 13:44:20 +00:00
socket_list.js
stream_base_commons.js lib: use full URL to GitHub issues in comments 2020-08-10 16:33:49 -07:00
timers.js tools: add new ESLint rule: prefer-primordials 2020-11-07 18:28:14 +08:00
tls.js tls: refactor to use more primordials 2020-12-02 20:22:14 +00:00
trace_events_async_hooks.js lib: replace charCodeAt with fixed Unicode 2020-06-19 07:46:37 -07:00
tty.js tty: refactor to use more primordials 2020-11-29 05:57:36 -08:00
url.js querystring: reduce memory usage by Int8Array 2020-11-10 20:22:08 +00:00
util.js util: use a global symbol for `util.promisify.custom` 2020-03-12 19:51:25 +01:00
v8_prof_polyfill.js lib: replace use of Error with primordials 2020-01-04 14:50:18 -08:00
v8_prof_processor.js lib: refactor to use more primordials 2020-11-05 23:15:41 +01:00
validators.js lib: use Number.parseInt from primordials 2020-10-07 13:44:20 +00:00
watchdog.js src,lib: make ^C print a JS stack trace 2020-01-28 13:52:27 +08:00
worker.js worker: refactor to use more primordials 2020-12-02 20:22:24 +00:00

readme.md

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.