Socket
Socket
Sign inDemoInstall

anchor

Package Overview
Dependencies
Maintainers
2
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.9.11 to 0.9.12

5

lib/rules.js

@@ -112,4 +112,7 @@ /**

'minLength' : function (x, min) { return validator.isLength(x, min); },
'maxLength' : function (x, max) { return validator.isLength(x, 0, max); }
'maxLength' : function (x, max) { return validator.isLength(x, 0, max); },
'regex' : function (x, regex) { return validator.matches(x, regex); },
'notRegex' : function (x, regex) { return !validator.matches(x, regex); }
};

2

package.json
{
"name": "anchor",
"version": "0.9.11",
"version": "0.9.12",
"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