New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tanstack/react-query

Package Overview
Dependencies
Maintainers
0
Versions
379
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tanstack/react-query - npm Package Compare versions

Comparing version 5.66.10 to 5.66.11

7

build/legacy/useBaseQuery.js

@@ -38,2 +38,9 @@ "use client";

);
if (process.env.NODE_ENV !== "production") {
if (!defaultedOptions.queryFn) {
console.error(
`[${defaultedOptions.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`
);
}
}
defaultedOptions._optimisticResults = isRestoring ? "isRestoring" : "optimistic";

@@ -40,0 +47,0 @@ ensureSuspenseTimers(defaultedOptions);

@@ -36,2 +36,9 @@ "use client";

);
if (process.env.NODE_ENV !== "production") {
if (!defaultedOptions.queryFn) {
console.error(
`[${defaultedOptions.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`
);
}
}
defaultedOptions._optimisticResults = isRestoring ? "isRestoring" : "optimistic";

@@ -38,0 +45,0 @@ ensureSuspenseTimers(defaultedOptions);

6

package.json
{
"name": "@tanstack/react-query",
"version": "5.66.10",
"version": "5.66.11",
"description": "Hooks for managing, caching and syncing asynchronous and remote data in React",

@@ -46,3 +46,3 @@ "author": "tannerlinsley",

"dependencies": {
"@tanstack/query-core": "5.66.4"
"@tanstack/query-core": "5.66.11"
},

@@ -60,3 +60,3 @@ "devDependencies": {

"react-error-boundary": "^4.1.2",
"@tanstack/query-persist-client-core": "5.66.4"
"@tanstack/query-persist-client-core": "5.66.11"
},

@@ -63,0 +63,0 @@ "peerDependencies": {

@@ -62,2 +62,10 @@ 'use client'

if (process.env.NODE_ENV !== 'production') {
if (!defaultedOptions.queryFn) {
console.error(
`[${defaultedOptions.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`,
)
}
}
// Make sure results are optimistically set in fetching state before subscribing or updating options

@@ -64,0 +72,0 @@ defaultedOptions._optimisticResults = isRestoring

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