@tanstack/react-router 1.85.0 → 1.85.3
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.d.cts +1 -1
- package/dist/cjs/router.cjs +3 -1
- package/dist/cjs/router.cjs.map +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/router.js +3 -1
- package/dist/esm/router.js.map +1 -1
- package/package.json +4 -4
- package/src/index.tsx +7 -1
- package/src/router.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/react-router",
|
|
3
|
-
"version": "1.85.
|
|
3
|
+
"version": "1.85.3",
|
|
4
4
|
"description": "Modern and scalable routing for React applications",
|
|
5
5
|
"author": "Tanner Linsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
"jsesc": "^3.0.2",
|
|
54
54
|
"tiny-invariant": "^1.3.3",
|
|
55
55
|
"tiny-warning": "^1.0.3",
|
|
56
|
-
"@tanstack/history": "1.
|
|
56
|
+
"@tanstack/history": "1.85.3"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@testing-library/jest-dom": "^6.6.3",
|
|
60
60
|
"@testing-library/react": "^16.0.1",
|
|
61
61
|
"@types/jsesc": "^3.0.3",
|
|
62
|
-
"@vitejs/plugin-react": "^4.3.
|
|
62
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
63
63
|
"combinate": "^1.1.11",
|
|
64
64
|
"react": "^18.2.0",
|
|
65
65
|
"react-dom": "^18.2.0",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"react": ">=18",
|
|
70
70
|
"react-dom": ">=18",
|
|
71
|
-
"@tanstack/router-generator": "1.
|
|
71
|
+
"@tanstack/router-generator": "1.85.3"
|
|
72
72
|
},
|
|
73
73
|
"peerDependenciesMeta": {
|
|
74
74
|
"@tanstack/router-generator": {
|
package/src/index.tsx
CHANGED
|
@@ -344,7 +344,13 @@ export type { NotFoundError } from './not-found'
|
|
|
344
344
|
export type { Manifest, RouterManagedTag } from './manifest'
|
|
345
345
|
|
|
346
346
|
export { createControlledPromise } from './utils'
|
|
347
|
-
export type {
|
|
347
|
+
export type {
|
|
348
|
+
ControlledPromise,
|
|
349
|
+
Constrain,
|
|
350
|
+
Expand,
|
|
351
|
+
MergeAll,
|
|
352
|
+
Assign,
|
|
353
|
+
} from './utils'
|
|
348
354
|
|
|
349
355
|
export type {
|
|
350
356
|
ResolveValidatorInput,
|
package/src/router.ts
CHANGED
|
@@ -878,7 +878,8 @@ export class Router<
|
|
|
878
878
|
if (
|
|
879
879
|
typeof window !== 'undefined' &&
|
|
880
880
|
'CSS' in window &&
|
|
881
|
-
|
|
881
|
+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
882
|
+
typeof window.CSS?.supports === 'function'
|
|
882
883
|
) {
|
|
883
884
|
this.isViewTransitionTypesSupported = window.CSS.supports(
|
|
884
885
|
'selector(:active-view-transition-type(a)',
|