Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vercel/routing-utils

Package Overview
Dependencies
Maintainers
79
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vercel/routing-utils - npm Package Compare versions

Comparing version 1.11.4-canary.4 to 1.11.4-canary.5

180

dist/schemas.d.ts

@@ -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 @@ };

4

dist/schemas.js

@@ -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 {

4

package.json
{
"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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc