From afe2a9aa52eb00d89e10032da6bbc8781aa86c8e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 12:47:01 +0000 Subject: [PATCH] Bump react and @types/react Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react). These dependencies needed to be updated together. Updates `react` from 17.0.2 to 19.0.0 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.0.0/packages/react) Updates `@types/react` from 17.0.54 to 19.0.1 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) --- updated-dependencies: - dependency-name: react dependency-type: direct:development update-type: version-update:semver-major - dependency-name: "@types/react" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- playbook-website/package.json | 2 +- playbook/package.json | 6 +++--- yarn.lock | 40 +++++++---------------------------- 3 files changed, 12 insertions(+), 36 deletions(-) diff --git a/playbook-website/package.json b/playbook-website/package.json index e3f29aa367..cdd2dc47b9 100644 --- a/playbook-website/package.json +++ b/playbook-website/package.json @@ -40,7 +40,7 @@ "postcss-import": "^14.1.0", "postcss-preset-env": "^7.0.1", "prismjs": "^1.29.0", - "react": "^17.0.2", + "react": "^19.0.0", "react-docgen": "^7.0.3", "react-docgen-typescript": "^2.2.2", "react-dom": "^17.0.2", diff --git a/playbook/package.json b/playbook/package.json index 82f12ac7bf..aa4feacda4 100644 --- a/playbook/package.json +++ b/playbook/package.json @@ -57,7 +57,7 @@ "@types/flatpickr": "3.1.2", "@types/jest": "26.0.14", "@types/lodash-es": "4.17.12", - "@types/react": "17.0.54", + "@types/react": "19.0.1", "@types/react-dom": "^18.0.11", "@types/react-highlight-words": "^0.16.5", "@types/react-modal": "3.16.1", @@ -77,7 +77,7 @@ "jest-fail-on-console": "3.2.0", "lazysizes": "^5.3.2", "lodash-es": "^4.17.12", - "react": "^17.0.2", + "react": "^19.0.0", "react-animate-height": "^2.0.23", "react-dom": "^17.0.2", "react-dropzone": "^10.2.2", @@ -99,7 +99,7 @@ "webpacker-react": "^0.3.2" }, "peerDependencies": { - "react": "^17.0.2", + "react": "^19.0.0", "react-dom": "^17.0.2", "react-is": "^17.0.2", "react-trix": "0.10.1", diff --git a/yarn.lock b/yarn.lock index 697638d6f8..b1704b568b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3921,11 +3921,6 @@ resolved "https://npm.powerapp.cloud/@types/prettier/-/prettier-2.7.2.tgz#6c2324641cc4ba050a8c710b2b251b377581fbf0" integrity sha512-KufADq8uQqo1pYKVIYzfKbJfBAc0sOeXqGbFaSpv8MRmC/zXgowNZmFcbngndGk922QDmOASEXUZCaY48gs4cg== -"@types/prop-types@*": - version "15.7.5" - resolved "https://npm.powerapp.cloud/@types/prop-types/-/prop-types-15.7.5.tgz#5f19d2b85a98e9558036f6a3cacc8819420f05cf" - integrity sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w== - "@types/react-dom@^18.0.11": version "18.0.11" resolved "https://npm.powerapp.cloud/@types/react-dom/-/react-dom-18.0.11.tgz#321351c1459bc9ca3d216aefc8a167beec334e33" @@ -3954,22 +3949,11 @@ dependencies: "@types/react" "*" -"@types/react@*": - version "18.0.26" - resolved "https://npm.powerapp.cloud/@types/react/-/react-18.0.26.tgz#8ad59fc01fef8eaf5c74f4ea392621749f0b7917" - integrity sha512-hCR3PJQsAIXyxhTNSiDFY//LhnMZWpNNr5etoCqx/iUfGc5gXWtQR2Phl908jVR6uPXacojQWTg4qRpkxTuGug== +"@types/react@*", "@types/react@19.0.1": + version "19.0.1" + resolved "https://npm.powerapp.cloud/@types/react/-/react-19.0.1.tgz#a000d5b78f473732a08cecbead0f3751e550b3df" + integrity sha512-YW6614BDhqbpR5KtUYzTA+zlA7nayzJRA9ljz9CQoxthR0sDisYZLuvSMsil36t4EH/uAt8T52Xb4sVw17G+SQ== dependencies: - "@types/prop-types" "*" - "@types/scheduler" "*" - csstype "^3.0.2" - -"@types/react@17.0.54": - version "17.0.54" - resolved "https://npm.powerapp.cloud/@types/react/-/react-17.0.54.tgz#3ce9ab14e10e6bd1b02e3953b0c9d41e8161e0d7" - integrity sha512-yBon9aJ+pVyP0dzfs4sR2DOseDi6fDnZQHqFaprzDzFgxDLkUhL/Frjf2egvpdlVtssWH8k3YAgvaGQXFu+4Kw== - dependencies: - "@types/prop-types" "*" - "@types/scheduler" "*" csstype "^3.0.2" "@types/resolve@^1.20.2": @@ -3977,11 +3961,6 @@ resolved "https://npm.powerapp.cloud/@types/resolve/-/resolve-1.20.6.tgz#e6e60dad29c2c8c206c026e6dd8d6d1bdda850b8" integrity sha512-A4STmOXPhMUtHH+S6ymgE2GiBSMqf4oTvcQZMcHzokuTLVYzXTB8ttjcgxOVaAp2lGwEdzZ0J+cRbbeevQj1UQ== -"@types/scheduler@*": - version "0.16.2" - resolved "https://npm.powerapp.cloud/@types/scheduler/-/scheduler-0.16.2.tgz#1a62f89525723dde24ba1b01b092bf5df8ad4d39" - integrity sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew== - "@types/semver@^7.3.12": version "7.5.5" resolved "https://npm.powerapp.cloud/@types/semver/-/semver-7.5.5.tgz#deed5ab7019756c9c90ea86139106b0346223f35" @@ -10196,13 +10175,10 @@ react-zoom-pan-pinch@3.6.0: resolved "https://npm.powerapp.cloud/react-zoom-pan-pinch/-/react-zoom-pan-pinch-3.6.0.tgz#aea299a27d120a96b832fd953b2490ca9bfc4954" integrity sha512-qLAFbDmlRwwJ7F3KXIoT5zxVZD34ZO0a5jI65URmTUjthapoQ0UCAF8oxpSJV0bSVszI5T3WV/U4Jd6ypwOnAQ== -react@^17.0.2: - version "17.0.2" - resolved "https://npm.powerapp.cloud/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037" - integrity sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA== - dependencies: - loose-envify "^1.1.0" - object-assign "^4.1.1" +react@^19.0.0: + version "19.0.0" + resolved "https://npm.powerapp.cloud/react/-/react-19.0.0.tgz#6e1969251b9f108870aa4bff37a0ce9ddfaaabdd" + integrity sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ== read-cache@^1.0.0: version "1.0.0"