[Snyk] Upgrade chart.js from 2.8.0 to 2.9.3 #4
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.
Snyk has created this PR to upgrade chart.js from 2.8.0 to 2.9.3.
ℹ️ 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.Release notes
Package name: chart.js
Bug Fixes
Thanks to the maintainers and collaborators for their help to improve and test Chart.js (@kurkle, @benmccann, and @etimberg).
Bug Fixes
Performance
Documentation
Thanks to the maintainers and collaborators for their help to improve and test Chart.js (@nagix, @kurkle, @benmccann, @etimberg and @simonbrunel).
Bug Fixes
scale.getDecimalForPixel
to the chart areaDocumentation
Development
Thanks to the maintainers and collaborators for their help to improve and test Chart.js (@nagix, @kurkle, @benmccann, @etimberg and @simonbrunel).
Breaking changes
helpers._decimalPlaces
is now privateEnhancements
dataset.order
autoSkip
aware of major ticksoffsetGridLines
is truespanGaps
in radar chartspointStyle
image[start, end]
)min
andmax
in standard mannerPerformance
helpers.each
ticks.sampleSize
optionticks.source:'labels'
helpers.each
with for-loopscore.layout
getScaleForId()
calls in the line controllerhelpers.extend
Bug Fixes
autoSkip
is enabledzeroLineIndex
is definedtoExponential
between 0 and 20. Thanks @veggiesaurusgetValueForPixel
in time scalelineTension
tick.major
intickFormatFunction
determineUnitForFormatting
floating point errorticks.minor
andticks.major
issueshelpers.almostWhole
Documentation
elements.arc.angle
in documentationticks.display
and addpointLabels.display
cubicInterpolationMode
andfill
. Thanks @stockiNailDevelopment
autoSkip
inupdate
helpers.math._factorize
Thanks to the maintainers and collaborators for their help to improve and test Chart.js (@nagix, @kurkle, @benmccann, @etimberg and @simonbrunel).
Documentation: http://www.chartjs.org/docs/2.8.0/
Deprecations
Chart.{Type}
classesconfigMerge
andscaleMerge
helpersEnhancements
minBarLength
option for bar chart. Thanks @adubereverse
support to time scaleonLeave
callback to legend. Thanks @jonrimmerIssues Fixed
offsetGridLine
behavior with a single data pointdata.labels
lineWidth
as an arraynew Number()
is correctly handledstepSize
innerHTML
usage from our DOM platformafterBuildTicks
scale.pointLabels.lineHeight
andscale.ticks.lineHeight
optionsautoSkip
istrue
ticks.reverse
issuegetRightValue
to number in bar chartfitWithPointLabels
calculation in radial linear scalexLabel
andyLabel
withlabel
andvalue
usePointStyle
istrue
. Thanks @alfiehdinsertElements
getArea
implementation for horizontal barsaddEventListener
andremoveEventListener
dataset.data
arraysDocumentation
aspectRatio
property. Thanks @danielcb29parser
instead of the deprecatedformat
option. Thanks @Niladri24duttapadding
option. Thanks @JEphronchartjs-plugin-colorschemes
barThickness
. Thanks @jedrekdomanskiomi-chart
to the doc. Thanks @dntzhangChart.min.js
in samplesmaintainAspectRatio
. Thanks @janelledementpointBackgroundColor
in radar samplechartjs-plugin-crosshair
. Thanks @AbelHeinsbroekchartjs-plugin-rough
Development
*.js
test fixture configs.editorconfig
file to include newlines at EOF. Thanks @jtagschererChart.controllers.*
importablegulp-connect
and add jsdelivr/unpkg pathshelpers.options.resolve
removeResizeListener
. Thanks @DanielRufThanks to the maintainers and collaborators for their help to improve and test Chart.js (@nagix, @kurkle, @benmccann, @etimberg and @simonbrunel).
More details in the release PR: #6092
Commit messages
Package name: chart.js
Compare
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:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs