@vercel/build-utils 8.4.2 → 8.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/fs/node-version.js +6 -0
- package/dist/index.js +2066 -416
- package/dist/prerender.d.ts +4 -2
- package/dist/prerender.js +22 -1
- package/dist/types.d.ts +11 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# @vercel/build-utils
|
2
2
|
|
3
|
+
## 8.4.4
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- Allow Node.js v22 behind env var feature flag ([#12159](https://github.com/vercel/vercel/pull/12159))
|
8
|
+
|
9
|
+
## 8.4.3
|
10
|
+
|
11
|
+
### Patch Changes
|
12
|
+
|
13
|
+
- Introduce new chain configuration types for Partial Prerendering ([#12063](https://github.com/vercel/vercel/pull/12063))
|
14
|
+
|
3
15
|
## 8.4.2
|
4
16
|
|
5
17
|
### Patch Changes
|
package/dist/fs/node-version.js
CHANGED
@@ -74,6 +74,12 @@ const NODE_VERSIONS = [
|
|
74
74
|
}
|
75
75
|
];
|
76
76
|
function getOptions() {
|
77
|
+
if (process.env.VERCEL_ALLOW_NODEJS22 === "1") {
|
78
|
+
return [
|
79
|
+
{ major: 22, range: "22.x", runtime: "nodejs22.x" },
|
80
|
+
...NODE_VERSIONS
|
81
|
+
];
|
82
|
+
}
|
77
83
|
return NODE_VERSIONS;
|
78
84
|
}
|
79
85
|
function isNodeVersionAvailable(version) {
|