revalidator
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -347,3 +347,3 @@ (function (exports) { | ||
for (var i = 0, l = types.length; i < l; i++) { | ||
type = types[i]; | ||
type = types[i].toLowerCase().trim(); | ||
if (type === 'string' ? typeof val === 'string' : | ||
@@ -350,0 +350,0 @@ type === 'array' ? isArray(val) : |
{ | ||
"name": "revalidator", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "A cross-browser / node.js validator used by resourceful", | ||
@@ -5,0 +5,0 @@ "author": "Nodejitsu Inc. <info@nodejitsu.com>", |
@@ -262,4 +262,4 @@ # revalidator [![Build Status](https://secure.travis-ci.org/flatiron/revalidator.png)](http://travis-ci.org/flatiron/revalidator) | ||
messages: { | ||
type: 'WOAH! Do you use a number for url in your village?', | ||
format: 'DUDE! Its a goddamn url' | ||
type: 'Not a string type', | ||
format: 'Expected format is a url' | ||
} | ||
@@ -266,0 +266,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
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
48379
2