node/lib/internal/streams
Rich Trott 51d86fe6a0
stream: remove always-false condition check
Remove comparison to null of variable guaranteed to be a boolean.

PR-URL: https://github.com/nodejs/node/pull/41488
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
2022-01-16 15:01:09 +01:00
..
add-abort-signal.js stream: use cause options in AbortError constructors 2021-12-13 17:14:08 -05:00
buffer_list.js stream: refactor to use more primordials 2021-02-01 15:18:25 +01:00
compose.js stream: remove no longer necessary ComposeDuplex 2021-11-06 10:56:42 +01:00
destroy.js stream: allow calling callback before promise 2021-11-21 16:07:35 +01:00
duplex.js stream: duplexify 2021-08-03 10:47:10 +02:00
duplexify.js stream: use cause options in AbortError constructors 2021-12-13 17:14:08 -05:00
end-of-stream.js stream: use cause options in AbortError constructors 2021-12-13 17:14:08 -05:00
from.js lib: remove useless statement 2021-09-18 16:05:59 +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
operators.js stream: add filter method to readable 2022-01-14 16:19:46 +01:00
passthrough.js lib: revert primordials in a hot path 2021-04-19 10:23:01 +02:00
pipeline.js stream: allow readable to end early without error 2021-12-13 17:14:14 -05:00
readable.js stream: fix non readable Duplex readableAborted 2021-11-21 16:07:36 +01: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 stream: drain Transform with 0 highWaterMark 2021-11-29 10:47:35 +01:00
utils.js stream: remove always-false condition check 2022-01-16 15:01:09 +01:00
writable.js stream: fix error-path function call 2022-01-14 16:22:48 +01:00