async-validator
Advanced tools
Comparing version 1.8.0 to 1.8.1
@@ -50,3 +50,3 @@ import _typeof from 'babel-runtime/helpers/typeof'; | ||
email: function email(value) { | ||
return typeof value === 'string' && !!value.match(pattern.email); | ||
return typeof value === 'string' && !!value.match(pattern.email) && value.length < 255; | ||
}, | ||
@@ -53,0 +53,0 @@ url: function url(value) { |
@@ -68,3 +68,3 @@ 'use strict'; | ||
email: function email(value) { | ||
return typeof value === 'string' && !!value.match(pattern.email); | ||
return typeof value === 'string' && !!value.match(pattern.email) && value.length < 255; | ||
}, | ||
@@ -71,0 +71,0 @@ url: function url(value) { |
{ | ||
"name": "async-validator", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"description": "validate form asynchronous", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
96036