
up to date, audited 1667 packages in 12s

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

160 vulnerabilities (10 low, 85 moderate, 53 high, 12 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.7.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.721:INFO [preprocessor.rollup]: [39mGenerating bundle for ./test/index.js
[32m28 04 2026 19:07:01.300:INFO [preprocessor.rollup]: [39mGenerating bundle for ./src/index.js
[32m28 04 2026 19:07:01.438:INFO [karma-server]: [39mKarma v6.3.16 server started at http://localhost:9876/
[32m28 04 2026 19:07:01.439:INFO [launcher]: [39mLaunching browsers chrome, firefox with concurrency unlimited
[32m28 04 2026 19:07:01.444:INFO [launcher]: [39mStarting browser Chrome
[32m28 04 2026 19:07:01.470:INFO [launcher]: [39mStarting browser Firefox
[91m28 04 2026 19:07:01.513: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:01.513:ERROR [launcher]: [39mFirefox stdout: 
[91m28 04 2026 19:07:01.514: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:01.519:INFO [launcher]: [39mTrying to start Firefox again (1/2).
[91m28 04 2026 19:07:01.555: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:01.555:ERROR [launcher]: [39mFirefox stdout: 
[91m28 04 2026 19:07:01.555: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:01.558:INFO [launcher]: [39mTrying to start Firefox again (2/2).
[91m28 04 2026 19:07:01.600: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:01.600:ERROR [launcher]: [39mFirefox stdout: 
[91m28 04 2026 19:07:01.600: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:01.603:ERROR [launcher]: [39mFirefox failed 2 times (cannot start). Giving up.
[32m28 04 2026 19:07:05.777:INFO [Chrome 127.0.0.0 (Linux x86_64)]: [39mConnected on socket vSgNyz0xNQUeY9BxAAAB with id 16367234
[33m28 04 2026 19:07:16.969: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

	Error: Timeout - Async function did not complete within 5000ms (set by jasmine.DEFAULT_TIMEOUT_INTERVAL)
	    at <Jasmine>

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
	Error: Timeout - Async function did not complete within 5000ms (set by jasmine.DEFAULT_TIMEOUT_INTERVAL)
	    at <Jasmine>
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
	Error: Timeout - Async function did not complete within 5000ms (set by jasmine.DEFAULT_TIMEOUT_INTERVAL)
	    at <Jasmine>
WARN LOG: [36m'Ignoring resolver passed as options for scale: x'[39m
WARN: 'Ignoring resolver passed as options for scale: x'
WARN: 'Ignoring resolver passed as options for scale: x'
ERROR LOG: [36m'Invalid scale configuration for scale: xAxes'[39m
ERROR: 'Invalid scale configuration for scale: xAxes'
ERROR: 'Invalid scale configuration for scale: xAxes'
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: 'Failed to create chart: can't acquire context from the given item'
WARN LOG: [36m[Object{items: [...]}, Object{items: Object{type: ...}}, Object{items: Object{_fallback: ...}}][39m
WARN: [Object{items: [...]}, Object{items: Object{type: ...}}, Object{items: Object{_fallback: ...}}]
WARN: [Object{items: [...]}, Object{items: Object{type: ...}}, Object{items: Object{_fallback: ...}}]
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.'
WARN: 'scales.y.ticks.stepSize: 2 would result generating up to 5000000001 ticks. Limiting to 1000.'
Chrome 127.0.0.0 (Linux x86_64): Randomized with seed 90314

Chrome 127.0.0.0 (Linux x86_64): Executed 1555 of 1555[31m (1 FAILED)[39m (45.4 secs / 36.759 secs)
[31mTOTAL: 1 FAILED, 1554 SUCCESS[39m

TOTAL: 1 FAILED, 1554 SUCCESS
TOTAL: 1 FAILED, 1554 SUCCESS
+ cd /testbed
+ git config --global --add safe.directory /testbed
+ cd /testbed
+ git checkout 5c3dc932b615afa61580d06950712f79cfc7c4ef test/specs/plugin.legend.tests.js
Updated 0 paths from a424a8dd
+ git apply --verbose --reject -
Checking patch test/specs/plugin.legend.tests.js...
Applied patch test/specs/plugin.legend.tests.js cleanly.
+ : '>>>>> Start Test Output'
+ npm install
+ npm run build
[36m
[1msrc/index.js[22m → [1mdist/chart.js[22m...[39m
-----------------------------
Rollup File Analysis
-----------------------------
bundle size:    405.621 KB
original size:  553.349 KB
code reduction: 26.7 %
module count:   77

/src/core/core.scale.js
████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 9.74 % (39.501 KB)
/src/plugins/plugin.tooltip.js
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 7.76 % (31.496 KB)
/src/core/core.controller.js
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 6.6 % (26.783 KB)
/src/core/core.datasetController.js
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 5.59 % (22.677 KB)
/src/plugins/plugin.legend.js
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.34 % (17.584 KB)
/src/scales/scale.radialLinear.js
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.6 % (14.602 KB)
/src/controllers/controller.bar.js
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.59 % (14.557 KB)
/src/scales/scale.time.js
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.1 % (12.591 KB)
/node_modules/@kurkle/color/dist/color.esm.js
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.73 % (11.092 KB)
/src/core/core.layouts.js
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.6 % (10.529 KB)
/src/controllers/controller.doughnut.js
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.52 % (10.239 KB)
/src/elements/element.arc.js
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.29 % (9.295 KB)
/src/helpers/helpers.canvas.js
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.22 % (9.008 KB)
/src/core/core.config.js
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.13 % (8.65 KB)
/src/elements/element.line.js
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.08 % (8.417 KB)
/src/helpers/helpers.config.js
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.04 % (8.277 KB)
/src/platform/platform.dom.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.75 % (7.094 KB)
/src/helpers/helpers.segment.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.66 % (6.729 KB)
/src/scales/scale.linearbase.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.66 % (6.718 KB)
/src/core/core.interaction.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.64 % (6.666 KB)
/src/helpers/helpers.dom.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.53 % (6.208 KB)
/src/plugins/plugin.decimation.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.48 % (5.983 KB)
/src/elements/element.bar.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.35 % (5.48 KB)
/src/helpers/helpers.curve.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.29 % (5.229 KB)
/src/controllers/controller.line.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.27 % (5.15 KB)
/src/controllers/controller.polarArea.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.24 % (5.029 KB)
/src/helpers/helpers.core.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.22 % (4.966 KB)
/src/core/core.animations.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.09 % (4.407 KB)
/src/scales/scale.logarithmic.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.99 % (4.02 KB)
/src/controllers/controller.bubble.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.96 % (3.888 KB)
/src/helpers/helpers.math.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.84 % (3.406 KB)
/src/plugins/plugin.title.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.83 % (3.381 KB)
/src/core/core.scale.autoskip.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.82 % (3.332 KB)
/src/scales/scale.category.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.8 % (3.249 KB)
/src/core/core.animator.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.8 % (3.225 KB)
/src/core/core.plugins.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.79 % (3.217 KB)
/src/plugins/plugin.filler/filler.drawing.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.76 % (3.092 KB)
/src/helpers/helpers.options.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.76 % (3.077 KB)
/src/core/core.defaults.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.75 % (3.038 KB)
/src/helpers/helpers.easing.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.7 % (2.855 KB)
/src/scales/scale.timeseries.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.69 % (2.816 KB)
/src/core/core.animation.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.68 % (2.757 KB)
/src/core/core.registry.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.64 % (2.593 KB)
/src/plugins/plugin.filler/filler.segment.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.57 % (2.313 KB)
/src/helpers/helpers.collection.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.55 % (2.241 KB)
/src/plugins/plugin.filler/filler.options.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.54 % (2.177 KB)
/src/core/core.typedRegistry.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.53 % (2.135 KB)
/src/elements/element.point.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.51 % (2.068 KB)
/src/plugins/plugin.filler/index.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.51 % (2.06 KB)
/src/controllers/controller.radar.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.51 % (2.057 KB)
/src/plugins/plugin.filler/filler.target.stack.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.49 % (2.005 KB)
/src/plugins/plugin.filler/filler.target.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.43 % (1.733 KB)
/src/core/core.scale.defaults.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.42 % (1.706 KB)
/src/core/core.ticks.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.37 % (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.25 % (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.17 % (705 Bytes)
/src/helpers/helpers.interpolation.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.17 % (692 Bytes)
/src/index.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.16 % (632 Bytes)
/src/platform/platform.base.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.14 % (586 Bytes)
/src/controllers/controller.scatter.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.13 % (533 Bytes)
/src/plugins/plugin.filler/simpleArc.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.13 % (520 Bytes)
/src/helpers/helpers.intl.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.11 % (440 Bytes)
/src/plugins/plugin.filler/filler.helper.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.09 % (348 Bytes)
/src/helpers/helpers.color.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.08 % (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)

[32mcreated [1mdist/chart.js[22m in [1m1.3s[22m[39m
[36m
[1msrc/index.js[22m → [1mdist/chart.min.js[22m...[39m
[32mcreated [1mdist/chart.min.js[22m in [1m4.6s[22m[39m
[36m
[1msrc/index.esm.js, src/helpers/index.js[22m → [1m./[22m...[39m
[32mcreated [1m./[22m in [1m1.1s[22m[39m
+ 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 5c3dc932b615afa61580d06950712f79cfc7c4ef test/specs/plugin.legend.tests.js
Updated 1 path from a424a8dd
