@tanstack/router-core 1.139.11 → 1.139.13

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.
@@ -398,11 +398,16 @@ class RouterCore {
398
398
  );
399
399
  if (match) {
400
400
  Object.assign(params, match.params);
401
- const { from: _from, ...maskProps } = match.route;
401
+ const {
402
+ from: _from,
403
+ params: maskParams,
404
+ ...maskProps
405
+ } = match.route;
406
+ const nextParams = maskParams === false || maskParams === null ? {} : (maskParams ?? true) === true ? params : Object.assign(params, utils.functionalUpdate(maskParams, params));
402
407
  maskedDest = {
403
408
  from: opts.from,
404
409
  ...maskProps,
405
- params
410
+ params: nextParams
406
411
  };
407
412
  maskedNext = build(maskedDest);
408
413
  }