@vendia/serverless-express
Advanced tools
Comparing version 4.5.1 to 4.5.2
{ | ||
"name": "@vendia/serverless-express", | ||
"version": "4.5.1", | ||
"version": "4.5.2", | ||
"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": [ |
@@ -62,3 +62,3 @@ const url = require('url') | ||
Object.entries(headers).forEach(([headerKey, headerValue]) => { | ||
const headerArray = Array.isArray(headerValue) ? headerValue : [headerValue] | ||
const headerArray = Array.isArray(headerValue) ? headerValue.map(String) : [String(headerValue)] | ||
@@ -65,0 +65,0 @@ multiValueHeaders[headerKey.toLowerCase()] = headerArray |
59113