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

Add whitelist host to isEmail validation. by poor-cooder · Pull Request #1920 · validatorjs/validator.js · GitHub

Add whitelist host to isEmail validation. - #1920

Merged
profnandaa merged 2 commits into
validatorjs:masterfrom
poor-cooder:feature/add-whitelist-host-to-isEmail
Oct 17, 2022
Merged

Add whitelist host to isEmail validation.#1920
profnandaa merged 2 commits into
validatorjs:masterfrom
poor-cooder:feature/add-whitelist-host-to-isEmail

Conversation

poor-cooder commented Jan 31, 2022
edited
Loading

Copy link
Copy Markdown
Contributor

Add host whitelist to is Email validation.
closes: #1912

Add a new option (whitelist host) to isEmail options to check if the email domain is in it or not, if it was not in the whitelist host it fails.

Checklist

  • PR contains only changes related; no stray files, etc.
  • README updated (where applicable)
  • Tests written (where applicable)

codecov Bot commented Jan 31, 2022
edited
Loading

Copy link
Copy Markdown

Codecov Report

Merging #1920 (6353545) into master (cfcf911) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master     #1920   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          103       103           
  Lines         2097      2099    +2     
  Branches       473       474    +1     
=========================================
+ Hits          2097      2099    +2     
Impacted Files Coverage Δ
src/lib/isEmail.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cfcf911...6353545. Read the comment docs.

profnandaa left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM, thanks for your contrib 🎉

// And sorry for the delay in reviewing this.

profnandaa added 🎉 first-pr mc-to-land Just merge-conflict standing between the PR and landing. labels Apr 22, 2022

Copy link
Copy Markdown
Member

Just fix the m/c on README and we should be good to go.

poor-cooder commented Apr 28, 2022
edited
Loading

Copy link
Copy Markdown
Contributor Author

Just fix the m/c on README and we should be good to go.

Hi, Thank you. The conflict has been fixed! 🚀

Copy link
Copy Markdown

Can this be merged and closed now?

rubiin added ready-to-land For PRs that are reviewed and ready to be landed ✅ LGTM and removed mc-to-land Just merge-conflict standing between the PR and landing. labels Jul 31, 2022
profnandaa merged commit c1d1b48 into validatorjs:master Oct 17, 2022
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

🎉 first-pr ✅ LGTM ready-to-land For PRs that are reviewed and ready to be landed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

isEmail add host_whitelist option

4 participants


Back | FazBrowse Home | New Git URL