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.3.0 to 1.3.1

3

lib/RequestData.js

@@ -5,2 +5,3 @@ var error = require('./error');

var keypather = require('keypather')();
var pick = require('101/pick');
var returnTrue = function () { return true; };

@@ -284,3 +285,3 @@ var notUndefined = function (v) {

}
return this.transform(utils.pick.apply(null, this._keys));
return this.transform(pick(this._keys));
};

@@ -287,0 +288,0 @@ /**

{
"name": "dat-middleware",
"version": "1.3.0",
"version": "1.3.1",
"description": "common request, response, body, query, and param validation, transformation, and flow control middleware",

@@ -33,2 +33,3 @@ "main": "index.js",

"dependencies": {
"101": "~0.3.2",
"joi": "~2.7.0",

@@ -35,0 +36,0 @@ "boom": "~2.2.0",

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