@tanstack/react-router 1.85.0 → 1.85.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/react-router",
3
- "version": "1.85.0",
3
+ "version": "1.85.2",
4
4
  "description": "Modern and scalable routing for React applications",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
@@ -59,7 +59,7 @@
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.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.84.4"
71
+ "@tanstack/router-generator": "1.85.2"
72
72
  },
73
73
  "peerDependenciesMeta": {
74
74
  "@tanstack/router-generator": {
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
- typeof window.CSS.supports === 'function'
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)',