@tanstack/router-core 1.129.0 → 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/cjs/router.d.cts +4 -10
- package/dist/esm/router.d.ts +4 -10
- package/dist/esm/router.js +1 -1
- package/dist/esm/router.js.map +1 -1
- package/package.json +1 -1
- package/src/router.ts +6 -12
package/dist/cjs/router.cjs
CHANGED
|
@@ -1647,7 +1647,7 @@ class RouterCore {
|
|
|
1647
1647
|
return matches;
|
|
1648
1648
|
}
|
|
1649
1649
|
comparePaths(path1, path2) {
|
|
1650
|
-
return path1.replace(
|
|
1650
|
+
return path1.replace(/\/$/, "") === path2.replace(/\/$/, "");
|
|
1651
1651
|
}
|
|
1652
1652
|
}
|
|
1653
1653
|
class SearchParamError extends Error {
|