async-validator
Advanced tools
Comparing version 4.0.4 to 4.0.5
@@ -348,3 +348,3 @@ 'use strict'; | ||
email(value) { | ||
return typeof value === 'string' && !!value.match(pattern$2.email); | ||
return typeof value === 'string' && value.length <= 320 && !!value.match(pattern$2.email); | ||
}, | ||
@@ -351,0 +351,0 @@ |
@@ -340,3 +340,3 @@ import urlRegex from 'url-regex'; | ||
email(value) { | ||
return typeof value === 'string' && !!value.match(pattern$2.email); | ||
return typeof value === 'string' && value.length <= 320 && !!value.match(pattern$2.email); | ||
}, | ||
@@ -343,0 +343,0 @@ |
{ | ||
"name": "async-validator", | ||
"description": "validate form asynchronous", | ||
"version": "4.0.4", | ||
"version": "4.0.5", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
243546