Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

anchor

Package Overview
Dependencies
Maintainers
3
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anchor - npm Package Compare versions

Comparing version 0.10.0-rc1 to 0.10.0-rc2

10

lib/match/rules.js

@@ -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); },

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc