Comparing version 0.8.4 to 0.8.5
{ | ||
"name": "middy", | ||
"version": "0.8.4", | ||
"version": "0.8.5", | ||
"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. | ||
- [`httpEventNormalizer`](/docs/middlewares.md#httpEventNormalizer): Normalizes HTTP events by adding an empty object for `queryStringParameters` and `pathParameters` if they are missing. | ||
- [`httpHeaderNormalizer`](/docs/middlewares.md#httpHeaderNormalizer): Normalizes HTTP header names to their canonical format | ||
@@ -503,0 +504,0 @@ - [`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 |
@@ -6,2 +6,3 @@ module.exports = { | ||
httpErrorHandler: require('./httpErrorHandler'), | ||
httpEventNormalizer: require('./httpEventNormalizer'), | ||
httpHeaderNormalizer: require('./httpHeaderNormalizer'), | ||
@@ -8,0 +9,0 @@ jsonBodyParser: require('./jsonBodyParser'), |
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
91978
36
2074
624