@tanstack/router-core 1.129.2 → 1.129.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/router.cjs +1 -1
- package/dist/cjs/router.cjs.map +1 -1
- package/dist/esm/router.js +1 -1
- package/dist/esm/router.js.map +1 -1
- package/package.json +1 -1
- package/src/router.ts +1 -1
package/dist/esm/router.js
CHANGED
|
@@ -1645,7 +1645,7 @@ class RouterCore {
|
|
|
1645
1645
|
return matches;
|
|
1646
1646
|
}
|
|
1647
1647
|
comparePaths(path1, path2) {
|
|
1648
|
-
return path1.replace(
|
|
1648
|
+
return path1.replace(/\/$/, "") === path2.replace(/\/$/, "");
|
|
1649
1649
|
}
|
|
1650
1650
|
}
|
|
1651
1651
|
class SearchParamError extends Error {
|