cachethq / cachet

🚦 The open-source status page system.
https://cachethq.io
MIT License
13.79k stars 1.55k forks source link

[Security] Bump chart.js from 2.9.3 to 3.2.0 #4273

Closed dependabot-preview[bot] closed 11 months ago

dependabot-preview[bot] commented 3 years ago

Bumps chart.js from 2.9.3 to 3.2.0.

Release notes

Sourced from chart.js's releases.

v3.2.0

Essential Links

Enhancements

  • #8973 Add drawTime: beforeDraw option to filler
  • #8941 Only enable the bar borderRadius at the end of the stacks
  • #8936 Scale: draw border on separate layer after grid
  • #8931 Cartesian scale tick backdrop
  • #8926 Add `initial` property to animation callbacks

Performance

  • #8933 Time: cache options needed by parse

Bugs Fixed

  • #8972 Fix skipNull for subsequent datasets
  • #8934 Fix for allowing parsing:false with stacks
  • #8928 Allow the events option to be changed at runtime

Types

  • #8944 Update helpers types export

Documentation

  • #8971 In html tooltip sample padding is read from the options
  • #8942 Add example plugins for border and quadrants

Development

  • #8974 Bump to version 3.2.0

Thanks to @​TinfoilPancakes, @​etimberg and @​kurkle

v3.1.1

Essential Links

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 3 years ago

We've just been alerted that this update fixes a security vulnerability:

Sourced from The GitHub Security Advisory Database.

Prototype pollution in chart.js

This affects the package chart.js before 2.9.4. The options parameter is not properly sanitized when it is processed. When the options are processed, the existing options (or the defaults options) are deeply merged with provided options. However, during this operation, the keys of the object being set are not checked, leading to a prototype pollution.

Affected versions: ["< 2.9.4"]