@tanstack/react-router
Advanced tools
Comparing version 1.57.12 to 1.57.13
@@ -414,3 +414,3 @@ import { createMemoryHistory, createBrowserHistory, parseHref } from "@tanstack/history"; | ||
}; | ||
this.navigate = ({ to, __isRedirect, ...rest }) => { | ||
this.navigate = ({ to, ...rest }) => { | ||
const toString = String(to); | ||
@@ -531,3 +531,2 @@ let isExternal; | ||
replace: true, | ||
__isRedirect: true, | ||
ignoreBlocker: true | ||
@@ -534,0 +533,0 @@ }); |
@@ -22,5 +22,3 @@ import { NavigateOptions, ToOptions } from './link.js'; | ||
} | ||
export type NavigateFn = <TRouter extends RegisteredRouter, TTo extends string | undefined, TFrom extends RoutePaths<TRouter['routeTree']> | string = string, TMaskFrom extends RoutePaths<TRouter['routeTree']> | string = TFrom, TMaskTo extends string = ''>(opts: NavigateOptions<TRouter, TFrom, TTo, TMaskFrom, TMaskTo> & { | ||
__isRedirect?: boolean; | ||
}) => Promise<void>; | ||
export type NavigateFn = <TRouter extends RegisteredRouter, TTo extends string | undefined, TFrom extends RoutePaths<TRouter['routeTree']> | string = string, TMaskFrom extends RoutePaths<TRouter['routeTree']> | string = TFrom, TMaskTo extends string = ''>(opts: NavigateOptions<TRouter, TFrom, TTo, TMaskFrom, TMaskTo>) => Promise<void>; | ||
export type BuildLocationFn = <TRouter extends RegisteredRouter, TTo extends string | undefined, TFrom extends RoutePaths<TRouter['routeTree']> | string = string, TMaskFrom extends RoutePaths<TRouter['routeTree']> | string = TFrom, TMaskTo extends string = ''>(opts: ToOptions<TRouter, TFrom, TTo, TMaskFrom, TMaskTo> & { | ||
@@ -27,0 +25,0 @@ leaveParams?: boolean; |
{ | ||
"name": "@tanstack/react-router", | ||
"version": "1.57.12", | ||
"version": "1.57.13", | ||
"description": "Modern and scalable routing for React applications", | ||
@@ -69,3 +69,3 @@ "author": "Tanner Linsley", | ||
"react-dom": ">=18", | ||
"@tanstack/router-generator": "1.57.9" | ||
"@tanstack/router-generator": "1.57.13" | ||
}, | ||
@@ -72,0 +72,0 @@ "peerDependenciesMeta": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1510454
18871