@vercel/build-utils 6.7.2 → 6.7.4
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/CHANGELOG.md +13 -0
- package/dist/edge-function.d.ts +0 -5
- package/dist/edge-function.js +0 -1
- package/dist/fs/node-version.js +12 -2
- package/dist/index.js +158 -3345
- package/package.json +8 -9
package/CHANGELOG.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# @vercel/build-utils
|
2
|
+
|
3
|
+
## 6.7.4
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- Remove usage of `env` from Edge Functions and Middleware ([#10018](https://github.com/vercel/vercel/pull/10018))
|
8
|
+
|
9
|
+
## 6.7.3
|
10
|
+
|
11
|
+
### Patch Changes
|
12
|
+
|
13
|
+
- Deprecate Node.js 14.x and 16.x with warning ([#9976](https://github.com/vercel/vercel/pull/9976))
|
package/dist/edge-function.d.ts
CHANGED
@@ -21,11 +21,6 @@ export declare class EdgeFunction {
|
|
21
21
|
* The list of files to be included in the edge function bundle.
|
22
22
|
*/
|
23
23
|
files: Files;
|
24
|
-
/**
|
25
|
-
* Extra environment variables in use for the user code, to be
|
26
|
-
* assigned to the edge function.
|
27
|
-
*/
|
28
|
-
envVarsInUse?: string[];
|
29
24
|
/**
|
30
25
|
* Extra binary files to be included in the edge function
|
31
26
|
*/
|
package/dist/edge-function.js
CHANGED
@@ -11,7 +11,6 @@ class EdgeFunction {
|
|
11
11
|
this.deploymentTarget = params.deploymentTarget;
|
12
12
|
this.entrypoint = params.entrypoint;
|
13
13
|
this.files = params.files;
|
14
|
-
this.envVarsInUse = params.envVarsInUse;
|
15
14
|
this.assets = params.assets;
|
16
15
|
this.regions = params.regions;
|
17
16
|
this.framework = params.framework;
|
package/dist/fs/node-version.js
CHANGED
@@ -10,8 +10,18 @@ const debug_1 = __importDefault(require("../debug"));
|
|
10
10
|
function getOptions() {
|
11
11
|
const options = [
|
12
12
|
{ major: 18, range: '18.x', runtime: 'nodejs18.x' },
|
13
|
-
{
|
14
|
-
|
13
|
+
{
|
14
|
+
major: 16,
|
15
|
+
range: '16.x',
|
16
|
+
runtime: 'nodejs16.x',
|
17
|
+
discontinueDate: new Date('2023-08-15'),
|
18
|
+
},
|
19
|
+
{
|
20
|
+
major: 14,
|
21
|
+
range: '14.x',
|
22
|
+
runtime: 'nodejs14.x',
|
23
|
+
discontinueDate: new Date('2023-08-15'),
|
24
|
+
},
|
15
25
|
{
|
16
26
|
major: 12,
|
17
27
|
range: '12.x',
|