Skip to content
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(isEmail): add host_whitelist option #1927

Closed
wants to merge 1 commit into from

Conversation

TomScavo
Copy link

@TomScavo TomScavo commented Feb 7, 2022

Add host whitelist option to only allow users to enter some specific email domains.
Fixes #1912

Checklist

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

@codecov
Copy link

codecov bot commented Feb 7, 2022

Codecov Report

Merging #1927 (2130154) into master (f055c11) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master     #1927   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          102       103    +1     
  Lines         2072      2078    +6     
  Branches       472       475    +3     
=========================================
+ Hits          2072      2078    +6     
Impacted Files Coverage Δ
src/lib/isEmail.js 100.00% <100.00%> (ø)
src/lib/isURL.js 100.00% <100.00%> (ø)
src/lib/util/checkHost.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 f055c11...2130154. Read the comment docs.

@profnandaa
Copy link
Member

Duplicate of #1920

@profnandaa profnandaa marked this as a duplicate of #1920 Apr 22, 2022
@profnandaa profnandaa closed this Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

isEmail add host_whitelist option
2 participants