express-validator
Advanced tools
Comparing version 2.19.0 to 2.19.1
@@ -0,0 +0,0 @@ ## Change Log |
module.exports = require('./lib/express_validator.js'); |
@@ -78,7 +78,7 @@ var validator = require('validator'); | ||
_.forEach(validator, function(method, methodName) { | ||
if (methodName.match(/^is/) || _.contains(additionalValidators, methodName)) { | ||
if (methodName.match(/^is/) || _.includes(additionalValidators, methodName)) { | ||
ValidatorChain.prototype[methodName] = makeValidator(methodName, validator); | ||
} | ||
if (methodName.match(/^to/) || _.contains(additionalSanitizers, methodName)) { | ||
if (methodName.match(/^to/) || _.includes(additionalSanitizers, methodName)) { | ||
Sanitizer.prototype[methodName] = makeSanitizer(methodName, validator); | ||
@@ -85,0 +85,0 @@ } |
@@ -12,3 +12,3 @@ { | ||
], | ||
"version": "2.19.0", | ||
"version": "2.19.1", | ||
"homepage": "https://github.com/ctavan/express-validator", | ||
@@ -33,3 +33,3 @@ "license": "MIT", | ||
"bluebird": "^2.9.x", | ||
"lodash": "3.10.x", | ||
"lodash": "4.2.x", | ||
"validator": "4.5.x" | ||
@@ -36,0 +36,0 @@ }, |
@@ -0,0 +0,0 @@ # express-validator |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ // Sample app |
@@ -0,0 +0,0 @@ var util = require('util'), |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
116175
+ Addedlodash@4.2.1(transitive)
- Removedlodash@3.10.1(transitive)
Updatedlodash@4.2.x