@fastify/aws-lambda
Advanced tools
Comparing version 3.1.3 to 3.2.0
@@ -0,1 +1,3 @@ | ||
'use strict' | ||
const isCompressedDefault = (res) => { | ||
@@ -94,3 +96,3 @@ const contentEncoding = res.headers['content-encoding'] || res.headers['Content-Encoding'] | ||
if (event.cookies && event.cookies.length) { | ||
headers['cookie'] = event.cookies.join(';') | ||
headers.cookie = event.cookies.join(';') | ||
} | ||
@@ -153,1 +155,3 @@ | ||
} | ||
module.exports.default = module.exports | ||
module.exports.awsLambdaFastify = module.exports |
@@ -29,7 +29,9 @@ { | ||
"license": "MIT", | ||
"version": "3.1.3", | ||
"version": "3.2.0", | ||
"main": "index.js", | ||
"types": "types/index.d.ts", | ||
"scripts": { | ||
"lint": "eslint .", | ||
"test": "npm run lint && tap -J -R specy --no-coverage test/*test.js && npm run test:typescript", | ||
"test": "npm run test:unit && npm run test:typescript", | ||
"test:unit": "tap -J -R specy --no-coverage test/*test.js", | ||
"test:typescript": "tsd", | ||
@@ -39,21 +41,23 @@ "performance": "npm run lint && node performanceTest/test" | ||
"devDependencies": { | ||
"@types/aws-lambda": "8.10.102", | ||
"@fastify/multipart": "7.4.0", | ||
"@fastify/pre-commit": "^2.0.2", | ||
"@types/aws-lambda": "8.10.109", | ||
"aws-lambda": "^1.0.7", | ||
"aws-serverless-express": "^3.4.0", | ||
"aws-serverless-fastify": "^1.0.28", | ||
"aws-serverless-fastify": "^3.0.2", | ||
"benchmark": "^2.1.4", | ||
"eslint": "^8.17.0", | ||
"eslint": "^8.31.0", | ||
"eslint-config-standard": "^17.0.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-n": "^15.2.1", | ||
"eslint-plugin-promise": "^6.0.0", | ||
"eslint-plugin-import": "^2.27.4", | ||
"eslint-plugin-n": "^15.6.1", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"eslint-plugin-standard": "^5.0.0", | ||
"fastify": "^4.0.0-rc.3", | ||
"serverless-http": "^3.0.1", | ||
"tap": "^16.2.0", | ||
"tsd": "^0.23.0" | ||
"fastify": "^4.11.0", | ||
"serverless-http": "^3.1.1", | ||
"tap": "^16.3.3", | ||
"tsd": "^0.25.0" | ||
}, | ||
"overrides": { | ||
"aws-serverless-fastify": { | ||
"fastify": "^4.0.0-rc.3" | ||
"fastify": "^4.11.0" | ||
} | ||
@@ -63,3 +67,7 @@ }, | ||
"access": "public" | ||
} | ||
}, | ||
"pre-commit": [ | ||
"lint", | ||
"test" | ||
] | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
254
21866
17
6
1