From 0a48af1c33c836d14949a7fb34e1fe8fdccf679d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 9 Jan 2025 02:51:26 +0000 Subject: [PATCH] fix(deps): update react monorepo to v19 --- .changeset/renovate-77ba170.md | 11 +++++ example/package.json | 4 +- example/yarn.lock | 26 +++++------ package.json | 8 ++-- packages/react/package.json | 8 ++-- yarn.lock | 80 ++++++++++++++-------------------- 6 files changed, 64 insertions(+), 73 deletions(-) create mode 100644 .changeset/renovate-77ba170.md diff --git a/.changeset/renovate-77ba170.md b/.changeset/renovate-77ba170.md new file mode 100644 index 00000000..eea56d63 --- /dev/null +++ b/.changeset/renovate-77ba170.md @@ -0,0 +1,11 @@ +--- +'@darkmagic/react': patch +--- + +Updated dependencies: + +- updated `@types/react` to `^19.0.4`. +- updated `@types/react-dom` to `^19.0.2`. +- updated `react-is` to `^19.0.0`. +- updated `@types/react-is` to `^19.0.0`. +- updated `react` to `>= 19.0.0`. diff --git a/example/package.json b/example/package.json index f73c5b85..138d4898 100644 --- a/example/package.json +++ b/example/package.json @@ -18,8 +18,8 @@ "@darkmagic/react": "../packages/react" }, "devDependencies": { - "@types/react": "^18.3.0", - "@types/react-dom": "^18.3.0", + "@types/react": "^19.0.4", + "@types/react-dom": "^19.0.2", "vite": "latest", "vite-preset-react": "latest", "typescript": "^5.7.2" diff --git a/example/yarn.lock b/example/yarn.lock index 99ebaaa6..8a35f599 100644 --- a/example/yarn.lock +++ b/example/yarn.lock @@ -455,22 +455,16 @@ resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.6.tgz#628effeeae2064a1b4e79f78e81d87b7e5fc7b50" integrity sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw== -"@types/prop-types@*": - version "15.7.14" - resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.14.tgz#1433419d73b2a7ebfc6918dcefd2ec0d5cd698f2" - integrity sha512-gNMvNH49DJ7OJYv+KAKn0Xp45p8PLl6zo2YnvDIbTd4J6MER2BmWN49TG7n9LvkyihINxeKW8+3bfS2yDC9dzQ== - -"@types/react-dom@^18.3.0": - version "18.3.5" - resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.3.5.tgz#45f9f87398c5dcea085b715c58ddcf1faf65f716" - integrity sha512-P4t6saawp+b/dFrUr2cvkVsfvPguwsxtH6dNIYRllMsefqFzkZk5UIjzyDOv5g1dXIPdG4Sp1yCR4Z6RCUsG/Q== - -"@types/react@^18.3.0": - version "18.3.18" - resolved "https://registry.yarnpkg.com/@types/react/-/react-18.3.18.tgz#9b382c4cd32e13e463f97df07c2ee3bbcd26904b" - integrity sha512-t4yC+vtgnkYjNSKlFx1jkAhH8LgTo2N/7Qvi83kdEaUtMDiwpbLAktKDaAMlRcJ5eSxZkH74eEGt1ky31d7kfQ== - dependencies: - "@types/prop-types" "*" +"@types/react-dom@^19.0.2": + version "19.0.2" + resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-19.0.2.tgz#ad21f9a1ee881817995fd3f7fd33659c87e7b1b7" + integrity sha512-c1s+7TKFaDRRxr1TxccIX2u7sfCnc3RxkVyBIUA2lCpyqCF+QoAwQ/CBg7bsMdVwP120HEH143VQezKtef5nCg== + +"@types/react@^19.0.4": + version "19.0.4" + resolved "https://registry.yarnpkg.com/@types/react/-/react-19.0.4.tgz#ad1270e090118ac3c5f0928a29fe0ddf164881df" + integrity sha512-3O4QisJDYr1uTUMZHA2YswiQZRq+Pd8D+GdVFYikTutYsTz+QZgWkAPnP7rx9txoI6EXKcPiluMqWPFV3tT9Wg== + dependencies: csstype "^3.0.2" "@vitejs/plugin-react@^1.3.2": diff --git a/package.json b/package.json index 474bf6da..7fcbe3c8 100644 --- a/package.json +++ b/package.json @@ -55,8 +55,8 @@ "@testing-library/react": "^16.1.0", "@testing-library/react-hooks": "^8.0.1", "@testing-library/user-event": "^14.5.1", - "@types/react": "^18.3.0", - "@types/react-dom": "^18.3.0", + "@types/react": "^19.0.4", + "@types/react-dom": "^19.0.2", "@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/parser": "^7.18.0", "@vanilla-extract/babel-plugin-debug-ids": "^1.2.0", @@ -78,8 +78,8 @@ "npm-run-all2": "^7.0.1", "playroom": "^0.39.0", "prettier": "^3.4.0", - "react": "^18.3.0", - "react-dom": "^18.3.0", + "react": "^19.0.0", + "react-dom": "^19.0.0", "replace-in-files": "^3.0.0", "rimraf": "^5.0.5", "rollup-plugin-analyzer": "^4.0.0", diff --git a/packages/react/package.json b/packages/react/package.json index 67ccd0d3..123db5ce 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -90,17 +90,17 @@ "mousetrap": "^1.6.5", "prettier": "^3.4.0", "react-colorful": "^5.6.1", - "react-is": "^18.3.0", + "react-is": "^19.0.0", "react-reverse-portal": "^2.1.1", "react-virtualized-auto-sizer": "^1.0.20", "tiny-invariant": "^1.3.1", "tiny-warning": "^1.0.3" }, "devDependencies": { - "@types/react-is": "^17.0.7", - "react": "^18.3.0" + "@types/react-is": "^19.0.0", + "react": "^19.0.0" }, "peerDependencies": { - "react": ">= 18.3.0" + "react": ">= 19.0.0" } } diff --git a/yarn.lock b/yarn.lock index 9c454767..daa73de4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4410,17 +4410,22 @@ dependencies: "@types/react" "*" -"@types/react-dom@^18.0.9", "@types/react-dom@^18.3.0": +"@types/react-dom@^18.0.9": version "18.3.5" resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.3.5.tgz#45f9f87398c5dcea085b715c58ddcf1faf65f716" integrity sha512-P4t6saawp+b/dFrUr2cvkVsfvPguwsxtH6dNIYRllMsefqFzkZk5UIjzyDOv5g1dXIPdG4Sp1yCR4Z6RCUsG/Q== -"@types/react-is@^17.0.7": - version "17.0.7" - resolved "https://registry.yarnpkg.com/@types/react-is/-/react-is-17.0.7.tgz#1402c8f14e8533eaeeac128c0bfa11478202ae37" - integrity sha512-WrTEiT+c6rgq36QApoy0063uAOdltCrhF0QMXLIgYPaTvIdQhAB8hPb5oGGqX18xToElNILS9UprwU6GyINcJg== +"@types/react-dom@^19.0.2": + version "19.0.2" + resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-19.0.2.tgz#ad21f9a1ee881817995fd3f7fd33659c87e7b1b7" + integrity sha512-c1s+7TKFaDRRxr1TxccIX2u7sfCnc3RxkVyBIUA2lCpyqCF+QoAwQ/CBg7bsMdVwP120HEH143VQezKtef5nCg== + +"@types/react-is@^19.0.0": + version "19.0.0" + resolved "https://registry.yarnpkg.com/@types/react-is/-/react-is-19.0.0.tgz#eccf45556cf1858e9116eed1f9e7b51496501a7a" + integrity sha512-71dSZeeJ0t3aoPyY9x6i+JNSvg5m9EF2i2OlSZI5QoJuI8Ocgor610i+4A10TQmURR+0vLwcVCEYFpXdzM1Biw== dependencies: - "@types/react" "^17" + "@types/react" "*" "@types/react-syntax-highlighter@11.0.4": version "11.0.4" @@ -4436,23 +4441,14 @@ dependencies: "@types/react" "*" -"@types/react@*": - version "19.0.2" - resolved "https://registry.yarnpkg.com/@types/react/-/react-19.0.2.tgz#9363e6b3ef898c471cb182dd269decc4afc1b4f6" - integrity sha512-USU8ZI/xyKJwFTpjSVIrSeHBVAGagkHQKPNbxeWwql/vDmnTIBgx+TJnhFnj1NXgz8XfprU0egV2dROLGpsBEg== - dependencies: - csstype "^3.0.2" - -"@types/react@^17": - version "17.0.83" - resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.83.tgz#b477c56387b74279281149dcf5ba2a1e2216d131" - integrity sha512-l0m4ArKJvmFtR4e8UmKrj1pB4tUgOhJITf+mADyF/p69Ts1YAR/E+G9XEM0mHXKVRa1dQNHseyyDNzeuAXfXQw== +"@types/react@*", "@types/react@^19.0.4": + version "19.0.4" + resolved "https://registry.yarnpkg.com/@types/react/-/react-19.0.4.tgz#ad1270e090118ac3c5f0928a29fe0ddf164881df" + integrity sha512-3O4QisJDYr1uTUMZHA2YswiQZRq+Pd8D+GdVFYikTutYsTz+QZgWkAPnP7rx9txoI6EXKcPiluMqWPFV3tT9Wg== dependencies: - "@types/prop-types" "*" - "@types/scheduler" "^0.16" csstype "^3.0.2" -"@types/react@^18.0.26", "@types/react@^18.3.0": +"@types/react@^18.0.26": version "18.3.18" resolved "https://registry.yarnpkg.com/@types/react/-/react-18.3.18.tgz#9b382c4cd32e13e463f97df07c2ee3bbcd26904b" integrity sha512-t4yC+vtgnkYjNSKlFx1jkAhH8LgTo2N/7Qvi83kdEaUtMDiwpbLAktKDaAMlRcJ5eSxZkH74eEGt1ky31d7kfQ== @@ -4465,11 +4461,6 @@ resolved "https://registry.yarnpkg.com/@types/retry/-/retry-0.12.2.tgz#ed279a64fa438bb69f2480eda44937912bb7480a" integrity sha512-XISRgDJ2Tc5q4TRqvgJtzsRkFYNJzZrhTdtMoGVBttwzzQJkPnS3WWTFc7kuDRoPtPakl+T+OfdEUjYJj7Jbow== -"@types/scheduler@^0.16": - version "0.16.8" - resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.8.tgz#ce5ace04cfeabe7ef87c0091e50752e36707deff" - integrity sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A== - "@types/semver@^7.3.12": version "7.5.8" resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.8.tgz#8268a8c57a3e4abd25c165ecd36237db7948a55e" @@ -13195,13 +13186,12 @@ react-dom@^16.8.3: prop-types "^15.6.2" scheduler "^0.19.1" -react-dom@^18.3.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== +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.2" + scheduler "^0.25.0" react-element-to-jsx-string@^14.0.2, react-element-to-jsx-string@^14.3.4: version "14.3.4" @@ -13276,10 +13266,10 @@ react-is@^16.13.1, react-is@^16.7.0, react-is@^16.8.3: resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== -react-is@^18.3.0: - version "18.3.1" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.3.1.tgz#e83557dc12eae63a99e003a46388b1dcbb44db7e" - integrity sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg== +react-is@^19.0.0: + version "19.0.0" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-19.0.0.tgz#d6669fd389ff022a9684f708cf6fa4962d1fea7a" + integrity sha512-H91OHcwjZsbq3ClIDHMzBShc1rotbfACdWENsmEf0IFvZ3FgGPtdHMcsv45bQ1hAbgdfiA8SnxTKfDS+x/8m2g== react-lifecycles-compat@^3.0.4: version "3.0.4" @@ -13422,12 +13412,10 @@ react@^16.8.3: object-assign "^4.1.1" prop-types "^15.6.2" -react@^18.3.0: - 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" +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-package-json-fast@^4.0.0: version "4.0.0" @@ -14061,12 +14049,10 @@ scheduler@^0.19.1: loose-envify "^1.1.0" object-assign "^4.1.1" -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" +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"