@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/dist/lambda.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import type { Config, Env, Files, FunctionFramework, MaxDuration, TriggerEvent, TriggerEventInput } from './types';
3
2
  export type { TriggerEvent, TriggerEventInput };
4
3
  /**
@@ -11,6 +11,7 @@ export interface PackageManifestDependency {
11
11
  export interface PackageManifest {
12
12
  version?: string;
13
13
  runtime: string;
14
+ framework?: string;
14
15
  runtimeVersion?: {
15
16
  requested?: string;
16
17
  requestedSource?: string;
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
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
1
  import type FileRef from './file-ref';
4
2
  import type FileFsRef from './file-fs-ref';
5
3
  import type FileBlob from './file-blob';
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { NowBuildError } from './errors';
3
2
  /**
4
3
  * Max compressed ZIP size (300 MB).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/build-utils",
3
- "version": "13.19.1",
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.0"
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.3",
60
- "@vercel/routing-utils": "6.1.1"
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",