@tanstack/query-core
Advanced tools
Comparing version 5.59.12 to 5.59.13
@@ -321,3 +321,5 @@ import { | ||
case "pending": | ||
finalizeThenableIfPossible(prevThenable); | ||
if (query.queryHash === prevQuery.queryHash) { | ||
finalizeThenableIfPossible(prevThenable); | ||
} | ||
break; | ||
@@ -324,0 +326,0 @@ case "fulfilled": |
@@ -362,3 +362,5 @@ // src/queryObserver.ts | ||
case "pending": | ||
finalizeThenableIfPossible(prevThenable); | ||
if (query.queryHash === prevQuery.queryHash) { | ||
finalizeThenableIfPossible(prevThenable); | ||
} | ||
break; | ||
@@ -365,0 +367,0 @@ case "fulfilled": |
{ | ||
"name": "@tanstack/query-core", | ||
"version": "5.59.12", | ||
"version": "5.59.13", | ||
"description": "The framework agnostic core that powers TanStack Query", | ||
@@ -5,0 +5,0 @@ "author": "tannerlinsley", |
@@ -624,3 +624,6 @@ import { focusManager } from './focusManager' | ||
// Finalize the previous thenable if it was pending | ||
finalizeThenableIfPossible(prevThenable) | ||
// and we are still observing the same query | ||
if (query.queryHash === prevQuery.queryHash) { | ||
finalizeThenableIfPossible(prevThenable) | ||
} | ||
break | ||
@@ -627,0 +630,0 @@ case 'fulfilled': |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2104502
29989
20