diff --git a/examples/discovery-search-app/package.json b/examples/discovery-search-app/package.json index 95b57da95..644d8aadc 100644 --- a/examples/discovery-search-app/package.json +++ b/examples/discovery-search-app/package.json @@ -37,8 +37,8 @@ "ibm-watson": "^6.2.1", "node-polyfill-webpack-plugin": "^2.0.1", "proper-url-join": "^2.1.1", - "react": "^17.0.2", - "react-dom": "^17.0.2" + "react": "^18.2.0", + "react-dom": "^18.2.0" }, "devDependencies": { "@testing-library/cypress": "^7.0.7", diff --git a/package.json b/package.json index 8d732fe29..a5a3942ec 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "@types/md5": "2.3.2", "@types/mustache": "^4.2.2", "@types/node": "^16.18.23", - "@types/react": "^17.0.38", + "@types/react": "^18.2.0", "@types/react-dom": "^17.0.11", "@types/react-resize-detector": "^4.2.0", "@types/react-virtualized": "^9.21.11", @@ -67,8 +67,8 @@ "prettier": "^2.4.1", "proper-url-join": "^2.1.1", "raw-loader": "^4.0.2", - "react": "^17.0.2", - "react-dom": "^17.0.2", + "react": "^18.2.0", + "react-dom": "^18.2.0", "react-is": "^17.0.2", "react-test-renderer": "^17.0.2", "regenerator-runtime": "^0.13.3", diff --git a/yarn.lock b/yarn.lock index 5f359ef36..3cd129f4a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5976,7 +5976,7 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:*, @types/react@npm:^17.0.38": +"@types/react@npm:*": version: 17.0.38 resolution: "@types/react@npm:17.0.38" dependencies: @@ -5987,6 +5987,17 @@ __metadata: languageName: node linkType: hard +"@types/react@npm:^18.2.0": + version: 18.2.0 + resolution: "@types/react@npm:18.2.0" + dependencies: + "@types/prop-types": "*" + "@types/scheduler": "*" + csstype: ^3.0.2 + checksum: db3d92b423150222a666329f7aa3023e3e942044700557b8a7d161530847e621aec9f56c9e7f71761b06dd164c8a7b17ad52355863efe80963dffa5537e8e5fd + languageName: node + linkType: hard + "@types/resolve@npm:1.17.1": version: 1.17.1 resolution: "@types/resolve@npm:1.17.1" @@ -11172,8 +11183,8 @@ __metadata: ibm-watson: ^6.2.1 node-polyfill-webpack-plugin: ^2.0.1 proper-url-join: ^2.1.1 - react: ^17.0.2 - react-dom: ^17.0.2 + react: ^18.2.0 + react-dom: ^18.2.0 react-scripts: ^5.0.1 start-server-and-test: ^1.14.0 languageName: unknown @@ -22047,16 +22058,15 @@ __metadata: languageName: node linkType: hard -"react-dom@npm:^17.0.2": - version: 17.0.2 - resolution: "react-dom@npm:17.0.2" +"react-dom@npm:^18.2.0": + version: 18.2.0 + resolution: "react-dom@npm:18.2.0" dependencies: loose-envify: ^1.1.0 - object-assign: ^4.1.1 - scheduler: ^0.20.2 + scheduler: ^0.23.0 peerDependencies: - react: 17.0.2 - checksum: 1c1eaa3bca7c7228d24b70932e3d7c99e70d1d04e13bb0843bbf321582bc25d7961d6b8a6978a58a598af2af496d1cedcfb1bf65f6b0960a0a8161cb8dab743c + react: ^18.2.0 + checksum: 7d323310bea3a91be2965f9468d552f201b1c27891e45ddc2d6b8f717680c95a75ae0bc1e3f5cf41472446a2589a75aed4483aee8169287909fcd59ad149e8cc languageName: node linkType: hard @@ -22387,13 +22397,12 @@ __metadata: languageName: node linkType: hard -"react@npm:^17.0.2": - version: 17.0.2 - resolution: "react@npm:17.0.2" +"react@npm:^18.2.0": + version: 18.2.0 + resolution: "react@npm:18.2.0" dependencies: loose-envify: ^1.1.0 - object-assign: ^4.1.1 - checksum: b254cc17ce3011788330f7bbf383ab653c6848902d7936a87b09d835d091e3f295f7e9dd1597c6daac5dc80f90e778c8230218ba8ad599f74adcc11e33b9d61b + checksum: 88e38092da8839b830cda6feef2e8505dec8ace60579e46aa5490fc3dc9bba0bd50336507dc166f43e3afc1c42939c09fe33b25fae889d6f402721dcd78fca1b languageName: node linkType: hard @@ -23340,7 +23349,7 @@ __metadata: "@types/md5": 2.3.2 "@types/mustache": ^4.2.2 "@types/node": ^16.18.23 - "@types/react": ^17.0.38 + "@types/react": ^18.2.0 "@types/react-dom": ^17.0.11 "@types/react-resize-detector": ^4.2.0 "@types/react-virtualized": ^9.21.11 @@ -23375,8 +23384,8 @@ __metadata: prettier: ^2.4.1 proper-url-join: ^2.1.1 raw-loader: ^4.0.2 - react: ^17.0.2 - react-dom: ^17.0.2 + react: ^18.2.0 + react-dom: ^18.2.0 react-is: ^17.0.2 react-test-renderer: ^17.0.2 regenerator-runtime: ^0.13.3 @@ -23612,6 +23621,15 @@ __metadata: languageName: node linkType: hard +"scheduler@npm:^0.23.0": + version: 0.23.0 + resolution: "scheduler@npm:0.23.0" + dependencies: + loose-envify: ^1.1.0 + checksum: d79192eeaa12abef860c195ea45d37cbf2bbf5f66e3c4dcd16f54a7da53b17788a70d109ee3d3dde1a0fd50e6a8fc171f4300356c5aee4fc0171de526bf35f8a + languageName: node + linkType: hard + "schema-utils@npm:2.7.0": version: 2.7.0 resolution: "schema-utils@npm:2.7.0"