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

aws-lambda-fastify

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-lambda-fastify - npm Package Compare versions

Comparing version 2.1.5 to 2.1.6

7

index.js

@@ -96,3 +96,4 @@ module.exports = (app, options) => {

const isSetCookie = h.toLowerCase() === 'set-cookie'
if (Array.isArray(res.headers[h])) {
const isArraycookie = Array.isArray(res.headers[h])
if (isArraycookie) {
if (isSetCookie) {

@@ -107,4 +108,4 @@ multiValueHeaders = multiValueHeaders || {}

if (isSetCookie) {
cookies = Array.isArray(res.headers[h]) ? res.headers[h] : [res.headers[h]]
if (event.version === '2.0') delete res.headers[h]
cookies = isArraycookie ? res.headers[h] : [res.headers[h]]
if (event.version === '2.0' || isArraycookie) delete res.headers[h]
}

@@ -111,0 +112,0 @@ })

@@ -29,3 +29,3 @@ {

"license": "MIT",
"version": "2.1.5",
"version": "2.1.6",
"main": "index.js",

@@ -32,0 +32,0 @@ "scripts": {

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