Socket
Socket
Sign inDemoInstall

@tanstack/react-query

Package Overview
Dependencies
Maintainers
2
Versions
324
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.38.0 to 5.39.0

2

build/legacy/HydrationBoundary.d.ts

@@ -12,4 +12,4 @@ import * as React from 'react';

}
declare const HydrationBoundary: ({ children, options, state, queryClient, }: HydrationBoundaryProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
declare const HydrationBoundary: ({ children, options, state, queryClient, }: HydrationBoundaryProps) => React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
export { HydrationBoundary, type HydrationBoundaryProps };

@@ -22,3 +22,3 @@ "use client";

const optionsRef = React.useRef(options);
const result = React.useRef();
const result = React.useRef(null);
if (!result.current) {

@@ -25,0 +25,0 @@ result.current = getResult(mutationCache, options);

@@ -12,4 +12,4 @@ import * as React from 'react';

}
declare const HydrationBoundary: ({ children, options, state, queryClient, }: HydrationBoundaryProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
declare const HydrationBoundary: ({ children, options, state, queryClient, }: HydrationBoundaryProps) => React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
export { HydrationBoundary, type HydrationBoundaryProps };

@@ -22,3 +22,3 @@ "use client";

const optionsRef = React.useRef(options);
const result = React.useRef();
const result = React.useRef(null);
if (!result.current) {

@@ -25,0 +25,0 @@ result.current = getResult(mutationCache, options);

{
"name": "@tanstack/react-query",
"version": "5.38.0",
"version": "5.39.0",
"description": "Hooks for managing, caching and syncing asynchronous and remote data in React",

@@ -47,7 +47,8 @@ "author": "tannerlinsley",

"devDependencies": {
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react-dom@rc",
"@vitejs/plugin-react": "^4.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"eslint-plugin-react-compiler": "^0.0.0-experimental-c8b3f72-20240517",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-dom": "19.0.0-rc-4c2e457c7c-20240522",
"react-error-boundary": "^4.0.13"

@@ -54,0 +55,0 @@ },

@@ -48,3 +48,3 @@ 'use client'

const optionsRef = React.useRef(options)
const result = React.useRef<Array<TResult>>()
const result = React.useRef<Array<TResult>>(null)
if (!result.current) {

@@ -51,0 +51,0 @@ result.current = getResult(mutationCache, options)

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