From e32be918694d99e27c675e933f925656ea5ef0ea Mon Sep 17 00:00:00 2001 From: hsz Date: Fri, 26 Oct 2018 18:00:45 +0200 Subject: [PATCH] Add functionShield middleware link to the main readme --- README.md | 1 + README.md.hb | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 7ae5f55a0..b16fc43f4 100644 --- a/README.md +++ b/README.md @@ -507,6 +507,7 @@ Currently available middlewares: - [`cache`](/docs/middlewares.md#cache): A simple but flexible caching layer - [`cors`](/docs/middlewares.md#cors): Sets CORS headers on response - [`doNotWaitForEmptyEventLoop`](/docs/middlewares.md#donotwaitforemptyeventloop): Sets callbackWaitsForEmptyEventLoop property to false + - [`functionShield`](/docs/middlewares.md#functionshield): Hardens AWS Lambda execution environment - [`httpContentNegotiation`](/docs/middlewares.md#httpcontentnegotiation): Parses `Accept-*` headers and provides utilities for content negotiation (charset, encoding, language and media type) for HTTP requests - [`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. diff --git a/README.md.hb b/README.md.hb index c7e2c4705..d37094aa5 100644 --- a/README.md.hb +++ b/README.md.hb @@ -506,6 +506,7 @@ Currently available middlewares: - [`cache`](/docs/middlewares.md#cache): A simple but flexible caching layer - [`cors`](/docs/middlewares.md#cors): Sets CORS headers on response + - [`functionShield`](/docs/middlewares.md#functionshield): Hardens AWS Lambda execution environment - [`doNotWaitForEmptyEventLoop`](/docs/middlewares.md#donotwaitforemptyeventloop): Sets callbackWaitsForEmptyEventLoop property to false - [`httpContentNegotiation`](/docs/middlewares.md#httpcontentnegotiation): Parses `Accept-*` headers and provides utilities for content negotiation (charset, encoding, language and media type) for HTTP requests - [`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.