| const context = (resolve, reject) => ({ fail: (error) => reject(error), succeed: (response) => resolve(response) }); | ||
| const callback = (resolve, reject) => (error, success) => error ? reject(error) : resolve(success); | ||
| const callback = (resolve, reject) => (error, success) => (error ? reject(error) : resolve(success)); | ||
@@ -4,0 +4,0 @@ const invoker = (event, fn) => |
+12
-12
@@ -9,15 +9,15 @@ { | ||
| "binary-case": "^1.1.4", | ||
| "cookie": "^0.4.1", | ||
| "path-to-regexp": "^6.2.0" | ||
| "cookie": "^1.0.0", | ||
| "path-to-regexp": "^8.2.0" | ||
| }, | ||
| "description": "Lambdify is a set of tools that makes building and consuming AWS Lambda functions easier", | ||
| "devDependencies": { | ||
| "eslint": "7.32.0", | ||
| "eslint-config-prettier": "8.3.0", | ||
| "eslint-plugin-jest": "24.7.0", | ||
| "express": "4.17.1", | ||
| "husky": "6.0.0", | ||
| "jest": "27.4.2", | ||
| "lint-staged": "11.1.2", | ||
| "prettier": "2.5.0" | ||
| "eslint": "8.57.1", | ||
| "eslint-config-prettier": "9.1.0", | ||
| "eslint-plugin-jest": "28.8.3", | ||
| "express": "4.21.1", | ||
| "husky": "9.1.6", | ||
| "jest": "29.7.0", | ||
| "lint-staged": "15.2.10", | ||
| "prettier": "3.3.3" | ||
| }, | ||
@@ -50,3 +50,3 @@ "engines": { | ||
| "canary": "npm publish --tag canary", | ||
| "clean": "yarn lint && yarn prettify", | ||
| "clean": "npm run lint && npm run prettify", | ||
| "lint": "./node_modules/.bin/eslint '**/*.js' --fix", | ||
@@ -57,3 +57,3 @@ "prettify": "./node_modules/.bin/prettier --config ./.prettierrc.json --write '**/*.js'", | ||
| }, | ||
| "version": "4.4.2" | ||
| "version": "4.5.0" | ||
| } |
+3
-1
@@ -34,3 +34,5 @@ /* | ||
| if (!serverIsListenting) { | ||
| await new Promise((resolve) => server.listen(socketPath).on('listening', resolve)); | ||
| await new Promise((resolve) => { | ||
| server.listen(socketPath).on('listening', resolve); | ||
| }); | ||
| } | ||
@@ -37,0 +39,0 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
31494
0.09%529
0.38%3
50%+ Added
+ Added
- Removed
- Removed
Updated
Updated