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

fs: add validation for fd and path #35187

Merged
merged 1 commit into from
Mar 20, 2021

Commits on Mar 20, 2021

  1. fs: add validation for fd and path

    Adds type validation to options fd & opts in `fs.createWriteStream` and
    `fs.createReadStream`.
    
    Fixes: nodejs#35178
    
    PR-URL: nodejs#35187
    Reviewed-By: Robert Nagy <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Co-authored-by: Antoine du Hamel <[email protected]>
    dylanelliott27 and aduh95 committed Mar 20, 2021
    Configuration menu
    Copy the full SHA
    d4693ff View commit details
    Browse the repository at this point in the history