@vercel/build-utils 5.5.8 → 5.5.9
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/dist/fs/node-version.d.ts +0 -4
- package/dist/fs/node-version.js +1 -6
- package/dist/index.js +1 -6
- package/package.json +2 -2
package/dist/fs/node-version.js
CHANGED
@@ -9,6 +9,7 @@ const errors_1 = require("../errors");
|
|
9
9
|
const debug_1 = __importDefault(require("../debug"));
|
10
10
|
function getOptions() {
|
11
11
|
const options = [
|
12
|
+
{ major: 18, range: '18.x', runtime: 'nodejs18.x' },
|
12
13
|
{ major: 16, range: '16.x', runtime: 'nodejs16.x' },
|
13
14
|
{ major: 14, range: '14.x', runtime: 'nodejs14.x' },
|
14
15
|
{
|
@@ -30,12 +31,6 @@ function getOptions() {
|
|
30
31
|
discontinueDate: new Date('2020-01-06'),
|
31
32
|
},
|
32
33
|
];
|
33
|
-
if (process.env.VERCEL_ALLOW_NODEJS18 === '1') {
|
34
|
-
return [
|
35
|
-
{ major: 18, range: '18.x', runtime: 'nodejs18.x' },
|
36
|
-
...options,
|
37
|
-
];
|
38
|
-
}
|
39
34
|
return options;
|
40
35
|
}
|
41
36
|
function getHint(isAuto = false) {
|
package/dist/index.js
CHANGED
@@ -30708,6 +30708,7 @@ const errors_1 = __webpack_require__(3983);
|
|
30708
30708
|
const debug_1 = __importDefault(__webpack_require__(1868));
|
30709
30709
|
function getOptions() {
|
30710
30710
|
const options = [
|
30711
|
+
{ major: 18, range: '18.x', runtime: 'nodejs18.x' },
|
30711
30712
|
{ major: 16, range: '16.x', runtime: 'nodejs16.x' },
|
30712
30713
|
{ major: 14, range: '14.x', runtime: 'nodejs14.x' },
|
30713
30714
|
{
|
@@ -30729,12 +30730,6 @@ function getOptions() {
|
|
30729
30730
|
discontinueDate: new Date('2020-01-06'),
|
30730
30731
|
},
|
30731
30732
|
];
|
30732
|
-
if (process.env.VERCEL_ALLOW_NODEJS18 === '1') {
|
30733
|
-
return [
|
30734
|
-
{ major: 18, range: '18.x', runtime: 'nodejs18.x' },
|
30735
|
-
...options,
|
30736
|
-
];
|
30737
|
-
}
|
30738
30733
|
return options;
|
30739
30734
|
}
|
30740
30735
|
function getHint(isAuto = false) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vercel/build-utils",
|
3
|
-
"version": "5.5.
|
3
|
+
"version": "5.5.9",
|
4
4
|
"license": "MIT",
|
5
5
|
"main": "./dist/index.js",
|
6
6
|
"types": "./dist/index.d.js",
|
@@ -47,5 +47,5 @@
|
|
47
47
|
"typescript": "4.3.4",
|
48
48
|
"yazl": "2.5.1"
|
49
49
|
},
|
50
|
-
"gitHead": "
|
50
|
+
"gitHead": "7003531d5db7895fc3b2fa940c2d83b6e75bbd9e"
|
51
51
|
}
|