express-json-validator-middleware
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"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 @@ }, |
@@ -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({ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16490
10
212
5
216