From 7c435eb507a19f75d6adc9bebc42d12957c60d9e Mon Sep 17 00:00:00 2001 From: Alexander Nanberg Date: Thu, 13 Jun 2024 15:09:32 +0200 Subject: [PATCH] Fix examples --- e2e/node-cjs/package.json | 2 +- e2e/node-esm/package.json | 2 +- packages/examples/package.json | 4 ++-- yarn.lock | 9 +-------- 4 files changed, 5 insertions(+), 12 deletions(-) diff --git a/e2e/node-cjs/package.json b/e2e/node-cjs/package.json index e14dc53d5..066fe5131 100644 --- a/e2e/node-cjs/package.json +++ b/e2e/node-cjs/package.json @@ -13,6 +13,6 @@ }, "dependencies": { "@react-pdf/renderer": "^3.4.4", - "react": "^18.2.0" + "react": "^19.0.0-rc-a26e3f403e-20240611" } } diff --git a/e2e/node-esm/package.json b/e2e/node-esm/package.json index 3f8956f6d..e583f3213 100644 --- a/e2e/node-esm/package.json +++ b/e2e/node-esm/package.json @@ -13,6 +13,6 @@ }, "dependencies": { "@react-pdf/renderer": "^3.4.4", - "react": "^18.2.0" + "react": "^19.0.0-rc-a26e3f403e-20240611" } } diff --git a/packages/examples/package.json b/packages/examples/package.json index 6546e6455..49c078ac6 100644 --- a/packages/examples/package.json +++ b/packages/examples/package.json @@ -17,7 +17,7 @@ "vite": "^5.0.11" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" + "react": "^^19.0.0-rc-a26e3f403e-20240611", + "react-dom": "^^19.0.0-rc-a26e3f403e-20240611" } } diff --git a/yarn.lock b/yarn.lock index edaf06c4b..dec296eae 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6425,7 +6425,7 @@ log-update@^4.0.0: slice-ansi "^4.0.0" wrap-ansi "^6.2.0" -loose-envify@^1.1.0, loose-envify@^1.4.0: +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== @@ -7957,13 +7957,6 @@ react-refresh@^0.14.0: resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.14.0.tgz#4e02825378a5f227079554d4284889354e5f553e" integrity sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ== -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" - react@^19.0.0-rc-a26e3f403e-20240611: version "19.0.0-rc-f994737d14-20240522" resolved "https://registry.yarnpkg.com/react/-/react-19.0.0-rc-f994737d14-20240522.tgz#b400d554859940e9f4b8b6db1fd2537bd822bcc9"