Skip to content

Commit 8b9a80e

Browse files
chore(deps): update dependency @tanstack/react-query to v4.40.0 (#2155)
* fix(deps): update dependency @tanstack/react-query to v4.40.0 * fix: npm was trying to install react-native which conflicted with React 18 The problem is that react-query 4.40.0 specifies an optional, unpinned peerDependency on react-native, and then it depends on @types/react 19, causing a conflict with our React 18. Putting an explicit dependency on the React types solves this. As would upgrading to React Query v5. --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Braden MacDonald <[email protected]>
1 parent a5c1745 commit 8b9a80e

File tree

2 files changed

+23
-9
lines changed

2 files changed

+23
-9
lines changed

package-lock.json

Lines changed: 20 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"@openedx/paragon": "^23.5.0",
6666
"@redux-devtools/extension": "^3.3.0",
6767
"@reduxjs/toolkit": "1.9.7",
68-
"@tanstack/react-query": "4.36.1",
68+
"@tanstack/react-query": "4.40.0",
6969
"@tinymce/tinymce-react": "^3.14.0",
7070
"classnames": "2.5.1",
7171
"codemirror": "^6.0.0",
@@ -111,6 +111,8 @@
111111
"@testing-library/react": "^16.2.0",
112112
"@testing-library/user-event": "^13.2.1",
113113
"@types/lodash": "^4.17.17",
114+
"@types/react": "^18",
115+
"@types/react-dom": "^18",
114116
"axios-mock-adapter": "1.22.0",
115117
"eslint-import-resolver-webpack": "^0.13.8",
116118
"fetch-mock-jest": "^1.5.1",

0 commit comments

Comments
 (0)