@vercel/build-utils 13.1.2 → 13.2.0

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
+ ## 13.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Remove env var check for node24 ([#14355](https://github.com/vercel/vercel/pull/14355))
8
+
3
9
  ## 13.1.2
4
10
 
5
11
  ### Patch Changes
@@ -45,6 +45,11 @@ var import_types = require("../types");
45
45
  var import_errors = require("../errors");
46
46
  var import_debug = __toESM(require("../debug"));
47
47
  const NODE_VERSIONS = [
48
+ new import_types.NodeVersion({
49
+ major: 24,
50
+ range: "24.x",
51
+ runtime: "nodejs24.x"
52
+ }),
48
53
  new import_types.NodeVersion({
49
54
  major: 22,
50
55
  range: "22.x",
@@ -103,16 +108,6 @@ function getNodeVersionByMajor(major) {
103
108
  return getOptions().find((v) => v.major === major);
104
109
  }
105
110
  function getOptions() {
106
- if (process.env.VERCEL_ALLOW_NODEJS_24 === "1") {
107
- return [
108
- new import_types.NodeVersion({
109
- major: 24,
110
- range: "24.x",
111
- runtime: "nodejs24.x"
112
- }),
113
- ...NODE_VERSIONS
114
- ];
115
- }
116
111
  return NODE_VERSIONS;
117
112
  }
118
113
  function isNodeVersionAvailable(version) {
package/dist/index.js CHANGED
@@ -22967,6 +22967,11 @@ var BunVersion = class extends Version {
22967
22967
 
22968
22968
  // src/fs/node-version.ts
22969
22969
  var NODE_VERSIONS = [
22970
+ new NodeVersion({
22971
+ major: 24,
22972
+ range: "24.x",
22973
+ runtime: "nodejs24.x"
22974
+ }),
22970
22975
  new NodeVersion({
22971
22976
  major: 22,
22972
22977
  range: "22.x",
@@ -23022,16 +23027,6 @@ var BUN_VERSIONS = [
23022
23027
  })
23023
23028
  ];
23024
23029
  function getOptions() {
23025
- if (process.env.VERCEL_ALLOW_NODEJS_24 === "1") {
23026
- return [
23027
- new NodeVersion({
23028
- major: 24,
23029
- range: "24.x",
23030
- runtime: "nodejs24.x"
23031
- }),
23032
- ...NODE_VERSIONS
23033
- ];
23034
- }
23035
23030
  return NODE_VERSIONS;
23036
23031
  }
23037
23032
  function isNodeVersionAvailable(version) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/build-utils",
3
- "version": "13.1.2",
3
+ "version": "13.2.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.js",