Socket
Socket
Sign inDemoInstall

@tanstack/query-core

Package Overview
Dependencies
Maintainers
1
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 4.10.1 to 4.10.3

8

build/lib/types.d.ts

@@ -25,3 +25,5 @@ import type { MutationState } from './mutation';

}
export declare type QueryMeta = Record<string, unknown>;
export interface QueryMeta {
[index: string]: unknown;
}
export declare type NetworkMode = 'online' | 'always' | 'offlineFirst';

@@ -334,3 +336,5 @@ export interface QueryOptions<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey> {

export declare type MutationStatus = 'idle' | 'loading' | 'success' | 'error';
export declare type MutationMeta = Record<string, unknown>;
export interface MutationMeta {
[index: string]: unknown;
}
export declare type MutationFunction<TData = unknown, TVariables = unknown> = (variables: TVariables) => Promise<TData>;

@@ -337,0 +341,0 @@ export interface MutationOptions<TData = unknown, TError = unknown, TVariables = void, TContext = unknown> {

{
"name": "@tanstack/query-core",
"version": "4.10.1",
"version": "4.10.3",
"description": "TODO",

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

@@ -51,3 +51,5 @@ /* istanbul ignore file */

export type QueryMeta = Record<string, unknown>
export interface QueryMeta {
[index: string]: unknown
}

@@ -538,3 +540,5 @@ export type NetworkMode = 'online' | 'always' | 'offlineFirst'

export type MutationMeta = Record<string, unknown>
export interface MutationMeta {
[index: string]: unknown
}

@@ -541,0 +545,0 @@ export type MutationFunction<TData = unknown, TVariables = unknown> = (

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