Socket
Socket
Sign inDemoInstall

aws-lambda-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

aws-lambda-middleware - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

2

package.json
{
"name": "aws-lambda-middleware",
"version": "0.7.0",
"version": "0.7.1",
"engines": {

@@ -5,0 +5,0 @@ "node": ">=8.3.0"

@@ -264,3 +264,3 @@ # aws-lambda-middleware

#### 0.7.0
#### 0.7.1
- Add PropTypes.*.default method

@@ -267,0 +267,0 @@ - Add PropTypes.object

@@ -128,7 +128,6 @@ const querystring = require('querystring')

const hasProp = event[groupKey].hasOwnProperty(propName)
const propValue = event[groupKey][propName]
if (common.isEmpty(propValue) && !common.isEmpty(rule._default, true)) {
if (common.isEmpty(val) && !common.isEmpty(rule._default, true)) {
event[groupKey][propName] = common.clone(rule._default)
} else if (hasProp && propValue && typeof rule._convert === 'function') {
} else if (hasProp && !common.isEmpty(val) && typeof rule._convert === 'function') {
event[groupKey][propName] = rule._convert(val)

@@ -135,0 +134,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