Skip to content

Commit e0fcdc0

Browse files
committed
feat: react 18 support
1 parent 010dc98 commit e0fcdc0

File tree

36 files changed

+2179
-1921
lines changed

36 files changed

+2179
-1921
lines changed

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
},
5353
"peerDependencies": {
5454
"chart.js": "^3.5.0",
55-
"react": "^18.0.0"
55+
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
5656
},
5757
"devDependencies": {
5858
"@babel/core": "^7.15.8",
@@ -73,7 +73,6 @@
7373
"@testing-library/react": "^12.1.2",
7474
"@types/faker": "^5.5.8",
7575
"@types/jest": "^27.0.2",
76-
"@types/lodash": "^4.14.150",
7776
"@types/node": "^17.0.8",
7877
"@types/react": "^17.0.28",
7978
"@types/react-dom": "^17.0.10",
@@ -101,9 +100,9 @@
101100
"jest-canvas-mock": "^2.2.0",
102101
"nano-staged": "^0.5.0",
103102
"prettier": "^2.0.4",
104-
"react": "^18.0.0",
105-
"react-dom": "^18.0.0",
106-
"react-test-renderer": "^18.0.0",
103+
"react": "^17.0.1",
104+
"react-dom": "^17.0.1",
105+
"react-test-renderer": "^17.0.1",
107106
"rollup": "^2.58.0",
108107
"rollup-plugin-swc": "^0.2.0",
109108
"simple-git-hooks": "^2.6.1",

0 commit comments

Comments
 (0)