@tanstack/router-core 1.130.7 → 1.130.8

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/router-core",
3
- "version": "1.130.7",
3
+ "version": "1.130.8",
4
4
  "description": "Modern and scalable routing for React applications",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
package/src/router.ts CHANGED
@@ -2862,8 +2862,8 @@ export class RouterCore<
2862
2862
  const isError = d.status === 'error'
2863
2863
  if (isError) return true
2864
2864
 
2865
- const isStale = Date.now() - d.updatedAt >= gcTime
2866
- return isStale
2865
+ const gcEligible = Date.now() - d.updatedAt >= gcTime
2866
+ return gcEligible
2867
2867
  }
2868
2868
  this.clearCache({ filter })
2869
2869
  }