@fastify/aws-lambda
Advanced tools
Comparing version 3.3.0 to 3.3.1
@@ -135,3 +135,3 @@ 'use strict' | ||
const contentType = (res.headers['content-type'] || res.headers['Content-Type'] || '').split(';')[0] | ||
const contentType = (res.headers['content-type'] || res.headers['Content-Type'] || '').split(';', 1)[0] | ||
const isBase64Encoded = options.binaryMimeTypes.indexOf(contentType) > -1 || customBinaryCheck(options, res) | ||
@@ -138,0 +138,0 @@ |
@@ -29,4 +29,5 @@ { | ||
"license": "MIT", | ||
"version": "3.3.0", | ||
"version": "3.3.1", | ||
"main": "index.js", | ||
"type": "commonjs", | ||
"types": "types/index.d.ts", | ||
@@ -38,26 +39,28 @@ "scripts": { | ||
"test:typescript": "tsd", | ||
"performance": "npm run lint && node performanceTest/test" | ||
"performance": "npm run lint && node performanceTest/test", | ||
"preversion": "npm run test && git push", | ||
"postversion": "git push && git push --tags" | ||
}, | ||
"devDependencies": { | ||
"@fastify/multipart": "7.6.1", | ||
"@fastify/multipart": "8.0.0", | ||
"@fastify/pre-commit": "^2.0.2", | ||
"@types/aws-lambda": "8.10.119", | ||
"@types/aws-lambda": "8.10.125", | ||
"aws-lambda": "^1.0.7", | ||
"aws-serverless-express": "^3.4.0", | ||
"aws-serverless-fastify": "^3.0.2", | ||
"aws-serverless-fastify": "^3.0.4", | ||
"benchmark": "^2.1.4", | ||
"eslint": "^8.31.0", | ||
"eslint-config-standard": "^17.0.0", | ||
"eslint-plugin-import": "^2.27.4", | ||
"eslint-plugin-n": "^15.6.1", | ||
"eslint": "^8.52.0", | ||
"eslint-config-standard": "^17.1.0", | ||
"eslint-plugin-import": "^2.29.0", | ||
"eslint-plugin-n": "^16.2.0", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"eslint-plugin-standard": "^5.0.0", | ||
"fastify": "^4.11.0", | ||
"serverless-http": "^3.1.1", | ||
"tap": "^16.3.3", | ||
"tsd": "^0.28.0" | ||
"fastify": "^4.24.3", | ||
"serverless-http": "^3.2.0", | ||
"tap": "^16.3.9", | ||
"tsd": "^0.29.0" | ||
}, | ||
"overrides": { | ||
"aws-serverless-fastify": { | ||
"fastify": "^4.11.0" | ||
"fastify": "^4.24.3" | ||
} | ||
@@ -64,0 +67,0 @@ }, |
23005
7