Socket
Socket
Sign inDemoInstall

express-json-validator-middleware

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-json-validator-middleware - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

.travis.yml

5

package.json
{
"name": "express-json-validator-middleware",
"version": "1.0.2",
"version": "1.0.3",
"description": "An Express middleware to validate requests against JSON Schemas",

@@ -27,3 +27,6 @@ "main": "src/index.js",

"devDependencies": {
"body-parser": "^1.17.1",
"chai": "^3.5.0",
"chai-http": "^3.0.0",
"express": "^4.15.2",
"mocha": "^3.2.0"

@@ -30,0 +33,0 @@ },

1

README.md

@@ -183,3 +183,2 @@ # express-json-validator-middleware

Tests include an independent validation test and a simulated Express middleware test.

@@ -186,0 +185,0 @@ ## More documentation on JSON schemas

@@ -7,3 +7,3 @@ const expect = require('chai').expect;

describe('Middleware', () => {
describe('Simulated Middleware', () => {
describe('Basic Use Case', () => {

@@ -10,0 +10,0 @@ const middleware = new Validator().validate({

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