-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
feat(isIP): allow usage of options object #2089
base: master
Are you sure you want to change the base?
feat(isIP): allow usage of options object #2089
Conversation
Codecov ReportBase: 100.00% // Head: 100.00% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #2089 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 105 105
Lines 2324 2324
Branches 586 587 +1
=========================================
Hits 2324 2324
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
if we rebase/merge this with #2091, the diff will be much cleaner and easier to review |
…o isIP-options-refactor
It is possible, but then it would be a PR in my fork and not this repo directly. So we'll have to deal with this workaround for now |
I think this should be good to go :). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you undo the changes to the isAlpha
tests?
Sorry, what exactly do you mean? I cannot see anything related to |
In the big test file you removed too much for this PR causing the codecov check to fail |
Done :). |
Can this be re-reviewed? |
This PR implements steps 1 and 2 of #1874 for
isIP
and builds upon #2075.This PR extracts tests for
isIP
into a separate test file ⇾test/validators/isIP.test.js
(inspired by #1793).I have also added three more tests to guard against other possible values for
version
.Checklist