@middy/http-router
Advanced tools
Comparing version 3.0.0-alpha.5 to 3.0.0-alpha.6
@@ -16,3 +16,3 @@ import { createError } from '@middy/util'; | ||
if (!enumMethods.includes(method)) { | ||
throw new Error('method not allowed'); | ||
throw new Error('[http-router] Method not allowed'); | ||
} | ||
@@ -41,3 +41,3 @@ | ||
if (!method) { | ||
throw new Error('Unknown API Gateway Payload format'); | ||
throw new Error('[http-router] Unknown http event format'); | ||
} | ||
@@ -44,0 +44,0 @@ |
{ | ||
"name": "@middy/http-router", | ||
"version": "3.0.0-alpha.5", | ||
"version": "3.0.0-alpha.6", | ||
"description": "http event router for the middy framework", | ||
@@ -52,8 +52,8 @@ "type": "module", | ||
"dependencies": { | ||
"@middy/util": "^3.0.0-alpha.5" | ||
"@middy/util": "^3.0.0-alpha.6" | ||
}, | ||
"devDependencies": { | ||
"@middy/core": "^3.0.0-alpha.5" | ||
"@middy/core": "^3.0.0-alpha.6" | ||
}, | ||
"gitHead": "cf6a1b02a2e163bea353b10146d67e0d95ef8072" | ||
"gitHead": "176660ed3e0716d6bfb635c77251b301e0e24720" | ||
} |
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
8963
Updated@middy/util@^3.0.0-alpha.6