@tanstack/query-core 4.18.0 → 4.19.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/query-core",
3
- "version": "4.18.0",
3
+ "version": "4.19.0",
4
4
  "description": "The framework agnostic core that powers TanStack Query",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",
package/src/utils.ts CHANGED
@@ -68,7 +68,7 @@ export type QueryTypeFilter = 'all' | 'active' | 'inactive'
68
68
 
69
69
  // UTILS
70
70
 
71
- export const isServer = typeof window === 'undefined'
71
+ export const isServer = typeof document === 'undefined'
72
72
 
73
73
  export function noop(): undefined {
74
74
  return undefined