@vercel/build-utils 8.4.3 → 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 CHANGED
@@ -1,5 +1,11 @@
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
+
3
9
  ## 8.4.3
4
10
 
5
11
  ### Patch Changes
@@ -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) {
package/dist/index.js CHANGED
@@ -23292,6 +23292,12 @@ var NODE_VERSIONS = [
23292
23292
  }
23293
23293
  ];
23294
23294
  function getOptions() {
23295
+ if (process.env.VERCEL_ALLOW_NODEJS22 === "1") {
23296
+ return [
23297
+ { major: 22, range: "22.x", runtime: "nodejs22.x" },
23298
+ ...NODE_VERSIONS
23299
+ ];
23300
+ }
23295
23301
  return NODE_VERSIONS;
23296
23302
  }
23297
23303
  function isNodeVersionAvailable(version) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/build-utils",
3
- "version": "8.4.3",
3
+ "version": "8.4.4",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.js",