@vercel/build-utils 5.4.4 → 5.5.1
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/edge-function.d.ts +2 -0
- package/dist/edge-function.js +1 -0
- package/dist/errors.js +2 -2
- package/dist/fs/node-version.js +1 -1
- package/dist/index.js +4 -3
- package/package.json +2 -2
package/dist/edge-function.d.ts
CHANGED
package/dist/edge-function.js
CHANGED
package/dist/errors.js
CHANGED
@@ -33,7 +33,7 @@ function getPrettyError(obj) {
|
|
33
33
|
message += `${ajvMessage}.`;
|
34
34
|
}
|
35
35
|
return new NowBuildError({
|
36
|
-
code: '
|
36
|
+
code: 'INVALID_VERCEL_CONFIG',
|
37
37
|
message: message,
|
38
38
|
link: prop ? `${docsUrl}#project/${prop.toLowerCase()}` : docsUrl,
|
39
39
|
action: 'View Documentation',
|
@@ -41,7 +41,7 @@ function getPrettyError(obj) {
|
|
41
41
|
}
|
42
42
|
catch (e) {
|
43
43
|
return new NowBuildError({
|
44
|
-
code: '
|
44
|
+
code: 'INVALID_VERCEL_CONFIG',
|
45
45
|
message: `Failed to validate configuration.`,
|
46
46
|
link: docsUrl,
|
47
47
|
action: 'View Documentation',
|
package/dist/fs/node-version.js
CHANGED
package/dist/index.js
CHANGED
@@ -30189,6 +30189,7 @@ class EdgeFunction {
|
|
30189
30189
|
this.files = params.files;
|
30190
30190
|
this.envVarsInUse = params.envVarsInUse;
|
30191
30191
|
this.assets = params.assets;
|
30192
|
+
this.regions = params.regions;
|
30192
30193
|
}
|
30193
30194
|
}
|
30194
30195
|
exports.EdgeFunction = EdgeFunction;
|
@@ -30235,7 +30236,7 @@ function getPrettyError(obj) {
|
|
30235
30236
|
message += `${ajvMessage}.`;
|
30236
30237
|
}
|
30237
30238
|
return new NowBuildError({
|
30238
|
-
code: '
|
30239
|
+
code: 'INVALID_VERCEL_CONFIG',
|
30239
30240
|
message: message,
|
30240
30241
|
link: prop ? `${docsUrl}#project/${prop.toLowerCase()}` : docsUrl,
|
30241
30242
|
action: 'View Documentation',
|
@@ -30243,7 +30244,7 @@ function getPrettyError(obj) {
|
|
30243
30244
|
}
|
30244
30245
|
catch (e) {
|
30245
30246
|
return new NowBuildError({
|
30246
|
-
code: '
|
30247
|
+
code: 'INVALID_VERCEL_CONFIG',
|
30247
30248
|
message: `Failed to validate configuration.`,
|
30248
30249
|
link: docsUrl,
|
30249
30250
|
action: 'View Documentation',
|
@@ -30710,7 +30711,7 @@ const allOptions = [
|
|
30710
30711
|
major: 12,
|
30711
30712
|
range: '12.x',
|
30712
30713
|
runtime: 'nodejs12.x',
|
30713
|
-
discontinueDate: new Date('2022-10-
|
30714
|
+
discontinueDate: new Date('2022-10-03'),
|
30714
30715
|
},
|
30715
30716
|
{
|
30716
30717
|
major: 10,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vercel/build-utils",
|
3
|
-
"version": "5.
|
3
|
+
"version": "5.5.1",
|
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": "bf5cfa9a41f8c1f9e2a3d3fc30735708ca72ad09"
|
51
51
|
}
|