@tanstack/react-router
Advanced tools
Comparing version 1.36.3 to 1.38.1
@@ -765,3 +765,3 @@ import { createBrowserHistory, createMemoryHistory } from "@tanstack/history"; | ||
rendered = true; | ||
err = this.resolveRedirect(err); | ||
err = this.resolveRedirect({ ...err, _fromLocation: location }); | ||
throw err; | ||
@@ -1148,3 +1148,4 @@ } else if (isNotFound(err)) { | ||
} | ||
const baseLocation = (opts == null ? void 0 : opts.pending) ? this.latestLocation : this.state.resolvedLocation; | ||
const pending = (opts == null ? void 0 : opts.pending) === void 0 ? !this.state.isLoading : opts.pending; | ||
const baseLocation = pending ? this.latestLocation : this.state.resolvedLocation; | ||
const match = matchPathname(this.basepath, baseLocation.pathname, { | ||
@@ -1151,0 +1152,0 @@ ...opts, |
{ | ||
"name": "@tanstack/react-router", | ||
"version": "1.36.3", | ||
"version": "1.38.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "Tanner Linsley", |
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
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
1377470
16874