Socket
Socket
Sign inDemoInstall

revalidator

Package Overview
Dependencies
Maintainers
4
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

revalidator - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

lib/revalidator.js

@@ -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 @@ ```

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