Comparing version 0.10.0-rc1 to 0.10.0-rc2
@@ -27,2 +27,4 @@ /** | ||
'protected' : function () {return true;}, | ||
'notEmpty' : function (x) { | ||
@@ -112,2 +114,10 @@ | ||
}, | ||
'greaterThan' : function (x, val) { | ||
var number = parseFloat(x); | ||
return isNaN(number) || number > val; | ||
}, | ||
'lessThan' : function (x, val) { | ||
var number = parseFloat(x); | ||
return isNaN(number) || number < val; | ||
}, | ||
'minLength' : function (x, min) { return validator.isLength(x, min); }, | ||
@@ -114,0 +124,0 @@ 'maxLength' : function (x, max) { return validator.isLength(x, 0, max); }, |
{ | ||
"name": "anchor", | ||
"version": "0.10.0-rc1", | ||
"version": "0.10.0-rc2", | ||
"description": "Recursive validation library with support for objects and lists", | ||
@@ -5,0 +5,0 @@ "homepage": "http://sailsjs.org", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
30490
547