-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
feat(isEmail): add host_blacklist option
#1641
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1641 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 100 100
Lines 1847 1849 +2
=========================================
+ Hits 1847 1849 +2
Continue to review full report at Codecov.
|
tux-tn
left a comment
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.
A little suggestion, we have a similar option in isURL called host_whitelist and host_blacklist that accepts hosts and regexes. What do you think about matching that behaviour to have consistency between validators options?
|
It makes sense but I would keep the I have nothing against |
Project maintainer views on this matter have already been shared here #1522 |
domain_denylist optionhost_blacklist option
|
It's always a good time to change your mind 🤷♂️ |
6e2b0e1 to
ac4896c
Compare
|
Ping? |
tux-tn
left a comment
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.
LGTM 🎉
Sorry for the long review delay, i missed the notification about new commits in this PR !
profnandaa
left a comment
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.
LGTM, thanks!
We add an option to allow the user to exclude some specific domains from
isEmailvalidation.Fixes #1639
Checklist