Skip to content

Commit a7d2480

Browse files
committed
dependencies: upgrade React deps to v18
* Upgrades react and react-dom from ^16.13.0 to ^18.3.0 * Upgrades eslint-config-invenio to ^2.1.0 * Replaces enzyme-adapter-react-16 with @cfaester/enzyme-adapter-react-18 ^0.8.0 * Requires Node version >=22.0.0
1 parent 9d18249 commit a7d2480

1 file changed

Lines changed: 24 additions & 8 deletions

File tree

package.json

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"luxon": "^1.28.1",
2929
"lodash": "^4.17.0",
3030
"qs": "^6.8.0",
31-
"react": "^16.13.0",
32-
"react-dom": "^16.13.0",
31+
"react": "^18.3.0",
32+
"react-dom": "^18.3.0",
3333
"react-overridable": "^1.0.0",
3434
"react-redux": "^7.2.0",
3535
"redux": "^4.0.0",
@@ -42,7 +42,7 @@
4242
},
4343
"devDependencies": {
4444
"@babel/cli": "^7.11.0",
45-
"@inveniosoftware/eslint-config-invenio": "^2.0.0",
45+
"@inveniosoftware/eslint-config-invenio": "^2.1.0",
4646
"@rollup/plugin-babel": "^5.2.0",
4747
"@rollup/plugin-commonjs": "^15.1.0",
4848
"@rollup/plugin-node-resolve": "^9.0.0",
@@ -51,13 +51,12 @@
5151
"cheerio": "1.0.0-rc.3",
5252
"coveralls": "^3.0.0",
5353
"enzyme": "^3.10.0",
54-
"enzyme-adapter-react-16": "^1.15.0",
55-
"expect": "^26.5.0",
54+
"@cfaester/enzyme-adapter-react-18": "^0.8.0", "expect": "^26.5.0",
5655
"json": "^10.0.0",
5756
"lodash": "^4.17.0",
5857
"qs": "^6.8.0",
59-
"react": "^16.13.0",
60-
"react-dom": "^16.13.0",
58+
"react": "^18.3.0",
59+
"react-dom": "^18.3.0",
6160
"react-overridable": "^1.0.0",
6261
"react-redux": "^7.2.0",
6362
"react-scripts": "^5.0.0",
@@ -111,6 +110,23 @@
111110
]
112111
},
113112
"engines": {
114-
"node": ">=14.0.0"
113+
"node": ">=22.0.0"
114+
},
115+
"overrides": {
116+
"react-scripts": {
117+
"svgo": "^3.3.2",
118+
"resolve-url-loader": "^5.0.0",
119+
"css-minimizer-webpack-plugin": "^8.0.0"
120+
},
121+
"underscore": "^1.13.8",
122+
"@tootallnate/once": "^3.0.1",
123+
"sockjs": "^0.3.24",
124+
"uuid": "^14.0.0",
125+
"serialize-javascript": "^7.0.5",
126+
"workbox-build": "^7.3.0",
127+
"@svgr/webpack": "^6.5.1",
128+
"enzyme": {
129+
"cheerio": "1.0.0-rc.12"
130+
}
115131
}
116132
}

0 commit comments

Comments
 (0)