@middy/http-router
Advanced tools
Comparing version 3.1.0 to 3.1.1
@@ -26,3 +26,3 @@ import { createError } from '@middy/util'; | ||
const handler = routesStatic[method]?.[path]; | ||
if (handler !== undefined) { | ||
if (typeof handler !== 'undefined') { | ||
return handler(event, context, abort); | ||
@@ -29,0 +29,0 @@ } |
{ | ||
"name": "@middy/http-router", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "HTTP event router for the middy framework", | ||
@@ -14,2 +14,3 @@ "type": "module", | ||
"main": "./index.cjs", | ||
"module": "./index.js", | ||
"exports": { | ||
@@ -65,9 +66,9 @@ ".": { | ||
"dependencies": { | ||
"@middy/util": "3.1.0" | ||
"@middy/util": "3.1.1" | ||
}, | ||
"devDependencies": { | ||
"@middy/core": "3.1.0", | ||
"@middy/core": "3.1.1", | ||
"@types/aws-lambda": "^8.10.97" | ||
}, | ||
"gitHead": "d5284fd11c175516c189b6061fee7312106d9709" | ||
"gitHead": "d53fc91d035b01d3fd296cb6c7d0acd8305e9f76" | ||
} |
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
13867
+ Added@middy/util@3.1.1(transitive)
- Removed@middy/util@3.1.0(transitive)
Updated@middy/util@3.1.1