Socket
Socket
Sign inDemoInstall

@tanstack/query-core

Package Overview
Dependencies
Maintainers
2
Versions
266
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.28.8 to 5.28.9

4

build/legacy/queryClient.js

@@ -93,3 +93,3 @@ import {

getQueriesData(filters) {
return this.getQueryCache().findAll(filters).map(({ queryKey, state }) => {
return __privateGet(this, _queryCache).findAll(filters).map(({ queryKey, state }) => {
const data = state.data;

@@ -113,3 +113,3 @@ return [queryKey, data];

return notifyManager.batch(
() => this.getQueryCache().findAll(filters).map(({ queryKey }) => [
() => __privateGet(this, _queryCache).findAll(filters).map(({ queryKey }) => [
queryKey,

@@ -116,0 +116,0 @@ this.setQueryData(queryKey, updater, options)

@@ -83,3 +83,3 @@ // src/queryClient.ts

getQueriesData(filters) {
return this.getQueryCache().findAll(filters).map(({ queryKey, state }) => {
return this.#queryCache.findAll(filters).map(({ queryKey, state }) => {
const data = state.data;

@@ -103,3 +103,3 @@ return [queryKey, data];

return notifyManager.batch(
() => this.getQueryCache().findAll(filters).map(({ queryKey }) => [
() => this.#queryCache.findAll(filters).map(({ queryKey }) => [
queryKey,

@@ -106,0 +106,0 @@ this.setQueryData(queryKey, updater, options)

{
"name": "@tanstack/query-core",
"version": "5.28.8",
"version": "5.28.9",
"description": "The framework agnostic core that powers TanStack Query",

@@ -5,0 +5,0 @@ "author": "tannerlinsley",

@@ -157,8 +157,6 @@ import {

): Array<[QueryKey, TQueryFnData | undefined]> {
return this.getQueryCache()
.findAll(filters)
.map(({ queryKey, state }) => {
const data = state.data as TQueryFnData | undefined
return [queryKey, data]
})
return this.#queryCache.findAll(filters).map(({ queryKey, state }) => {
const data = state.data as TQueryFnData | undefined
return [queryKey, data]
})
}

@@ -212,3 +210,3 @@

return notifyManager.batch(() =>
this.getQueryCache()
this.#queryCache
.findAll(filters)

@@ -215,0 +213,0 @@ .map(({ queryKey }) => [

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