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

@tanstack/solid-query

Package Overview
Dependencies
Maintainers
2
Versions
310
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tanstack/solid-query - npm Package Compare versions

Comparing version 5.8.7 to 5.9.0

8

build/index.d.ts

@@ -115,3 +115,3 @@ import { DefaultError, QueryKey, QueryObserverOptions as QueryObserverOptions$1, InfiniteQueryObserverOptions as InfiniteQueryObserverOptions$1, DefaultOptions as DefaultOptions$1, QueryClientConfig as QueryClientConfig$1, QueryClient as QueryClient$1, WithRequired, QueryObserverResult, DefinedQueryObserverResult, InfiniteQueryObserverResult, MutationObserverOptions, MutateFunction, MutationObserverResult, QueryFilters, InfiniteData, MutationFilters, MutationState, Mutation, QueriesPlaceholderDataFunction, QueryFunction, ThrowOnError } from '@tanstack/query-core';

queryFn?: QueryFunction<infer TQueryFnData, infer TQueryKey>;
select: (data: any) => infer TData;
select?: (data: any) => infer TData;
throwOnError?: ThrowOnError<any, infer TError, any, any>;

@@ -133,6 +133,6 @@ } ? CreateQueryOptionsForCreateQueries<TQueryFnData, TError, TData, TQueryKey> : T extends {

} ? CreateQueryResult<TData, TError> : T extends [any, infer TError, infer TData] ? CreateQueryResult<TData, TError> : T extends [infer TQueryFnData, infer TError] ? CreateQueryResult<TQueryFnData, TError> : T extends [infer TQueryFnData] ? CreateQueryResult<TQueryFnData> : T extends {
queryFn?: QueryFunction<unknown, any>;
select: (data: any) => infer TData;
queryFn?: QueryFunction<infer TQueryFnData, any>;
select?: (data: any) => infer TData;
throwOnError?: ThrowOnError<any, infer TError, any, any>;
} ? CreateQueryResult<TData, unknown extends TError ? DefaultError : TError> : T extends {
} ? CreateQueryResult<unknown extends TData ? TQueryFnData : TData, unknown extends TError ? DefaultError : TError> : T extends {
queryFn?: QueryFunction<infer TQueryFnData, any>;

@@ -139,0 +139,0 @@ throwOnError?: ThrowOnError<any, infer TError, any, any>;

{
"name": "@tanstack/solid-query",
"version": "5.8.7",
"version": "5.9.0",
"description": "Primitives for managing, caching and syncing asynchronous and remote data in Solid",

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

"test:types": "tsc",
"test:lib": "vitest run --coverage",
"test:lib": "vitest run --coverage --retry=3",
"test:lib:dev": "vitest watch --coverage",

@@ -67,0 +67,0 @@ "test:build": "publint --strict",

@@ -68,3 +68,3 @@ import { QueriesObserver } from '@tanstack/query-core'

queryFn?: QueryFunction<infer TQueryFnData, infer TQueryKey>
select: (data: any) => infer TData
select?: (data: any) => infer TData
throwOnError?: ThrowOnError<any, infer TError, any, any>

@@ -111,8 +111,8 @@ }

T extends {
queryFn?: QueryFunction<unknown, any>
select: (data: any) => infer TData
queryFn?: QueryFunction<infer TQueryFnData, any>
select?: (data: any) => infer TData
throwOnError?: ThrowOnError<any, infer TError, any, any>
}
? CreateQueryResult<
TData,
unknown extends TData ? TQueryFnData : TData,
unknown extends TError ? DefaultError : TError

@@ -119,0 +119,0 @@ >

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