New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@middy/http-response-serializer

Package Overview
Dependencies
Maintainers
10
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 1.0.0-alpha.40 to 1.0.0-alpha.41

4

__tests__/index.js

@@ -68,3 +68,3 @@ const createError = require('http-errors')

headers: {
'Accept': accept
Accept: accept
}

@@ -91,3 +91,3 @@ }

headers: {
'Accept': 'application/xml, text/x-dvi; q=0.8, text/x-c'
Accept: 'application/xml, text/x-dvi; q=0.8, text/x-c'
}

@@ -94,0 +94,0 @@ }

@@ -28,3 +28,3 @@ const Accept = require('accept')

types = [].concat(
(requestHeaders['accept'] && Accept.mediaTypes(requestHeaders['accept'])) || [],
(requestHeaders.accept && Accept.mediaTypes(requestHeaders.accept)) || [],
handler.event.preferredContentType || [],

@@ -31,0 +31,0 @@ opts.default || []

{
"name": "@middy/http-response-serializer",
"version": "1.0.0-alpha.40",
"version": "1.0.0-alpha.41",
"description": "Http response serializer middleware for the middy framework",

@@ -50,3 +50,3 @@ "engines": {

},
"gitHead": "74c5e808c4658460bc198abd945ebefd4b7b6c90"
"gitHead": "aa244c76000d1896ada6d683637a7c280127aa79"
}
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