@tanstack/solid-query 5.51.9 → 5.51.14
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/solid-query",
|
|
3
|
-
"version": "5.51.
|
|
3
|
+
"version": "5.51.14",
|
|
4
4
|
"description": "Primitives for managing, caching and syncing asynchronous and remote data in Solid",
|
|
5
5
|
"author": "tannerlinsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"src"
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@tanstack/query-core": "5.51.
|
|
47
|
+
"@tanstack/query-core": "5.51.14"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"tsup-preset-solid": "^2.2.0",
|
|
@@ -3842,7 +3842,7 @@ describe('createQuery', () => {
|
|
|
3842
3842
|
const query = createQuery(() => ({
|
|
3843
3843
|
queryKey: key,
|
|
3844
3844
|
queryFn: () => 'fetched data',
|
|
3845
|
-
gcTime: 1000 * 60 * 10, //10 Minutes
|
|
3845
|
+
gcTime: 1000 * 60 * 10, // 10 Minutes
|
|
3846
3846
|
}))
|
|
3847
3847
|
return <div>{query.data}</div>
|
|
3848
3848
|
}
|
|
@@ -4047,7 +4047,7 @@ describe('createQuery', () => {
|
|
|
4047
4047
|
|
|
4048
4048
|
await waitFor(() => rendered.getByText('count: 1'))
|
|
4049
4049
|
|
|
4050
|
-
await sleep(10) //extra sleep to make sure we're not re-fetching
|
|
4050
|
+
await sleep(10) // extra sleep to make sure we're not re-fetching
|
|
4051
4051
|
|
|
4052
4052
|
expect(states.length).toEqual(2)
|
|
4053
4053
|
|
|
@@ -4560,7 +4560,7 @@ describe('createQuery', () => {
|
|
|
4560
4560
|
readonly [typeof key, number]
|
|
4561
4561
|
> = async (ctx) => {
|
|
4562
4562
|
const [, limit] = ctx.queryKey
|
|
4563
|
-
// eslint-disable-next-line
|
|
4563
|
+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
4564
4564
|
const value = limit % 2 && ctx.signal ? 'abort' : `data ${limit}`
|
|
4565
4565
|
await sleep(25)
|
|
4566
4566
|
return value
|