@tanstack/query-core 4.19.1 → 4.20.4

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.
Files changed (39) hide show
  1. package/build/lib/focusManager.esm.js +2 -0
  2. package/build/lib/focusManager.esm.js.map +1 -1
  3. package/build/lib/focusManager.js +2 -0
  4. package/build/lib/focusManager.js.map +1 -1
  5. package/build/lib/focusManager.mjs +2 -0
  6. package/build/lib/focusManager.mjs.map +1 -1
  7. package/build/lib/infiniteQueryBehavior.esm.js +4 -0
  8. package/build/lib/infiniteQueryBehavior.esm.js.map +1 -1
  9. package/build/lib/infiniteQueryBehavior.js +4 -0
  10. package/build/lib/infiniteQueryBehavior.js.map +1 -1
  11. package/build/lib/infiniteQueryBehavior.mjs +4 -0
  12. package/build/lib/infiniteQueryBehavior.mjs.map +1 -1
  13. package/build/lib/onlineManager.esm.js +2 -0
  14. package/build/lib/onlineManager.esm.js.map +1 -1
  15. package/build/lib/onlineManager.js +2 -0
  16. package/build/lib/onlineManager.js.map +1 -1
  17. package/build/lib/onlineManager.mjs +2 -0
  18. package/build/lib/onlineManager.mjs.map +1 -1
  19. package/build/lib/retryer.esm.js +2 -0
  20. package/build/lib/retryer.esm.js.map +1 -1
  21. package/build/lib/retryer.js +2 -0
  22. package/build/lib/retryer.js.map +1 -1
  23. package/build/lib/retryer.mjs +2 -0
  24. package/build/lib/retryer.mjs.map +1 -1
  25. package/build/lib/utils.esm.js +2 -0
  26. package/build/lib/utils.esm.js.map +1 -1
  27. package/build/lib/utils.js +2 -0
  28. package/build/lib/utils.js.map +1 -1
  29. package/build/lib/utils.mjs +2 -0
  30. package/build/lib/utils.mjs.map +1 -1
  31. package/build/umd/index.development.js +12 -0
  32. package/build/umd/index.development.js.map +1 -1
  33. package/build/umd/index.production.js.map +1 -1
  34. package/package.json +1 -1
  35. package/src/focusManager.ts +1 -0
  36. package/src/infiniteQueryBehavior.ts +2 -0
  37. package/src/onlineManager.ts +2 -0
  38. package/src/retryer.ts +1 -0
  39. package/src/utils.ts +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/query-core",
3
- "version": "4.19.1",
3
+ "version": "4.20.4",
4
4
  "description": "The framework agnostic core that powers TanStack Query",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",
@@ -28,6 +28,7 @@ export class FocusManager extends Subscribable {
28
28
  window.removeEventListener('focus', listener)
29
29
  }
30
30
  }
31
+ return
31
32
  }
32
33
  }
33
34
 
@@ -193,6 +193,7 @@ export function hasNextPage(
193
193
  nextPageParam !== false
194
194
  )
195
195
  }
196
+ return
196
197
  }
197
198
 
198
199
  /**
@@ -211,4 +212,5 @@ export function hasPreviousPage(
211
212
  previousPageParam !== false
212
213
  )
213
214
  }
215
+ return
214
216
  }
@@ -28,6 +28,8 @@ export class OnlineManager extends Subscribable {
28
28
  window.removeEventListener('offline', listener)
29
29
  }
30
30
  }
31
+
32
+ return
31
33
  }
32
34
  }
33
35
 
package/src/retryer.ts CHANGED
@@ -185,6 +185,7 @@ export function createRetryer<TData = unknown, TError = unknown>(
185
185
  if (shouldPause()) {
186
186
  return pause()
187
187
  }
188
+ return
188
189
  })
189
190
  .then(() => {
190
191
  if (isRetryCancelled) {
package/src/utils.ts CHANGED
@@ -418,6 +418,7 @@ export function getAbortController(): AbortController | undefined {
418
418
  if (typeof AbortController === 'function') {
419
419
  return new AbortController()
420
420
  }
421
+ return
421
422
  }
422
423
 
423
424
  export function replaceData<