@tanstack/solid-query
Advanced tools
+5
-10
@@ -55,4 +55,3 @@ 'use strict'; | ||
| function reconcileFn(store$1, result, reconcileOption, queryHash) { | ||
| if (reconcileOption === false) | ||
| return result; | ||
| if (reconcileOption === false) return result; | ||
| if (typeof reconcileOption === "function") { | ||
@@ -82,4 +81,3 @@ const newData2 = reconcileOption(store$1.data, result.data); | ||
| var hydratableObserverResult = (query, result) => { | ||
| if (!web.isServer) | ||
| return result; | ||
| if (!web.isServer) return result; | ||
| const obj = { | ||
@@ -232,4 +230,3 @@ ...store.unwrap(result), | ||
| } | ||
| if (unsubscribe) | ||
| return; | ||
| if (unsubscribe) return; | ||
| const newOptions = { ...initialOptions }; | ||
@@ -464,4 +461,3 @@ if ((initialOptions.staleTime || !initialOptions.initialData) && info.value) { | ||
| const dataPromise = () => new Promise((resolve) => { | ||
| if (queryRes.isFetching && queryRes.isLoading) | ||
| return; | ||
| if (queryRes.isFetching && queryRes.isLoading) return; | ||
| resolve(store.unwrap(queryRes.data)); | ||
@@ -497,4 +493,3 @@ }); | ||
| const taskToRun = taskQueue.pop(); | ||
| if (taskToRun) | ||
| taskToRun(); | ||
| if (taskToRun) taskToRun(); | ||
| taskQueue = []; | ||
@@ -501,0 +496,0 @@ }); |
+5
-10
@@ -54,4 +54,3 @@ import { QueryClient as QueryClient$1, MutationObserver, replaceEqualDeep, QueriesObserver, hydrate, notifyManager, QueryObserver, InfiniteQueryObserver } from '@tanstack/query-core'; | ||
| function reconcileFn(store, result, reconcileOption, queryHash) { | ||
| if (reconcileOption === false) | ||
| return result; | ||
| if (reconcileOption === false) return result; | ||
| if (typeof reconcileOption === "function") { | ||
@@ -81,4 +80,3 @@ const newData2 = reconcileOption(store.data, result.data); | ||
| var hydratableObserverResult = (query, result) => { | ||
| if (!isServer) | ||
| return result; | ||
| if (!isServer) return result; | ||
| const obj = { | ||
@@ -231,4 +229,3 @@ ...unwrap(result), | ||
| } | ||
| if (unsubscribe) | ||
| return; | ||
| if (unsubscribe) return; | ||
| const newOptions = { ...initialOptions }; | ||
@@ -463,4 +460,3 @@ if ((initialOptions.staleTime || !initialOptions.initialData) && info.value) { | ||
| const dataPromise = () => new Promise((resolve) => { | ||
| if (queryRes.isFetching && queryRes.isLoading) | ||
| return; | ||
| if (queryRes.isFetching && queryRes.isLoading) return; | ||
| resolve(unwrap(queryRes.data)); | ||
@@ -496,4 +492,3 @@ }); | ||
| const taskToRun = taskQueue.pop(); | ||
| if (taskToRun) | ||
| taskToRun(); | ||
| if (taskToRun) taskToRun(); | ||
| taskQueue = []; | ||
@@ -500,0 +495,0 @@ }); |
+5
-10
@@ -55,4 +55,3 @@ 'use strict'; | ||
| function reconcileFn(store$1, result, reconcileOption, queryHash) { | ||
| if (reconcileOption === false) | ||
| return result; | ||
| if (reconcileOption === false) return result; | ||
| if (typeof reconcileOption === "function") { | ||
@@ -73,4 +72,3 @@ const newData2 = reconcileOption(store$1.data, result.data); | ||
| var hydratableObserverResult = (query, result) => { | ||
| if (!web.isServer) | ||
| return result; | ||
| if (!web.isServer) return result; | ||
| const obj = { | ||
@@ -223,4 +221,3 @@ ...store.unwrap(result), | ||
| } | ||
| if (unsubscribe) | ||
| return; | ||
| if (unsubscribe) return; | ||
| const newOptions = { ...initialOptions }; | ||
@@ -455,4 +452,3 @@ if ((initialOptions.staleTime || !initialOptions.initialData) && info.value) { | ||
| const dataPromise = () => new Promise((resolve) => { | ||
| if (queryRes.isFetching && queryRes.isLoading) | ||
| return; | ||
| if (queryRes.isFetching && queryRes.isLoading) return; | ||
| resolve(store.unwrap(queryRes.data)); | ||
@@ -488,4 +484,3 @@ }); | ||
| const taskToRun = taskQueue.pop(); | ||
| if (taskToRun) | ||
| taskToRun(); | ||
| if (taskToRun) taskToRun(); | ||
| taskQueue = []; | ||
@@ -492,0 +487,0 @@ }); |
+5
-10
@@ -54,4 +54,3 @@ import { QueryClient as QueryClient$1, MutationObserver, replaceEqualDeep, QueriesObserver, hydrate, notifyManager, QueryObserver, InfiniteQueryObserver } from '@tanstack/query-core'; | ||
| function reconcileFn(store, result, reconcileOption, queryHash) { | ||
| if (reconcileOption === false) | ||
| return result; | ||
| if (reconcileOption === false) return result; | ||
| if (typeof reconcileOption === "function") { | ||
@@ -72,4 +71,3 @@ const newData2 = reconcileOption(store.data, result.data); | ||
| var hydratableObserverResult = (query, result) => { | ||
| if (!isServer) | ||
| return result; | ||
| if (!isServer) return result; | ||
| const obj = { | ||
@@ -222,4 +220,3 @@ ...unwrap(result), | ||
| } | ||
| if (unsubscribe) | ||
| return; | ||
| if (unsubscribe) return; | ||
| const newOptions = { ...initialOptions }; | ||
@@ -454,4 +451,3 @@ if ((initialOptions.staleTime || !initialOptions.initialData) && info.value) { | ||
| const dataPromise = () => new Promise((resolve) => { | ||
| if (queryRes.isFetching && queryRes.isLoading) | ||
| return; | ||
| if (queryRes.isFetching && queryRes.isLoading) return; | ||
| resolve(unwrap(queryRes.data)); | ||
@@ -487,4 +483,3 @@ }); | ||
| const taskToRun = taskQueue.pop(); | ||
| if (taskToRun) | ||
| taskToRun(); | ||
| if (taskToRun) taskToRun(); | ||
| taskQueue = []; | ||
@@ -491,0 +486,0 @@ }); |
+2
-2
| { | ||
| "name": "@tanstack/solid-query", | ||
| "version": "5.71.2", | ||
| "version": "5.71.3", | ||
| "description": "Primitives for managing, caching and syncing asynchronous and remote data in Solid", | ||
@@ -48,3 +48,3 @@ "author": "tannerlinsley", | ||
| "dependencies": { | ||
| "@tanstack/query-core": "5.71.1" | ||
| "@tanstack/query-core": "5.71.3" | ||
| }, | ||
@@ -51,0 +51,0 @@ "devDependencies": { |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
152425
-0.1%3807
-0.52%+ Added
- Removed
Updated