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

@swan-io/chicane

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swan-io/chicane - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

1

dist/createRouter.d.ts
import { ExtractRoutesParams, GetNestedRoutes, ParamsArg, PrependBasePath, Simplify } from "./types";
export declare const createRouter: <Routes extends Record<string, string>, BasePath extends string = string>(routes: Readonly<Routes>, options?: {
basePath?: BasePath;
blockerMessage?: string;
}) => {

@@ -6,0 +5,0 @@ useRoute: <RouteName extends keyof GetNestedRoutes<PrependBasePath<Routes, BasePath>> | Exclude<keyof Routes, keyof GetNestedRoutes<PrependBasePath<Routes, BasePath>>>>(routeNames: readonly RouteName[]) => RouteName extends string ? {

6

package.json
{
"name": "@swan-io/chicane",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",
"description": "A simple and safe router for React and TypeScript",
"author": "Mathieu Acthernoene <mathieu.acthernoene@swan.io>",
"homepage": "https://github.com/swan-io/chicane#readme",
"homepage": "https://swan-io.github.io/chicane",
"repository": {

@@ -54,3 +54,3 @@ "type": "git",

"history": "^5.3.0",
"use-sync-external-store": "1.0.0-rc.2 || ^1.0.0"
"use-sync-external-store": "^1.0.0"
},

@@ -57,0 +57,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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