@vercel/build-utils
Advanced tools
Comparing version 5.5.8 to 5.5.9
import { NodeVersion } from '../types'; | ||
export declare function getLatestNodeVersion(): { | ||
readonly major: 16; | ||
readonly range: "16.x"; | ||
readonly runtime: "nodejs16.x"; | ||
} | { | ||
readonly major: 18; | ||
@@ -8,0 +4,0 @@ readonly range: "18.x"; |
@@ -12,2 +12,3 @@ "use strict"; | ||
const options = [ | ||
{ major: 18, range: '18.x', runtime: 'nodejs18.x' }, | ||
{ major: 16, range: '16.x', runtime: 'nodejs16.x' }, | ||
@@ -34,8 +35,2 @@ { major: 14, range: '14.x', runtime: 'nodejs14.x' }, | ||
]; | ||
if (process.env.VERCEL_ALLOW_NODEJS18 === '1') { | ||
return [ | ||
{ major: 18, range: '18.x', runtime: 'nodejs18.x' }, | ||
...options, | ||
]; | ||
} | ||
return options; | ||
@@ -42,0 +37,0 @@ } |
{ | ||
"name": "@vercel/build-utils", | ||
"version": "5.5.8", | ||
"version": "5.5.9", | ||
"license": "MIT", | ||
@@ -50,3 +50,3 @@ "main": "./dist/index.js", | ||
}, | ||
"gitHead": "74593e4d813cb3f9ae5bb44878461355c3a86849" | ||
"gitHead": "7003531d5db7895fc3b2fa940c2d83b6e75bbd9e" | ||
} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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 1 instance in 1 package
21
1528632
31398