Skip to content

Commit

Permalink
⬇️(frontend) react 18.3.1 -> 18.2.0
Browse files Browse the repository at this point in the history
Downgrade react to 18.2.0.
It seems to have a compatibility issue
with @openfun/cunningham-react.
  • Loading branch information
AntoLC committed Apr 29, 2024
1 parent a4e17b2 commit 61142ed
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 20 deletions.
4 changes: 2 additions & 2 deletions src/frontend/apps/impress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
"lodash": "4.17.21",
"luxon": "3.4.4",
"next": "14.2.3",
"react": "18.3.1",
"react": "*",
"react-aria-components": "1.1.1",
"react-dom": "18.3.1",
"react-dom": "*",
"react-i18next": "14.1.1",
"react-select": "5.8.0",
"styled-components": "6.1.8",
Expand Down
2 changes: 2 additions & 0 deletions src/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
"resolutions": {
"@types/node": "20.12.7",
"@types/react-dom": "18.3.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"typescript": "5.4.5"
}
}
21 changes: 3 additions & 18 deletions src/frontend/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9131,22 +9131,14 @@ [email protected], react-aria@^3.32.1:
"@react-aria/visually-hidden" "^3.8.10"
"@react-types/shared" "^3.22.1"

[email protected]:
react-dom@*, [email protected], react-dom@^18.2.0:
version "18.2.0"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d"
integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==
dependencies:
loose-envify "^1.1.0"
scheduler "^0.23.0"

[email protected], react-dom@^18.2.0:
version "18.3.1"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.3.1.tgz#c2265d79511b57d479b3dd3fdfa51536494c5cb4"
integrity sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==
dependencies:
loose-envify "^1.1.0"
scheduler "^0.23.2"

[email protected]:
version "14.1.1"
resolved "https://registry.yarnpkg.com/react-i18next/-/react-i18next-14.1.1.tgz#3d942a99866555ae3552c40f9fddfa061e29d7f3"
Expand Down Expand Up @@ -9288,20 +9280,13 @@ react-transition-group@^4.3.0:
loose-envify "^1.4.0"
prop-types "^15.6.2"

[email protected]:
react@*, react@18.2.0, react@^18:
version "18.2.0"
resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5"
integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==
dependencies:
loose-envify "^1.1.0"

[email protected], react@^18:
version "18.3.1"
resolved "https://registry.yarnpkg.com/react/-/react-18.3.1.tgz#49ab892009c53933625bd16b2533fc754cab2891"
integrity sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==
dependencies:
loose-envify "^1.1.0"

readable-stream@3, readable-stream@^3.6.0:
version "3.6.2"
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967"
Expand Down Expand Up @@ -9697,7 +9682,7 @@ saxes@^6.0.0:
dependencies:
xmlchars "^2.2.0"

scheduler@^0.23.0, scheduler@^0.23.2:
scheduler@^0.23.0:
version "0.23.2"
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.2.tgz#414ba64a3b282892e944cf2108ecc078d115cdc3"
integrity sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==
Expand Down

0 comments on commit 61142ed

Please sign in to comment.