@tanstack/query-core
Advanced tools
Comparing version 5.0.5 to 5.4.3
@@ -79,3 +79,3 @@ import { | ||
const cachedData = this.getQueryData(options.queryKey); | ||
return cachedData ? Promise.resolve(cachedData) : this.fetchQuery(options); | ||
return cachedData !== void 0 ? Promise.resolve(cachedData) : this.fetchQuery(options); | ||
} | ||
@@ -82,0 +82,0 @@ getQueriesData(filters) { |
@@ -69,3 +69,3 @@ // src/queryClient.ts | ||
const cachedData = this.getQueryData(options.queryKey); | ||
return cachedData ? Promise.resolve(cachedData) : this.fetchQuery(options); | ||
return cachedData !== void 0 ? Promise.resolve(cachedData) : this.fetchQuery(options); | ||
} | ||
@@ -72,0 +72,0 @@ getQueriesData(filters) { |
{ | ||
"name": "@tanstack/query-core", | ||
"version": "5.0.5", | ||
"version": "5.4.3", | ||
"description": "The framework agnostic core that powers TanStack Query", | ||
@@ -5,0 +5,0 @@ "author": "tannerlinsley", |
@@ -135,3 +135,5 @@ import { | ||
return cachedData ? Promise.resolve(cachedData) : this.fetchQuery(options) | ||
return cachedData !== undefined | ||
? Promise.resolve(cachedData) | ||
: this.fetchQuery(options) | ||
} | ||
@@ -138,0 +140,0 @@ |
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
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
1786872
27288