async-validator
Advanced tools
Comparing version 1.1.6 to 1.2.0
@@ -31,2 +31,5 @@ 'use strict'; | ||
}, | ||
date: function date(value) { | ||
return typeof value.getTime === 'function' && typeof value.getMonth === 'function' && typeof value.getYear === 'function'; | ||
}, | ||
number: function number(value) { | ||
@@ -33,0 +36,0 @@ if (isNaN(value)) { |
@@ -17,3 +17,4 @@ 'use strict'; | ||
url: require('./type'), | ||
date: require('./date'), | ||
hex: require('./type') | ||
}; |
{ | ||
"name": "async-validator", | ||
"version": "1.1.6", | ||
"version": "1.2.0", | ||
"description": "validate form asynchronous", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -9,3 +9,3 @@ # async-validator | ||
- support ie8 | ||
- support ``type:url`` ``type:email`` ``type:hex`` | ||
- support ``type:url`` ``type:email`` ``type:hex`` ``type:date`` | ||
- support nice nested object validation message | ||
@@ -16,3 +16,2 @@ | ||
- remove parallel config, defaults to true | ||
- remove ``type:date`` support | ||
- remove .error constructor | ||
@@ -19,0 +18,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
41716
26
885
328