Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

streams: add null check in Readable.from #32873

Closed
wants to merge 1 commit into from

Commits on Apr 28, 2020

  1. 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: nodejs#32845
    
    resolve recieved value and add test
    
    Update test/parallel/test-stream-readable-next-no-null.js
    
    Co-Authored-By: 扩散性百万甜面包 <himself65@outlook.com>
    
    rebase fix
    
    fixup
    
    fixup: destroy -> throw
    rexagod committed Apr 28, 2020
    Copy the full SHA
    aa854d4 View commit details
    Browse the repository at this point in the history