Comparing version 0.2.13 to 0.2.14
{ | ||
"name": "middy", | ||
"version": "0.2.13", | ||
"version": "0.2.14", | ||
"description": "The simple (but cool 😎) middleware engine for AWS lambda in Node.js", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -371,2 +371,3 @@ <div align="center"> | ||
- [`cors`](/docs/middlewares.md#cors): sets CORS headers on response | ||
- [`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. | ||
@@ -373,0 +374,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 |
module.exports = { | ||
cors: require('./cors'), | ||
doNotWaitForEmptyEventLoop: require('./doNotWaitForEmptyEventLoop'), | ||
@@ -3,0 +4,0 @@ httpErrorHandler: require('./httpErrorHandler'), |
Sorry, the diff of this file is not supported yet
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
228021
31
5833
494