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

express-validator

Package Overview
Dependencies
Maintainers
3
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 6.6.0 to 6.6.1

2

docs/api-check.md

@@ -72,3 +72,3 @@ ---

// Oh noes. This user doesn't have enough skills for this...
res.status(422).json(...);
res.status(400).json(...);
}

@@ -75,0 +75,0 @@ });

@@ -184,3 +184,3 @@ ---

if (!result.isEmpty()) {
return res.status(422).json({ errors: result.array() });
return res.status(400).json({ errors: result.array() });
}

@@ -187,0 +187,0 @@

@@ -27,3 +27,3 @@ ---

res.status(422).json({ errors: errors.array() });
res.status(400).json({ errors: errors.array() });
};

@@ -30,0 +30,0 @@ };

@@ -50,3 +50,3 @@ ---

if (!errors.isEmpty()) {
return res.status(422).json({ errors: errors.array() });
return res.status(400).json({ errors: errors.array() });
}

@@ -53,0 +53,0 @@

@@ -9,3 +9,3 @@ {

],
"version": "6.6.0",
"version": "6.6.1",
"homepage": "https://express-validator.github.io",

@@ -45,3 +45,3 @@ "license": "MIT",

"dependencies": {
"lodash": "^4.17.15",
"lodash": "^4.17.19",
"validator": "^13.1.1"

@@ -51,3 +51,3 @@ },

"@types/jest": "^26.0.0",
"@types/lodash": "^4.14.155",
"@types/lodash": "^4.14.158",
"@typescript-eslint/eslint-plugin": "^3.3.0",

@@ -54,0 +54,0 @@ "@typescript-eslint/parser": "^3.3.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