@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/dist/cjs/router.cjs +2 -2
- package/dist/cjs/router.cjs.map +1 -1
- package/dist/esm/router.js +2 -2
- package/dist/esm/router.js.map +1 -1
- package/package.json +1 -1
- package/src/router.ts +2 -2
package/package.json
CHANGED
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
|
|
2866
|
-
return
|
|
2865
|
+
const gcEligible = Date.now() - d.updatedAt >= gcTime
|
|
2866
|
+
return gcEligible
|
|
2867
2867
|
}
|
|
2868
2868
|
this.clearCache({ filter })
|
|
2869
2869
|
}
|