Skip to content

Releases: skeggse/isemail

v3.2.0

18 Oct 16:33
Compare
Choose a tag to compare

A few quality and correctness improvements:

  • minDomainAtoms testing does not apply to domain literals, which better matches the intent behind the parameter
  • isemail now rejects the domain form mailbox@[127.0.0.1].example.com with a fatal error
  • The new excludeDiagnoses configuration parameter enables granular control over error cases

v3.1.4

15 Oct 16:49
Compare
Choose a tag to compare

This patch release updates the punycode dependency for bundler compatibility, fixes the IDN-aware length check, and adds an explicit type check to the email parameter. Please note that if you were previously passing in a non-string, you would have still seen a TypeError - just from a different location.

v3.1.3

14 Jul 23:54
v3.1.3
22f6c31
Compare
Choose a tag to compare

This release makes the TLD check case insensitive and IDN-aware. This slightly alters the behavior of both tldWhitelist and tldBlacklist as previously these were not capitalization or unicode-aware. They should now behave as expected.

Support Unicode, remove checkDNS

22 Jun 07:50
Compare
Choose a tag to compare

v2.2.0

21 Jun 16:05
Compare
Choose a tag to compare
[2.2.0] version bump

Add tldBlacklist option

03 Nov 19:42
Compare
Choose a tag to compare
v2.1.0

add tldBlacklist option

ES6 Update

03 Nov 19:42
Compare
Choose a tag to compare
v2.0.0

version 2.0.0

Drop Node 0.8, fix style, switch to lab/code

13 Sep 23:52
Compare
Choose a tag to compare
  • Drop support for Node 0.8, fixes #2.
  • Switch to lab/code from mocha/chai per #1. Move tests to tests.json, add library usage tests.
  • Add support for single TLD in tldWhitelist option as string.
  • Fix indentation for switch statements.

Republish under hapijs

13 Sep 23:53
Compare
Choose a tag to compare

This project has been republished. The changes mostly revolve around ownership, and the new version tries to conform to the hapijs style guidelines.