Uh oh!
There was an error while loading. Please reload this page.
Add support for IP version 4 or 6 for isIPRange function - #1594
Conversation
Codecov Report
@@ Coverage Diff @@## master #1594 +/- ##
=========================================
Coverage 100.00% 100.00% =========================================
Files 100 100 Lines 1807 1820 +13 =========================================
+ Hits 1807 1820 +13
Continue to review full report at Codecov.
|
fredleger
commented
Feb 5, 2021
Nice one ! Need this too |
renanmontebelo
commented
Feb 6, 2021
Would this be a duplicate of #1568? Yours looks like it's a more complete solution though. |
tux-tn
left a comment
There was a problem hiding this comment.
Sorry for the late review. Thank you @neilime for your contribution! I really like your approach and the fact that you used the same logic behind isIP.
Can you please remove validator.js and validator.min.js (We stopped tracking those files in the library) and discard the unrelated changes in src/lib/isMobilePhone ?
Thank you 🎉
neilime
commented
Mar 9, 2021
@tux-tn I have rebased with master, let me know if everything looks good to you |
tux-tn
commented
Mar 9, 2021
@neilime LGTM ! thank you for making the necessary changes 🎉 |
At the moment,
isIPRangefunction only supports IP v4, this PR allows to choose v4 or v6 or both (likeisIPfunction)Checklist