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

express-validate-schema

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-validate-schema - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

5

index.js

@@ -68,3 +68,4 @@ /*

function validateResponse (err) {debugger
function validateResponse (err) {
return err

@@ -85,2 +86,2 @@ ? res.status(500).end(err.message)

return between(statusCode, 400, 599)
}
}

4

package.json
{
"name": "express-validate-schema",
"version": "1.0.0",
"version": "1.0.1",
"description": "a simple express middleware to validate the request/response objects (body, params, querystring and headers) againts an object schema with joi",

@@ -14,3 +14,3 @@ "main": "index.js",

"coverage:check": "istanbul check-coverage --statements 100 --functions 100 --lines 100 --branches 100",
"test": "standard --fix check && istanbul cover _mocha test.js"
"test": "standard --fix && istanbul cover _mocha test.js"
},

@@ -17,0 +17,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