@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.
- package/dist/cjs/index.cjs +0 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +1 -1
- package/dist/cjs/router.cjs +2 -2
- package/dist/cjs/router.cjs.map +1 -1
- package/dist/cjs/utils.cjs +0 -7
- package/dist/cjs/utils.cjs.map +1 -1
- package/dist/cjs/utils.d.cts +0 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -2
- package/dist/esm/router.js +3 -3
- package/dist/esm/router.js.map +1 -1
- package/dist/esm/utils.d.ts +0 -1
- package/dist/esm/utils.js +0 -7
- package/dist/esm/utils.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +0 -1
- package/src/router.ts +2 -3
- package/src/utils.ts +0 -10
package/dist/cjs/index.cjs
CHANGED
|
@@ -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;
|
package/dist/cjs/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/cjs/index.d.cts
CHANGED
|
@@ -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,
|
|
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';
|
package/dist/cjs/router.cjs
CHANGED
|
@@ -361,7 +361,7 @@ class RouterCore {
|
|
|
361
361
|
if (foundMask) {
|
|
362
362
|
const { from: _from, ...maskProps } = foundMask;
|
|
363
363
|
maskedDest = {
|
|
364
|
-
|
|
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
|
-
|
|
379
|
+
from: opts.from,
|
|
380
380
|
...opts.mask
|
|
381
381
|
});
|
|
382
382
|
}
|