From c5f171cde109c5c3ea992f71479c0bd9c586c07c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 23 Jul 2024 05:55:42 +0000 Subject: [PATCH] fix: upgrade chart.js from 3.7.1 to 3.9.1 Snyk has created this PR to upgrade chart.js from 3.7.1 to 3.9.1. See this package in npm: chart.js See this project in Snyk: https://app.snyk.io/org/hailfire805/project/401715ec-6c9e-47c3-bc6c-1fdc60915d5f?utm_source=github&utm_medium=referral&page=upgrade-pr --- frontend/package-lock.json | 9 +++++---- frontend/package.json | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 108ce83e1b07..659180339a77 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -10,7 +10,7 @@ "@date-fns/utc": "1.2.0", "axios": "1.6.4", "canvas-confetti": "1.5.1", - "chart.js": "3.7.1", + "chart.js": "^3.9.1", "chartjs-adapter-date-fns": "2.0.0", "chartjs-plugin-annotation": "1.4.0", "chartjs-plugin-trendline": "1.0.2", @@ -4561,9 +4561,10 @@ } }, "node_modules/chart.js": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-3.7.1.tgz", - "integrity": "sha512-8knRegQLFnPQAheZV8MjxIXc5gQEfDFD897BJgv/klO/vtIyFFmgMXrNfgrXpbTr/XbTturxRgxIXx/Y+ASJBA==" + "version": "3.9.1", + "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-3.9.1.tgz", + "integrity": "sha512-Ro2JbLmvg83gXF5F4sniaQ+lTbSv18E+TIf2cOeiH1Iqd2PGFOtem+DUufMZsCJwFE7ywPOpfXFBwRTGq7dh6w==", + "license": "MIT" }, "node_modules/chartjs-adapter-date-fns": { "version": "2.0.0", diff --git a/frontend/package.json b/frontend/package.json index 26996a8f4ef2..5f4e8d499a85 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -64,7 +64,7 @@ "@date-fns/utc": "1.2.0", "axios": "1.6.4", "canvas-confetti": "1.5.1", - "chart.js": "3.7.1", + "chart.js": "3.9.1", "chartjs-adapter-date-fns": "2.0.0", "chartjs-plugin-annotation": "1.4.0", "chartjs-plugin-trendline": "1.0.2",