lambda-request-handler
Advanced tools
Comparing version 0.1.0 to 0.1.1
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const binaryCase = require('binary-case'); | ||
const variations = binaryCase.variations('set-cookie'); | ||
const setCookieVariations_1 = __importDefault(require("./setCookieVariations")); | ||
const fixResponseHeaders = (headers) => { | ||
@@ -15,3 +17,3 @@ const retVal = {}; | ||
arrayValue.forEach((value, i) => { | ||
retVal[variations[i]] = value; | ||
retVal[setCookieVariations_1.default[i]] = value; | ||
}); | ||
@@ -18,0 +20,0 @@ } |
{ | ||
"name": "lambda-request-handler", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"license": "(MIT OR Apache-2.0)", | ||
@@ -16,3 +16,2 @@ "scripts": { | ||
"dependencies": { | ||
"binary-case": "^1.1.4", | ||
"in-process-request": "^0.0.4" | ||
@@ -19,0 +18,0 @@ }, |
16834
1
14
187
- Removedbinary-case@^1.1.4
- Removedbinary-case@1.1.4(transitive)