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
306
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.20.5 to 5.21.1

4

build/dev.js

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

refetch: void 0,
// cast to fetchNextPage function should be safe, since we only remove it on the server,
fetchNextPage: void 0,
// cast to fetchPreviousPage function should be safe, since we only remove it on the server,
fetchPreviousPage: void 0,
// hydrate() expects a QueryState object, which is similar but not

@@ -72,0 +76,0 @@ // quite the same as a QueryObserverResult object. Thus, for now, we're

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

refetch: void 0,
// cast to fetchNextPage function should be safe, since we only remove it on the server,
fetchNextPage: void 0,
// cast to fetchPreviousPage function should be safe, since we only remove it on the server,
fetchPreviousPage: void 0,
// hydrate() expects a QueryState object, which is similar but not

@@ -72,0 +76,0 @@ // quite the same as a QueryObserverResult object. Thus, for now, we're

2

package.json
{
"name": "@tanstack/solid-query",
"version": "5.20.5",
"version": "5.21.1",
"description": "Primitives for managing, caching and syncing asynchronous and remote data in Solid",

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

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

import type {
InfiniteQueryObserverResult,
Query,

@@ -51,3 +52,4 @@ QueryKey,

type HydratableQueryState<TData, TError> = QueryObserverResult<TData, TError> &
QueryState<TData, TError>
QueryState<TData, TError> &
InfiniteQueryObserverResult<TData, TError>

@@ -67,3 +69,3 @@ /**

result: QueryObserverResult<TDataHydratable, TError>,
): HydratableQueryState<TDataHydratable, TError> => {
) => {
// Including the extra properties is only relevant on the server

@@ -82,2 +84,14 @@ if (!isServer) return result as HydratableQueryState<TDataHydratable, TError>

// cast to fetchNextPage function should be safe, since we only remove it on the server,
fetchNextPage: undefined as unknown as HydratableQueryState<
TDataHydratable,
TError
>['fetchNextPage'],
// cast to fetchPreviousPage function should be safe, since we only remove it on the server,
fetchPreviousPage: undefined as unknown as HydratableQueryState<
TDataHydratable,
TError
>['fetchPreviousPage'],
// hydrate() expects a QueryState object, which is similar but not

@@ -93,3 +107,3 @@ // quite the same as a QueryObserverResult object. Thus, for now, we're

fetchMeta: null,
}
} as HydratableQueryState<TDataHydratable, TError>
}

@@ -96,0 +110,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