From b8b8f30683d4c4d3e83cb203d83387786d4f8252 Mon Sep 17 00:00:00 2001 From: Nick Husher Date: Thu, 24 Oct 2024 11:28:27 -0400 Subject: [PATCH] chore(ui): Upgrade to React18. Does not include typedef changes. --- weave-js/package.json | 7 +++---- weave-js/yarn.lock | 29 +++++++++++++---------------- 2 files changed, 16 insertions(+), 20 deletions(-) diff --git a/weave-js/package.json b/weave-js/package.json index d925f9d0a42..26bf1983118 100644 --- a/weave-js/package.json +++ b/weave-js/package.json @@ -91,13 +91,13 @@ "plotly.js-dist-min": "^2.6.3", "prismjs": "1.29.0", "query-string": "^8.1.0", - "react": "^17.0.2", + "react": "^18.3.1", "react-app-polyfill": "^3.0.0", "react-base-table": "^1.12.0", "react-cytoscapejs": "^1.2.1", "react-datetime": "^3", "react-diff-viewer": "^3.1.1", - "react-dom": "^17.0.2", + "react-dom": "^18.3.1", "react-hook-mousetrap": "^2.0.4", "react-intersection-observer": "^8.31.0", "react-markdown": "^8.0.7", @@ -239,7 +239,6 @@ "@types/react": "^17.0.26", "@types/react-dom": "^17.0.9", "handlebars": "^4.7.7", - "lodash": "^4.17.21", - "react": "^17.0.2" + "lodash": "^4.17.21" } } diff --git a/weave-js/yarn.lock b/weave-js/yarn.lock index 2ee20553257..9a9a7fa6c26 100644 --- a/weave-js/yarn.lock +++ b/weave-js/yarn.lock @@ -12023,14 +12023,13 @@ react-diff-viewer@^3.1.1: memoize-one "^5.0.4" prop-types "^15.6.2" -react-dom@^17.0.2: - version "17.0.2" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-17.0.2.tgz#ecffb6845e3ad8dbfcdc498f0d0a939736502c23" - integrity sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA== +react-dom@^18.3.1: + 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" - object-assign "^4.1.1" - scheduler "^0.20.2" + scheduler "^0.23.2" react-draggable@^4.0.3: version "4.4.5" @@ -12315,13 +12314,12 @@ react-window@^1.8.2: "@babel/runtime" "^7.0.0" memoize-one ">=3.1.1 <6" -react@^17.0.2: - version "17.0.2" - resolved "https://registry.yarnpkg.com/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037" - integrity sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA== +react@^18.3.1: + 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" - object-assign "^4.1.1" read-cache@^1.0.0: version "1.0.0" @@ -12953,13 +12951,12 @@ saxes@^6.0.0: dependencies: xmlchars "^2.2.0" -scheduler@^0.20.2: - version "0.20.2" - resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.20.2.tgz#4baee39436e34aa93b4874bddcbf0fe8b8b50e91" - integrity sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ== +scheduler@^0.23.2: + version "0.23.2" + resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.2.tgz#414ba64a3b282892e944cf2108ecc078d115cdc3" + integrity sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ== dependencies: loose-envify "^1.1.0" - object-assign "^4.1.1" script-onload@^1.0.2: version "1.0.2"