Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade vue-chartjs from 3.0.2 to 3.4.2 #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

snyk-bot
Copy link

Snyk has created this PR to upgrade vue-chartjs from 3.0.2 to 3.4.2.

  • The recommended version is 10 versions ahead of your current version.
  • The recommended version was released 6 months ago, on 2019-03-18.

The recommended version fixes:

Severity Title Issue ID
Prototype Pollution SNYK-JS-LODASHMERGE-173732
Prototype Pollution SNYK-JS-LODASHMERGE-173733
Release notes
  • 3.4.2 - 2019-03-18

    3.4.2 (2019-03-18)

    Bug Fixes

    • Change peerDependency version of chart.js to include older versions (8c780d3)
  • 3.4.1 - 2019-03-18

    3.4.1 (2019-03-18)

    Bug Fixes

    • reactive-mixins: Add prop type and default value (8762521)
    • Update peerDependencies (5b19efc), closes #489
  • 3.4.0 - 2018-08-04

    3.4.0 (2018-08-04)

    Features

    • events: Add events to reactiveMixins (#389) (67e8e4d), closes #382
    • typescript: Add basic typescript definitions (184be5c), closes #376
    • ux: Add a wrapper around generateLegend (#390) (fc646d8)
    • ux: Add fake render method with error message (23ff90d), closes #380
  • 3.3.2 - 2018-06-18

    3.3.2 (2018-06-18)

    Bug Fixes

    • babel: fix decorator error with new version of babel (2fe804b)
    • core: Delete old chart.js instance first (#375) (89a7cac)
    • mixins: Add condition to check if chart instance is present. (1fed8e7)

    Docs

    • privacy: Remove GA from docs page (d2d944f)
  • 3.3.1 - 2018-03-26

    3.3.1 (2018-03-26)

    Bug Fixes

    • release: Add exports to index (8341f94)
  • 3.3.0 - 2018-03-23

    Changelog

    Bug Fixes

    • readme: Update paypal donate button (bfda218)

    Features

    • charts: Export generateChart to create custom charts (50e5644)
    • docs: Update docs with custom chart example (3247a61)

    👨‍🏫 Custom Charts

    You can now extend Chart.js chart types and modify them or create new chart types.

    // 1. Import Chart.js so you can use the global Chart object
    import Chart from 'chart.js'
    // 2. Import the `generateChart()` method to create the vue component.
    import { generateChart } from 'vue-chartjs'
    

    // 3. Extend on of the default charts
    // http://www.chartjs.org/docs/latest/developers/charts.html
    Chart.defaults.LineWithLine = Chart.defaults.line;
    Chart.controllers.LineWithLine = Chart.controllers.line.extend({ / custom magic here /})

    // 4. Generate the vue-chartjs component
    // First argument is the chart-id, second the chart type.
    const CustomLine = generateChart('custom-line', 'LineWithLine')

    // 5. Extend the CustomLine Component just like you do with the default vue-chartjs charts.

    export default {
    extends: CustomLine,
    mounted () {
    // ....
    }
    }

    see-heavy-aQYR1p8saOQla

  • 3.2.1 - 2018-02-12

    💉 Fixed

    • Breaking build #310
  • 3.2.0 - 2018-02-11

    Features

    • Refactor identical code #305 Thanks to @nickknissen
    • Add js sourcemaps for vue-chartjs.js and vue-chartjs.min.js

    With the refactor vue-chartjs is even smaller now.

    File Before After
    vue-chartjs.js 15.9 KB 11.9 KB
    vue-chartjs.min.js 7.49 KB 3.49 KB
  • 3.1.1 - 2018-02-02

    Refactor

    Big thanks to @nickknissen for #303 which DRY out the code of vue-chartjs and reduced the filesize!
    The gzipped version is now 2.25 KB

    2s0ouek7HJmWQ

    File Before Now gzip
    vue-chartjs.js 26.7 KB 15.9 KB 4.03 KB
    vue-chartjs.min.js 13 KB 7.49 KB 2.25 KB
  • 3.1.0 - 2018-01-12

    Changes

    🐞 Bug Fixes

    • mixins: Check for chartjs instance before rendering chart (39ff839), closes #288

    ⚡️ Features

    • charts: Remove default styling (ac5d4d8)
  • 3.0.2 - 2017-11-07

from vue-chartjs GitHub Release Notes


🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant