From aed6f3d9c1935116e5fd46b91d65692375957f8b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 25 Jul 2023 07:17:53 +0000 Subject: [PATCH] chore(deps): update react monorepo to v18 --- e2e/babel-plugin-jest-hoist/package.json | 2 +- .../multiple-transformers/package.json | 6 +-- packages/pretty-format/package.json | 8 ++-- website/package.json | 6 +-- yarn.lock | 46 +++++++++---------- 5 files changed, 33 insertions(+), 35 deletions(-) diff --git a/e2e/babel-plugin-jest-hoist/package.json b/e2e/babel-plugin-jest-hoist/package.json index b55189deec84..5212c713b125 100644 --- a/e2e/babel-plugin-jest-hoist/package.json +++ b/e2e/babel-plugin-jest-hoist/package.json @@ -3,7 +3,7 @@ "@babel/preset-env": "^7.0.0", "@babel/preset-flow": "^7.0.0", "@babel/preset-typescript": "^7.0.0", - "react": "17.0.2" + "react": "18.2.0" }, "jest": { "automock": true, diff --git a/e2e/transform/multiple-transformers/package.json b/e2e/transform/multiple-transformers/package.json index f0f60dd9cba5..5a4202d7a495 100644 --- a/e2e/transform/multiple-transformers/package.json +++ b/e2e/transform/multiple-transformers/package.json @@ -17,8 +17,8 @@ "@babel/core": "^7.0.0", "@babel/preset-env": "^7.0.0", "@babel/preset-react": "^7.0.0", - "react": "17.0.2", - "react-dom": "^17.0.1", - "react-test-renderer": "17.0.2" + "react": "18.2.0", + "react-dom": "^18.0.0", + "react-test-renderer": "18.2.0" } } diff --git a/packages/pretty-format/package.json b/packages/pretty-format/package.json index 49716bb3007c..9d1c536f7d88 100644 --- a/packages/pretty-format/package.json +++ b/packages/pretty-format/package.json @@ -24,14 +24,14 @@ "react-is": "^18.0.0" }, "devDependencies": { - "@types/react": "^17.0.3", + "@types/react": "^18.0.0", "@types/react-is": "^18.0.0", "@types/react-test-renderer": "17.0.2", "immutable": "^4.0.0", "jest-util": "workspace:^", - "react": "17.0.2", - "react-dom": "^17.0.1", - "react-test-renderer": "17.0.2" + "react": "18.2.0", + "react-dom": "^18.0.0", + "react-test-renderer": "18.2.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" diff --git a/website/package.json b/website/package.json index cb45586b1f89..a2d2494c1431 100644 --- a/website/package.json +++ b/website/package.json @@ -39,8 +39,8 @@ "@docusaurus/remark-plugin-npm2yarn": "^2.0.0", "clsx": "^1.1.1", "docusaurus-remark-plugin-tab-blocks": "^1.2.0", - "react": "^17.0.2", - "react-dom": "^17.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-github-btn": "^1.3.0", "react-lite-youtube-embed": "^2.2.2", "react-markdown": "^8.0.0" @@ -50,7 +50,7 @@ "@crowdin/cli": "^3.5.2", "@docusaurus/module-type-aliases": "^2.0.0", "@tsconfig/docusaurus": "^1.0.5", - "@types/react": "^17.0.3", + "@types/react": "^18.0.0", "graphql": "^16.3.0", "graphql-request": "^6.0.0", "js-yaml": "^4.1.0", diff --git a/yarn.lock b/yarn.lock index 5ef9f5d9c7bb..d4396071bc4e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5078,7 +5078,18 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:*, @types/react@npm:^17, @types/react@npm:^17.0.3": +"@types/react@npm:*, @types/react@npm:^18.0.0": + version: 18.2.16 + resolution: "@types/react@npm:18.2.16" + dependencies: + "@types/prop-types": "*" + "@types/scheduler": "*" + csstype: ^3.0.2 + checksum: 3d4fdc12509e0098e0dbb4bacdea53e8ccc6632e9df63d9f2711c77aa81ce3b2bb9c76d087f284034b25fd7245680167f4832bf6e4df960c5af2634b52adfd0c + languageName: node + linkType: hard + +"@types/react@npm:^17": version: 17.0.62 resolution: "@types/react@npm:17.0.62" dependencies: @@ -13241,14 +13252,14 @@ __metadata: "@docusaurus/preset-classic": ^2.0.0 "@docusaurus/remark-plugin-npm2yarn": ^2.0.0 "@tsconfig/docusaurus": ^1.0.5 - "@types/react": ^17.0.3 + "@types/react": ^18.0.0 clsx: ^1.1.1 docusaurus-remark-plugin-tab-blocks: ^1.2.0 graphql: ^16.3.0 graphql-request: ^6.0.0 js-yaml: ^4.1.0 - react: ^17.0.2 - react-dom: ^17.0.2 + react: ^18.0.0 + react-dom: ^18.0.0 react-github-btn: ^1.3.0 react-lite-youtube-embed: ^2.2.2 react-markdown: ^8.0.0 @@ -17045,16 +17056,16 @@ __metadata: resolution: "pretty-format@workspace:packages/pretty-format" dependencies: "@jest/schemas": "workspace:^" - "@types/react": ^17.0.3 + "@types/react": ^18.0.0 "@types/react-is": ^18.0.0 "@types/react-test-renderer": 17.0.2 ansi-styles: ^5.0.0 immutable: ^4.0.0 jest-util: "workspace:^" - react: 17.0.2 - react-dom: ^17.0.1 + react: 18.2.0 + react-dom: ^18.0.0 react-is: ^18.0.0 - react-test-renderer: 17.0.2 + react-test-renderer: 18.2.0 languageName: unknown linkType: soft @@ -17422,20 +17433,7 @@ __metadata: languageName: node linkType: hard -"react-dom@npm:^17.0.1, react-dom@npm:^17.0.2": - version: 17.0.2 - resolution: "react-dom@npm:17.0.2" - dependencies: - loose-envify: ^1.1.0 - object-assign: ^4.1.1 - scheduler: ^0.20.2 - peerDependencies: - react: 17.0.2 - checksum: 1c1eaa3bca7c7228d24b70932e3d7c99e70d1d04e13bb0843bbf321582bc25d7961d6b8a6978a58a598af2af496d1cedcfb1bf65f6b0960a0a8161cb8dab743c - languageName: node - linkType: hard - -"react-dom@npm:^18.2.0": +"react-dom@npm:^18.0.0, react-dom@npm:^18.2.0": version: 18.2.0 resolution: "react-dom@npm:18.2.0" dependencies: @@ -17751,7 +17749,7 @@ __metadata: languageName: node linkType: hard -"react@npm:17.0.2, react@npm:^17.0.2": +"react@npm:17.0.2": version: 17.0.2 resolution: "react@npm:17.0.2" dependencies: @@ -17761,7 +17759,7 @@ __metadata: languageName: node linkType: hard -"react@npm:18.2.0": +"react@npm:18.2.0, react@npm:^18.0.0": version: 18.2.0 resolution: "react@npm:18.2.0" dependencies: