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

express-validator

Package Overview
Dependencies
Maintainers
1
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-validator - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

8

lib/express_validator.js

@@ -47,5 +47,3 @@ /*

methods[methodName] = function() {
var arguments = Array.prototype.slice.call(arguments);
var args = [value].concat(arguments);
var args = [value].concat(Array.prototype.slice.call(arguments));
var result = validator[methodName].apply(validator, args);

@@ -108,5 +106,3 @@ request.updateParam(param, result);

methods[methodName] = function() {
var arguments = Array.prototype.slice.call(arguments);
var args = [value].concat(arguments);
var args = [value].concat(Array.prototype.slice.call(arguments));
var isCorrect = validator[methodName].apply(validator, args);

@@ -113,0 +109,0 @@

@@ -11,3 +11,3 @@ {

],
"version": "2.1.1",
"version": "2.1.2",
"homepage": "https://github.com/ctavan/express-validator",

@@ -14,0 +14,0 @@ "repository": {

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