@tanstack/react-query 4.19.1 → 4.20.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/react-query",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.20.2",
|
|
4
4
|
"description": "Hooks for managing, caching and syncing asynchronous and remote data in React",
|
|
5
5
|
"author": "tannerlinsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"use-sync-external-store": "^1.2.0",
|
|
50
|
-
"@tanstack/query-core": "4.
|
|
50
|
+
"@tanstack/query-core": "4.20.2"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
@@ -4780,8 +4780,7 @@ describe('useQuery', () => {
|
|
|
4780
4780
|
|
|
4781
4781
|
await sleep(10)
|
|
4782
4782
|
|
|
4783
|
-
expect(renders).toBe(
|
|
4784
|
-
expect(hashes).toBe(2)
|
|
4783
|
+
expect(renders).toBe(hashes)
|
|
4785
4784
|
})
|
|
4786
4785
|
|
|
4787
4786
|
it('should refetch when changed enabled to true in error state', async () => {
|