Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@vercel/routing-utils

Package Overview
Dependencies
Maintainers
2
Versions
106
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
6.0.0
to
6.0.1
+2
-2
dist/index.d.ts

@@ -1,2 +0,2 @@

import { GetRoutesProps, NormalizedRoutes, Route, RouteWithHandle } from './types';
import { GetRoutesProps, NormalizedRoutes, Route, RouteInput, RouteWithHandle } from './types';
export { appendRoutesToPhase } from './append';

@@ -12,3 +12,3 @@ export { mergeRoutes } from './merge';

export declare function isValidHandleValue(handle: string): handle is HandleValue;
export declare function normalizeRoutes(inputRoutes: Route[] | null): NormalizedRoutes;
export declare function normalizeRoutes(inputRoutes: RouteInput[] | null): NormalizedRoutes;
export declare function getTransformedRoutes(vercelConfig: GetRoutesProps): NormalizedRoutes;

@@ -110,2 +110,6 @@ import { HandleValue } from './index';

export type Route = RouteWithSrc | RouteWithHandle;
export type RouteInput = RouteWithSrc | (Omit<RouteWithSrc, 'src'> & {
src?: undefined;
source: string;
}) | RouteWithHandle;
export type NormalizedRoutes = {

@@ -116,3 +120,3 @@ routes: Route[] | null;

export interface GetRoutesProps {
routes?: Route[];
routes?: RouteInput[];
cleanUrls?: boolean;

@@ -119,0 +123,0 @@ rewrites?: Rewrite[];

{
"name": "@vercel/routing-utils",
"version": "6.0.0",
"version": "6.0.1",
"description": "Vercel routing utilities",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",