
up to date, audited 1675 packages in 14s

120 packages are looking for funding
  run `npm fund` for details

166 vulnerabilities (11 low, 82 moderate, 57 high, 16 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.

> chart.js@3.5.1 build
> rollup -c

Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
[32m28 04 2026 19:06:57.726:INFO [preprocessor.rollup]: [39mGenerating bundle for ./test/index.js
[32m28 04 2026 19:07:00.303:INFO [preprocessor.rollup]: [39mGenerating bundle for ./src/index.js
[32m28 04 2026 19:07:00.416:INFO [karma-server]: [39mKarma v6.3.4 server started at http://localhost:9876/
[32m28 04 2026 19:07:00.417:INFO [launcher]: [39mLaunching browsers chrome, firefox with concurrency unlimited
[32m28 04 2026 19:07:00.422:INFO [launcher]: [39mStarting browser Chrome
[32m28 04 2026 19:07:00.439:INFO [launcher]: [39mStarting browser Firefox
[91m28 04 2026 19:07:00.466:ERROR [launcher]: [39mCannot start Firefox
	
Command '/usr/bin/firefox' requires the firefox snap to be installed.
Please install it with:

snap install firefox


[91m28 04 2026 19:07:00.467:ERROR [launcher]: [39mFirefox stdout: 
[91m28 04 2026 19:07:00.467:ERROR [launcher]: [39mFirefox stderr: 
Command '/usr/bin/firefox' requires the firefox snap to be installed.
Please install it with:

snap install firefox


[32m28 04 2026 19:07:00.471:INFO [launcher]: [39mTrying to start Firefox again (1/2).
[91m28 04 2026 19:07:00.496:ERROR [launcher]: [39mCannot start Firefox
	
Command '/usr/bin/firefox' requires the firefox snap to be installed.
Please install it with:

snap install firefox


[91m28 04 2026 19:07:00.496:ERROR [launcher]: [39mFirefox stdout: 
[91m28 04 2026 19:07:00.497:ERROR [launcher]: [39mFirefox stderr: 
Command '/usr/bin/firefox' requires the firefox snap to be installed.
Please install it with:

snap install firefox


[32m28 04 2026 19:07:00.499:INFO [launcher]: [39mTrying to start Firefox again (2/2).
[91m28 04 2026 19:07:00.530:ERROR [launcher]: [39mCannot start Firefox
	
Command '/usr/bin/firefox' requires the firefox snap to be installed.
Please install it with:

snap install firefox


[91m28 04 2026 19:07:00.531:ERROR [launcher]: [39mFirefox stdout: 
[91m28 04 2026 19:07:00.531:ERROR [launcher]: [39mFirefox stderr: 
Command '/usr/bin/firefox' requires the firefox snap to be installed.
Please install it with:

snap install firefox


[91m28 04 2026 19:07:00.533:ERROR [launcher]: [39mFirefox failed 2 times (cannot start). Giving up.
[32m28 04 2026 19:07:03.679:INFO [Chrome 127.0.0.0 (Linux x86_64)]: [39mConnected on socket x5DiKhcHNsQs2YkDAAAB with id 20703657
ERROR LOG: [36m'Failed to create chart: can't acquire context from the given item'[39m
ERROR: 'Failed to create chart: can't acquire context from the given item'
ERROR LOG: [36m'Invalid scale configuration for scale: xAxes'[39m
ERROR: 'Invalid scale configuration for scale: xAxes'
WARN LOG: [36m'Ignoring resolver passed as options for scale: x'[39m
WARN: 'Ignoring resolver passed as options for scale: x'

  Chart.controllers.line
    [31m✗ [39m[31mshould find min and max for stacked chart[39m
	Expected $.min = 11 to equal 10.
	Expected $.max = 17 to equal 13.
	Error: Expected $.min = 11 to equal 10.
	Expected $.max = 17 to equal 13.
	    at <Jasmine>
	    at UserContext.<anonymous> (test/specs/controller.line.tests.js:84:80)
	    at <Jasmine>

Chrome 127.0.0.0 (Linux x86_64) Chart.controllers.line should find min and max for stacked chart FAILED
	Expected $.min = 11 to equal 10.
	Expected $.max = 17 to equal 13.
	Error: Expected $.min = 11 to equal 10.
	Expected $.max = 17 to equal 13.
	    at <Jasmine>
	    at UserContext.<anonymous> (test/specs/controller.line.tests.js:84:80)
	    at <Jasmine>
    auto
      [31m✗ [39m[31m/base/test/fixtures/controller.line/stacking/bounds-data.js[39m
	Fixture test failed:
	  Difference: 4236px / 1.62%
	  Threshold: 10%
	  Tolerance: 0.1%
	Error: Fixture test failed:
	  Difference: 4236px / 1.62%
	  Threshold: 10%
	  Tolerance: 0.1%
	    at <Jasmine>
	    at test/index.js:1089:27
	    at image.onload (test/index.js:532:7)

Chrome 127.0.0.0 (Linux x86_64) Chart.controllers.line auto /base/test/fixtures/controller.line/stacking/bounds-data.js FAILED
	Fixture test failed:
	  Difference: 4236px / 1.62%
	  Threshold: 10%
	  Tolerance: 0.1%
	Error: Fixture test failed:
	  Difference: 4236px / 1.62%
	  Threshold: 10%
	  Tolerance: 0.1%
	    at <Jasmine>
	    at test/index.js:1089:27
	    at image.onload (test/index.js:532:7)
[33m28 04 2026 19:07:32.705:WARN [web-server]: [39m404: /base/src/chart.js

  Platform.basic
    [31m✗ [39m[31msupports choosing the BasicPlatform in a web worker[39m
	Uncaught NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'src/chart.js' failed to load. thrown

Chrome 127.0.0.0 (Linux x86_64) Platform.basic supports choosing the BasicPlatform in a web worker FAILED
	Uncaught NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'src/chart.js' failed to load. thrown
WARN LOG: [36m'scales.y.ticks.stepSize: 2 would result generating up to 5000000001 ticks. Limiting to 1000.'[39m
WARN: 'scales.y.ticks.stepSize: 2 would result generating up to 5000000001 ticks. Limiting to 1000.'

Chrome 127.0.0.0 (Linux x86_64): Executed 1473 of 1473[31m (3 FAILED)[39m (34.32 secs / 27.784 secs)
[31mTOTAL: 3 FAILED, 1470 SUCCESS[39m

TOTAL: 3 FAILED, 1470 SUCCESS
+ cd /testbed
+ git config --global --add safe.directory /testbed
+ cd /testbed
+ git checkout 12c5f9a8396f2a472f331ef772d6c7ba5cd62513 test/fixtures/controller.line/stacking/bounds-data.png test/specs/controller.line.tests.js
Updated 0 paths from 1d80169b
+ mkdir -p test/fixtures/controller.line/stacking
+ curl -o test/fixtures/controller.line/stacking/bounds-data.png https://raw.githubusercontent.com/chartjs/Chart.js/871293fb6caf7b7a63dd6249e9fc39b99a121c2d/test/fixtures/controller.line/stacking/bounds-data.png
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 19599  100 19599    0     0   185k      0 --:--:-- --:--:-- --:--:--  187k
+ chmod 777 test/fixtures/controller.line/stacking/bounds-data.png
+ git apply --verbose --reject -
Checking patch test/fixtures/controller.line/stacking/bounds-data.png...
warning: test/fixtures/controller.line/stacking/bounds-data.png has type 100755, expected 100644
error: cannot apply binary patch to 'test/fixtures/controller.line/stacking/bounds-data.png' without full index line
error: test/fixtures/controller.line/stacking/bounds-data.png: patch does not apply
Checking patch test/specs/controller.line.tests.js...
Applied patch test/specs/controller.line.tests.js cleanly.
+ : '>>>>> Start Test Output'
+ npm install
+ npm run build

src/index.js → dist/chart.js...
-----------------------------
Rollup File Analysis
-----------------------------
bundle size:    398.053 KB
original size:  538.799 KB
code reduction: 26.12 %
module count:   70

/src/core/core.scale.js
████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 9.8 % (39.022 KB)
/src/plugins/plugin.tooltip.js
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 7.78 % (30.961 KB)
/src/core/core.controller.js
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 6.14 % (24.431 KB)
/src/core/core.datasetController.js
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 5.65 % (22.483 KB)
/src/plugins/plugin.legend.js
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.32 % (17.19 KB)
/src/scales/scale.radialLinear.js
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.67 % (14.614 KB)
/src/controllers/controller.bar.js
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.59 % (14.3 KB)
/src/plugins/plugin.filler.js
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.38 % (13.472 KB)
/src/scales/scale.time.js
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.13 % (12.456 KB)
/node_modules/@kurkle/color/dist/color.esm.js
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.79 % (11.092 KB)
/src/core/core.layouts.js
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.64 % (10.489 KB)
/src/controllers/controller.doughnut.js
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.59 % (10.324 KB)
/src/elements/element.arc.js
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.29 % (9.125 KB)
/src/helpers/helpers.canvas.js
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.26 % (9.008 KB)
/src/core/core.config.js
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.17 % (8.635 KB)
/src/elements/element.line.js
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.11 % (8.388 KB)
/src/helpers/helpers.config.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.95 % (7.777 KB)
/src/platform/platform.dom.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.71 % (6.806 KB)
/src/helpers/helpers.segment.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.68 % (6.696 KB)
/src/scales/scale.linearbase.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.68 % (6.691 KB)
/src/core/core.interaction.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.61 % (6.411 KB)
/src/helpers/helpers.dom.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.56 % (6.198 KB)
/src/plugins/plugin.decimation.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.5 % (5.968 KB)
/src/controllers/controller.line.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.4 % (5.563 KB)
/src/elements/element.bar.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.38 % (5.474 KB)
/src/helpers/helpers.curve.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.31 % (5.229 KB)
/src/controllers/controller.polarArea.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.25 % (4.972 KB)
/src/helpers/helpers.core.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.22 % (4.864 KB)
/src/core/core.animations.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.11 % (4.407 KB)
/src/scales/scale.logarithmic.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1 % (3.981 KB)
/src/controllers/controller.bubble.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.86 % (3.436 KB)
/src/plugins/plugin.title.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.85 % (3.381 KB)
/src/core/core.scale.autoskip.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.84 % (3.332 KB)
/src/helpers/helpers.math.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.82 % (3.254 KB)
/src/core/core.animator.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.81 % (3.225 KB)
/src/core/core.plugins.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.81 % (3.212 KB)
/src/core/core.defaults.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.75 % (2.997 KB)
/src/helpers/helpers.options.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.75 % (2.967 KB)
/src/helpers/helpers.easing.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.72 % (2.855 KB)
/src/scales/scale.timeseries.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.71 % (2.816 KB)
/src/core/core.animation.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.69 % (2.757 KB)
/src/scales/scale.category.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.69 % (2.731 KB)
/src/core/core.registry.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.65 % (2.593 KB)
/src/helpers/helpers.collection.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.56 % (2.241 KB)
/src/core/core.typedRegistry.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.54 % (2.135 KB)
/src/elements/element.point.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.52 % (2.068 KB)
/src/controllers/controller.radar.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.49 % (1.965 KB)
/src/core/core.scale.defaults.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.43 % (1.706 KB)
/src/core/core.ticks.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.38 % (1.506 KB)
/src/helpers/helpers.rtl.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.35 % (1.401 KB)
/src/helpers/helpers.extras.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.33 % (1.327 KB)
/src/scales/scale.linear.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.26 % (1.02 KB)
/src/plugins/plugin.subtitle.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.21 % (849 Bytes)
/src/core/core.adapters.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.18 % (724 Bytes)
/src/core/core.element.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.18 % (705 Bytes)
/src/helpers/helpers.interpolation.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.17 % (692 Bytes)
/src/index.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.16 % (632 Bytes)
/src/platform/platform.base.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.15 % (586 Bytes)
/src/controllers/controller.scatter.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.13 % (533 Bytes)
/src/helpers/helpers.intl.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.11 % (440 Bytes)
/src/helpers/helpers.color.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.09 % (339 Bytes)
/src/platform/platform.basic.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.05 % (209 Bytes)
/src/platform/index.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.05 % (197 Bytes)
/src/controllers/controller.pie.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.04 % (173 Bytes)
/package.json
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.01 % (22 Bytes)
/src/helpers/index.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0 % (0 Byte)
/src/controllers/index.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0 % (0 Byte)
/src/elements/index.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0 % (0 Byte)
/src/plugins/index.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0 % (0 Byte)
/src/scales/index.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0 % (0 Byte)

created dist/chart.js in 914ms

src/index.js → dist/chart.min.js...
created dist/chart.min.js in 3.4s

src/index.esm.js, src/helpers/index.js → ./...
created ./ in 788ms
+ xvfb-run '--server-args=-screen 0 1280x1024x24 -ac :99' su chromeuser -c './node_modules/.bin/cross-env NODE_ENV=test ./node_modules/.bin/karma start ./karma.conf.js --single-run --coverage --grep --auto-watch false'
+ : '>>>>> End Test Output'
+ git checkout 12c5f9a8396f2a472f331ef772d6c7ba5cd62513 test/fixtures/controller.line/stacking/bounds-data.png test/specs/controller.line.tests.js
Updated 2 paths from 1d80169b
