@tanstack/react-query-devtools 5.0.0-alpha.0 → 5.0.0-alpha.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/build/lib/devtools.esm.js +1 -1
- package/build/lib/devtools.esm.js.map +1 -1
- package/build/lib/devtools.js +1 -1
- package/build/lib/devtools.js.map +1 -1
- package/build/lib/devtools.mjs +1 -1
- package/build/lib/devtools.mjs.map +1 -1
- package/build/lib/index.esm.js.map +1 -1
- package/build/lib/index.js.map +1 -1
- package/build/lib/index.mjs.map +1 -1
- package/build/lib/index.prod.esm.js +1 -1
- package/build/lib/index.prod.esm.js.map +1 -1
- package/build/lib/index.prod.js +1 -1
- package/build/lib/index.prod.js.map +1 -1
- package/build/lib/index.prod.mjs +1 -1
- package/build/lib/index.prod.mjs.map +1 -1
- package/build/umd/index.development.js +1 -1
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +3 -3
- package/src/__tests__/devtools.test.tsx +6 -6
- package/src/devtools.tsx +1 -1
- package/src/index.ts +2 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.production.js","sources":["../../src/index.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"index.production.js","sources":["../../src/index.ts"],"sourcesContent":["'use client'\n\nimport * as devtools from './devtools'\n\nexport const ReactQueryDevtools: (typeof devtools)['ReactQueryDevtools'] =\n process.env.NODE_ENV !== 'development'\n ? function () {\n return null\n }\n : devtools.ReactQueryDevtools\n\nexport const ReactQueryDevtoolsPanel: (typeof devtools)['ReactQueryDevtoolsPanel'] =\n process.env.NODE_ENV !== 'development'\n ? (function () {\n return null\n } as any)\n : devtools.ReactQueryDevtoolsPanel\n"],"names":[],"mappings":"+QAMM,WACE,OAAO,gCAMR,WACC,OAAO"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/react-query-devtools",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.2",
|
|
4
4
|
"description": "Developer tools to interact with and visualize the TanStack/react-query cache",
|
|
5
5
|
"author": "tannerlinsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"react": "^18.2.0",
|
|
44
44
|
"react-dom": "^18.2.0",
|
|
45
45
|
"react-error-boundary": "^3.1.4",
|
|
46
|
-
"@tanstack/react-query": "5.0.0-alpha.
|
|
46
|
+
"@tanstack/react-query": "5.0.0-alpha.2"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@tanstack/match-sorter-utils": "^8.7.0",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"react": "^18.0.0",
|
|
54
54
|
"react-dom": "^18.0.0",
|
|
55
|
-
"@tanstack/react-query": "5.0.0-alpha.
|
|
55
|
+
"@tanstack/react-query": "5.0.0-alpha.2"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"clean": "rimraf ./build",
|
|
@@ -720,9 +720,9 @@ describe('ReactQueryDevtools', () => {
|
|
|
720
720
|
initialIsOpen: true,
|
|
721
721
|
})
|
|
722
722
|
|
|
723
|
-
const positionSelect =
|
|
723
|
+
const positionSelect: HTMLSelectElement = await screen.findByLabelText(
|
|
724
724
|
'Panel position',
|
|
725
|
-
)
|
|
725
|
+
)
|
|
726
726
|
|
|
727
727
|
expect(positionSelect.value).toBe('bottom')
|
|
728
728
|
})
|
|
@@ -748,9 +748,9 @@ describe('ReactQueryDevtools', () => {
|
|
|
748
748
|
panelPosition: 'left',
|
|
749
749
|
})
|
|
750
750
|
|
|
751
|
-
const positionSelect =
|
|
751
|
+
const positionSelect: HTMLSelectElement = await screen.findByLabelText(
|
|
752
752
|
'Panel position',
|
|
753
|
-
)
|
|
753
|
+
)
|
|
754
754
|
|
|
755
755
|
expect(positionSelect.value).toBe('left')
|
|
756
756
|
|
|
@@ -783,9 +783,9 @@ describe('ReactQueryDevtools', () => {
|
|
|
783
783
|
initialIsOpen: true,
|
|
784
784
|
})
|
|
785
785
|
|
|
786
|
-
const positionSelect =
|
|
786
|
+
const positionSelect: HTMLSelectElement = await screen.findByLabelText(
|
|
787
787
|
'Panel position',
|
|
788
|
-
)
|
|
788
|
+
)
|
|
789
789
|
|
|
790
790
|
expect(positionSelect.value).toBe('bottom')
|
|
791
791
|
|
package/src/devtools.tsx
CHANGED