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.29.0 to 5.29.3

4

build/dev.js

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

const reconcileOptions = obs.options.reconcile;
if (queryResource()?.data && result.data && !queryResource.loading) {
if (!queryResource.error && queryResource()?.data && result.data && !queryResource.loading) {
setState((store) => {

@@ -206,3 +206,3 @@ return reconcileFn(

const newOptions = { ...initialOptions };
if (initialOptions.staleTime || !initialOptions.initialData) {
if ((initialOptions.staleTime || !initialOptions.initialData) && info.value) {
newOptions.refetchOnMount = false;

@@ -209,0 +209,0 @@ }

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

const reconcileOptions = obs.options.reconcile;
if (queryResource()?.data && result.data && !queryResource.loading) {
if (!queryResource.error && queryResource()?.data && result.data && !queryResource.loading) {
setState((store) => {

@@ -206,3 +206,3 @@ return reconcileFn(

const newOptions = { ...initialOptions };
if (initialOptions.staleTime || !initialOptions.initialData) {
if ((initialOptions.staleTime || !initialOptions.initialData) && info.value) {
newOptions.refetchOnMount = false;

@@ -209,0 +209,0 @@ }

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

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

@@ -190,3 +190,8 @@ // Had to disable the lint rule because isServer type is defined as false

// This could happen when placeholderData/initialData is defined
if (queryResource()?.data && result.data && !queryResource.loading) {
if (
!queryResource.error &&
queryResource()?.data &&
result.data &&
!queryResource.loading
) {
setState((store) => {

@@ -277,3 +282,6 @@ return reconcileFn(

const newOptions = { ...initialOptions }
if (initialOptions.staleTime || !initialOptions.initialData) {
if (
(initialOptions.staleTime || !initialOptions.initialData) &&
info.value
) {
newOptions.refetchOnMount = false

@@ -280,0 +288,0 @@ }

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