Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 9ab7084

Browse files
committed
Update to react 18 to mitigate PaloAltoNetworks/docusaurus-openapi-docs#578
1 parent 552f445 commit 9ab7084

File tree

3 files changed

+2970
-3560
lines changed

3 files changed

+2970
-3560
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@
6262
"hast-util-is-element": "1.1.0",
6363
"plugin-image-zoom": "flexanalytics/plugin-image-zoom",
6464
"raw-loader": "^4.0.2",
65-
"react": "17.0.2",
65+
"react": "18.0.0",
6666
"react-collapsible": "^2.8.4",
67-
"react-dom": "17.0.2",
67+
"react-dom": "18.0.0",
6868
"react-flickity-component": "^3.6.3",
6969
"react-image-gallery": "^1.2.7",
7070
"react-player": "^2.11.2",
@@ -80,8 +80,8 @@
8080
"webpack": "^5.81.0"
8181
},
8282
"resolutions": {
83-
"@types/react": "17.0.2",
84-
"@types/react-dom": "17.0.2"
83+
"@types/react": "18.0.0",
84+
"@types/react-dom": "18.0.0"
8585
},
8686
"browserslist": {
8787
"production": [
@@ -100,8 +100,8 @@
100100
"@docusaurus/plugin-google-gtag": "2.4.1",
101101
"@iota-wiki/cli": "workspace:^",
102102
"@tsconfig/docusaurus": "^1.0.6",
103-
"@types/react": "17.0.2",
104-
"@types/react-dom": "17.0.2",
103+
"@types/react": "18.0.0",
104+
"@types/react-dom": "18.0.0",
105105
"@types/webpack-env": "^1.16.3",
106106
"@typescript-eslint/eslint-plugin": "^5.9.1",
107107
"@typescript-eslint/parser": "^5.9.1",

theme/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
},
1919
"devDependencies": {
2020
"@docusaurus/types": "2.4.1",
21-
"@types/react": "17.0.2",
21+
"@types/react": "18.0.0",
2222
"copyfiles": "^2.4.1",
2323
"nodemon": "^2.0.16",
2424
"prettier": "^2.4.1",
25-
"react": "17.0.2",
25+
"react": "18.0.0",
2626
"typescript": "^4.9"
2727
},
2828
"peerDependencies": {

0 commit comments

Comments
 (0)