@tanstack/query-core
Advanced tools
Comparing version 5.51.9 to 5.51.14
@@ -74,2 +74,5 @@ import "./chunk-2HYBKCYP.js"; | ||
const param = getNextPageParam(options, result); | ||
if (param == null) { | ||
break; | ||
} | ||
result = await fetchPage(result, param); | ||
@@ -76,0 +79,0 @@ } |
@@ -71,2 +71,5 @@ // src/infiniteQueryBehavior.ts | ||
const param = getNextPageParam(options, result); | ||
if (param == null) { | ||
break; | ||
} | ||
result = await fetchPage(result, param); | ||
@@ -73,0 +76,0 @@ } |
{ | ||
"name": "@tanstack/query-core", | ||
"version": "5.51.9", | ||
"version": "5.51.14", | ||
"description": "The framework agnostic core that powers TanStack Query", | ||
@@ -5,0 +5,0 @@ "author": "tannerlinsley", |
@@ -20,3 +20,3 @@ import { Subscribable } from './subscribable' | ||
// addEventListener does not exist in React Native, but window does | ||
// eslint-disable-next-line ts/no-unnecessary-condition | ||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition | ||
if (!isServer && window.addEventListener) { | ||
@@ -82,3 +82,3 @@ const listener = () => onFocus() | ||
// document global can be unavailable in react native | ||
// eslint-disable-next-line ts/no-unnecessary-condition | ||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition | ||
return globalThis.document?.visibilityState !== 'hidden' | ||
@@ -85,0 +85,0 @@ } |
@@ -157,5 +157,5 @@ import type { | ||
// eslint-disable-next-line ts/no-unnecessary-condition | ||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition | ||
const mutations = (dehydratedState as DehydratedState).mutations || [] | ||
// eslint-disable-next-line ts/no-unnecessary-condition | ||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition | ||
const queries = (dehydratedState as DehydratedState).queries || [] | ||
@@ -162,0 +162,0 @@ |
@@ -106,2 +106,5 @@ import { addToEnd, addToStart, ensureQueryFn } from './utils' | ||
const param = getNextPageParam(options, result) | ||
if (param == null) { | ||
break | ||
} | ||
result = await fetchPage(result, param) | ||
@@ -108,0 +111,0 @@ } |
@@ -17,3 +17,3 @@ import { Subscribable } from './subscribable' | ||
// addEventListener does not exist in React Native, but window does | ||
// eslint-disable-next-line ts/no-unnecessary-condition | ||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition | ||
if (!isServer && window.addEventListener) { | ||
@@ -20,0 +20,0 @@ const onlineListener = () => onOnline(true) |
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
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
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
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
2018259
28683