@vercel/routing-utils 2.1.8 → 2.1.10

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/schemas.d.ts CHANGED
@@ -153,6 +153,12 @@ export declare const routesSchema: {
153
153
  readonly middlewarePath: {
154
154
  readonly type: "string";
155
155
  };
156
+ readonly middlewareRawSrc: {
157
+ readonly type: "array";
158
+ readonly items: {
159
+ readonly type: "string";
160
+ };
161
+ };
156
162
  readonly has: {
157
163
  readonly description: "An array of requirements that are needed to match";
158
164
  readonly type: "array";
package/dist/schemas.js CHANGED
@@ -153,6 +153,12 @@ exports.routesSchema = {
153
153
  },
154
154
  middleware: { type: 'number' },
155
155
  middlewarePath: { type: 'string' },
156
+ middlewareRawSrc: {
157
+ type: 'array',
158
+ items: {
159
+ type: 'string',
160
+ },
161
+ },
156
162
  has: exports.hasSchema,
157
163
  missing: exports.hasSchema,
158
164
  },
package/dist/types.d.ts CHANGED
@@ -39,6 +39,10 @@ export declare type RouteWithSrc = {
39
39
  * Overrides a `middleware` definition.
40
40
  */
41
41
  middlewarePath?: string;
42
+ /**
43
+ * The original middleware matchers.
44
+ */
45
+ middlewareRawSrc?: string[];
42
46
  /**
43
47
  * A middleware index in the `middleware` key under the build result
44
48
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/routing-utils",
3
- "version": "2.1.8",
3
+ "version": "2.1.10",
4
4
  "description": "Vercel routing utilities",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -30,5 +30,5 @@
30
30
  "optionalDependencies": {
31
31
  "ajv": "^6.0.0"
32
32
  },
33
- "gitHead": "b5cdc82a1cca4d0b3369490f8a19fd8f8478fe94"
33
+ "gitHead": "e0f8bc98202146eda0f2b85efac74b803654e786"
34
34
  }