[Snyk] Upgrade chart.js from 4.2.1 to 4.4.2 #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.




This PR was automatically created by Snyk using the credentials of a real user.

Snyk has created this PR to upgrade chart.js from 4.2.1 to 4.4.2.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 7 versions ahead of your current version.
The recommended version was released on 3 months ago.
Release notes
Package name: chart.js
-
4.4.2 - 2024-02-28
- npm
- Migration guide
- Docs
- API
- Samples
- #11685 addListener and removeListener should be only invoked on truthy values
- #11682 fix #11503, autoskipping 0 tick when min is below 0
- #11616 fix(#11615): fix calculating caretX position on stacked bar with index interaction.
- #11662 bugfix #10896 - Changed 'r' to optional for BubbleChart
- #11674 docs(types): fix description in index.d.ts
- #11614 Add extra calrification for html legend
- #11689 Bump to 4.4.2
- #11664 Bump pnpm/action-setup from 2.4.0 to 3.0.0
- #11657 Bump release-drafter/release-drafter from 5 to 6
- #11650 Bump dorny/paths-filter from 2 to 3
- #11636 Bump socket.io-parser from 4.2.2 to 4.2.4
- #11635 Bump follow-redirects from 1.15.2 to 1.15.4
- #11633 Update pnpm lockfile
-
4.4.1 - 2023-12-04
- npm
- Migration guide
- Docs
- API
- Samples
- #11605 Update font spec type
- #11596 Tooltip fixes (getLabelAndValue on null controller, null getParsed)
- #11588 fix: Guard access to window in helpers.dom.ts for browserless rendering
- #11577 Fix backdrop padding
- #11488 Change type of mode in chart.update(mode)
- #11605 Update font spec type
- #11572 fix: Property platform missing from chart configuration typings
- #11569 fix: pass Plugin TType down to hooks chart arg
- #11488 Change type of mode in chart.update(mode)
- #11562 Fix migration docs links
- #11483 docs: Fix typo for documentation of plugins.tooltip.textDirection
- #11606 Bump 4.4.1
- #11599 Remove size limit from CI
- #11570 Replace deprecated command with environment file
- #11560 Bump actions/setup-node from 3 to 4
- #11490 fix: simplify check hasFunction
-
4.4.0 - 2023-08-24
- npm
- Migration guide
- Docs
- API
- Samples
- #11404 Add clip option to scale configuration to allow unclipped scales
- #11435 BorderRadius of Bar Chart issue on Firefox 116
- #11348 fix: Add backgroundColor type on CoreScaleOptions
- #11439 Replace html extension with md extension for docs
- #11461 Bump 4.4.0
-
4.3.3 - 2023-08-02
- npm
- Migration guide
- Docs
- API
- Samples
- #11432 Revert fix for monotone cubic interpolation
- #11427 Bump pnpm/action-setup from 2.2.4 to 2.4.0
-
4.3.2 - 2023-07-26
- npm
- Migration guide
- Docs
- API
- Samples
- #11422 Revert feature to disable plugins by TS
- #11419 Updates to scale type definitions
- #11423 Bump 4.3.2
-
4.3.1 - 2023-07-24
- npm
- Migration guide
- Docs
- API
- Samples
- #11417 Bump 4.3.1
- #11330 [docs] HTML Legend sample: add flex-shrink: 0 to color box
- #11377 Fix curve path if scale limits are set for line chart
- #11388 Fix time series scale to have each data point is spread equidistant
- #11352 Fix mismatch between hit boxes and drawn items in legend plugin
- #11346 Add text stoke radial linear scale
- #11334 Fix toggling showLine option on scatter controller
- #11403 Add missing feature for disabling plugins in TyeScript
- #11396 Fix type of tickBorderDash in GridLineOptions
- #11187 Split the TimeScaleOptions type into composable sub types
- #11383 fix: add pointStyleWidth to type definitions
- #11358 Add `beforeDraw` to drawtime type
- #11350 Add events property to Plugin defined type
- #11309 Export explicitly the plugin options definition which is augmented by plugins implementation
- #11345 Clarify update docs
- #11324 Refined grammar and updated overall .md documentation files
- #11322 minor correction of documentation for 'Grace'
- #11284 Correct tooltip dates displaying incorrectly reported in #11229
- #11300 Expend note that chart must be in its own dedicated container
- #11318 Switch from Slack to Discord
- #11301 Update slack link
- #11302 Update size limits
-
4.3.0 - 2023-04-28
- npm
- Migration guide
- Docs
- API
- Samples
- #11257 Bump to 4.3.0
- #11217 Enable applying of gradients and pattern on line segments
- #11134 Use custom scale defaults and dataset axis ID options to determine the axis
- #11061 fix RTL tooltip colorBox placement
- #11055 Enable point labels hiding when overlapped
- #11180 Border is counted as part of ArcElement
- #11121 refactor: rewrite config helpers to ts
- #11100 refactor: rewrite canvas helpers to ts
- #11127 Add borderDash options to arc element
- #11238 Check for isNaN before building number formatter options
- #11116 Fix: don't generate ticks > max if max is specified
- #11121 refactor: rewrite config helpers to ts
- #11100 refactor: rewrite canvas helpers to ts
- #11143 Docs: fix tooltip model doc.
- #11241 Add redirect for old V3 migration guides in release notes
- #11244 Fix documentation about how to manage own custom plugin for types
- #11220 docs: Fix a few typos
- #11154 Update tooltip.md
- #11240 Add version specific urls to release template
- #11212 Update size limits
- #11209 chore: change pnpm version in engines field to be able to use 8.x.x
- #11174 Add colors plugin to size limit
- #11165 Disable canvas acceleration in Firefox 110 in test cases
- #11145 Simplify _arrayUnique
- #11135 Change labelColors to labelColor in tooltip drawColorBox method.
-
4.2.1 - 2023-02-10
- npm
- Migration guide
- Docs
- API
- Samples
- #11045 fix: decimation plugin data not writeable after clean
- #11069 Use maxTicksLimit option to calculate the labels size on ticks
- #11102 chore: #10963 revert
- #11115 Add colors plugin TS options to be configured
- #11081 fix: add bgColor type in RadialLinearScaleOptions
- #11095 🐛 fixes compilation error when option --isolatedModules is set
- #11110 Remove override warning tooltips
- #11093 Remove meetup banner
- #11077 Fix documentation typo
- #11130 Bump to 4.2.1
- #11124 Remove circumference property retrieving from arc element for center calculation because not used
- #11113 Update link to new template
from chart.js GitHub release notesEssential Links
Bugs Fixed
Types
Documentation
Development
Thanks to @ DAcodedBEAT, @ LeeLenaleee, @ Megaemce, @ dependabot, @ dependabot[bot], @ mirumirumi, @ smoonsf and @ waszkiewiczja
Essential Links
Bugs Fixed
Types
Documentation
Development
Thanks to @ CatchABus, @ Cazka, @ Connormiha, @ LeeLenaleee, @ Sengulair, @ bboy-chocomint, @ dependabot, @ dependabot[bot], @ jongwooo, @ joshkel and @ unverbraucht
Essential Links
Enhancements
Bugs Fixed
Types
Documentation
Development
Thanks to @ LeeLenaleee, @ Mer-cat, @ bogdankorshunov and @ stockiNail
Essential Links
Development
Thanks to @ dependabot, @ dependabot[bot] and @ stockiNail
Essential Links
Types
Development
Thanks to @ LeeLenaleee, @ joshkel and @ stockiNail
Essential Links
Bugs Fixed
Types
Documentation
Development
Thanks to @ Frenzie, @ LeeLenaleee, @ etimberg, @ matthewhegarty, @ mukham12, @ skopz356 and @ stockiNail
Essential Links
Enhancements
Bugs Fixed
Types
Documentation
Development
Thanks to @ CodingMarco, @ Connormiha, @ Demir-Utku, @ LeeLenaleee, @ dangreen, @ defunctzombie, @ etimberg, @ leo2436, @ olenderhub, @ shahabhm, @ stockiNail and @ timgates42
Essential Links
Bugs Fixed
Types
Documentation
Development
Thanks to @ LeeLenaleee, @ choichoijin, @ dangreen, @ etimberg, @ jljouannic, @ johakr, @ n1313 and @ stockiNail
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: