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
303
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.36.0 to 5.36.1

4

build/dev.js

@@ -382,5 +382,3 @@ import { QueryClient as QueryClient$1, MutationObserver, replaceEqualDeep, QueriesObserver, hydrate, QueryObserver, InfiniteQueryObserver, notifyManager } from '@tanstack/query-core';

return mutationCache.findAll(options.filters).map(
(mutation) => options.select ? options.select(
mutation
) : mutation.state
(mutation) => options.select ? options.select(mutation) : mutation.state
);

@@ -387,0 +385,0 @@ }

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

filters?: MutationFilters;
select?: (mutation: Mutation<unknown, DefaultError, unknown, unknown>) => TResult;
select?: (mutation: Mutation) => TResult;
};

@@ -126,0 +126,0 @@ declare function useMutationState<TResult = MutationState>(options?: Accessor<MutationStateOptions<TResult>>, queryClient?: Accessor<QueryClient>): Accessor<Array<TResult>>;

@@ -373,5 +373,3 @@ import { QueryClient as QueryClient$1, MutationObserver, replaceEqualDeep, QueriesObserver, hydrate, QueryObserver, InfiniteQueryObserver, notifyManager } from '@tanstack/query-core';

return mutationCache.findAll(options.filters).map(
(mutation) => options.select ? options.select(
mutation
) : mutation.state
(mutation) => options.select ? options.select(mutation) : mutation.state
);

@@ -378,0 +376,0 @@ }

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

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

"solid-js": "^1.8.14",
"@tanstack/query-core": "5.36.0"
"@tanstack/query-core": "5.36.1"
},

@@ -51,0 +51,0 @@ "devDependencies": {

@@ -5,3 +5,2 @@ import { createEffect, createMemo, createSignal, onCleanup } from 'solid-js'

import type {
DefaultError,
Mutation,

@@ -17,5 +16,3 @@ MutationCache,

filters?: MutationFilters
select?: (
mutation: Mutation<unknown, DefaultError, unknown, unknown>,
) => TResult
select?: (mutation: Mutation) => TResult
}

@@ -31,7 +28,3 @@

(mutation): TResult =>
(options.select
? options.select(
mutation as Mutation<unknown, DefaultError, unknown, unknown>,
)
: mutation.state) as TResult,
(options.select ? options.select(mutation) : mutation.state) as TResult,
)

@@ -38,0 +31,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

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