@tanstack/react-router 1.4.3 → 1.4.5

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.
@@ -1024,11 +1024,15 @@
1024
1024
  const {
1025
1025
  pending,
1026
1026
  caseSensitive,
1027
+ fuzzy,
1028
+ includeSearch,
1027
1029
  ...rest
1028
1030
  } = opts;
1029
1031
  return matchRoute(rest, {
1030
1032
  pending,
1031
- caseSensitive
1033
+ caseSensitive,
1034
+ fuzzy,
1035
+ includeSearch
1032
1036
  });
1033
1037
  }, []);
1034
1038
  }
@@ -1427,7 +1431,10 @@
1427
1431
  if (routeSegment) {
1428
1432
  if (routeSegment.type === 'wildcard') {
1429
1433
  if (baseSegment?.value) {
1430
- params['*'] = joinPaths(baseSegments.slice(i).map(d => d.value));
1434
+ const _splat = joinPaths(baseSegments.slice(i).map(d => d.value));
1435
+ // TODO: Deprecate *
1436
+ params['*'] = _splat;
1437
+ params['_splat'] = _splat;
1431
1438
  return true;
1432
1439
  }
1433
1440
  return false;