@middy/http-cors
Advanced tools
Comparing version 5.2.2 to 5.2.3
@@ -134,7 +134,2 @@ import { normalizeHttpResponse } from '@middy/util' | ||
) | ||
if (!httpMethod) { | ||
throw new Error('Unknown http event format', { | ||
cause: { package: '@middy/http-cors' } | ||
}) | ||
} | ||
if ( | ||
@@ -141,0 +136,0 @@ httpMethod === 'OPTIONS' && |
{ | ||
"name": "@middy/http-cors", | ||
"version": "5.2.2", | ||
"version": "5.2.3", | ||
"description": "CORS (Cross-Origin Resource Sharing) middleware for the middy framework", | ||
@@ -61,9 +61,9 @@ "type": "module", | ||
}, | ||
"gitHead": "dbfe56d5dfc783fae1e19c7dddd074c0d18d5073", | ||
"gitHead": "5fa384cca11e64e8a8c3b4113b5896cf8b5b229e", | ||
"dependencies": { | ||
"@middy/util": "5.2.2" | ||
"@middy/util": "5.2.3" | ||
}, | ||
"devDependencies": { | ||
"@middy/core": "5.2.2" | ||
"@middy/core": "5.2.3" | ||
} | ||
} |
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
10195
154
+ Added@middy/util@5.2.3(transitive)
- Removed@middy/util@5.2.2(transitive)
Updated@middy/util@5.2.3