@tanstack/router-core 1.131.24 → 1.131.25

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.
@@ -62,7 +62,6 @@ exports.isModuleNotFoundError = utils.isModuleNotFoundError;
62
62
  exports.isPlainArray = utils.isPlainArray;
63
63
  exports.isPlainObject = utils.isPlainObject;
64
64
  exports.last = utils.last;
65
- exports.pick = utils.pick;
66
65
  exports.replaceEqualDeep = utils.replaceEqualDeep;
67
66
  exports.shallow = utils.shallow;
68
67
  exports.isRedirect = redirect.isRedirect;
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -24,7 +24,7 @@ export { retainSearchParams, stripSearchParams } from './searchMiddleware.cjs';
24
24
  export { defaultParseSearch, defaultStringifySearch, parseSearchWith, stringifySearchWith, } from './searchParams.cjs';
25
25
  export type { SearchSerializer, SearchParser } from './searchParams.cjs';
26
26
  export type { OptionalStructuralSharing } from './structuralSharing.cjs';
27
- export { last, functionalUpdate, pick, replaceEqualDeep, isPlainObject, isPlainArray, deepEqual, escapeJSON, shallow, createControlledPromise, isModuleNotFoundError, } from './utils.cjs';
27
+ export { last, functionalUpdate, replaceEqualDeep, isPlainObject, isPlainArray, deepEqual, escapeJSON, shallow, createControlledPromise, isModuleNotFoundError, } from './utils.cjs';
28
28
  export type { NoInfer, IsAny, PickAsRequired, PickRequired, PickOptional, WithoutEmpty, Expand, DeepPartial, MakeDifferenceOptional, IsUnion, IsNonEmptyObject, Assign, IntersectAssign, Timeout, Updater, NonNullableUpdater, StringLiteral, ThrowOrOptional, ThrowConstraint, ControlledPromise, ExtractObjects, PartialMergeAllObject, MergeAllPrimitive, ExtractPrimitives, PartialMergeAll, Constrain, ConstrainLiteral, UnionToIntersection, MergeAllObjects, MergeAll, ValidateJSON, StrictOrFrom, LooseReturnType, LooseAsyncReturnType, Awaitable, } from './utils.cjs';
29
29
  export type { StandardSchemaValidatorProps, StandardSchemaValidator, AnyStandardSchemaValidator, StandardSchemaValidatorTypes, AnyStandardSchemaValidateSuccess, AnyStandardSchemaValidateFailure, AnyStandardSchemaValidateIssue, AnyStandardSchemaValidateInput, AnyStandardSchemaValidate, ValidatorObj, AnyValidatorObj, ValidatorAdapter, AnyValidatorAdapter, AnyValidatorFn, ValidatorFn, Validator, AnyValidator, AnySchema, DefaultValidator, ResolveSearchValidatorInputFn, ResolveSearchValidatorInput, ResolveValidatorInputFn, ResolveValidatorInput, ResolveValidatorOutputFn, ResolveValidatorOutput, } from './validators.cjs';
30
30
  export type { UseRouteContextBaseOptions, UseRouteContextOptions, UseRouteContextResult, } from './useRouteContext.cjs';
@@ -361,7 +361,7 @@ class RouterCore {
361
361
  if (foundMask) {
362
362
  const { from: _from, ...maskProps } = foundMask;
363
363
  maskedDest = {
364
- ...utils.pick(opts, ["from"]),
364
+ from: opts.from,
365
365
  ...maskProps,
366
366
  params
367
367
  };
@@ -376,7 +376,7 @@ class RouterCore {
376
376
  };
377
377
  if (opts.mask) {
378
378
  return buildWithMatches(opts, {
379
- ...utils.pick(opts, ["from"]),
379
+ from: opts.from,
380
380
  ...opts.mask
381
381
  });
382
382
  }