@middy/http-router
Advanced tools
Comparing version 4.1.0 to 4.2.0
@@ -56,4 +56,4 @@ import { createError } from '@middy/util'; | ||
if (method === 'ANY') { | ||
for (const method1 of methods){ | ||
attachStaticRoute(method1, path, handler, routesType); | ||
for (const method of methods){ | ||
attachStaticRoute(method, path, handler, routesType); | ||
} | ||
@@ -70,4 +70,4 @@ return; | ||
if (method === 'ANY') { | ||
for (const method1 of methods){ | ||
attachDynamicRoute(method1, path, handler, routesType); | ||
for (const method of methods){ | ||
attachDynamicRoute(method, path, handler, routesType); | ||
} | ||
@@ -74,0 +74,0 @@ return; |
{ | ||
"name": "@middy/http-router", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"description": "HTTP event router for the middy framework", | ||
@@ -65,9 +65,9 @@ "type": "module", | ||
"dependencies": { | ||
"@middy/util": "4.1.0" | ||
"@middy/util": "4.2.0" | ||
}, | ||
"devDependencies": { | ||
"@middy/core": "4.1.0", | ||
"@middy/core": "4.2.0", | ||
"@types/aws-lambda": "^8.10.97" | ||
}, | ||
"gitHead": "c5abbac9280c3a2f30758188233a7b27367901d1" | ||
"gitHead": "438103b15c184995a0a38413f6ed0b8696d13670" | ||
} |
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
16336
7
341
+ Added@middy/util@4.2.0(transitive)
- Removed@middy/util@4.1.0(transitive)
Updated@middy/util@4.2.0