Skip to content

Commit 1cc5b78

Browse files
authored
fix(#3071): update supported node versions (#3871)
Co-authored-by: Nate Moore <nate@astro.build>
1 parent cb6a973 commit 1cc5b78

File tree

15 files changed

+28
-14
lines changed

15 files changed

+28
-14
lines changed

.changeset/modern-chicken-cry.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
'@astrojs/prism': minor
3+
'create-astro': minor
4+
'@astrojs/mdx': minor
5+
'@astrojs/preact': minor
6+
'@astrojs/react': minor
7+
'@astrojs/solid-js': minor
8+
'@astrojs/svelte': minor
9+
'@astrojs/vue': minor
10+
'@astrojs/telemetry': minor
11+
'astro': patch
12+
---
13+
14+
Update supported `node` versions. Minimum versions are now `node@14.20.0` or `node@16.16.0`.

.github/ISSUE_TEMPLATE/---01-bug-report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ body:
1111
Thank you for taking the time to file a bug report! Please fill out this form as completely as possible.
1212
1313
✅ I am using the **latest version of Astro** and all plugins.
14-
✅ I am using a version of Node that supports ESM (`v14.15.0+`, or `v16.0.0+`)
14+
✅ I am using a version of Node that supports ESM (`v14.20.0+`, or `v16.16.0+`)
1515
- type: input
1616
id: astro-version
1717
attributes:

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ We welcome contributions of any size and skill level. As an open source project,
1010
### Prerequisite
1111

1212
```shell
13-
node: "^14.15.0 || >=16.0.0"
13+
node: "^14.20.0 || >=16.16.0"
1414
pnpm: "^7.5.0"
1515
# otherwise, your build will fail
1616
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"packages/astro/test/fixtures/static build/pkg"
4343
],
4444
"engines": {
45-
"node": "^14.15.0 || >=16.0.0",
45+
"node": "^14.20.0 || >=16.16.0",
4646
"pnpm": ">=7.5.0"
4747
},
4848
"packageManager": "pnpm@7.5.0",

packages/astro-prism/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"prismjs": "^1.28.0"
2424
},
2525
"engines": {
26-
"node": "^14.15.0 || >=16.0.0"
26+
"node": "^14.20.0 || >=16.16.0"
2727
}
2828
}

packages/astro/astro.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ async function main() {
5050
// it's okay to hard-code the valid Node versions here since they will not change over time.
5151
if (typeof require === 'undefined') {
5252
console.error(`\nNode.js v${version} is not supported by Astro!
53-
Please upgrade to a version of Node.js with complete ESM support: "^14.15.0 || >=16.0.0"\n`);
53+
Please upgrade to a version of Node.js with complete ESM support: "^14.20.0 || >=16.16.0"\n`);
5454
}
5555

5656
// Not supported: Report the most helpful error message possible.

packages/astro/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
"srcset-parse": "^1.1.0"
170170
},
171171
"engines": {
172-
"node": "^14.15.0 || >=16.0.0",
172+
"node": "^14.20.0 || >=16.16.0",
173173
"npm": ">=6.14.0"
174174
}
175175
}

packages/create-astro/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
"uvu": "^0.5.3"
5151
},
5252
"engines": {
53-
"node": "^14.15.0 || >=16.0.0"
53+
"node": "^14.20.0 || >=16.16.0"
5454
}
5555
}

packages/integrations/mdx/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@
4343
"linkedom": "^0.14.12"
4444
},
4545
"engines": {
46-
"node": "^14.15.0 || >=16.0.0"
46+
"node": "^14.20.0 || >=16.16.0"
4747
}
4848
}

packages/integrations/preact/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@
4444
"preact": "^10.6.5"
4545
},
4646
"engines": {
47-
"node": "^14.15.0 || >=16.0.0"
47+
"node": "^14.20.0 || >=16.16.0"
4848
}
4949
}

0 commit comments

Comments
 (0)