diff --git a/package.json b/package.json index 768f59f61..ba44ecf6a 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "react-ga4": "2.1.0", "react-i18next": "11.18.6", "react-image-crop": "9.1.1", - "react-query": "3.39.3", + "@tanstack/react-query": "4.0.5", "react-quill": "2.0.0", "react-router": "6.13.0", "react-router-dom": "6.13.0", diff --git a/yarn.lock b/yarn.lock index 8747f5b28..a9ee1e654 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5993,6 +5993,33 @@ __metadata: languageName: node linkType: hard +"@tanstack/query-core@npm:^4.0.0-beta.1": + version: 4.32.0 + resolution: "@tanstack/query-core@npm:4.32.0" + checksum: 7b3d965d634ff7e754d5f36fe2e4bd9a34548c1d7b13161a2f1a84c8eaafa835f8193e9494952ae20d330f3b56680a5ef516228b2d85b5bc5a34a49947223e58 + languageName: node + linkType: hard + +"@tanstack/react-query@npm:4.0.5": + version: 4.0.5 + resolution: "@tanstack/react-query@npm:4.0.5" + dependencies: + "@tanstack/query-core": ^4.0.0-beta.1 + "@types/use-sync-external-store": ^0.0.3 + use-sync-external-store: ^1.2.0 + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-native: "*" + peerDependenciesMeta: + react-dom: + optional: true + react-native: + optional: true + checksum: c555d2dce19a57ba254855f19a06e4968ae21a08d5cd8890635d9771f77d5aef2e889b23a300b25d1e09b52edeb3fdf7b4579679c43cf9449692463a45a689b8 + languageName: node + linkType: hard + "@testing-library/dom@npm:^9.0.0": version: 9.3.0 resolution: "@testing-library/dom@npm:9.3.0" @@ -6720,6 +6747,13 @@ __metadata: languageName: node linkType: hard +"@types/use-sync-external-store@npm:^0.0.3": + version: 0.0.3 + resolution: "@types/use-sync-external-store@npm:0.0.3" + checksum: 161ddb8eec5dbe7279ac971531217e9af6b99f7783213566d2b502e2e2378ea19cf5e5ea4595039d730aa79d3d35c6567d48599f69773a02ffcff1776ec2a44e + languageName: node + linkType: hard + "@types/uuid@npm:9.0.2": version: 9.0.2 resolution: "@types/uuid@npm:9.0.2" @@ -12156,6 +12190,7 @@ __metadata: "@mui/material": 5.13.7 "@sentry/react": 7.57.0 "@sentry/tracing": 7.57.0 + "@tanstack/react-query": 4.0.5 "@testing-library/jest-dom": ^5.16.5 "@testing-library/react": ^14.0.0 "@testing-library/user-event": ^14.4.3 @@ -12219,7 +12254,6 @@ __metadata: react-ga4: 2.1.0 react-i18next: 11.18.6 react-image-crop: 9.1.1 - react-query: 3.39.3 react-quill: 2.0.0 react-router: 6.13.0 react-router-dom: 6.13.0 @@ -21035,6 +21069,15 @@ __metadata: languageName: node linkType: hard +"use-sync-external-store@npm:^1.2.0": + version: 1.2.0 + resolution: "use-sync-external-store@npm:1.2.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + checksum: 5c639e0f8da3521d605f59ce5be9e094ca772bd44a4ce7322b055a6f58eeed8dda3c94cabd90c7a41fb6fa852210092008afe48f7038792fd47501f33299116a + languageName: node + linkType: hard + "util-deprecate@npm:^1.0.1, util-deprecate@npm:^1.0.2, util-deprecate@npm:~1.0.1": version: 1.0.2 resolution: "util-deprecate@npm:1.0.2"