@vercel/build-utils 7.4.1 → 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 +6 -0
- package/dist/edge-function.d.ts +3 -2
- package/dist/types.d.ts +5 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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/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
|