From 312b0833b4c8d7ce679d0dbba0ebb3d77a215763 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 7 Jun 2024 20:59:02 +0000 Subject: [PATCH] fix: upgrade chart.js from 4.4.1 to 4.4.3 Snyk has created this PR to upgrade chart.js from 4.4.1 to 4.4.3. See this package in npm: chart.js See this project in Snyk: https://app.snyk.io/org/alfonsserra/project/2087bde5-4ba4-4db6-86e7-e9edcbc5f718?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 30 +++++++++++++++++++++++++----- package.json | 2 +- 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index d0d3453..5422417 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "@angular/platform-browser-dynamic": "~17.0.9", "@angular/router": "~17.0.9", "bootstrap": "~4.6.2", - "chart.js": "~4.4.1", + "chart.js": "^4.4.3", "chartjs-adapter-date-fns": "~3.0.0", "chartjs-plugin-annotation": "~3.0.1", "chartjs-plugin-datalabels": "~2.2.0", @@ -6407,14 +6407,15 @@ "dev": true }, "node_modules/chart.js": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.1.tgz", - "integrity": "sha512-C74QN1bxwV1v2PEujhmKjOZ7iUM4w6BWs23Md/6aOZZSlwMzeCIDGuZay++rBgChYru7/+QFeoQW0fQoP534Dg==", + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.3.tgz", + "integrity": "sha512-qK1gkGSRYcJzqrrzdR6a+I0vQ4/R+SoODXyAjscQ/4mzuNzySaMCd+hyVxitSY1+L2fjPD1Gbn+ibNqRmwQeLw==", + "license": "MIT", "dependencies": { "@kurkle/color": "^0.3.0" }, "engines": { - "pnpm": ">=7" + "pnpm": ">=8" } }, "node_modules/chartjs-adapter-date-fns": { @@ -10767,6 +10768,13 @@ "jiti": "bin/jiti.js" } }, + "node_modules/jquery": { + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.7.1.tgz", + "integrity": "sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==", + "license": "MIT", + "peer": true + }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -13469,6 +13477,18 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/popper.js": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.1.tgz", + "integrity": "sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ==", + "deprecated": "You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1", + "license": "MIT", + "peer": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, "node_modules/portscanner": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/portscanner/-/portscanner-2.2.0.tgz", diff --git a/package.json b/package.json index 226a7cf..b4b20c1 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "@angular/platform-browser-dynamic": "~17.0.9", "@angular/router": "~17.0.9", "bootstrap": "~4.6.2", - "chart.js": "~4.4.1", + "chart.js": "~4.4.3", "chartjs-adapter-date-fns": "~3.0.0", "chartjs-plugin-annotation": "~3.0.1", "chartjs-plugin-datalabels": "~2.2.0",