New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tanstack/solid-query

Package Overview
Dependencies
Maintainers
2
Versions
313
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.0.0-rc.6 to 5.0.0-rc.8

4

build/dev.js

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

const defaultedOptions = createMemo(
() => mergeProps(client().defaultQueryOptions(options()), {
() => mergeProps(client()?.defaultQueryOptions(options()) || {}, {
get _optimisticResults() {

@@ -127,3 +127,3 @@ return isRestoring() ? "isRestoring" : "optimistic";

result,
reconcileOptions === void 0 ? "id" : reconcileOptions
reconcileOptions === void 0 ? false : reconcileOptions
);

@@ -130,0 +130,0 @@ });

@@ -12,3 +12,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, QueriesPlaceholderDataFunction, QueryFunction } from '@tanstack/query-core';

* Set this to a function which accepts the old and new data and returns resolved data of the same type to implement custom reconciliation logic.
* Defaults reconciliation key to `id`.
* Defaults reconciliation to false.
*/

@@ -22,3 +22,3 @@ reconcile?: string | false | ((oldData: TData | undefined, newData: TData) => TData);

* Set this to a function which accepts the old and new data and returns resolved data of the same type to implement custom reconciliation logic.
* Defaults reconciliation key to `id`.
* Defaults reconciliation to false.
*/

@@ -25,0 +25,0 @@ reconcile?: string | false | ((oldData: TData | undefined, newData: TData) => TData);

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

const defaultedOptions = createMemo(
() => mergeProps(client().defaultQueryOptions(options()), {
() => mergeProps(client()?.defaultQueryOptions(options()) || {}, {
get _optimisticResults() {

@@ -127,3 +127,3 @@ return isRestoring() ? "isRestoring" : "optimistic";

result,
reconcileOptions === void 0 ? "id" : reconcileOptions
reconcileOptions === void 0 ? false : reconcileOptions
);

@@ -130,0 +130,0 @@ });

{
"name": "@tanstack/solid-query",
"version": "5.0.0-rc.6",
"version": "5.0.0-rc.8",
"description": "Primitives for managing, caching and syncing asynchronous and remote data in Solid",

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

@@ -114,3 +114,3 @@ /* eslint-disable @typescript-eslint/no-unnecessary-condition */

const defaultedOptions = createMemo(() =>
mergeProps(client().defaultQueryOptions(options()), {
mergeProps(client()?.defaultQueryOptions(options()) || {}, {
get _optimisticResults() {

@@ -171,3 +171,3 @@ return isRestoring() ? 'isRestoring' : 'optimistic'

result,
reconcileOptions === undefined ? 'id' : reconcileOptions,
reconcileOptions === undefined ? false : reconcileOptions,
)

@@ -174,0 +174,0 @@ })

@@ -33,3 +33,3 @@ import { QueryClient as QueryCoreClient } from '@tanstack/query-core'

* Set this to a function which accepts the old and new data and returns resolved data of the same type to implement custom reconciliation logic.
* Defaults reconciliation key to `id`.
* Defaults reconciliation to false.
*/

@@ -64,3 +64,3 @@ reconcile?:

* Set this to a function which accepts the old and new data and returns resolved data of the same type to implement custom reconciliation logic.
* Defaults reconciliation key to `id`.
* Defaults reconciliation to false.
*/

@@ -67,0 +67,0 @@ reconcile?:

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