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

navi

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

navi - npm Package Compare versions

Comparing version 0.10.9 to 0.10.10

14

dist/commonjs/Maps.d.ts

@@ -5,12 +5,12 @@ import { Route, PageRoute, RedirectRoute } from './Route';

}
export interface SiteMap {
redirects: RedirectMap;
pages: PageMap;
export interface SiteMap<Meta extends object = any, Content extends object = any> {
redirects: RedirectMap<any>;
pages: PageMap<Meta, Content>;
}
export interface PageMap {
[url: string]: PageRoute;
export interface PageMap<Meta extends object = any, Content extends object = any> {
[url: string]: PageRoute<Meta, Content>;
}
export interface RedirectMap {
[url: string]: RedirectRoute;
export interface RedirectMap<Meta extends object = any> {
[url: string]: RedirectRoute<Meta>;
}
export declare function isRouteMapSteady(routeMap: RouteMap): boolean;

@@ -5,12 +5,12 @@ import { Route, PageRoute, RedirectRoute } from './Route';

}
export interface SiteMap {
redirects: RedirectMap;
pages: PageMap;
export interface SiteMap<Meta extends object = any, Content extends object = any> {
redirects: RedirectMap<any>;
pages: PageMap<Meta, Content>;
}
export interface PageMap {
[url: string]: PageRoute;
export interface PageMap<Meta extends object = any, Content extends object = any> {
[url: string]: PageRoute<Meta, Content>;
}
export interface RedirectMap {
[url: string]: RedirectRoute;
export interface RedirectMap<Meta extends object = any> {
[url: string]: RedirectRoute<Meta>;
}
export declare function isRouteMapSteady(routeMap: RouteMap): boolean;
{
"name": "navi",
"version": "0.10.9",
"version": "0.10.10",
"description": "A router-loader for React.",

@@ -5,0 +5,0 @@ "author": "James K Nelson <james@jamesknelson.com>",

@@ -7,13 +7,13 @@ import { Route, PageRoute, RedirectRoute } from './Route'

export interface SiteMap {
redirects: RedirectMap
pages: PageMap
export interface SiteMap<Meta extends object = any, Content extends object = any> {
redirects: RedirectMap<any>
pages: PageMap<Meta, Content>
}
export interface PageMap {
[url: string]: PageRoute
export interface PageMap<Meta extends object = any, Content extends object = any> {
[url: string]: PageRoute<Meta, Content>
}
export interface RedirectMap {
[url: string]: RedirectRoute
export interface RedirectMap<Meta extends object = any> {
[url: string]: RedirectRoute<Meta>
}

@@ -20,0 +20,0 @@

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