@vercel/build-utils 14.21.2 → 14.21.3
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/types.d.ts +5 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @vercel/build-utils
|
|
2
2
|
|
|
3
|
+
## 14.21.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- bb42e81: Display the edge middleware deprecation warning in yellow with a bold WARNING! prefix during builds and at `vercel dev` startup. Add an optional builder hook for detecting startup warnings without starting a development server.
|
|
8
|
+
|
|
3
9
|
## 14.21.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/types.d.ts
CHANGED
|
@@ -544,6 +544,8 @@ export interface DevManifest {
|
|
|
544
544
|
* explicitly empty manifest is authoritative and must not enable that fallback.
|
|
545
545
|
*/
|
|
546
546
|
export type GetDevManifest = (options: GetDevManifestOptions) => Promise<DevManifest>;
|
|
547
|
+
/** Return plain-text startup warnings without starting a development server. */
|
|
548
|
+
export type GetDevWarnings = (options: BuildOptions) => Promise<string[]>;
|
|
547
549
|
export interface BuilderVX {
|
|
548
550
|
version: -1;
|
|
549
551
|
build: BuildVX;
|
|
@@ -553,6 +555,7 @@ export interface BuilderVX {
|
|
|
553
555
|
startDevServer?: StartDevServer;
|
|
554
556
|
getDevSidecars?: GetDevSidecars;
|
|
555
557
|
getDevManifest?: GetDevManifest;
|
|
558
|
+
getDevWarnings?: GetDevWarnings;
|
|
556
559
|
}
|
|
557
560
|
export interface BuilderV2 {
|
|
558
561
|
version: 2;
|
|
@@ -563,6 +566,7 @@ export interface BuilderV2 {
|
|
|
563
566
|
startDevServer?: StartDevServer;
|
|
564
567
|
getDevSidecars?: GetDevSidecars;
|
|
565
568
|
getDevManifest?: GetDevManifest;
|
|
569
|
+
getDevWarnings?: GetDevWarnings;
|
|
566
570
|
}
|
|
567
571
|
export interface BuilderV3 {
|
|
568
572
|
version: 3;
|
|
@@ -573,6 +577,7 @@ export interface BuilderV3 {
|
|
|
573
577
|
startDevServer?: StartDevServer;
|
|
574
578
|
getDevSidecars?: GetDevSidecars;
|
|
575
579
|
getDevManifest?: GetDevManifest;
|
|
580
|
+
getDevWarnings?: GetDevWarnings;
|
|
576
581
|
}
|
|
577
582
|
type ImageFormat = 'image/avif' | 'image/webp';
|
|
578
583
|
type ImageContentDispositionType = 'inline' | 'attachment';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/build-utils",
|
|
3
|
-
"version": "14.21.
|
|
3
|
+
"version": "14.21.3",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.js",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"vitest": "4.1.10",
|
|
53
53
|
"typescript": "4.9.5",
|
|
54
54
|
"yazl": "2.5.1",
|
|
55
|
-
"@vercel/
|
|
56
|
-
"@vercel/
|
|
55
|
+
"@vercel/routing-utils": "6.6.0",
|
|
56
|
+
"@vercel/error-utils": "2.2.1"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"build": "node build.mjs",
|