There was a related issue that was closed which was actually a valid problem I ran into if a project is using npm 7+ and depends on chart.js >=2.8.0 and <3.0.0. The code is definitely supported, but the package resolution is broken due to how peerDependencies are resolved since npm 7.
This change ensures that users can still install this package using older supported versions of chart.js.
What?
peerDependencies
forchart.js
to>=2.8.0
inpackage.json
to match support mentioned in README.mdWhy?
There was a related issue that was closed which was actually a valid problem I ran into if a project is using npm 7+ and depends on
chart.js
>=2.8.0 and <3.0.0. The code is definitely supported, but the package resolution is broken due to how peerDependencies are resolved since npm 7.This change ensures that users can still install this package using older supported versions of chart.js.