@tanstack/router-core 1.132.0-alpha.15 → 1.132.0-alpha.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/router-core",
3
- "version": "1.132.0-alpha.15",
3
+ "version": "1.132.0-alpha.18",
4
4
  "description": "Modern and scalable routing for React applications",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
package/src/path.ts CHANGED
@@ -397,6 +397,10 @@ export function interpolatePath({
397
397
 
398
398
  if (segment.type === SEGMENT_TYPE_WILDCARD) {
399
399
  usedParams._splat = params._splat
400
+
401
+ // TODO: Deprecate *
402
+ usedParams['*'] = params._splat
403
+
400
404
  const segmentPrefix = segment.prefixSegment || ''
401
405
  const segmentSuffix = segment.suffixSegment || ''
402
406
 
package/src/router.ts CHANGED
@@ -1720,8 +1720,7 @@ export class RouterCore<
1720
1720
  }
1721
1721
 
1722
1722
  if (maskedNext) {
1723
- const maskedFinal = build(maskedDest)
1724
- next.maskedLocation = maskedFinal
1723
+ next.maskedLocation = maskedNext
1725
1724
  }
1726
1725
 
1727
1726
  return next