Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tanstack/react-query

Package Overview
Dependencies
Maintainers
2
Versions
345
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.51.17 to 5.51.18

4

build/legacy/queryOptions.d.ts

@@ -1,6 +0,6 @@

import { DefaultError, QueryKey, DataTag } from '@tanstack/query-core';
import { DefaultError, QueryKey, InitialDataFunction, DataTag } from '@tanstack/query-core';
import { UseQueryOptions } from './types.js';
type UndefinedInitialDataOptions<TQueryFnData = unknown, TError = DefaultError, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey> = UseQueryOptions<TQueryFnData, TError, TData, TQueryKey> & {
initialData?: undefined;
initialData?: undefined | InitialDataFunction<NonUndefinedGuard<TQueryFnData>>;
};

@@ -7,0 +7,0 @@ type NonUndefinedGuard<T> = T extends undefined ? never : T;

@@ -1,6 +0,6 @@

import { DefaultError, QueryKey, DataTag } from '@tanstack/query-core';
import { DefaultError, QueryKey, InitialDataFunction, DataTag } from '@tanstack/query-core';
import { UseQueryOptions } from './types.js';
type UndefinedInitialDataOptions<TQueryFnData = unknown, TError = DefaultError, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey> = UseQueryOptions<TQueryFnData, TError, TData, TQueryKey> & {
initialData?: undefined;
initialData?: undefined | InitialDataFunction<NonUndefinedGuard<TQueryFnData>>;
};

@@ -7,0 +7,0 @@ type NonUndefinedGuard<T> = T extends undefined ? never : T;

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

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

@@ -1,2 +0,7 @@

import type { DataTag, DefaultError, QueryKey } from '@tanstack/query-core'
import type {
DataTag,
DefaultError,
InitialDataFunction,
QueryKey,
} from '@tanstack/query-core'
import type { UseQueryOptions } from './types'

@@ -10,3 +15,3 @@

> = UseQueryOptions<TQueryFnData, TError, TData, TQueryKey> & {
initialData?: undefined
initialData?: undefined | InitialDataFunction<NonUndefinedGuard<TQueryFnData>>
}

@@ -13,0 +18,0 @@

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