@tanstack/solid-query 4.7.2 → 4.9.0

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": "4.7.2",
3
+ "version": "4.9.0",
4
4
  "description": "Primitives for managing, caching and syncing asynchronous and remote data in Solid",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",
@@ -37,7 +37,7 @@
37
37
  "jscodeshift": "^0.13.1"
38
38
  },
39
39
  "dependencies": {
40
- "@tanstack/query-core": "4.7.2"
40
+ "@tanstack/query-core": "4.9.0"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "solid-js": "^1.5.4"
@@ -47,6 +47,6 @@
47
47
  "clean": "rm -rf ./build",
48
48
  "test:eslint": "../../node_modules/.bin/eslint --ext .ts,.tsx ./src",
49
49
  "test:jest": "../../node_modules/.bin/jest --config jest.config.js",
50
- "test:jest:dev": "yarn test:jest --watch"
50
+ "test:jest:dev": "pnpm test:jest --watch"
51
51
  }
52
52
  }
@@ -93,6 +93,7 @@ describe('useInfiniteQuery', () => {
93
93
  isFetchingNextPage: false,
94
94
  isFetchingPreviousPage: false,
95
95
  isLoading: true,
96
+ isInitialLoading: true,
96
97
  isLoadingError: false,
97
98
  isPlaceholderData: false,
98
99
  isPreviousData: false,
@@ -125,6 +126,7 @@ describe('useInfiniteQuery', () => {
125
126
  isFetchingNextPage: false,
126
127
  isFetchingPreviousPage: false,
127
128
  isLoading: false,
129
+ isInitialLoading: false,
128
130
  isLoadingError: false,
129
131
  isPlaceholderData: false,
130
132
  isPreviousData: false,
@@ -273,6 +273,7 @@ describe('createQuery', () => {
273
273
  isFetching: true,
274
274
  isPaused: false,
275
275
  isLoading: true,
276
+ isInitialLoading: true,
276
277
  isLoadingError: false,
277
278
  isPlaceholderData: false,
278
279
  isPreviousData: false,
@@ -299,6 +300,7 @@ describe('createQuery', () => {
299
300
  isFetching: false,
300
301
  isPaused: false,
301
302
  isLoading: false,
303
+ isInitialLoading: false,
302
304
  isLoadingError: false,
303
305
  isPlaceholderData: false,
304
306
  isPreviousData: false,
@@ -361,6 +363,7 @@ describe('createQuery', () => {
361
363
  isFetching: true,
362
364
  isPaused: false,
363
365
  isLoading: true,
366
+ isInitialLoading: true,
364
367
  isLoadingError: false,
365
368
  isPlaceholderData: false,
366
369
  isPreviousData: false,
@@ -387,6 +390,7 @@ describe('createQuery', () => {
387
390
  isFetching: true,
388
391
  isPaused: false,
389
392
  isLoading: true,
393
+ isInitialLoading: true,
390
394
  isLoadingError: false,
391
395
  isPlaceholderData: false,
392
396
  isPreviousData: false,
@@ -413,6 +417,7 @@ describe('createQuery', () => {
413
417
  isFetching: false,
414
418
  isPaused: false,
415
419
  isLoading: false,
420
+ isInitialLoading: false,
416
421
  isLoadingError: true,
417
422
  isPlaceholderData: false,
418
423
  isPreviousData: false,