node/lib/internal/streams
Rongjian Zhang 0c6f345cda stream: fix highwatermark threshold and add the missing error
1. Fix highwatermark threshold: `< 1GiB` -> `<= 1GiB`
2. Add the missing error: Size out of range

Update test/parallel/test-streams-highwatermark.js

Co-authored-by: Darshan Sen <raisinten@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/38700
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2021-09-07 14:28:20 +00:00
..
add-abort-signal.js stream: unify stream utils 2021-07-11 10:40:30 +02:00
buffer_list.js stream: refactor to use more primordials 2021-02-01 15:18:25 +01:00
compose.js stream: add signal support to pipeline generators 2021-08-25 17:44:28 +02:00
destroy.js stream: duplexify 2021-08-03 10:47:10 +02:00
duplex.js stream: duplexify 2021-08-03 10:47:10 +02:00
duplexify.js stream: add signal support to pipeline generators 2021-08-25 17:44:28 +02:00
end-of-stream.js stream: duplexify 2021-08-03 10:47:10 +02:00
from.js stream: make Readable.from performance better 2021-03-22 11:19:35 +02:00
lazy_transform.js lib: revert primordials in a hot path 2021-04-19 10:23:01 +02:00
legacy.js lib: revert primordials in a hot path 2021-04-19 10:23:01 +02:00
passthrough.js lib: revert primordials in a hot path 2021-04-19 10:23:01 +02:00
pipeline.js stream: add signal support to pipeline generators 2021-08-25 17:44:28 +02:00
readable.js stream: fix highwatermark threshold and add the missing error 2021-09-07 14:28:20 +00:00
state.js lib: remove ERR_INVALID_OPT_VALUE and ERR_INVALID_OPT_VALUE_ENCODING 2020-09-11 17:54:42 +03:00
transform.js lib: revert primordials in a hot path 2021-04-19 10:23:01 +02:00
utils.js stream: add isDisturbed helper 2021-08-06 07:45:38 +02:00
writable.js stream: forward errored to callback 2021-07-14 13:05:10 +02:00