@vercel/build-utils 13.34.0 → 13.36.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 CHANGED
@@ -1,5 +1,22 @@
1
1
  # @vercel/build-utils
2
2
 
3
+ ## 13.36.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 4502520: Support Node.js Routing Middleware entrypoints through `proxy.entrypoint`, with optional path matching through `proxy.matcher`. The matcher may be configured in the entrypoint source or `vercel.json`, but not both.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [6aa29e5]
12
+ - @vercel/python-analysis@0.12.0
13
+
14
+ ## 13.35.0
15
+
16
+ ### Minor Changes
17
+
18
+ - 7dd4301: Make service bindings type optional.
19
+
3
20
  ## 13.34.0
4
21
 
5
22
  ### Minor Changes
package/dist/types.d.ts CHANGED
@@ -44,6 +44,10 @@ export interface Config {
44
44
  framework?: string | null;
45
45
  nodeVersion?: string;
46
46
  middleware?: boolean;
47
+ /** Enforced runtime for explicitly configured Routing Middleware. */
48
+ middlewareRuntime?: 'nodejs';
49
+ /** Matcher supplied outside of the middleware source module. */
50
+ middlewareMatcher?: string | string[];
47
51
  /** Owning service name; scopes per-function config such as the v2beta consumer. */
48
52
  serviceName?: string;
49
53
  [key: string]: unknown;
@@ -853,8 +857,8 @@ export type ExperimentalServices = Record<string, ExperimentalServiceConfig>;
853
857
  */
854
858
  export type ExperimentalServiceGroups = Record<string, string[]>;
855
859
  export interface ServiceBinding {
856
- /** Must be `"service"` for Service-to-Service HTTP bindings. */
857
- type: 'service';
860
+ /** If present, must be `"service"` for Service-to-Service HTTP bindings. */
861
+ type?: 'service';
858
862
  /** Target service name from `services`. */
859
863
  service: string;
860
864
  /** Generated value shape, must be `"url"`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/build-utils",
3
- "version": "13.34.0",
3
+ "version": "13.36.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.1"
16
+ "@vercel/python-analysis": "0.12.0"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@types/async-retry": "^1.2.1",