dat-middleware
Advanced tools
Comparing version 1.5.2 to 1.5.3
@@ -10,2 +10,3 @@ var RequestData = require('./lib/RequestData'); | ||
mw.req = requestDataFactory(); | ||
mw.res = require('./lib/res'); | ||
mw.body = requestDataFactory('body'); | ||
@@ -12,0 +13,0 @@ mw.query = requestDataFactory('query'); |
{ | ||
"name": "dat-middleware", | ||
"version": "1.5.2", | ||
"version": "1.5.3", | ||
"description": "common request, response, body, query, and param validation, transformation, and flow control middleware", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -10,2 +10,4 @@ var express = require('express'); | ||
app.use(mw.errorHandler({ showStack: true, log: false })); | ||
app.all('/', | ||
middleware); | ||
app.all('/body', | ||
@@ -12,0 +14,0 @@ // inspect, |
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
59377
26
1609