Socket
Socket
Sign inDemoInstall

@tanstack/vue-query

Package Overview
Dependencies
Maintainers
1
Versions
304
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tanstack/vue-query - npm Package Compare versions

Comparing version 4.17.0 to 4.17.1

5

build/lib/index.d.ts

@@ -14,5 +14,4 @@ export * from '@tanstack/query-core';

export { VUE_QUERY_CLIENT } from './utils';
export type { UseQueryReturnType } from './useBaseQuery';
export type { UseQueryOptions } from './useQuery';
export type { UseInfiniteQueryOptions } from './useInfiniteQuery';
export type { UseQueryOptions, UseQueryReturnType, UseQueryDefinedReturnType, } from './useQuery';
export type { UseInfiniteQueryOptions, UseInfiniteQueryReturnType, } from './useInfiniteQuery';
export type { UseMutationOptions, UseMutationReturnType } from './useMutation';

@@ -19,0 +18,0 @@ export type { UseQueriesOptions, UseQueriesResults } from './useQueries';

8

build/lib/index.js

@@ -34,7 +34,7 @@ 'use strict';

Object.keys(queryCore).forEach(function (k) {
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
enumerable: true,
get: function () { return queryCore[k]; }
});
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
enumerable: true,
get: function () { return queryCore[k]; }
});
});
//# sourceMappingURL=index.js.map

@@ -7,3 +7,3 @@ import type { UnwrapRef } from 'vue-demi';

declare type InfiniteQueryReturnType<TData, TError> = UseQueryReturnType<TData, TError, InfiniteQueryObserverResult<TData, TError>>;
declare type UseInfiniteQueryReturnType<TData, TError> = Omit<InfiniteQueryReturnType<TData, TError>, 'fetchNextPage' | 'fetchPreviousPage' | 'refetch' | 'remove'> & {
export declare type UseInfiniteQueryReturnType<TData, TError> = Omit<InfiniteQueryReturnType<TData, TError>, 'fetchNextPage' | 'fetchPreviousPage' | 'refetch' | 'remove'> & {
fetchNextPage: InfiniteQueryObserverResult<TData, TError>['fetchNextPage'];

@@ -10,0 +10,0 @@ fetchPreviousPage: InfiniteQueryObserverResult<TData, TError>['fetchPreviousPage'];

@@ -5,7 +5,7 @@ import type { ToRefs, UnwrapRef } from 'vue-demi';

import type { WithQueryClientKey, VueQueryObserverOptions } from './types';
declare type UseQueryReturnType<TData, TError> = Omit<UQRT<TData, TError>, 'refetch' | 'remove'> & {
export declare type UseQueryReturnType<TData, TError> = Omit<UQRT<TData, TError>, 'refetch' | 'remove'> & {
refetch: QueryObserverResult<TData, TError>['refetch'];
remove: QueryObserverResult<TData, TError>['remove'];
};
declare type UseQueryDefinedReturnType<TData, TError> = Omit<ToRefs<Readonly<DefinedQueryObserverResult<TData, TError>>>, 'refetch' | 'remove'> & {
export declare type UseQueryDefinedReturnType<TData, TError> = Omit<ToRefs<Readonly<DefinedQueryObserverResult<TData, TError>>>, 'refetch' | 'remove'> & {
suspense: () => Promise<QueryObserverResult<TData, TError>>;

@@ -37,2 +37,1 @@ refetch: QueryObserverResult<TData, TError>['refetch'];

export declare function useQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(queryKey: TQueryKey, queryFn: QueryFunction<TQueryFnData, UnwrapRef<TQueryKey>>, options?: Omit<UseQueryOptions<TQueryFnData, TError, TData, TQueryKey>, 'queryKey' | 'queryFn'>): UseQueryReturnType<TData, TError>;
export {};
{
"name": "@tanstack/vue-query",
"version": "4.17.0",
"version": "4.17.1",
"description": "Hooks for managing, caching and syncing asynchronous and remote data in Vue",

@@ -39,6 +39,6 @@ "author": "Damian Osipiuk",

"dependencies": {
"@tanstack/query-core": "4.15.1",
"@vue/devtools-api": "^6.4.2",
"@tanstack/match-sorter-utils": "^8.1.1",
"vue-demi": "^0.13.11"
"vue-demi": "^0.13.11",
"@tanstack/query-core": "4.15.1"
},

@@ -45,0 +45,0 @@ "peerDependencies": {

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

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