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

express-body-parser-error-handler

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-body-parser-error-handler - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

index.d.ts

1

index.js

@@ -11,3 +11,2 @@ function isBodyParserError (error) {

'charset.unsupported',
'encoding.unsupported',
'entity.too.large'

@@ -14,0 +13,0 @@ ]

{
"name": "express-body-parser-error-handler",
"version": "1.0.4",
"version": "1.0.5",
"description": "middleware to be set right after body parser in order to return 4xx error back to the client",

@@ -26,5 +26,6 @@ "scripts": {

"homepage": "https://github.com/ntedgi/express-body-parser-error-handler#readme",
"dependencies": {},
"dependencies": {
"@types/express": "^4.17.15"
},
"devDependencies": {
"supertest": "^6.1.6",
"body-parser": "^1.15.1",

@@ -34,6 +35,7 @@ "chai": "^4.3.4",

"express": "^4.17.2",
"jest": "^29.1.2",
"nyc": "^15.1.0",
"sinon": "^12.0.1",
"jest": "^27.4.5",
"standard": "^16.0.4"
"sinon": "^14.0.1",
"standard": "^17.0.0",
"supertest": "^6.1.6"
},

@@ -48,2 +50,2 @@ "standard": {

}
}
}
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