Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@middy/http-response-serializer

Package Overview
Dependencies
Maintainers
3
Versions
197
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@middy/http-response-serializer - npm Package Compare versions

Comparing version 5.0.0-alpha.2 to 5.0.0-rc.0

2

index.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc