aws-serverless-express
Advanced tools
Comparing version 3.3.7 to 3.3.8
{ | ||
"name": "aws-serverless-express", | ||
"version": "3.3.7", | ||
"version": "3.3.8", | ||
"description": "This library enables you to utilize AWS Lambda and Amazon API Gateway to respond to web and API requests using your existing Node.js application framework.", | ||
@@ -38,23 +38,34 @@ "keywords": [ | ||
], | ||
"publish": [ | ||
"@semantic-release/changelog", | ||
{ | ||
"path": "@semantic-release/npm", | ||
"npmPublish": true, | ||
"tarballDir": "dist" | ||
}, | ||
{ | ||
"path": "@semantic-release/git", | ||
"assets": [ | ||
"package.json", | ||
"package-lock.json", | ||
"CHANGELOG.md", | ||
"dist/**/*.{js|css}" | ||
], | ||
"message": "chore(release): version ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" | ||
}, | ||
{ | ||
"path": "@semantic-release/github", | ||
"assets": "dist/*.tgz" | ||
} | ||
"plugins": [ | ||
[ | ||
"@semantic-release/changelog", | ||
{ | ||
"changelogFile": "CHANGELOG.md" | ||
} | ||
], | ||
[ | ||
"@semantic-release/npm", | ||
{ | ||
"npmPublish": true, | ||
"tarballDir": "dist" | ||
} | ||
], | ||
[ | ||
"@semantic-release/git", | ||
{ | ||
"assets": [ | ||
"package.json", | ||
"package-lock.json", | ||
"CHANGELOG.md", | ||
"dist/**/*.{js|css}" | ||
], | ||
"message": "chore(release): version ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" | ||
} | ||
], | ||
[ | ||
"@semantic-release/github", | ||
{ | ||
"assets": "dist/*.tgz" | ||
} | ||
] | ||
] | ||
@@ -88,20 +99,20 @@ }, | ||
"devDependencies": { | ||
"@commitlint/config-conventional": "^6.1.0", | ||
"@commitlint/travis-cli": "^6.1.3", | ||
"@semantic-release/changelog": "^1.0.1", | ||
"@semantic-release/git": "^3.0.1", | ||
"@semantic-release/npm": "^3.0.2", | ||
"@commitlint/config-conventional": "^8.3.4", | ||
"@commitlint/travis-cli": "^8.3.5", | ||
"@semantic-release/changelog": "^5.0.0", | ||
"@semantic-release/git": "^9.0.0", | ||
"@semantic-release/npm": "^7.0.5", | ||
"commitizen": "^3.0.7", | ||
"commitlint": "^6.1.0", | ||
"commitlint": "^8.3.5", | ||
"cz-conventional-changelog": "^2.1.0", | ||
"eslint": "^4.19.1", | ||
"eslint-config-standard": "^11.0.0", | ||
"eslint-plugin-import": "^2.12.0", | ||
"eslint-plugin-node": "^6.0.1", | ||
"eslint-plugin-promise": "^3.8.0", | ||
"eslint-plugin-standard": "^3.1.0", | ||
"eslint": "^6.8.0", | ||
"eslint-config-standard": "^14.1.1", | ||
"eslint-plugin-import": "^2.20.1", | ||
"eslint-plugin-node": "^11.0.0", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-standard": "^4.0.1", | ||
"husky": "^0.15.0-rc.4", | ||
"jest": "^24.5.0", | ||
"lint-staged": "^7.2.0", | ||
"semantic-release": "^15.13.8" | ||
"semantic-release": "^17.0.4" | ||
}, | ||
@@ -108,0 +119,0 @@ "scripts": { |
@@ -69,3 +69,3 @@ /* | ||
function forwardResponseToApiGateway (server, response, resolver) { | ||
let buf = [] | ||
const buf = [] | ||
@@ -104,3 +104,3 @@ response | ||
const body = bodyBuffer.toString(isBase64Encoded ? 'base64' : 'utf8') | ||
const successResponse = {statusCode, body, headers, isBase64Encoded} | ||
const successResponse = { statusCode, body, headers, isBase64Encoded } | ||
@@ -107,0 +107,0 @@ resolver.succeed({ response: successResponse }) |
32805