aws-lambda-fastify
Advanced tools
Comparing version 2.1.2 to 2.1.3
@@ -121,4 +121,4 @@ module.exports = (app, options) => { | ||
if (cookies) ret.cookies = cookies | ||
if (multiValueHeaders) ret.multiValueHeaders = multiValueHeaders | ||
if (cookies && event.version === '2.0') ret.cookies = cookies | ||
if (multiValueHeaders && event.version === '1.0') ret.multiValueHeaders = multiValueHeaders | ||
resolve(ret) | ||
@@ -125,0 +125,0 @@ }) |
@@ -29,3 +29,3 @@ { | ||
"license": "MIT", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"main": "index.js", | ||
@@ -39,2 +39,3 @@ "scripts": { | ||
"devDependencies": { | ||
"@types/aws-lambda": "8.10.97", | ||
"aws-lambda": "^1.0.7", | ||
@@ -44,13 +45,18 @@ "aws-serverless-express": "^3.4.0", | ||
"benchmark": "^2.1.4", | ||
"eslint": "^8.11.0", | ||
"eslint-config-standard": "^16.0.3", | ||
"eslint-plugin-import": "^2.25.4", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint": "^8.16.0", | ||
"eslint-config-standard": "^17.0.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-n": "^15.2.0", | ||
"eslint-plugin-promise": "^6.0.0", | ||
"eslint-plugin-standard": "^5.0.0", | ||
"fastify": "^3.27.4", | ||
"serverless-http": "^2.7.0", | ||
"tap": "^16.0.1", | ||
"tsd": "^0.19.1" | ||
"fastify": "^4.0.0-rc.3", | ||
"serverless-http": "^3.0.1", | ||
"tap": "^16.2.0", | ||
"tsd": "^0.20.0" | ||
}, | ||
"overrides": { | ||
"aws-serverless-fastify": { | ||
"fastify": "^4.0.0-rc.3" | ||
} | ||
} | ||
} |
@@ -5,3 +5,2 @@ # Introduction | ||
[![NPM version](https://img.shields.io/npm/v/aws-lambda-fastify.svg?style=flat)](https://www.npmjs.com/package/aws-lambda-fastify) | ||
[![Known Vulnerabilities](https://snyk.io/test/github/fastify/aws-lambda-fastify/badge.svg)](https://snyk.io/test/github/fastify/aws-lambda-fastify) | ||
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/) | ||
@@ -64,3 +63,3 @@ | ||
// called directly i.e. "node app" | ||
app.listen(3000, (err) => { | ||
app.listen({ port: 3000 }, (err) => { | ||
if (err) console.error(err) | ||
@@ -67,0 +66,0 @@ console.log('server listening on 3000') |
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
20660
15
158