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

[v10.x] lib: introduce internal/validators #21149

Closed

Conversation

targos
Copy link
Member

@targos targos commented Jun 5, 2018

Create a file to centralize argument validators that are used in
multiple internal modules.
Move validateInt32 and validateUint32 to this file.

This is a partial patch backport of #19973. It is necessary to backport other subsequent PRs to the fs module.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Create a file to centralize argument validators that are used in
multiple internal modules.
Move validateInt32 and validateUint32 to this file.
@targos targos added the v10.x label Jun 5, 2018
@nodejs-github-bot nodejs-github-bot added lib / src Issues and PRs related to general changes in the lib or src directory. v10.x labels Jun 5, 2018
@targos targos requested a review from joyeecheung June 5, 2018 14:29
@joyeecheung
Copy link
Member

Thanks for doing this!

CI:https://ci.nodejs.org/job/node-test-pull-request/15265/

Copy link
Member

@MylesBorins MylesBorins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MylesBorins
Copy link
Member

landed in f2c9e5a

@MylesBorins MylesBorins closed this Jun 6, 2018
MylesBorins pushed a commit that referenced this pull request Jun 6, 2018
Create a file to centralize argument validators that are used in
multiple internal modules.
Move validateInt32 and validateUint32 to this file.

PR-URL: #21149
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
@targos targos deleted the backport-internal-validators branch June 6, 2018 08:23
@MylesBorins MylesBorins mentioned this pull request Jun 6, 2018
@targos targos added this to Backports done in v10.x Sep 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lib / src Issues and PRs related to general changes in the lib or src directory.
Projects
No open projects
v10.x
  
Closed PRs
Development

Successfully merging this pull request may close these issues.

None yet

4 participants