@middy/http-response-serializer
Advanced tools
Comparing version 5.0.0-alpha.2 to 5.0.0-rc.0
@@ -25,3 +25,3 @@ import { normalizeHttpResponse } from '@middy/util'; | ||
} else { | ||
const acceptHeader = request.event.headers.Accept ?? request.event.headers.accept; | ||
const acceptHeader = request.event.headers?.Accept ?? request.event.headers?.accept; | ||
types = [ | ||
@@ -28,0 +28,0 @@ ...(acceptHeader && Accept.mediaTypes(acceptHeader)) ?? [], |
{ | ||
"name": "@middy/http-response-serializer", | ||
"version": "5.0.0-alpha.2", | ||
"version": "5.0.0-rc.0", | ||
"description": "The Http Serializer middleware lets you define serialization mechanisms based on the current content negotiation.", | ||
@@ -66,9 +66,9 @@ "type": "module", | ||
"dependencies": { | ||
"@hapi/accept": "6.0.2", | ||
"@middy/util": "5.0.0-alpha.2" | ||
"@hapi/accept": "6.0.3", | ||
"@middy/util": "5.0.0-rc.0" | ||
}, | ||
"devDependencies": { | ||
"@middy/core": "5.0.0-alpha.2" | ||
"@middy/core": "5.0.0-rc.0" | ||
}, | ||
"gitHead": "ebce8d5df8783077fa49ba62ee9be20e8486a7f1" | ||
"gitHead": "403c54ba9f05e038d1ee7541f9e4a7a6d46e9916" | ||
} |
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
8424
+ Added@hapi/accept@6.0.3(transitive)
+ Added@middy/util@5.0.0-rc.0(transitive)
- Removed@hapi/accept@6.0.2(transitive)
- Removed@middy/util@5.0.0-alpha.2(transitive)
Updated@hapi/accept@6.0.3
Updated@middy/util@5.0.0-rc.0