Skip to content

Conversation

@jasnell
Copy link
Member

@jasnell jasnell commented Feb 18, 2020

isLegalPort was used multiple places in the same way -- to validate
the port and throw if necessary. Moved into internal/validators.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added the lib / src Issues and PRs related to general changes in the lib or src directory. label Feb 18, 2020
@nodejs-github-bot
Copy link
Collaborator

@jasnell jasnell added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Mar 5, 2020
isLegalPort was used multiple places in the same way -- to validate
the port and throw if necessary. Moved into internal/validators.
@jasnell jasnell force-pushed the refactor-islegalport branch from a100a54 to 5c32715 Compare March 5, 2020 19:51
jasnell added a commit that referenced this pull request Mar 5, 2020
isLegalPort was used multiple places in the same way -- to validate
the port and throw if necessary. Moved into internal/validators.

PR-URL: #31851
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
@jasnell
Copy link
Member Author

jasnell commented Mar 5, 2020

Landed in b023d61

@MylesBorins
Copy link
Contributor

This doesn't land cleanly on v13.x

Should it be backported?

@MylesBorins
Copy link
Contributor

after some other backports landed this now lands cleanly!

MylesBorins pushed a commit that referenced this pull request Mar 10, 2020
isLegalPort was used multiple places in the same way -- to validate
the port and throw if necessary. Moved into internal/validators.

PR-URL: #31851
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
@MylesBorins MylesBorins mentioned this pull request Mar 10, 2020
@targos targos added backport-blocked-v12.x and removed author ready PRs that have at least one approval, no pending requests for changes, and a CI started. backport-blocked-v12.x labels Apr 20, 2020
targos pushed a commit to targos/node that referenced this pull request Apr 25, 2020
isLegalPort was used multiple places in the same way -- to validate
the port and throw if necessary. Moved into internal/validators.

PR-URL: nodejs#31851
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
targos pushed a commit that referenced this pull request Apr 28, 2020
isLegalPort was used multiple places in the same way -- to validate
the port and throw if necessary. Moved into internal/validators.

PR-URL: #31851
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
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

None yet

Development

Successfully merging this pull request may close these issues.

6 participants