@vercel/routing-utils
Advanced tools
Comparing version 1.10.2-canary.0 to 1.10.2-canary.1
@@ -97,19 +97,36 @@ /** | ||
items: { | ||
type: string; | ||
additionalProperties: boolean; | ||
required: string[]; | ||
properties: { | ||
type: { | ||
type: string; | ||
enum: string[]; | ||
anyOf: ({ | ||
type: string; | ||
additionalProperties: boolean; | ||
required: string[]; | ||
properties: { | ||
type: { | ||
type: string; | ||
enum: string[]; | ||
}; | ||
value: { | ||
type: string; | ||
maxLength: number; | ||
}; | ||
key?: undefined; | ||
}; | ||
key: { | ||
type: string; | ||
maxLength: number; | ||
} | { | ||
type: string; | ||
additionalProperties: boolean; | ||
required: string[]; | ||
properties: { | ||
type: { | ||
type: string; | ||
enum: string[]; | ||
}; | ||
key: { | ||
type: string; | ||
maxLength: number; | ||
}; | ||
value: { | ||
type: string; | ||
maxLength: number; | ||
}; | ||
}; | ||
value: { | ||
type: string; | ||
maxLength: number; | ||
}; | ||
}; | ||
})[]; | ||
}; | ||
@@ -164,19 +181,36 @@ }; | ||
items: { | ||
type: string; | ||
additionalProperties: boolean; | ||
required: string[]; | ||
properties: { | ||
type: { | ||
type: string; | ||
enum: string[]; | ||
anyOf: ({ | ||
type: string; | ||
additionalProperties: boolean; | ||
required: string[]; | ||
properties: { | ||
type: { | ||
type: string; | ||
enum: string[]; | ||
}; | ||
value: { | ||
type: string; | ||
maxLength: number; | ||
}; | ||
key?: undefined; | ||
}; | ||
key: { | ||
type: string; | ||
maxLength: number; | ||
} | { | ||
type: string; | ||
additionalProperties: boolean; | ||
required: string[]; | ||
properties: { | ||
type: { | ||
type: string; | ||
enum: string[]; | ||
}; | ||
key: { | ||
type: string; | ||
maxLength: number; | ||
}; | ||
value: { | ||
type: string; | ||
maxLength: number; | ||
}; | ||
}; | ||
value: { | ||
type: string; | ||
maxLength: number; | ||
}; | ||
}; | ||
})[]; | ||
}; | ||
@@ -216,19 +250,36 @@ }; | ||
items: { | ||
type: string; | ||
additionalProperties: boolean; | ||
required: string[]; | ||
properties: { | ||
type: { | ||
type: string; | ||
enum: string[]; | ||
anyOf: ({ | ||
type: string; | ||
additionalProperties: boolean; | ||
required: string[]; | ||
properties: { | ||
type: { | ||
type: string; | ||
enum: string[]; | ||
}; | ||
value: { | ||
type: string; | ||
maxLength: number; | ||
}; | ||
key?: undefined; | ||
}; | ||
key: { | ||
type: string; | ||
maxLength: number; | ||
} | { | ||
type: string; | ||
additionalProperties: boolean; | ||
required: string[]; | ||
properties: { | ||
type: { | ||
type: string; | ||
enum: string[]; | ||
}; | ||
key: { | ||
type: string; | ||
maxLength: number; | ||
}; | ||
value: { | ||
type: string; | ||
maxLength: number; | ||
}; | ||
}; | ||
value: { | ||
type: string; | ||
maxLength: number; | ||
}; | ||
}; | ||
})[]; | ||
}; | ||
@@ -274,19 +325,36 @@ }; | ||
items: { | ||
type: string; | ||
additionalProperties: boolean; | ||
required: string[]; | ||
properties: { | ||
type: { | ||
type: string; | ||
enum: string[]; | ||
anyOf: ({ | ||
type: string; | ||
additionalProperties: boolean; | ||
required: string[]; | ||
properties: { | ||
type: { | ||
type: string; | ||
enum: string[]; | ||
}; | ||
value: { | ||
type: string; | ||
maxLength: number; | ||
}; | ||
key?: undefined; | ||
}; | ||
key: { | ||
type: string; | ||
maxLength: number; | ||
} | { | ||
type: string; | ||
additionalProperties: boolean; | ||
required: string[]; | ||
properties: { | ||
type: { | ||
type: string; | ||
enum: string[]; | ||
}; | ||
key: { | ||
type: string; | ||
maxLength: number; | ||
}; | ||
value: { | ||
type: string; | ||
maxLength: number; | ||
}; | ||
}; | ||
value: { | ||
type: string; | ||
maxLength: number; | ||
}; | ||
}; | ||
})[]; | ||
}; | ||
@@ -293,0 +361,0 @@ }; |
@@ -8,19 +8,38 @@ "use strict"; | ||
items: { | ||
type: 'object', | ||
additionalProperties: false, | ||
required: ['type', 'key'], | ||
properties: { | ||
type: { | ||
type: 'string', | ||
enum: ['header', 'cookie', 'query'], | ||
anyOf: [ | ||
{ | ||
type: 'object', | ||
additionalProperties: false, | ||
required: ['type', 'value'], | ||
properties: { | ||
type: { | ||
type: 'string', | ||
enum: ['host'], | ||
}, | ||
value: { | ||
type: 'string', | ||
maxLength: 4096, | ||
}, | ||
}, | ||
}, | ||
key: { | ||
type: 'string', | ||
maxLength: 4096, | ||
{ | ||
type: 'object', | ||
additionalProperties: false, | ||
required: ['type', 'key'], | ||
properties: { | ||
type: { | ||
type: 'string', | ||
enum: ['header', 'cookie', 'query'], | ||
}, | ||
key: { | ||
type: 'string', | ||
maxLength: 4096, | ||
}, | ||
value: { | ||
type: 'string', | ||
maxLength: 4096, | ||
}, | ||
}, | ||
}, | ||
value: { | ||
type: 'string', | ||
maxLength: 4096, | ||
}, | ||
}, | ||
], | ||
}, | ||
@@ -27,0 +46,0 @@ }; |
@@ -11,2 +11,5 @@ import { HandleValue } from './index'; | ||
export declare type HasField = Array<{ | ||
type: 'host'; | ||
value: string; | ||
} | { | ||
type: 'header' | 'cookie' | 'query'; | ||
@@ -13,0 +16,0 @@ key: string; |
{ | ||
"name": "@vercel/routing-utils", | ||
"version": "1.10.2-canary.0", | ||
"version": "1.10.2-canary.1", | ||
"description": "Vercel routing utilities", | ||
@@ -33,3 +33,3 @@ "main": "./dist/index.js", | ||
}, | ||
"gitHead": "be2ae2c5390f5478ffcb186d85c1bb4f73a74c15" | ||
"gitHead": "473159f1da1792badc8e87d6deef28db3ffbbdd8" | ||
} |
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
62202
1471