From d41a625c60a21b30465d23a9a8d7548c0504e859 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sun, 14 Jan 2024 09:33:54 +0000 Subject: [PATCH 1/2] docs(readme): replace `fastify.io` links with `fastify.dev` --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 259c211..58ab93d 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ [![NPM version](https://img.shields.io/npm/v/@fastify/aws-lambda.svg?style=flat)](https://www.npmjs.com/package/@fastify/aws-lambda) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/) -Inspired by the AWSLABS [aws-serverless-express](https://github.com/awslabs/aws-serverless-express) library tailor made for the [Fastify](https://www.fastify.io/) web framework. +Inspired by the AWSLABS [aws-serverless-express](https://github.com/awslabs/aws-serverless-express) library tailor made for the [Fastify](https://www.fastify.dev/) web framework. -**No use of internal sockets, makes use of Fastify's [inject](https://www.fastify.io/docs/latest/Guides/Testing/#testing-with-http-injection) function.** +**No use of internal sockets, makes use of Fastify's [inject](https://www.fastify.dev/docs/latest/Guides/Testing/#testing-with-http-injection) function.** **Seems [faster](https://github.com/fastify/aws-lambda-fastify#some-basic-performance-metrics)** *(as the name implies)* **than [aws-serverless-express](https://github.com/awslabs/aws-serverless-express) and [aws-serverless-fastify](https://github.com/benMain/aws-serverless-fastify) 😉** @@ -110,7 +110,7 @@ app.get('/', (request, reply) => { Since [AWS Lambda now enables the use of ECMAScript (ES) modules](https://aws.amazon.com/blogs/compute/using-node-js-es-modules-and-top-level-await-in-aws-lambda/) in Node.js 14 runtimes, you could lower the cold start latency when used with [Provisioned Concurrency](https://aws.amazon.com/blogs/compute/new-for-aws-lambda-predictable-start-up-times-with-provisioned-concurrency/) thanks to the top-level await functionality. -We can use this by calling the [`fastify.ready()`](https://www.fastify.io/docs/latest/Reference/Server/#ready) function outside of the Lambda handler function, like this: +We can use this by calling the [`fastify.ready()`](https://www.fastify.dev/docs/latest/Reference/Server/#ready) function outside of the Lambda handler function, like this: ```js import awsLambdaFastify from '@fastify/aws-lambda' From ee96b5ac09620c42f64bed013caf7a9708587392 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sun, 14 Jan 2024 09:46:28 +0000 Subject: [PATCH 2/2] docs(readme): remove `www.` from `fastify.dev` urls --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 58ab93d..6a30ba9 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ [![NPM version](https://img.shields.io/npm/v/@fastify/aws-lambda.svg?style=flat)](https://www.npmjs.com/package/@fastify/aws-lambda) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/) -Inspired by the AWSLABS [aws-serverless-express](https://github.com/awslabs/aws-serverless-express) library tailor made for the [Fastify](https://www.fastify.dev/) web framework. +Inspired by the AWSLABS [aws-serverless-express](https://github.com/awslabs/aws-serverless-express) library tailor made for the [Fastify](https://fastify.dev/) web framework. -**No use of internal sockets, makes use of Fastify's [inject](https://www.fastify.dev/docs/latest/Guides/Testing/#testing-with-http-injection) function.** +**No use of internal sockets, makes use of Fastify's [inject](https://fastify.dev/docs/latest/Guides/Testing/#testing-with-http-injection) function.** **Seems [faster](https://github.com/fastify/aws-lambda-fastify#some-basic-performance-metrics)** *(as the name implies)* **than [aws-serverless-express](https://github.com/awslabs/aws-serverless-express) and [aws-serverless-fastify](https://github.com/benMain/aws-serverless-fastify) 😉** @@ -110,7 +110,7 @@ app.get('/', (request, reply) => { Since [AWS Lambda now enables the use of ECMAScript (ES) modules](https://aws.amazon.com/blogs/compute/using-node-js-es-modules-and-top-level-await-in-aws-lambda/) in Node.js 14 runtimes, you could lower the cold start latency when used with [Provisioned Concurrency](https://aws.amazon.com/blogs/compute/new-for-aws-lambda-predictable-start-up-times-with-provisioned-concurrency/) thanks to the top-level await functionality. -We can use this by calling the [`fastify.ready()`](https://www.fastify.dev/docs/latest/Reference/Server/#ready) function outside of the Lambda handler function, like this: +We can use this by calling the [`fastify.ready()`](https://fastify.dev/docs/latest/Reference/Server/#ready) function outside of the Lambda handler function, like this: ```js import awsLambdaFastify from '@fastify/aws-lambda'