@middy/http-router
Advanced tools
Comparing version 3.6.2 to 4.0.0-alpha.0
@@ -1,2 +0,1 @@ | ||
var _event; | ||
import { createError } from '@middy/util'; | ||
@@ -33,3 +32,3 @@ const httpRouteHandler = (routes)=>{ | ||
if (match) { | ||
(_event = event).pathParameters ?? (_event.pathParameters = match.groups); | ||
event.pathParameters ??= match.groups; | ||
return route.handler(event, context, abort); | ||
@@ -36,0 +35,0 @@ } |
{ | ||
"name": "@middy/http-router", | ||
"version": "3.6.2", | ||
"version": "4.0.0-alpha.0", | ||
"description": "HTTP event router for the middy framework", | ||
"type": "module", | ||
"engines": { | ||
"node": ">=14" | ||
"node": ">=16" | ||
}, | ||
@@ -65,9 +65,9 @@ "engineStrict": true, | ||
"dependencies": { | ||
"@middy/util": "3.6.2" | ||
"@middy/util": "4.0.0-alpha.0" | ||
}, | ||
"devDependencies": { | ||
"@middy/core": "3.6.2", | ||
"@middy/core": "4.0.0-alpha.0", | ||
"@types/aws-lambda": "^8.10.97" | ||
}, | ||
"gitHead": "4c5d64c72dd4bfde0d3b828a0082c99f688c759c" | ||
"gitHead": "306fb9aa633d5757d11ced3dc192f046ef3c2685" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
14404
212
1
+ Added@middy/util@4.0.0-alpha.0(transitive)
- Removed@middy/util@3.6.2(transitive)
Updated@middy/util@4.0.0-alpha.0