@vercel/build-utils 7.4.0 → 7.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.
- package/CHANGELOG.md +12 -0
- package/dist/edge-function.d.ts +3 -2
- package/dist/fs/node-version.js +1 -1
- package/dist/index.js +1 -1
- package/dist/types.d.ts +5 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# @vercel/build-utils
|
2
2
|
|
3
|
+
## 7.5.0
|
4
|
+
|
5
|
+
### Minor Changes
|
6
|
+
|
7
|
+
- Deprecate `EdgeFunction#name` property ([#11010](https://github.com/vercel/vercel/pull/11010))
|
8
|
+
|
9
|
+
## 7.4.1
|
10
|
+
|
11
|
+
### Patch Changes
|
12
|
+
|
13
|
+
- Extend Node v16 discontinue date to 2024-06-15 ([#10967](https://github.com/vercel/vercel/pull/10967))
|
14
|
+
|
3
15
|
## 7.4.0
|
4
16
|
|
5
17
|
### Minor Changes
|
package/dist/edge-function.d.ts
CHANGED
@@ -6,11 +6,12 @@ export declare class EdgeFunction {
|
|
6
6
|
type: 'EdgeFunction';
|
7
7
|
/**
|
8
8
|
* A display name for the edge function.
|
9
|
+
* @deprecated This property should no longer be used. The name is inferred from the URL path of the function.
|
9
10
|
*/
|
10
|
-
name
|
11
|
+
name?: string;
|
11
12
|
/**
|
12
13
|
* The deployment target.
|
13
|
-
* Only v8-worker is currently supported.
|
14
|
+
* Only `v8-worker` is currently supported.
|
14
15
|
*/
|
15
16
|
deploymentTarget: 'v8-worker';
|
16
17
|
/**
|
package/dist/fs/node-version.js
CHANGED
package/dist/index.js
CHANGED
@@ -21600,7 +21600,7 @@ var NODE_VERSIONS = [
|
|
21600
21600
|
major: 16,
|
21601
21601
|
range: "16.x",
|
21602
21602
|
runtime: "nodejs16.x",
|
21603
|
-
discontinueDate: /* @__PURE__ */ new Date("2024-
|
21603
|
+
discontinueDate: /* @__PURE__ */ new Date("2024-06-15")
|
21604
21604
|
},
|
21605
21605
|
{
|
21606
21606
|
major: 14,
|
package/dist/types.d.ts
CHANGED
@@ -171,6 +171,11 @@ export interface StartDevServerSuccess {
|
|
171
171
|
* shut down the dev server once an HTTP request has been fulfilled.
|
172
172
|
*/
|
173
173
|
pid: number;
|
174
|
+
/**
|
175
|
+
* An optional function to shut down the dev server. If not provided, the
|
176
|
+
* dev server will forcefully be killed.
|
177
|
+
*/
|
178
|
+
shutdown?: () => Promise<void>;
|
174
179
|
}
|
175
180
|
/**
|
176
181
|
* `startDevServer()` may return `null` to opt-out of spawning a dev server for
|