aws-lambda-fastify
Advanced tools
Comparing version 1.4.4 to 1.5.0
@@ -38,2 +38,7 @@ module.exports = (app, options) => (event, context, callback) => { | ||
// API gateway v2 cookies: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html | ||
if (event.cookies && event.cookies.length) { | ||
headers['cookie'] = event.cookies.join(';') | ||
} | ||
const prom = new Promise((resolve) => { | ||
@@ -40,0 +45,0 @@ app.inject({ method, url, query, payload, headers }, (err, res) => { |
@@ -28,29 +28,24 @@ { | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "MIT", | ||
"url": "https://raw.github.com/fastify/aws-lambda-fastify/master/LICENSE" | ||
} | ||
], | ||
"version": "1.4.4", | ||
"license": "MIT", | ||
"version": "1.5.0", | ||
"main": "index.js", | ||
"scripts": { | ||
"lint": "eslint .", | ||
"test": "npm run lint && tap --no-esm -J -R specy test/*test.js", | ||
"test": "npm run lint && tap -J -R specy test/*test.js", | ||
"performance": "npm run lint && node performanceTest/test" | ||
}, | ||
"devDependencies": { | ||
"aws-serverless-express": "^3.3.8", | ||
"aws-serverless-fastify": "^1.0.13", | ||
"aws-serverless-express": "^3.4.0", | ||
"aws-serverless-fastify": "^1.0.26", | ||
"benchmark": "^2.1.4", | ||
"eslint": "^7.3.1", | ||
"eslint-config-standard": "^14.1.1", | ||
"eslint-plugin-import": "^2.20.1", | ||
"eslint": "^7.28.0", | ||
"eslint-config-standard": "^16.0.3", | ||
"eslint-plugin-import": "^2.23.4", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-standard": "^4.0.1", | ||
"fastify": "^3.0.0-rc.4", | ||
"serverless-http": "^2.3.2", | ||
"tap": "^14.10.7" | ||
"eslint-plugin-promise": "^5.1.0", | ||
"eslint-plugin-standard": "^4.1.0", | ||
"fastify": "^3.17.0", | ||
"serverless-http": "^2.7.0", | ||
"tap": "^15.0.9" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11514
6
78