@tanstack/router-core 1.158.1 → 1.158.4

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.
@@ -234,14 +234,14 @@ class RouterCore {
234
234
  return {
235
235
  href: pathname + searchStr2 + hash,
236
236
  publicHref: href,
237
- pathname: utils.decodePath(pathname),
237
+ pathname: utils.decodePath(pathname).path,
238
238
  external: false,
239
239
  searchStr: searchStr2,
240
240
  search: utils.replaceEqualDeep(
241
241
  previousLocation?.search,
242
242
  parsedSearch2
243
243
  ),
244
- hash: utils.decodePath(hash.slice(1)),
244
+ hash: utils.decodePath(hash.slice(1)).path,
245
245
  state: utils.replaceEqualDeep(previousLocation?.state, state)
246
246
  };
247
247
  }
@@ -254,11 +254,11 @@ class RouterCore {
254
254
  return {
255
255
  href: fullPath,
256
256
  publicHref: href,
257
- pathname: utils.decodePath(url.pathname),
257
+ pathname: utils.decodePath(url.pathname).path,
258
258
  external: !!this.rewrite && url.origin !== this.origin,
259
259
  searchStr,
260
260
  search: utils.replaceEqualDeep(previousLocation?.search, parsedSearch),
261
- hash: utils.decodePath(url.hash.slice(1)),
261
+ hash: utils.decodePath(url.hash.slice(1)).path,
262
262
  state: utils.replaceEqualDeep(previousLocation?.state, state)
263
263
  };
264
264
  };
@@ -385,7 +385,7 @@ class RouterCore {
385
385
  decoder: this.pathParamsDecoder,
386
386
  server: this.isServer
387
387
  }).interpolatedPath
388
- );
388
+ ).path;
389
389
  let nextSearch = fromSearch;
390
390
  if (opts._includeValidateSearch && this.options.search?.strict) {
391
391
  const validatedSearch = {};