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

Conversation

@poor-cooder

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

profnandaa

Choose a reason for hiding this comment

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

LGTM, thanks for your contrib 🎉

// And sorry for the delay in reviewing this.

@profnandaa

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

@poor-cooder

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

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

@SpiffGreen

Can this be merged and closed now?

This was referenced

Jun 3, 2024

This was referenced

Jun 12, 2024

This was referenced

Jun 14, 2024

This was referenced

Jun 20, 2024

This was referenced

Jul 10, 2024

This was referenced

Jul 19, 2024

This was referenced

Aug 30, 2024

Labels