FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

lib: refactor isLegalPort, move to validators by jasnell · Pull Request #31851 · nodejs/node · GitHub

/ node Public

lib: refactor isLegalPort, move to validators - #31851

Closed
jasnell wants to merge 1 commit into
nodejs:masterfrom
jasnell:refactor-islegalport
Closed

lib: refactor isLegalPort, move to validators#31851
jasnell wants to merge 1 commit into
nodejs:masterfrom
jasnell:refactor-islegalport

Conversation

jasnell commented Feb 18, 2020

Copy link
Copy Markdown
Member

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 added the lib / src Issues and PRs related to general changes in the lib or src directory. label Feb 18, 2020
Comment thread lib/internal/validators.js Outdated
Comment thread lib/dgram.js Outdated
Comment thread lib/internal/validators.js Outdated

Copy link
Copy Markdown
Collaborator

jasnell added the author ready PRs that have at least one approval, no outstanding review comments, 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 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 commented Mar 5, 2020

Copy link
Copy Markdown
Member Author

Landed in b023d61

Copy link
Copy Markdown
Contributor

This doesn't land cleanly on v13.x

Should it be backported?

Copy link
Copy Markdown
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 mentioned this pull request Mar 10, 2020
targos added backport-blocked-v12.x and removed author ready PRs that have at least one approval, no outstanding review comments, 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL