@vercel/build-utils 5.4.4 → 5.5.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.
@@ -33,5 +33,7 @@ export declare class EdgeFunction {
33
33
  name: string;
34
34
  path: string;
35
35
  }[];
36
+ /** The regions where the edge function will be executed on */
37
+ regions?: 'auto' | string[] | 'all' | 'default';
36
38
  constructor(params: Omit<EdgeFunction, 'type'>);
37
39
  }
@@ -13,6 +13,7 @@ class EdgeFunction {
13
13
  this.files = params.files;
14
14
  this.envVarsInUse = params.envVarsInUse;
15
15
  this.assets = params.assets;
16
+ this.regions = params.regions;
16
17
  }
17
18
  }
18
19
  exports.EdgeFunction = EdgeFunction;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/build-utils",
3
- "version": "5.4.4",
3
+ "version": "5.5.0",
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": "27f4034bdce427953fea094b1c4dfbfb00342b54"
50
+ "gitHead": "a825bc95409aa1403e062e45afebe194c8197061"
51
51
  }