From b4b67e71ed7c5472f690f17e09185fa5f6d2428a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 17 Jan 2024 17:36:00 +0000 Subject: [PATCH] Update dependency chart.js to v4 --- package.json | 2 +- yarn.lock | 45 ++++++++++++++++----------------------------- 2 files changed, 17 insertions(+), 30 deletions(-) diff --git a/package.json b/package.json index dbca5e44b..eb114d42b 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "accessible-autocomplete": "^2.0.4", "basic-auth": "^2.0.0", "body-parser": "^1.15.2", - "chart.js": "^2.9.3", + "chart.js": "^4.0.0", "compression": "^1.6.2", "config": "^3.3.9", "csurf": "^1.9.0", diff --git a/yarn.lock b/yarn.lock index 77d201ff7..09e66b297 100644 --- a/yarn.lock +++ b/yarn.lock @@ -226,6 +226,13 @@ __metadata: languageName: node linkType: hard +"@kurkle/color@npm:^0.3.0": + version: 0.3.2 + resolution: "@kurkle/color@npm:0.3.2" + checksum: 79e97b31f8f6efb28c69d373f94b0c7480226fe8ec95221f518ac998e156444a496727ce47de6d728eb5c3369288e794cba82cae34253deb0d472d3bfe080e49 + languageName: node + linkType: hard + "@ministryofjustice/frontend@npm:^1.6.3": version: 1.8.1 resolution: "@ministryofjustice/frontend@npm:1.8.1" @@ -2208,32 +2215,12 @@ __metadata: languageName: node linkType: hard -"chart.js@npm:^2.9.3": - version: 2.9.4 - resolution: "chart.js@npm:2.9.4" - dependencies: - chartjs-color: ^2.1.0 - moment: ^2.10.2 - checksum: cbdc7abe2fa65e4838848e68b035ae6048ebcc512b9057d7cdb6d361e728400d39e3fde75e0b4da815ab43f7890c31787d8f80d4e6ab75a3e80fc75b47cd173c - languageName: node - linkType: hard - -"chartjs-color-string@npm:^0.6.0": - version: 0.6.0 - resolution: "chartjs-color-string@npm:0.6.0" - dependencies: - color-name: ^1.0.0 - checksum: 2355bc8e9514b779d0dc057c5ee6707e8166f270531c27287a399d6bfeb0d891b00a6f6c20e764453a062de0de8b298b11d3850fc94c323df66efb4720ece4c7 - languageName: node - linkType: hard - -"chartjs-color@npm:^2.1.0": - version: 2.4.1 - resolution: "chartjs-color@npm:2.4.1" +"chart.js@npm:^4.0.0": + version: 4.4.1 + resolution: "chart.js@npm:4.4.1" dependencies: - chartjs-color-string: ^0.6.0 - color-convert: ^1.9.3 - checksum: 254d7b2f103980417703331c49fba18877ac797fd9056d79f0d566dc4fd8d41f91b7f63d4b19602462b91110bee2fe0c9fd57266ce871e498ac1c25742fffb11 + "@kurkle/color": ^0.3.0 + checksum: 8c108f137824ea0e3d79914708b409298c12ed7d16da99a40ca3cab51466ef7b0068ad82ac0addeb288b938fe0621d3e5a6a913b60e72a729aa42aa96705fcad languageName: node linkType: hard @@ -2540,7 +2527,7 @@ __metadata: languageName: node linkType: hard -"color-convert@npm:^1.9.0, color-convert@npm:^1.9.3": +"color-convert@npm:^1.9.0": version: 1.9.3 resolution: "color-convert@npm:1.9.3" dependencies: @@ -2565,7 +2552,7 @@ __metadata: languageName: node linkType: hard -"color-name@npm:^1.0.0, color-name@npm:~1.1.4": +"color-name@npm:~1.1.4": version: 1.1.4 resolution: "color-name@npm:1.1.4" checksum: b0445859521eb4021cd0fb0cc1a75cecf67fceecae89b63f62b201cca8d345baf8b952c966862a9d9a2632987d4f6581f0ec8d957dfacece86f0a7919316f610 @@ -7991,7 +7978,7 @@ __metadata: chai: ^4.1.2 chai-as-promised: ^7.1.1 chai-things: ^0.2.0 - chart.js: ^2.9.3 + chart.js: ^4.0.0 compression: ^1.6.2 config: ^3.3.9 csurf: ^1.9.0 @@ -9262,7 +9249,7 @@ __metadata: languageName: node linkType: hard -"moment@npm:2.x.x, moment@npm:^2.10.2, moment@npm:^2.19.3, moment@npm:^2.27.0, moment@npm:^2.29.4": +"moment@npm:2.x.x, moment@npm:^2.19.3, moment@npm:^2.27.0, moment@npm:^2.29.4": version: 2.30.1 resolution: "moment@npm:2.30.1" checksum: 859236bab1e88c3e5802afcf797fc801acdbd0ee509d34ea3df6eea21eb6bcc2abd4ae4e4e64aa7c986aa6cba563c6e62806218e6412a765010712e5fa121ba6