@helpdotcom/is
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -0,1 +1,5 @@ | ||
# 2017-05-25, Version 3.0.1 (Stable) | ||
* [[086ec52751](https://git.help.com/common-backend/is/commit/086ec52751)] - index: isEmailName() should allow '@' in the name part (Dave Koston) | ||
# 2017-05-23, Version 3.0.0 (Stable) | ||
@@ -2,0 +6,0 @@ |
@@ -8,3 +8,3 @@ 'use strict' | ||
const EMAIL_NAME_RE = new RegExp( | ||
'^[a-z \\d!#\\$%&\'\\*\\+\\-\\/=\\?\\^_"`{\\|\\,\\(\\)' | ||
'^[a-z \\d!#\\$%&\'\\*\\+\\-\\/=\\?\\^_"`{\\|\\,\\(\\)@' | ||
+ '}~\\.\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]*' | ||
@@ -11,0 +11,0 @@ + '<(.+)>$', 'i' |
{ | ||
"name": "@helpdotcom/is", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "isDate, isUUID, and isEmail for use with help-gen", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -59,2 +59,10 @@ 'use strict' | ||
t.equal(is('<esatterwhite@wi.rr.com>'), true) | ||
t.equal( | ||
is('"fb.101.dylgermany@gmail.com" <fb.101.dylgermany@gmail.com>') | ||
, true | ||
) | ||
t.equal( | ||
is('fb.101.dylgermany@gmail.com <fb.101.dylgermany@gmail.com>') | ||
, true | ||
) | ||
t.end() | ||
@@ -61,0 +69,0 @@ }) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13780
167