Skip to content

Commit ac6d66c

Browse files
[ChartJs] Add support for chart.js:^4.0
1 parent 3c5d7a4 commit ac6d66c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/Chartjs/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## Unreleased
4+
5+
- Add support for Chart.js version 4
6+
37
## 2.13.2
48

59
- Changee "module" key back to "main" in package.json

src/Chartjs/assets/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
},
2222
"peerDependencies": {
2323
"@hotwired/stimulus": "^3.0.0",
24-
"chart.js": "^3.4.1 <3.9"
24+
"chart.js": "^3.4.1 <3.9 || ^4.0"
2525
},
2626
"devDependencies": {
2727
"@hotwired/stimulus": "^3.0.0",
2828
"@types/chart.js": "^2.9.34",
29-
"chart.js": "^3.4.1 <3.9",
29+
"chart.js": "^3.4.1 <3.9 || ^4.0",
3030
"resize-observer-polyfill": "^1.5.1",
3131
"vitest-canvas-mock": "^0.3.3"
3232
}

0 commit comments

Comments
 (0)