Skip to content

streams: add null check in Readable.from

Rodrigo Muino Tomonari requested to merge github/fork/rexagod/i-32845 into master

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), or vcbuild test (Windows) passes
  • tests added
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading