@vercel/build-utils
Advanced tools
+6
-0
| # @vercel/build-utils | ||
| ## 12.2.2 | ||
| ### Patch Changes | ||
| - Allow Node.js 24 behind env var feature flag ([#14160](https://github.com/vercel/vercel/pull/14160)) | ||
| ## 12.2.1 | ||
@@ -4,0 +10,0 @@ |
@@ -103,5 +103,15 @@ "use strict"; | ||
| function getNodeVersionByMajor(major) { | ||
| return NODE_VERSIONS.find((v) => v.major === major); | ||
| return getOptions().find((v) => v.major === major); | ||
| } | ||
| function getOptions() { | ||
| if (process.env.VERCEL_ALLOW_NODEJS_24 === "1") { | ||
| return [ | ||
| new import_types.NodeVersion({ | ||
| major: 24, | ||
| range: "24.x", | ||
| runtime: "nodejs24.x" | ||
| }), | ||
| ...NODE_VERSIONS | ||
| ]; | ||
| } | ||
| return NODE_VERSIONS; | ||
@@ -108,0 +118,0 @@ } |
+1
-1
| { | ||
| "name": "@vercel/build-utils", | ||
| "version": "12.2.1", | ||
| "version": "12.2.2", | ||
| "license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is too big to display
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 10 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 3 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 9 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 3 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1363294
0.04%31192
0.06%39
2.63%