From 9a321633b679dce63c2dd8cb937e1c723497221c Mon Sep 17 00:00:00 2001 From: David Dooley Date: Wed, 24 Jan 2024 23:08:30 +0000 Subject: [PATCH 1/5] Update README.md with Node 18 Warning Added warning message to README about Node18 release. --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9962fa89..ef0658b1 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,12 @@ [Twilio Functions](https://www.twilio.com/functions) are a serverless environment to build and run Twilio applications so you can get to production faster. You provide the Node.js code to perform the task you need and Twilio runs it. You can read [more about Twilio Functions and how to use them in the introductory blog post](https://www.twilio.com/blog/2017/05/introducing-twilio-functions.html). -## This repo +### WARNING !!! +### This Repo is now out of date. -This repo is intended to be a collection of useful Twilio Functions that are tested and documented. The intention is that you can take any of these Functions and drop them into a project, confident they will work, whether you are a developer looking for a particular building block or a builder who just needs a particular Function. These templates are also available through `twilio-run new` inside the [`twilio-run`](https://npm.im/twilio-run) CLI. +With the release of Node v18, the Node.js ecosystem is migrating over from the old CommonJS (CJS) standard to the newer, ES Modules (ESM) standard. You can read about the differences in far more detail in this [blog Post.](https://redfin.engineering/node-modules-at-war-why-commonjs-and-es-modules-cant-get-along-9617135eeca1). The following snippets may causes errors. + +These templates are also available through `twilio-run new` inside the [`twilio-run`](https://npm.im/twilio-run) CLI. ## Usage @@ -32,4 +35,4 @@ This project welcomes contributions. Please check out our [Contributing guide](d ## License -MIT © Twilio Inc. \ No newline at end of file +MIT © Twilio Inc. From 6d4d9dbc009e7a9c69fca8282594ded083bdeb4d Mon Sep 17 00:00:00 2001 From: David Dooley Date: Thu, 1 Feb 2024 16:04:05 +0000 Subject: [PATCH 2/5] Removed the warning comment from README.md Removed the warning comment from README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index ef0658b1..e8a9f8b5 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ [Twilio Functions](https://www.twilio.com/functions) are a serverless environment to build and run Twilio applications so you can get to production faster. You provide the Node.js code to perform the task you need and Twilio runs it. You can read [more about Twilio Functions and how to use them in the introductory blog post](https://www.twilio.com/blog/2017/05/introducing-twilio-functions.html). -### WARNING !!! ### This Repo is now out of date. With the release of Node v18, the Node.js ecosystem is migrating over from the old CommonJS (CJS) standard to the newer, ES Modules (ESM) standard. You can read about the differences in far more detail in this [blog Post.](https://redfin.engineering/node-modules-at-war-why-commonjs-and-es-modules-cant-get-along-9617135eeca1). The following snippets may causes errors. From d0b1d5c4f517bd8fa4dba7fcb9bd4b974fa4d6dc Mon Sep 17 00:00:00 2001 From: David Dooley Date: Fri, 15 Mar 2024 10:55:04 +0000 Subject: [PATCH 3/5] Update README.md Removed warning about repo being out of date --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e8a9f8b5..c5ded37a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [Twilio Functions](https://www.twilio.com/functions) are a serverless environment to build and run Twilio applications so you can get to production faster. You provide the Node.js code to perform the task you need and Twilio runs it. You can read [more about Twilio Functions and how to use them in the introductory blog post](https://www.twilio.com/blog/2017/05/introducing-twilio-functions.html). -### This Repo is now out of date. +### Warning With the release of Node v18, the Node.js ecosystem is migrating over from the old CommonJS (CJS) standard to the newer, ES Modules (ESM) standard. You can read about the differences in far more detail in this [blog Post.](https://redfin.engineering/node-modules-at-war-why-commonjs-and-es-modules-cant-get-along-9617135eeca1). The following snippets may causes errors. From 4cb4594f6d26a7764d145507eb0c5a5ff4dc3d76 Mon Sep 17 00:00:00 2001 From: David Dooley Date: Fri, 15 Mar 2024 10:57:16 +0000 Subject: [PATCH 4/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c5ded37a..388491e8 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ ### Warning -With the release of Node v18, the Node.js ecosystem is migrating over from the old CommonJS (CJS) standard to the newer, ES Modules (ESM) standard. You can read about the differences in far more detail in this [blog Post.](https://redfin.engineering/node-modules-at-war-why-commonjs-and-es-modules-cant-get-along-9617135eeca1). The following snippets may causes errors. +With the release of Node v18, the Node.js ecosystem is migrating over from the old CommonJS (CJS) standard to the newer, ES Modules (ESM) standard. Using ESM modules in CJS code is not possible. You can read about the differences in far more detail in this [blog Post.](https://redfin.engineering/node-modules-at-war-why-commonjs-and-es-modules-cant-get-along-9617135eeca1). The following snippets may causes errors. These templates are also available through `twilio-run new` inside the [`twilio-run`](https://npm.im/twilio-run) CLI. From 505b610ec11ebad2260dbf9bfb469c8259e0251c Mon Sep 17 00:00:00 2001 From: David Dooley Date: Fri, 15 Mar 2024 11:00:37 +0000 Subject: [PATCH 5/5] Changed warning README.md Removed Warning and replaced with "Attention" --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 388491e8..29fdc3d8 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [Twilio Functions](https://www.twilio.com/functions) are a serverless environment to build and run Twilio applications so you can get to production faster. You provide the Node.js code to perform the task you need and Twilio runs it. You can read [more about Twilio Functions and how to use them in the introductory blog post](https://www.twilio.com/blog/2017/05/introducing-twilio-functions.html). -### Warning +###Attention With the release of Node v18, the Node.js ecosystem is migrating over from the old CommonJS (CJS) standard to the newer, ES Modules (ESM) standard. Using ESM modules in CJS code is not possible. You can read about the differences in far more detail in this [blog Post.](https://redfin.engineering/node-modules-at-war-why-commonjs-and-es-modules-cant-get-along-9617135eeca1). The following snippets may causes errors.