Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@trpc/react-query

Package Overview
Dependencies
Maintainers
3
Versions
709
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trpc/react-query - npm Package Compare versions

Comparing version 11.0.0-rc.576 to 11.0.0-rc.577

26

dist/bundle-analysis.json
{
"bundleSize": 36952,
"bundleOrigSize": 80399,
"bundleReduction": 54.04,
"bundleSize": 36996,
"bundleOrigSize": 80433,
"bundleReduction": 54,
"modules": [
{
"id": "/src/shared/hooks/createHooksInternal.tsx",
"size": 16318,
"origSize": 18405,
"size": 16362,
"origSize": 18439,
"renderedExports": [

@@ -17,4 +17,4 @@ "createRootHooks"

],
"percent": 44.16,
"reduction": 11.34
"percent": 44.23,
"reduction": 11.26
},

@@ -33,3 +33,3 @@ {

],
"percent": 12.48,
"percent": 12.47,
"reduction": 2.31

@@ -48,3 +48,3 @@ },

],
"percent": 9.55,
"percent": 9.54,
"reduction": 52.18

@@ -65,3 +65,3 @@ },

],
"percent": 9.18,
"percent": 9.17,
"reduction": 72.92

@@ -78,3 +78,3 @@ },

"dependents": [],
"percent": 8.75,
"percent": 8.74,
"reduction": 39.66

@@ -101,3 +101,3 @@ },

],
"percent": 6.78,
"percent": 6.77,
"reduction": 40.22

@@ -131,3 +131,3 @@ },

],
"percent": 2.12,
"percent": 2.11,
"reduction": 24

@@ -134,0 +134,0 @@ },

@@ -46,3 +46,3 @@ import type { QueryKey, UseQueryOptions, UseSuspenseQueryOptions, UseSuspenseQueryResult } from '@tanstack/react-query';

*/
export type SuspenseQueriesOptions<TQueriesOptions extends any[], TResult extends any[] = []> = TQueriesOptions extends [] ? [] : TQueriesOptions extends [infer Head] ? [...TResult, GetSuspenseOptions<Head>] : TQueriesOptions extends [infer Head, ...infer Tail] ? QueriesOptions<Tail, [...TResult, GetSuspenseOptions<Head>]> : unknown[] extends TQueriesOptions ? TQueriesOptions : TQueriesOptions extends UseQueryOptionsForUseSuspenseQueries<infer TQueryFnData, infer TError, infer TData, infer TQueryKey>[] ? UseQueryOptionsForUseSuspenseQueries<TQueryFnData, TError, TData, TQueryKey>[] : UseQueryOptionsForUseSuspenseQueries[];
export type SuspenseQueriesOptions<TQueriesOptions extends any[], TResult extends any[] = []> = TQueriesOptions extends [] ? [] : TQueriesOptions extends [infer Head] ? [...TResult, GetSuspenseOptions<Head>] : TQueriesOptions extends [infer Head, ...infer Tail] ? SuspenseQueriesOptions<Tail, [...TResult, GetSuspenseOptions<Head>]> : unknown[] extends TQueriesOptions ? TQueriesOptions : TQueriesOptions extends UseQueryOptionsForUseSuspenseQueries<infer TQueryFnData, infer TError, infer TData, infer TQueryKey>[] ? UseQueryOptionsForUseSuspenseQueries<TQueryFnData, TError, TData, TQueryKey>[] : UseQueryOptionsForUseSuspenseQueries[];
/**

@@ -49,0 +49,0 @@ * @internal

@@ -415,2 +415,3 @@ 'use strict';

...query,
queryFn: query.queryFn,
queryKey: query.queryKey

@@ -417,0 +418,0 @@ }))

@@ -7,3 +7,3 @@ import type { TRPCClientErrorLike } from '@trpc/client';

*/
export type InferQueryOptions<TRoot extends AnyRootTypes, TProcedure extends AnyProcedure, TData = inferTransformedProcedureOutput<TRoot, TProcedure>> = Omit<UseTRPCQueryOptions<inferTransformedProcedureOutput<TRoot, TProcedure>, inferTransformedProcedureOutput<TRoot, TProcedure>, TRPCClientErrorLike<TRoot>, TData>, 'select'>;
export type InferQueryOptions<TRoot extends AnyRootTypes, TProcedure extends AnyProcedure, TData = inferTransformedProcedureOutput<TRoot, TProcedure>> = Omit<UseTRPCQueryOptions<inferTransformedProcedureOutput<TRoot, TProcedure>, inferTransformedProcedureOutput<TRoot, TProcedure>, TRPCClientErrorLike<TRoot>, TData>, 'select' | 'queryFn'>;
/**

@@ -10,0 +10,0 @@ * @internal

{
"name": "@trpc/react-query",
"version": "11.0.0-rc.576+deed81c1b",
"version": "11.0.0-rc.577+6b5a608eb",
"description": "The tRPC React library",

@@ -67,4 +67,4 @@ "author": "KATT",

"@tanstack/react-query": "^5.54.1",
"@trpc/client": "11.0.0-rc.576+deed81c1b",
"@trpc/server": "11.0.0-rc.576+deed81c1b",
"@trpc/client": "11.0.0-rc.577+6b5a608eb",
"@trpc/server": "11.0.0-rc.577+6b5a608eb",
"react": ">=18.2.0",

@@ -74,5 +74,5 @@ "react-dom": ">=18.2.0"

"devDependencies": {
"@tanstack/react-query": "^5.54.1",
"@trpc/client": "11.0.0-rc.576+deed81c1b",
"@trpc/server": "11.0.0-rc.576+deed81c1b",
"@tanstack/react-query": "^5.59.15",
"@trpc/client": "11.0.0-rc.577+6b5a608eb",
"@trpc/server": "11.0.0-rc.577+6b5a608eb",
"@types/express": "^4.17.17",

@@ -97,3 +97,3 @@ "@types/node": "^20.10.0",

],
"gitHead": "deed81c1b24b29bb028075af56cef3b3329e2a8e"
"gitHead": "6b5a608eb6a383f3644c1bf6a7551e5da18721cb"
}

@@ -158,3 +158,3 @@ import type {

: TQueriesOptions extends [infer Head, ...infer Tail]
? QueriesOptions<Tail, [...TResult, GetSuspenseOptions<Head>]>
? SuspenseQueriesOptions<Tail, [...TResult, GetSuspenseOptions<Head>]>
: unknown[] extends TQueriesOptions

@@ -161,0 +161,0 @@ ? TQueriesOptions

@@ -33,3 +33,3 @@ import type { TRPCClientErrorLike } from '@trpc/client';

>,
'select'
'select' | 'queryFn'
>;

@@ -36,0 +36,0 @@

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