@vercel/build-utils 13.19.1 → 13.21.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 +21 -0
- package/dist/collect-build-result/stream-with-extended-payload.d.ts +0 -1
- package/dist/collect-build-result/validate-regular-file.d.ts +0 -1
- package/dist/collect-uncompressed-size.d.ts +1 -1
- package/dist/deserialize/deserialize-build-output-types.d.ts +57 -0
- package/dist/deserialize/deserialize-build-output-types.js +16 -0
- package/dist/deserialize/deserialize-build-output.d.ts +4 -0
- package/dist/deserialize/deserialize-build-output.js +297 -0
- package/dist/file-blob.d.ts +0 -2
- package/dist/file-blob.js +3 -1
- package/dist/file-fs-ref.d.ts +0 -1
- package/dist/file-ref.d.ts +0 -1
- package/dist/finalize-lambda.d.ts +0 -1
- package/dist/fs/run-user-scripts.d.ts +0 -2
- package/dist/fs/stream-to-buffer.d.ts +0 -2
- package/dist/fs/stream-to-buffer.js +8 -3
- package/dist/fs/stream-to-digest-async.d.ts +0 -2
- package/dist/fs/stream-to-digest-async.js +4 -3
- package/dist/index.d.ts +2 -0
- package/dist/index.js +591 -321
- package/dist/lambda.d.ts +0 -1
- package/dist/package-manifest.d.ts +1 -0
- package/dist/schemas.d.ts +4 -0
- package/dist/schemas.js +4 -0
- package/dist/types.d.ts +0 -2
- package/dist/validate-lambda-size.d.ts +0 -1
- package/package.json +4 -5
package/dist/lambda.d.ts
CHANGED
package/dist/schemas.d.ts
CHANGED
|
@@ -140,6 +140,10 @@ export declare const packageManifestSchema: {
|
|
|
140
140
|
readonly type: "string";
|
|
141
141
|
readonly description: "Runtime identifier, e.g. \"python\", \"node\".";
|
|
142
142
|
};
|
|
143
|
+
readonly framework: {
|
|
144
|
+
readonly type: "string";
|
|
145
|
+
readonly description: "Detected framework slug, e.g. \"fastapi\", \"flask\", \"hono\".";
|
|
146
|
+
};
|
|
143
147
|
readonly runtimeVersion: {
|
|
144
148
|
readonly type: "object";
|
|
145
149
|
readonly additionalProperties: false;
|
package/dist/schemas.js
CHANGED
|
@@ -187,6 +187,10 @@ const packageManifestSchema = {
|
|
|
187
187
|
type: "string",
|
|
188
188
|
description: 'Runtime identifier, e.g. "python", "node".'
|
|
189
189
|
},
|
|
190
|
+
framework: {
|
|
191
|
+
type: "string",
|
|
192
|
+
description: 'Detected framework slug, e.g. "fastapi", "flask", "hono".'
|
|
193
|
+
},
|
|
190
194
|
runtimeVersion: {
|
|
191
195
|
type: "object",
|
|
192
196
|
additionalProperties: false,
|
package/dist/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/build-utils",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.21.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.js",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"cjs-module-lexer": "1.2.3",
|
|
15
15
|
"es-module-lexer": "1.5.0",
|
|
16
|
-
"@vercel/python-analysis": "0.11.
|
|
16
|
+
"@vercel/python-analysis": "0.11.1"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"bytes": "3.1.2",
|
|
@@ -52,12 +52,11 @@
|
|
|
52
52
|
"multistream": "2.1.1",
|
|
53
53
|
"node-fetch": "2.6.7",
|
|
54
54
|
"semver": "6.3.1",
|
|
55
|
-
"typescript": "4.9.5",
|
|
56
55
|
"yazl": "2.5.1",
|
|
57
56
|
"vitest": "2.0.1",
|
|
58
57
|
"json5": "2.2.3",
|
|
59
|
-
"@vercel/error-utils": "2.0
|
|
60
|
-
"@vercel/routing-utils": "6.
|
|
58
|
+
"@vercel/error-utils": "2.1.0",
|
|
59
|
+
"@vercel/routing-utils": "6.2.0"
|
|
61
60
|
},
|
|
62
61
|
"scripts": {
|
|
63
62
|
"build": "node build.mjs",
|