Comparing version 0.0.6-dev to 0.0.7-dev
@@ -62,4 +62,4 @@ 'use strict' | ||
break | ||
case 'isShorterThan': | ||
case 'isLongerThan': | ||
case 'isShorter': | ||
case 'isLonger': | ||
_match = validate.string[rule](value, _compare) | ||
@@ -66,0 +66,0 @@ break |
@@ -7,6 +7,6 @@ 'use strict' | ||
}, | ||
isShorterThan: function (value, than) { | ||
isShorter: function (value, than) { | ||
return string.isString(value) && value.length < than | ||
}, | ||
isLongerThan: function (value, than) { | ||
isLonger: function (value, than) { | ||
return string.isString(value) && value.length > than | ||
@@ -13,0 +13,0 @@ } |
{ | ||
"name": "checkv", | ||
"version": "0.0.6-dev", | ||
"version": "0.0.7-dev", | ||
"description": "javascript idiomatic validator", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
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
7991