From 5c98827c23f7812320b88064c34038fd99ecdbfd Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Tue, 20 Sep 2022 09:59:54 -0400 Subject: [PATCH] Restricting chart.js to 3.8.2 In 3.9, they broke typescript with chart.js/auto - see https://github.com/chartjs/Chart.js/issues/10599 It will be fixed in 4.0. --- src/Chartjs/Resources/assets/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Chartjs/Resources/assets/package.json b/src/Chartjs/Resources/assets/package.json index e259c774cff..16b17dd5cf6 100644 --- a/src/Chartjs/Resources/assets/package.json +++ b/src/Chartjs/Resources/assets/package.json @@ -20,7 +20,7 @@ "devDependencies": { "@hotwired/stimulus": "^3.0.0", "@types/chart.js": "^2.9.34", - "chart.js": "^3.4.1", + "chart.js": "^3.4.1 <3.9", "jest-canvas-mock": "^2.3.0", "resize-observer-polyfill": "^1.5.1" }