streams: add null check in Readable.from
Throws ERR_STREAM_NULL_VALUES
error if a null value is passed to
Readable.from
. Also added docs for the same.
Fixes: https://github.com/nodejs/node/issues/32845
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests added -
documentation is changed or added -
commit message follows commit guidelines