From dd17a2a22f7c50aa9f583db628fae918ef3723ac Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 2 Apr 2022 09:50:42 +0000 Subject: [PATCH] Update react to v18 Signed-off-by: Renovate Bot --- package.json | 6 +++--- yarn.lock | 53 +++++++++++++++++++++++++++++++++++++++------------- 2 files changed, 43 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index ee3932cd5..4c8dd13f6 100644 --- a/package.json +++ b/package.json @@ -89,11 +89,11 @@ "mermaid": "9.0.0", "next": "12.1.4", "optional-js": "2.3.0", - "react": "17.0.2", + "react": "18.0.0", "react-bootstrap": "1.6.4", "react-bootstrap-typeahead": "5.2.2", "react-diff-viewer": "3.1.1", - "react-dom": "17.0.2", + "react-dom": "18.0.0", "react-i18next": "11.16.3", "react-redux": "7.2.8", "react-use": "17.3.2", @@ -147,7 +147,7 @@ "jest": "27.5.1", "netlify-cli": "9.16.4", "prettier": "2.6.2", - "react-test-renderer": "17.0.2", + "react-test-renderer": "18.0.0", "redux-devtools-extension": "2.13.9", "ts-loader": "9.2.8", "ts-mockery": "1.2.0", diff --git a/yarn.lock b/yarn.lock index a81e1dbcf..a176258a8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2251,14 +2251,14 @@ __metadata: next: 12.1.4 optional-js: 2.3.0 prettier: 2.6.2 - react: 17.0.2 + react: 18.0.0 react-bootstrap: 1.6.4 react-bootstrap-typeahead: 5.2.2 react-diff-viewer: 3.1.1 - react-dom: 17.0.2 + react-dom: 18.0.0 react-i18next: 11.16.3 react-redux: 7.2.8 - react-test-renderer: 17.0.2 + react-test-renderer: 18.0.0 react-use: 17.3.2 redux: 4.1.2 redux-devtools-extension: 2.13.9 @@ -17379,7 +17379,19 @@ __metadata: languageName: node linkType: hard -"react-dom@npm:17.0.2": +"react-dom@npm:18.0.0": + version: 18.0.0 + resolution: "react-dom@npm:18.0.0" + dependencies: + loose-envify: ^1.1.0 + scheduler: ^0.21.0 + peerDependencies: + react: ^18.0.0 + checksum: dd0ba9f2f31dd728076c892a95b2f5a8dfe79136431b0289afb46eec39d0ca6b6f0f40a60fd8aa6ef702c98ce7c26100d3d4dbc35c7c9e87429cd04f84cb58bd + languageName: node + linkType: hard + +"react-dom@npm:^17.0.2": version: 17.0.2 resolution: "react-dom@npm:17.0.2" dependencies: @@ -17437,6 +17449,13 @@ __metadata: languageName: node linkType: hard +"react-is@npm:^18.0.0": + version: 18.0.0 + resolution: "react-is@npm:18.0.0" + checksum: d38f6afee4d8d791cdd69c715841c01a503c9b06da6158e0893447cea6ba50cd262dca9bde84127720cf44fd05c58185eafc32accace4bb2deb03b3cdbeb6b6b + languageName: node + linkType: hard + "react-lifecycles-compat@npm:^3.0.4": version: 3.0.4 resolution: "react-lifecycles-compat@npm:3.0.4" @@ -17513,17 +17532,16 @@ __metadata: languageName: node linkType: hard -"react-test-renderer@npm:17.0.2": - version: 17.0.2 - resolution: "react-test-renderer@npm:17.0.2" +"react-test-renderer@npm:18.0.0": + version: 18.0.0 + resolution: "react-test-renderer@npm:18.0.0" dependencies: - object-assign: ^4.1.1 - react-is: ^17.0.2 + react-is: ^18.0.0 react-shallow-renderer: ^16.13.1 - scheduler: ^0.20.2 + scheduler: ^0.21.0 peerDependencies: - react: 17.0.2 - checksum: e6b5c6ed2a0bde2c34f1ab9523ff9bc4c141a271daf730d6b852374e83acc0155d58ab71a318251e953ebfa65b8bebb9c5dce3eba1ccfcbef7cc4e1e8261c401 + react: ^18.0.0 + checksum: c0e5250fa2e4c3650e247b986c262631bec68f18c06817269ab7a4e2cffa5a152bb58ce0fe4182ffa8c333e6c2a8d763ac92e0928e5f6914a7aa188c2de1943a languageName: node linkType: hard @@ -17577,7 +17595,16 @@ __metadata: languageName: node linkType: hard -"react@npm:17.0.2": +"react@npm:18.0.0": + version: 18.0.0 + resolution: "react@npm:18.0.0" + dependencies: + loose-envify: ^1.1.0 + checksum: 293020b96536b3c7113ee57ca5c990a3f25649d1751b1c7a3aabd16dff0691fe9f1eed1206616d0906d05933536052037340a0c8d0941ff870b0eb469a2f975b + languageName: node + linkType: hard + +"react@npm:^17.0.2": version: 17.0.2 resolution: "react@npm:17.0.2" dependencies: