@vendia/serverless-express
Advanced tools
Comparing version 4.10.0 to 4.10.1
{ | ||
"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 @@ } |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
67694
1
3