@tanstack/react-query
Advanced tools
Comparing version 5.20.1 to 5.20.2
@@ -30,5 +30,5 @@ { | ||
"devDependencies": { | ||
"@types/jscodeshift": "0.11.6", | ||
"jscodeshift": "0.15.0" | ||
"@types/jscodeshift": "0.11.11", | ||
"jscodeshift": "0.15.1" | ||
} | ||
} |
import { QueryKey, DefaultedQueryObserverOptions, QueryObserverResult, ThrowOnError, Query } from '@tanstack/query-core'; | ||
import { QueryErrorResetBoundaryValue } from './QueryErrorResetBoundary.js'; | ||
import 'react/jsx-runtime'; | ||
import 'react'; | ||
@@ -4,0 +5,0 @@ |
@@ -19,1 +19,2 @@ export * from '@tanstack/query-core'; | ||
import 'react'; | ||
import 'react/jsx-runtime'; |
@@ -5,2 +5,3 @@ "use client"; | ||
import * as React from "react"; | ||
import { jsx } from "react/jsx-runtime"; | ||
var QueryClientContext = React.createContext( | ||
@@ -29,3 +30,3 @@ void 0 | ||
}, [client]); | ||
return /* @__PURE__ */ React.createElement(QueryClientContext.Provider, { value: client }, children); | ||
return /* @__PURE__ */ jsx(QueryClientContext.Provider, { value: client, children }); | ||
}; | ||
@@ -32,0 +33,0 @@ export { |
@@ -0,1 +1,2 @@ | ||
import * as react_jsx_runtime from 'react/jsx-runtime'; | ||
import * as React from 'react'; | ||
@@ -12,4 +13,4 @@ | ||
} | ||
declare const QueryErrorResetBoundary: ({ children, }: QueryErrorResetBoundaryProps) => React.JSX.Element; | ||
declare const QueryErrorResetBoundary: ({ children, }: QueryErrorResetBoundaryProps) => react_jsx_runtime.JSX.Element; | ||
export { QueryErrorResetBoundary, type QueryErrorResetBoundaryProps, type QueryErrorResetBoundaryValue, useQueryErrorResetBoundary }; |
@@ -5,2 +5,3 @@ "use client"; | ||
import * as React from "react"; | ||
import { jsx } from "react/jsx-runtime"; | ||
function createValue() { | ||
@@ -26,3 +27,3 @@ let isReset = false; | ||
const [value] = React.useState(() => createValue()); | ||
return /* @__PURE__ */ React.createElement(QueryErrorResetBoundaryContext.Provider, { value }, typeof children === "function" ? children(value) : children); | ||
return /* @__PURE__ */ jsx(QueryErrorResetBoundaryContext.Provider, { value, children: typeof children === "function" ? children(value) : children }); | ||
}; | ||
@@ -29,0 +30,0 @@ export { |
import { QueryKey, Query, DefaultedQueryObserverOptions, QueryObserverResult, QueryObserver } from '@tanstack/query-core'; | ||
import { QueryErrorResetBoundaryValue } from './QueryErrorResetBoundary.js'; | ||
import 'react/jsx-runtime'; | ||
import 'react'; | ||
@@ -4,0 +5,0 @@ |
import { QueryKey, DefaultedQueryObserverOptions, QueryObserverResult, ThrowOnError, Query } from '@tanstack/query-core'; | ||
import { QueryErrorResetBoundaryValue } from './QueryErrorResetBoundary.js'; | ||
import 'react/jsx-runtime'; | ||
import 'react'; | ||
@@ -4,0 +5,0 @@ |
@@ -19,1 +19,2 @@ export * from '@tanstack/query-core'; | ||
import 'react'; | ||
import 'react/jsx-runtime'; |
@@ -5,2 +5,3 @@ "use client"; | ||
import * as React from "react"; | ||
import { jsx } from "react/jsx-runtime"; | ||
var QueryClientContext = React.createContext( | ||
@@ -29,3 +30,3 @@ void 0 | ||
}, [client]); | ||
return /* @__PURE__ */ React.createElement(QueryClientContext.Provider, { value: client }, children); | ||
return /* @__PURE__ */ jsx(QueryClientContext.Provider, { value: client, children }); | ||
}; | ||
@@ -32,0 +33,0 @@ export { |
@@ -0,1 +1,2 @@ | ||
import * as react_jsx_runtime from 'react/jsx-runtime'; | ||
import * as React from 'react'; | ||
@@ -12,4 +13,4 @@ | ||
} | ||
declare const QueryErrorResetBoundary: ({ children, }: QueryErrorResetBoundaryProps) => React.JSX.Element; | ||
declare const QueryErrorResetBoundary: ({ children, }: QueryErrorResetBoundaryProps) => react_jsx_runtime.JSX.Element; | ||
export { QueryErrorResetBoundary, type QueryErrorResetBoundaryProps, type QueryErrorResetBoundaryValue, useQueryErrorResetBoundary }; |
@@ -5,2 +5,3 @@ "use client"; | ||
import * as React from "react"; | ||
import { jsx } from "react/jsx-runtime"; | ||
function createValue() { | ||
@@ -26,3 +27,3 @@ let isReset = false; | ||
const [value] = React.useState(() => createValue()); | ||
return /* @__PURE__ */ React.createElement(QueryErrorResetBoundaryContext.Provider, { value }, typeof children === "function" ? children(value) : children); | ||
return /* @__PURE__ */ jsx(QueryErrorResetBoundaryContext.Provider, { value, children: typeof children === "function" ? children(value) : children }); | ||
}; | ||
@@ -29,0 +30,0 @@ export { |
import { QueryKey, Query, DefaultedQueryObserverOptions, QueryObserverResult, QueryObserver } from '@tanstack/query-core'; | ||
import { QueryErrorResetBoundaryValue } from './QueryErrorResetBoundary.js'; | ||
import 'react/jsx-runtime'; | ||
import 'react'; | ||
@@ -4,0 +5,0 @@ |
{ | ||
"name": "@tanstack/react-query", | ||
"version": "5.20.1", | ||
"version": "5.20.2", | ||
"description": "Hooks for managing, caching and syncing asynchronous and remote data in React", | ||
@@ -44,7 +44,7 @@ "author": "tannerlinsley", | ||
"dependencies": { | ||
"@tanstack/query-core": "5.20.1" | ||
"@tanstack/query-core": "5.20.2" | ||
}, | ||
"devDependencies": { | ||
"@types/react": "^18.2.45", | ||
"@types/react-dom": "^18.2.18", | ||
"@types/react": "^18.2.55", | ||
"@types/react-dom": "^18.2.19", | ||
"@vitejs/plugin-react": "^4.2.1", | ||
@@ -51,0 +51,0 @@ "react": "^18.2.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
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
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
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1923371
356
22305
+ Added@tanstack/query-core@5.20.2(transitive)
- Removed@tanstack/query-core@5.20.1(transitive)
Updated@tanstack/query-core@5.20.2