Skip to content

Commit 56d925a

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

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@
1616
},
1717
"importmap": {
1818
"@hotwired/stimulus": "^3.0.0",
19-
"chart.js/auto": "^3.4.1"
19+
"chart.js/auto": "^3.4.1 || ^4.0"
2020
}
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)