Socket
Socket
Sign inDemoInstall

@tanstack/query-core

Package Overview
Dependencies
Maintainers
2
Versions
265
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tanstack/query-core - npm Package Compare versions

Comparing version 5.51.9 to 5.51.14

3

build/legacy/infiniteQueryBehavior.js

@@ -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 @@ }

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc