From 9ee3a0ed0e8be3d9eab32c4e256f9673af8f9a67 Mon Sep 17 00:00:00 2001 From: idastambuk Date: Fri, 3 Jan 2025 11:33:05 +0100 Subject: [PATCH] Revert react --- .github/dependabot.yml | 4 ++-- package.json | 4 ++-- yarn.lock | 31 ++++++++++++++++++------------- 3 files changed, 22 insertions(+), 17 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d27d54d..8ddc7cf 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -25,9 +25,9 @@ updates: - dependency-name: '@aws-sdk/*' - dependency-name: '@cloudscape-design/*' - dependency-name: 'react' - - update-types: ["version-update:semver-major"] + update-types: ["version-update:semver-major"] - dependency-name: 'react-dom' - - update-types: ["version-update:semver-major"] + update-types: ["version-update:semver-major"] groups: all-node-dependencies: patterns: diff --git a/package.json b/package.json index e8a37cd..7b4973d 100644 --- a/package.json +++ b/package.json @@ -106,8 +106,8 @@ "aws-iot-twinmaker-grafana-utils": "file:libs/aws-iot-twinmaker-grafana-utils-2.1.0.tgz", "aws-sdk": "^2.1692.0", "cytoscape": "^3.30.4", - "react": "19.0.0", - "react-dom": "19.0.0", + "react": "18.2.0", + "react-dom": "18.2.0", "react-router-dom": "^7.1.1", "react-use": "^17.6.0", "rxjs": "7.8.1", diff --git a/yarn.lock b/yarn.lock index 675e9e0..c7a133b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13622,12 +13622,13 @@ react-dnd@^16.0.1: fast-deep-equal "^3.1.3" hoist-non-react-statics "^3.3.2" -react-dom@19.0.0: - version "19.0.0" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-19.0.0.tgz#43446f1f01c65a4cd7f7588083e686a6726cfb57" - integrity sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ== +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: - scheduler "^0.25.0" + loose-envify "^1.1.0" + scheduler "^0.23.0" react-draggable@^4.0.3: version "4.4.6" @@ -13967,10 +13968,12 @@ react-window@1.8.10: "@babel/runtime" "^7.0.0" memoize-one ">=3.1.1 <6" -react@19.0.0: - version "19.0.0" - resolved "https://registry.yarnpkg.com/react/-/react-19.0.0.tgz#6e1969251b9f108870aa4bff37a0ce9ddfaaabdd" - integrity sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ== +react@18.2.0: + 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" reactcss@^1.2.0: version "1.2.3" @@ -14338,10 +14341,12 @@ scheduler@^0.20.2: loose-envify "^1.1.0" object-assign "^4.1.1" -scheduler@^0.25.0: - version "0.25.0" - resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.25.0.tgz#336cd9768e8cceebf52d3c80e3dcf5de23e7e015" - integrity sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA== +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== + dependencies: + loose-envify "^1.1.0" schema-utils@>1.0.0, schema-utils@^4.2.0, schema-utils@^4.3.0: version "4.3.0"