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

dat-middleware

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dat-middleware - npm Package Compare versions

Comparing version 1.5.2 to 1.5.3

lib/res.js

1

index.js

@@ -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');

2

package.json
{
"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,

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