From a1a7c57e40180a427c60a03a507a5a84c2f9b91b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Tue, 30 Apr 2024 10:12:04 -0400 Subject: [PATCH 1/2] Bump Babel 8 node.js requirements --- docs/v8-migration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/v8-migration.md b/docs/v8-migration.md index a2e58e9903..4bfdd5bab1 100644 --- a/docs/v8-migration.md +++ b/docs/v8-migration.md @@ -13,9 +13,9 @@ Refer users to this document when upgrading to Babel 8 from Babel 7. If you are ### Node.js support -All Babel 8 packages require Node.js `^16.20.0 || ^18.16.0 || >=20.0.0`. +All Babel 8 packages require Node.js `^18.20.0 || ^20.10.0 || >= 21.0.0`. -We highly encourage you to use a newer version of Node.js (LTS v18) since the previous versions are not maintained. +We highly encourage you to use a newer version of Node.js (LTS v20) since the previous versions are not maintained. See [nodejs/Release](https://github.com/nodejs/Release) for more information. This just means Babel _itself_ won't run on older versions of Node. It can still _output_ code that runs on old Node versions. From 46475be80e4ae52adb5559b087ad01bfadd70221 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Tue, 30 Apr 2024 10:14:20 -0400 Subject: [PATCH 2/2] Update docs/v8-migration.md --- docs/v8-migration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/v8-migration.md b/docs/v8-migration.md index 4bfdd5bab1..7d1327979e 100644 --- a/docs/v8-migration.md +++ b/docs/v8-migration.md @@ -13,7 +13,7 @@ Refer users to this document when upgrading to Babel 8 from Babel 7. If you are ### Node.js support -All Babel 8 packages require Node.js `^18.20.0 || ^20.10.0 || >= 21.0.0`. +All Babel 8 packages require Node.js `^18.20.0 || ^20.10.0 || >=21.0.0`. We highly encourage you to use a newer version of Node.js (LTS v20) since the previous versions are not maintained. See [nodejs/Release](https://github.com/nodejs/Release) for more information.