diff --git a/gulpfile.js b/gulpfile.js index 9ae6aff08..625682b35 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -85,7 +85,7 @@ gulp.task('3rdparty-copy', function () { 'src/3rdparty/**/*.svg', 'src/3rdparty/**/*.gif', 'src/3rdparty/**/*.ttf', - 'node_modules/chart.js/dist/chart.min.js' + 'node_modules/chart.js/dist/chart.umd.js' ]).pipe(gulp.dest('dist/3rdparty/')); }); diff --git a/package-lock.json b/package-lock.json index e02ec74ae..78cd7a78e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@fortawesome/fontawesome-free": "^5.15.4", "bootstrap-sass": "^3.4.1", - "chart.js": "^3.9.1", + "chart.js": "^4.1.1", "gulp": "^4.0.2", "gulp-autoprefixer": "^8.0.0", "gulp-concat": "^2.6.1", @@ -228,6 +228,11 @@ "node": ">= 0.10" } }, + "node_modules/@kurkle/color": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@kurkle/color/-/color-0.3.1.tgz", + "integrity": "sha512-hW0GwZj06z/ZFUW2Espl7toVDjghJN+EKqyXzPSV8NV89d5BYp5rRMBJoc+aUN0x5OXDMeRQHazejr2Xmqj2tw==" + }, "node_modules/@npmcli/fs": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.0.tgz", @@ -1186,9 +1191,15 @@ } }, "node_modules/chart.js": { - "version": "3.9.1", - "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-3.9.1.tgz", - "integrity": "sha512-Ro2JbLmvg83gXF5F4sniaQ+lTbSv18E+TIf2cOeiH1Iqd2PGFOtem+DUufMZsCJwFE7ywPOpfXFBwRTGq7dh6w==" + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.1.1.tgz", + "integrity": "sha512-P0pCosNXp+LR8zO/QTkZKT6Hb7p0DPFtypEeVOf+6x06hX13NIb75R0DXUA4Ksx/+48chDQKtCCmRCviQRTqsA==", + "dependencies": { + "@kurkle/color": "^0.3.0" + }, + "engines": { + "pnpm": "^7.0.0" + } }, "node_modules/chokidar": { "version": "2.1.8", @@ -9089,6 +9100,11 @@ "through2": "^2.0.3" } }, + "@kurkle/color": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@kurkle/color/-/color-0.3.1.tgz", + "integrity": "sha512-hW0GwZj06z/ZFUW2Espl7toVDjghJN+EKqyXzPSV8NV89d5BYp5rRMBJoc+aUN0x5OXDMeRQHazejr2Xmqj2tw==" + }, "@npmcli/fs": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.0.tgz", @@ -9811,9 +9827,12 @@ } }, "chart.js": { - "version": "3.9.1", - "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-3.9.1.tgz", - "integrity": "sha512-Ro2JbLmvg83gXF5F4sniaQ+lTbSv18E+TIf2cOeiH1Iqd2PGFOtem+DUufMZsCJwFE7ywPOpfXFBwRTGq7dh6w==" + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.1.1.tgz", + "integrity": "sha512-P0pCosNXp+LR8zO/QTkZKT6Hb7p0DPFtypEeVOf+6x06hX13NIb75R0DXUA4Ksx/+48chDQKtCCmRCviQRTqsA==", + "requires": { + "@kurkle/color": "^0.3.0" + } }, "chokidar": { "version": "2.1.8", diff --git a/package.json b/package.json index 5395ac6e6..2a03a7705 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "dependencies": { "@fortawesome/fontawesome-free": "^5.15.4", "bootstrap-sass": "^3.4.1", - "chart.js": "^3.9.1", + "chart.js": "^4.1.1", "gulp": "^4.0.2", "gulp-autoprefixer": "^8.0.0", "gulp-concat": "^2.6.1", diff --git a/src/index.html b/src/index.html index 9cc97fa04..4b869d006 100644 --- a/src/index.html +++ b/src/index.html @@ -64,7 +64,7 @@ - +