Socket
Socket
Sign inDemoInstall

middy

Package Overview
Dependencies
Maintainers
8
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

middy - npm Package Compare versions

Comparing version 0.7.2 to 0.7.3

src/middlewares/__tests__/httpHeaderNormalizer.js

2

package.json
{
"name": "middy",
"version": "0.7.2",
"version": "0.7.3",
"description": "The simple (but cool 😎) middleware engine for AWS lambda in Node.js",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -501,2 +501,3 @@ <div align="center">

- [`httpErrorHandler`](/docs/middlewares.md#httperrorhandler): creates a proper HTTP response for errors that are created with the [http-errors](https://www.npmjs.com/package/http-errors) module and represents proper HTTP errors.
- [`httpHeaderNormalizer`](/docs/middlewares.md#httpHeaderNormalizer): Normalizes HTTP header names to their canonical format
- [`jsonBodyParser`](/docs/middlewares.md#jsonbodyparser): automatically parses HTTP requests with JSON body and converts the body into an object. Also handles gracefully broken JSON if used in combination of

@@ -503,0 +504,0 @@ `httpErrorHanler`.

@@ -6,2 +6,3 @@ module.exports = {

httpErrorHandler: require('./httpErrorHandler'),
httpHeaderNormalizer: require('./httpHeaderNormalizer'),
jsonBodyParser: require('./jsonBodyParser'),

@@ -8,0 +9,0 @@ s3KeyNormalizer: require('./s3KeyNormalizer'),

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