0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
Robert Nagy 2b9847c637 fs: allow overriding fs for streams
Allow overriding open, write, and close when using createReadStream()
and createWriteStream().

PR-URL: https://github.com/nodejs/node/pull/29083
Refs: https://github.com/nodejs/node/issues/29050
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2019-12-18 07:03:37 -08:00
..
internal fs: allow overriding fs for streams 2019-12-18 07:03:37 -08:00
_http_agent.js http: use for...of in http library code 2019-12-17 10:18:00 -08:00
_http_client.js http: use for...of in http library code 2019-12-17 10:18:00 -08:00
_http_common.js http: llhttp opt-in insecure HTTP header parsing 2019-12-09 09:56:16 -08:00
_http_incoming.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
_http_outgoing.js http: use for...of in http library code 2019-12-17 10:18:00 -08:00
_http_server.js http: use for...of in http library code 2019-12-17 10:18:00 -08:00
_stream_duplex.js stream: use for...of 2019-12-16 18:18:50 -05:00
_stream_passthrough.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
_stream_readable.js stream: use for...of 2019-12-16 18:18:50 -05:00
_stream_transform.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
_stream_wrap.js
_stream_writable.js lib: replace Symbol.hasInstance by SymbolHasInstance 2019-12-16 09:47:30 +01:00
_tls_common.js tls: for...of in _tls_common.js 2019-12-17 08:11:13 -05:00
_tls_wrap.js tls: for...of in _tls_common.js 2019-12-17 08:11:13 -05:00
.eslintrc.yaml lib: enforce use of Promise from primordials 2019-12-16 08:40:14 +01:00
assert.js assert: use for...of 2019-12-17 17:33:12 -08:00
async_hooks.js async_hooks: ensure proper handling in runInAsyncScope 2019-12-16 21:59:50 -08:00
buffer.js lib: replace Symbol.species by SymbolSpecies 2019-12-16 09:48:16 +01:00
child_process.js lib: enforce use of Promise from primordials 2019-12-16 08:40:14 +01:00
cluster.js
console.js
constants.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
crypto.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
dgram.js lib: enforce use of Array from primordials 2019-11-27 19:29:01 +01:00
dns.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
domain.js lib: replace Symbol global by the primordials Symbol 2019-12-08 13:38:58 +01:00
events.js lib: enforce use of Promise from primordials 2019-12-16 08:40:14 +01:00
fs.js lib: enforce use of Promise from primordials 2019-12-16 08:40:14 +01:00
http2.js
http.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
https.js http,https: increase server headers timeout 2019-12-14 08:59:19 -05:00
inspector.js lib: replace Symbol global by the primordials Symbol 2019-12-08 13:38:58 +01:00
module.js
net.js net: remove duplicate _undestroy 2019-12-11 05:58:42 +01:00
os.js lib: replace Symbol.toPrimitive to SymbolToPrimitive primordials 2019-12-13 20:05:49 -05:00
path.js
perf_hooks.js perf_hooks: remove unnecessary bind 2019-12-14 09:01:44 -05:00
process.js
punycode.js lib: use strict equality comparison 2019-12-14 08:57:36 -05:00
querystring.js lib: enforce use of Array from primordials 2019-11-27 19:29:01 +01:00
readline.js readline: promote _getCursorPos to public api 2019-12-16 11:22:25 +01:00
repl.js lib: enforce use of Promise from primordials 2019-12-16 08:40:14 +01:00
stream.js
string_decoder.js lib: replace Symbol global by the primordials Symbol 2019-12-08 13:38:58 +01:00
sys.js
timers.js lib: enforce use of Promise from primordials 2019-12-16 08:40:14 +01:00
tls.js tls: allow empty subject even with altNames defined 2019-11-29 02:13:41 +01:00
trace_events.js lib: replace Symbol global by the primordials Symbol 2019-12-08 13:38:58 +01:00
tty.js lib: use static Number properties from primordials 2019-11-30 13:45:38 +01:00
url.js url: declare iterator inside loop 2019-12-11 16:38:06 -06:00
util.js lib: use static Number properties from primordials 2019-11-30 13:45:38 +01:00
v8.js v8: use of TypedArray constructors from primordials 2019-12-16 08:33:41 +01:00
vm.js lib: replace Symbol global by the primordials Symbol 2019-12-08 13:38:58 +01:00
wasi.js lib: replace Symbol global by the primordials Symbol 2019-12-08 13:38:58 +01:00
worker_threads.js
zlib.js lib: replace Symbol global by the primordials Symbol 2019-12-08 13:38:58 +01:00