From e419a06656974257db2070e0dabe2b2eb4f93d3f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 17 Jan 2025 14:00:12 +0000 Subject: [PATCH] fix(deps): update react monorepo to v19 --- example/package.json | 8 ++-- package.json | 8 ++-- packages/core/package.json | 4 +- packages/docs/package.json | 4 +- packages/integration-algolia/package.json | 4 +- .../integration-google-analytics/package.json | 4 +- .../package.json | 4 +- packages/integration-hubspot/package.json | 4 +- packages/integration-linkedin/package.json | 4 +- packages/integration-mapbox/package.json | 4 +- packages/integration-matomo/package.json | 4 +- packages/integration-segment/package.json | 4 +- packages/integration-vimeo/package.json | 4 +- packages/integration-youtube/package.json | 4 +- packages/interface-default/package.json | 4 +- yarn.lock | 47 ++++++++----------- 16 files changed, 54 insertions(+), 61 deletions(-) diff --git a/example/package.json b/example/package.json index 2bc24acb..e5053c2e 100644 --- a/example/package.json +++ b/example/package.json @@ -9,14 +9,14 @@ }, "dependencies": { "@consent-manager/core": "^2.0.0-next.0", - "react": "^18.0.0", + "react": "^19.0.0", "react-app-polyfill": "^3.0.0", - "react-dom": "^18.0.0", + "react-dom": "^19.0.0", "react-router-dom": "^5.2.0" }, "devDependencies": { - "@types/react": "18.2.58", - "@types/react-dom": "18.2.19", + "@types/react": "19.0.7", + "@types/react-dom": "19.0.3", "parcel": "^2.0.0", "process": "^0.11.10", "typescript": "^5.3.3" diff --git a/package.json b/package.json index 31d90b98..42afdcc3 100644 --- a/package.json +++ b/package.json @@ -31,8 +31,8 @@ "@babel/helper-explode-assignable-expression": "^7.18.6", "@changesets/changelog-github": "0.5.0", "@changesets/cli": "2.27.11", - "@types/react": "18.2.58", - "@types/react-dom": "18.2.19", + "@types/react": "19.0.7", + "@types/react-dom": "19.0.3", "@typescript-eslint/eslint-plugin": "^6.15.0", "@typescript-eslint/parser": "^6.15.0", "cypress": "14.0.0", @@ -41,8 +41,8 @@ "eslint-plugin-jsx-a11y": "^6.8.0", "lerna": "4.0.0", "prettier": "^3.1.1", - "react": "18.2.0", - "react-dom": "18.2.0", + "react": "19.0.0", + "react-dom": "19.0.0", "tsdx": "0.14.1", "typescript": "^5.3.3", "typescript-plugin-css-modules": "^3.4.0" diff --git a/packages/core/package.json b/packages/core/package.json index 84c5465c..d249bfef 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -51,8 +51,8 @@ "third-party-integrations" ], "peerDependencies": { - "react": "^16.8.0 || ^17.0.1 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0" + "react": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0", + "react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0" }, "dependencies": { "history": "^5.0.0", diff --git a/packages/docs/package.json b/packages/docs/package.json index 76b6e7a4..d1d85000 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -54,8 +54,8 @@ "@mdx-js/react": "3.1.0", "@u-wave/react-vimeo": "0.9.12", "clsx": "2.1.1", - "react": "18.2.0", - "react-dom": "18.2.0", + "react": "19.0.0", + "react-dom": "19.0.0", "react-youtube": "10.1.0", "use-persisted-state": "0.3.3" }, diff --git a/packages/integration-algolia/package.json b/packages/integration-algolia/package.json index c7899a5f..68642231 100644 --- a/packages/integration-algolia/package.json +++ b/packages/integration-algolia/package.json @@ -49,7 +49,7 @@ }, "peerDependencies": { "@consent-manager/core": "^2.0.0-next.0", - "react": "^16.8.0 || ^17.0.1 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0" + "react": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0", + "react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0" } } diff --git a/packages/integration-google-analytics/package.json b/packages/integration-google-analytics/package.json index 5cec17ab..930e202e 100644 --- a/packages/integration-google-analytics/package.json +++ b/packages/integration-google-analytics/package.json @@ -51,7 +51,7 @@ }, "peerDependencies": { "@consent-manager/core": "^2.0.0-next.0", - "react": "^16.8.0 || ^17.0.1 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0" + "react": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0", + "react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0" } } diff --git a/packages/integration-google-tag-manager/package.json b/packages/integration-google-tag-manager/package.json index 21d43dd9..6c3ca705 100644 --- a/packages/integration-google-tag-manager/package.json +++ b/packages/integration-google-tag-manager/package.json @@ -51,8 +51,8 @@ }, "peerDependencies": { "@consent-manager/core": "^2.0.0-next.0", - "react": "^16.8.0 || ^17.0.1 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0" + "react": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0", + "react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0" }, "devDependencies": { "@types/react-gtm-module": "2.0.4" diff --git a/packages/integration-hubspot/package.json b/packages/integration-hubspot/package.json index 22688ee5..012c9265 100644 --- a/packages/integration-hubspot/package.json +++ b/packages/integration-hubspot/package.json @@ -49,7 +49,7 @@ }, "peerDependencies": { "@consent-manager/core": "^2.0.0-next.0", - "react": "^16.8.0 || ^17.0.1 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0" + "react": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0", + "react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0" } } diff --git a/packages/integration-linkedin/package.json b/packages/integration-linkedin/package.json index a9b93c13..a730501e 100644 --- a/packages/integration-linkedin/package.json +++ b/packages/integration-linkedin/package.json @@ -49,7 +49,7 @@ }, "peerDependencies": { "@consent-manager/core": "^2.0.0-next.0", - "react": "^16.8.0 || ^17.0.1 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0" + "react": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0", + "react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0" } } diff --git a/packages/integration-mapbox/package.json b/packages/integration-mapbox/package.json index b4904624..02f731ce 100644 --- a/packages/integration-mapbox/package.json +++ b/packages/integration-mapbox/package.json @@ -49,7 +49,7 @@ }, "peerDependencies": { "@consent-manager/core": "^2.0.0-next.0", - "react": "^16.8.0 || ^17.0.1 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0" + "react": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0", + "react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0" } } diff --git a/packages/integration-matomo/package.json b/packages/integration-matomo/package.json index 0269aa7d..2101b001 100644 --- a/packages/integration-matomo/package.json +++ b/packages/integration-matomo/package.json @@ -51,7 +51,7 @@ }, "peerDependencies": { "@consent-manager/core": "^2.0.0-next.0", - "react": "^16.8.0 || ^17.0.1 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0" + "react": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0", + "react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0" } } diff --git a/packages/integration-segment/package.json b/packages/integration-segment/package.json index 49a5aabf..1926d56f 100644 --- a/packages/integration-segment/package.json +++ b/packages/integration-segment/package.json @@ -51,8 +51,8 @@ }, "peerDependencies": { "@consent-manager/core": "^2.0.0-next.0", - "react": "^16.8.0 || ^17.0.1 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0" + "react": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0", + "react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0" }, "devDependencies": {} } diff --git a/packages/integration-vimeo/package.json b/packages/integration-vimeo/package.json index 3d9d683d..6517820e 100644 --- a/packages/integration-vimeo/package.json +++ b/packages/integration-vimeo/package.json @@ -49,7 +49,7 @@ }, "peerDependencies": { "@consent-manager/core": "^2.0.0-next.0", - "react": "^16.8.0 || ^17.0.1 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0" + "react": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0", + "react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0" } } diff --git a/packages/integration-youtube/package.json b/packages/integration-youtube/package.json index e74a865b..607f5314 100644 --- a/packages/integration-youtube/package.json +++ b/packages/integration-youtube/package.json @@ -49,7 +49,7 @@ }, "peerDependencies": { "@consent-manager/core": "^2.0.0-next.0", - "react": "^16.8.0 || ^17.0.1 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0" + "react": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0", + "react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0" } } diff --git a/packages/interface-default/package.json b/packages/interface-default/package.json index 30201bc6..929bda58 100644 --- a/packages/interface-default/package.json +++ b/packages/interface-default/package.json @@ -56,8 +56,8 @@ }, "peerDependencies": { "@consent-manager/core": "^2.0.0-next.3", - "react": "^16.8.0 || ^17.0.1 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0" + "react": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0", + "react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0" }, "devDependencies": { "@types/body-scroll-lock": "3.1.2", diff --git a/yarn.lock b/yarn.lock index 2ab98cf8..28c7473a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6634,12 +6634,10 @@ resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.4.tgz#cd667bcfdd025213aafb7ca5915a932590acdcdc" integrity sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw== -"@types/react-dom@18.2.19": - version "18.2.19" - resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.2.19.tgz#b84b7c30c635a6c26c6a6dfbb599b2da9788be58" - integrity sha512-aZvQL6uUbIJpjZk4U8JZGbau9KDeAwMfmhyWorxgBkqDIEf6ROjRozcmPIicqsUwPUjbkDfHKgGee1Lq65APcA== - dependencies: - "@types/react" "*" +"@types/react-dom@19.0.3": + version "19.0.3" + resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-19.0.3.tgz#0804dfd279a165d5a0ad8b53a5b9e65f338050a4" + integrity sha512-0Knk+HJiMP/qOZgMyNFamlIjw9OFCsyC2ZbigmEEyXXixgre6IQpm/4V+r3qH4GC1JPvRJKInw+on2rV6YZLeA== "@types/react-gtm-module@2.0.4": version "2.0.4" @@ -6677,7 +6675,7 @@ resolved "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-4.4.12.tgz#b5d76568485b02a307238270bfe96cb51ee2a044" integrity sha512-8TV6R3h2j7a91c+1DXdJi3Syo69zzIZbz7Lg5tORM5LEJG7X/E6a1V3drRyBRZq7/utz7A+c4OgYLiLcYGHG6w== -"@types/react@*", "@types/react@18.2.58": +"@types/react@*": version "18.2.58" resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.58.tgz#22082d12898d11806f4a1aefb5583116a047493d" integrity sha512-TaGvMNhxvG2Q0K0aYxiKfNDS5m5ZsoIBBbtfUorxdH4NGSXIlYvZxLJI+9Dd3KjeB3780bciLyAb7ylO8pLhPw== @@ -6686,7 +6684,7 @@ "@types/scheduler" "*" csstype "^3.0.2" -"@types/react@^17.0.0 || ^18.0.0 || ^19.0.0": +"@types/react@19.0.7", "@types/react@^17.0.0 || ^18.0.0 || ^19.0.0": version "19.0.7" resolved "https://registry.yarnpkg.com/@types/react/-/react-19.0.7.tgz#c451968b999d1cb2d9207dc5ff56496164cf511d" integrity sha512-MoFsEJKkAtZCrC1r6CM8U22GzhG7u2Wir8ons/aCKH6MBdD1ibV24zOSSkdZVUKqN5i396zG5VKLYZ3yaUZdLA== @@ -14483,7 +14481,7 @@ longest-streak@^3.0.0: resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-3.1.0.tgz#62fa67cd958742a1574af9f39866364102d90cd4" integrity sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g== -loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.2.0, loose-envify@^1.3.1, loose-envify@^1.4.0: +loose-envify@^1.0.0, loose-envify@^1.2.0, loose-envify@^1.3.1, loose-envify@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== @@ -18057,13 +18055,12 @@ react-div-100vh@^0.7.0: resolved "https://registry.yarnpkg.com/react-div-100vh/-/react-div-100vh-0.7.0.tgz#b3bec03a833fa40e406f36ed2e23a35a59d1068f" integrity sha512-I3d77tQyaSlOx/6vurDDLk7upb5GA2ldEtVXkk7Kn5cy+tLlS0KlqDK14xUxlxh7jz4StjgKcwFyrpymsPpomA== -react-dom@18.2.0, react-dom@^18.0.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== +react-dom@19.0.0, 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== dependencies: - loose-envify "^1.1.0" - scheduler "^0.23.0" + scheduler "^0.25.0" react-error-overlay@6.0.9: version "6.0.9" @@ -18209,12 +18206,10 @@ react-youtube@10.1.0: prop-types "15.8.1" youtube-player "5.5.2" -react@18.2.0, react@^18.0.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" +react@19.0.0, 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== read-cmd-shim@^2.0.0: version "2.0.0" @@ -19131,12 +19126,10 @@ saxes@^3.1.9: dependencies: xmlchars "^2.1.1" -scheduler@^0.23.0: - version "0.23.0" - resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" - integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== - dependencies: - loose-envify "^1.1.0" +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== schema-utils@2.7.0: version "2.7.0"