@vercel/routing-utils
Advanced tools
Comparing version 1.11.4-canary.4 to 1.11.4-canary.5
@@ -195,2 +195,47 @@ export declare const hasSchema: { | ||
}; | ||
readonly missing: { | ||
readonly description: "An array of requirements that are needed to match"; | ||
readonly type: "array"; | ||
readonly maxItems: 16; | ||
readonly items: { | ||
readonly anyOf: readonly [{ | ||
readonly type: "object"; | ||
readonly additionalProperties: false; | ||
readonly required: readonly ["type", "value"]; | ||
readonly properties: { | ||
readonly type: { | ||
readonly description: "The type of request element to check"; | ||
readonly type: "string"; | ||
readonly enum: readonly ["host"]; | ||
}; | ||
readonly value: { | ||
readonly description: "A regular expression used to match the value. Named groups can be used in the destination"; | ||
readonly type: "string"; | ||
readonly maxLength: 4096; | ||
}; | ||
}; | ||
}, { | ||
readonly type: "object"; | ||
readonly additionalProperties: false; | ||
readonly required: readonly ["type", "key"]; | ||
readonly properties: { | ||
readonly type: { | ||
readonly description: "The type of request element to check"; | ||
readonly type: "string"; | ||
readonly enum: readonly ["header", "cookie", "query"]; | ||
}; | ||
readonly key: { | ||
readonly description: "The name of the element contained in the particular type"; | ||
readonly type: "string"; | ||
readonly maxLength: 4096; | ||
}; | ||
readonly value: { | ||
readonly description: "A regular expression used to match the value. Named groups can be used in the destination"; | ||
readonly type: "string"; | ||
readonly maxLength: 4096; | ||
}; | ||
}; | ||
}]; | ||
}; | ||
}; | ||
}; | ||
@@ -275,2 +320,47 @@ }, { | ||
}; | ||
readonly missing: { | ||
readonly description: "An array of requirements that are needed to match"; | ||
readonly type: "array"; | ||
readonly maxItems: 16; | ||
readonly items: { | ||
readonly anyOf: readonly [{ | ||
readonly type: "object"; | ||
readonly additionalProperties: false; | ||
readonly required: readonly ["type", "value"]; | ||
readonly properties: { | ||
readonly type: { | ||
readonly description: "The type of request element to check"; | ||
readonly type: "string"; | ||
readonly enum: readonly ["host"]; | ||
}; | ||
readonly value: { | ||
readonly description: "A regular expression used to match the value. Named groups can be used in the destination"; | ||
readonly type: "string"; | ||
readonly maxLength: 4096; | ||
}; | ||
}; | ||
}, { | ||
readonly type: "object"; | ||
readonly additionalProperties: false; | ||
readonly required: readonly ["type", "key"]; | ||
readonly properties: { | ||
readonly type: { | ||
readonly description: "The type of request element to check"; | ||
readonly type: "string"; | ||
readonly enum: readonly ["header", "cookie", "query"]; | ||
}; | ||
readonly key: { | ||
readonly description: "The name of the element contained in the particular type"; | ||
readonly type: "string"; | ||
readonly maxLength: 4096; | ||
}; | ||
readonly value: { | ||
readonly description: "A regular expression used to match the value. Named groups can be used in the destination"; | ||
readonly type: "string"; | ||
readonly maxLength: 4096; | ||
}; | ||
}; | ||
}]; | ||
}; | ||
}; | ||
}; | ||
@@ -354,2 +444,47 @@ }; | ||
}; | ||
readonly missing: { | ||
readonly description: "An array of requirements that are needed to match"; | ||
readonly type: "array"; | ||
readonly maxItems: 16; | ||
readonly items: { | ||
readonly anyOf: readonly [{ | ||
readonly type: "object"; | ||
readonly additionalProperties: false; | ||
readonly required: readonly ["type", "value"]; | ||
readonly properties: { | ||
readonly type: { | ||
readonly description: "The type of request element to check"; | ||
readonly type: "string"; | ||
readonly enum: readonly ["host"]; | ||
}; | ||
readonly value: { | ||
readonly description: "A regular expression used to match the value. Named groups can be used in the destination"; | ||
readonly type: "string"; | ||
readonly maxLength: 4096; | ||
}; | ||
}; | ||
}, { | ||
readonly type: "object"; | ||
readonly additionalProperties: false; | ||
readonly required: readonly ["type", "key"]; | ||
readonly properties: { | ||
readonly type: { | ||
readonly description: "The type of request element to check"; | ||
readonly type: "string"; | ||
readonly enum: readonly ["header", "cookie", "query"]; | ||
}; | ||
readonly key: { | ||
readonly description: "The name of the element contained in the particular type"; | ||
readonly type: "string"; | ||
readonly maxLength: 4096; | ||
}; | ||
readonly value: { | ||
readonly description: "A regular expression used to match the value. Named groups can be used in the destination"; | ||
readonly type: "string"; | ||
readonly maxLength: 4096; | ||
}; | ||
}; | ||
}]; | ||
}; | ||
}; | ||
}; | ||
@@ -437,2 +572,47 @@ }; | ||
}; | ||
readonly missing: { | ||
readonly description: "An array of requirements that are needed to match"; | ||
readonly type: "array"; | ||
readonly maxItems: 16; | ||
readonly items: { | ||
readonly anyOf: readonly [{ | ||
readonly type: "object"; | ||
readonly additionalProperties: false; | ||
readonly required: readonly ["type", "value"]; | ||
readonly properties: { | ||
readonly type: { | ||
readonly description: "The type of request element to check"; | ||
readonly type: "string"; | ||
readonly enum: readonly ["host"]; | ||
}; | ||
readonly value: { | ||
readonly description: "A regular expression used to match the value. Named groups can be used in the destination"; | ||
readonly type: "string"; | ||
readonly maxLength: 4096; | ||
}; | ||
}; | ||
}, { | ||
readonly type: "object"; | ||
readonly additionalProperties: false; | ||
readonly required: readonly ["type", "key"]; | ||
readonly properties: { | ||
readonly type: { | ||
readonly description: "The type of request element to check"; | ||
readonly type: "string"; | ||
readonly enum: readonly ["header", "cookie", "query"]; | ||
}; | ||
readonly key: { | ||
readonly description: "The name of the element contained in the particular type"; | ||
readonly type: "string"; | ||
readonly maxLength: 4096; | ||
}; | ||
readonly value: { | ||
readonly description: "A regular expression used to match the value. Named groups can be used in the destination"; | ||
readonly type: "string"; | ||
readonly maxLength: 4096; | ||
}; | ||
}; | ||
}]; | ||
}; | ||
}; | ||
}; | ||
@@ -439,0 +619,0 @@ }; |
@@ -155,2 +155,3 @@ "use strict"; | ||
has: exports.hasSchema, | ||
missing: exports.hasSchema, | ||
}, | ||
@@ -193,2 +194,3 @@ }, | ||
has: exports.hasSchema, | ||
missing: exports.hasSchema, | ||
}, | ||
@@ -228,2 +230,3 @@ }, | ||
has: exports.hasSchema, | ||
missing: exports.hasSchema, | ||
}, | ||
@@ -267,2 +270,3 @@ }, | ||
has: exports.hasSchema, | ||
missing: exports.hasSchema, | ||
}, | ||
@@ -269,0 +273,0 @@ }, |
@@ -31,2 +31,3 @@ import { HandleValue } from './index'; | ||
has?: HasField; | ||
missing?: HasField; | ||
locale?: { | ||
@@ -75,2 +76,3 @@ redirect?: Record<string, string>; | ||
has?: HasField; | ||
missing?: HasField; | ||
} | ||
@@ -83,2 +85,3 @@ export interface Redirect { | ||
has?: HasField; | ||
missing?: HasField; | ||
} | ||
@@ -89,2 +92,3 @@ export interface Header { | ||
has?: HasField; | ||
missing?: HasField; | ||
} | ||
@@ -91,0 +95,0 @@ export interface HeaderKeyValue { |
{ | ||
"name": "@vercel/routing-utils", | ||
"version": "1.11.4-canary.4", | ||
"version": "1.11.4-canary.5", | ||
"description": "Vercel routing utilities", | ||
@@ -33,3 +33,3 @@ "main": "./dist/index.js", | ||
}, | ||
"gitHead": "9e16ce750b285b8f5bc9a01aa8b99028287ad147" | ||
"gitHead": "cd7185a872a5767cfc010b849a4064cbc4e9f679" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
87439
1821