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

@vercel/routing-utils

Package Overview
Dependencies
Maintainers
13
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.8.3-canary.4 to 1.8.3-canary.5

1

dist/append.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.appendRoutesToPhase = void 0;
const index_1 = require("./index");

@@ -4,0 +5,0 @@ function appendRoutesToPhase({ routes: prevRoutes, newRoutes, phase, }) {

23

dist/index.js
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTransformedRoutes = exports.normalizeRoutes = exports.isValidHandleValue = exports.isHandler = void 0;
const url_1 = require("url");
__export(require("./schemas"));
__exportStar(require("./schemas"), exports);
__exportStar(require("./types"), exports);
const superstatic_1 = require("./superstatic");
var superstatic_2 = require("./superstatic");
exports.getCleanUrls = superstatic_2.getCleanUrls;
Object.defineProperty(exports, "getCleanUrls", { enumerable: true, get: function () { return superstatic_2.getCleanUrls; } });
var merge_1 = require("./merge");
exports.mergeRoutes = merge_1.mergeRoutes;
Object.defineProperty(exports, "mergeRoutes", { enumerable: true, get: function () { return merge_1.mergeRoutes; } });
var append_1 = require("./append");
exports.appendRoutesToPhase = append_1.appendRoutesToPhase;
Object.defineProperty(exports, "appendRoutesToPhase", { enumerable: true, get: function () { return append_1.appendRoutesToPhase; } });
const VALID_HANDLE_VALUES = [

@@ -16,0 +25,0 @@ 'filesystem',

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.mergeRoutes = void 0;
const index_1 = require("./index");

@@ -4,0 +5,0 @@ function getBuilderRoutesMapping(builds) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.trailingSlashSchema = exports.cleanUrlsSchema = exports.headersSchema = exports.redirectsSchema = exports.rewritesSchema = exports.routesSchema = void 0;
/**

@@ -4,0 +5,0 @@ * An ajv schema for the routes array

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.sourceToRegex = exports.convertTrailingSlash = exports.convertHeaders = exports.convertRewrites = exports.convertRedirects = exports.convertCleanUrls = exports.getCleanUrls = void 0;
/**

@@ -4,0 +5,0 @@ * This converts Superstatic configuration to vercel.json Routes

{
"name": "@vercel/routing-utils",
"version": "1.8.3-canary.4",
"version": "1.8.3-canary.5",
"description": "Vercel routing utilities",

@@ -28,3 +28,3 @@ "main": "./dist/index.js",

"ajv": "^6.0.0",
"typescript": "3.5.2"
"typescript": "3.9.3"
},

@@ -34,3 +34,3 @@ "optionalDependencies": {

},
"gitHead": "9d73091d8cd69787de8c8add84668b28c466029a"
"gitHead": "c80bb37e8d66eac83da40746cf1a15ba42d216d8"
}
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