From ba983ffedcefa9885ca301d6034bbd56c9d4701a Mon Sep 17 00:00:00 2001 From: Nate Moore Date: Mon, 11 Jul 2022 11:32:53 -0500 Subject: [PATCH] fix(#3071): update supported node versions (#3871) Co-authored-by: Nate Moore --- astro.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/astro.js b/astro.js index d763b03020fa..66bba7cc434e 100755 --- a/astro.js +++ b/astro.js @@ -50,7 +50,7 @@ async function main() { // it's okay to hard-code the valid Node versions here since they will not change over time. if (typeof require === 'undefined') { console.error(`\nNode.js v${version} is not supported by Astro! -Please upgrade to a version of Node.js with complete ESM support: "^14.15.0 || >=16.0.0"\n`); +Please upgrade to a version of Node.js with complete ESM support: "^14.20.0 || >=16.16.0"\n`); } // Not supported: Report the most helpful error message possible. diff --git a/package.json b/package.json index 3a75922f9fca..78f443ac7f5d 100644 --- a/package.json +++ b/package.json @@ -169,7 +169,7 @@ "srcset-parse": "^1.1.0" }, "engines": { - "node": "^14.15.0 || >=16.0.0", + "node": "^14.20.0 || >=16.16.0", "npm": ">=6.14.0" } }