Socket
Socket
Sign inDemoInstall

@vendia/serverless-express

Package Overview
Dependencies
0
Maintainers
4
Versions
57
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.10.0 to 4.10.1

2

package.json
{
"name": "@vendia/serverless-express",
"version": "4.10.0",
"version": "4.10.1",
"description": "This library enables you to utilize AWS Lambda and Amazon API Gateway to respond to web and API requests using your existing Node.js application framework.",

@@ -5,0 +5,0 @@ "keywords": [

const { emptyResponseMapper } = require('../utils')
const getRequestValuesFromSns = ({ event }) => {
const getRequestValuesFromSqs = ({ event }) => {
const method = 'POST'

@@ -16,4 +16,4 @@ const headers = { host: 'sqs.amazonaws.com' }

module.exports = {
getRequest: getRequestValuesFromSns,
getRequest: getRequestValuesFromSqs,
getResponse: emptyResponseMapper
}

@@ -67,3 +67,3 @@ const url = require('url')

if (parsedCookie['max-age']) {
cookie.maxAge = parsedCookie['max-age']
cookie.maxAge = +parsedCookie['max-age']
}

@@ -77,3 +77,3 @@

cookie.expires = new Date(parsedCookie.expires)
} else if (parsedCookie.expires && typeof value === 'number') {
} else if (parsedCookie.expires && typeof parsedCookie.expires === 'number') {
cookie.expires = parsedCookie.expires

@@ -80,0 +80,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc