
up to date, audited 1667 packages in 2m

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

157 vulnerabilities (10 low, 82 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
[32m04 04 2026 18:09:44.907:INFO [preprocessor.rollup]: [39mGenerating bundle for ./test/index.js
[32m04 04 2026 18:09:54.918:INFO [preprocessor.rollup]: [39mGenerating bundle for ./src/index.js
[32m04 04 2026 18:09:55.052:INFO [karma-server]: [39mKarma v6.3.16 server started at http://localhost:9876/
[32m04 04 2026 18:09:55.053:INFO [launcher]: [39mLaunching browsers chrome, firefox with concurrency unlimited
[32m04 04 2026 18:09:55.060:INFO [launcher]: [39mStarting browser Chrome
[32m04 04 2026 18:09:55.086:INFO [launcher]: [39mStarting browser Firefox
[91m04 04 2026 18:09:55.120:ERROR [launcher]: [39mCannot start Firefox
	
Command '/usr/bin/firefox' requires the firefox snap to be installed.
Please install it with:

snap install firefox


[91m04 04 2026 18:09:55.120:ERROR [launcher]: [39mFirefox stdout: 
[91m04 04 2026 18:09:55.121:ERROR [launcher]: [39mFirefox stderr: 
Command '/usr/bin/firefox' requires the firefox snap to be installed.
Please install it with:

snap install firefox


[32m04 04 2026 18:09:55.127:INFO [launcher]: [39mTrying to start Firefox again (1/2).
[91m04 04 2026 18:09:55.147:ERROR [launcher]: [39mCannot start Firefox
	
Command '/usr/bin/firefox' requires the firefox snap to be installed.
Please install it with:

snap install firefox


[91m04 04 2026 18:09:55.147:ERROR [launcher]: [39mFirefox stdout: 
[91m04 04 2026 18:09:55.147:ERROR [launcher]: [39mFirefox stderr: 
Command '/usr/bin/firefox' requires the firefox snap to be installed.
Please install it with:

snap install firefox


[32m04 04 2026 18:09:55.151:INFO [launcher]: [39mTrying to start Firefox again (2/2).
[91m04 04 2026 18:09:55.168:ERROR [launcher]: [39mCannot start Firefox
	
Command '/usr/bin/firefox' requires the firefox snap to be installed.
Please install it with:

snap install firefox


[91m04 04 2026 18:09:55.169:ERROR [launcher]: [39mFirefox stdout: 
[91m04 04 2026 18:09:55.169:ERROR [launcher]: [39mFirefox stderr: 
Command '/usr/bin/firefox' requires the firefox snap to be installed.
Please install it with:

snap install firefox


[91m04 04 2026 18:09:55.195:ERROR [launcher]: [39mFirefox failed 2 times (cannot start). Giving up.
[32m04 04 2026 18:10:17.084:INFO [Chrome 127.0.0.0 (Linux x86_64)]: [39mConnected on socket FOfw1XJ4ZvpPwbhmAAAB with id 73320101
[33m04 04 2026 18:11:14.803: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>

  Chart.controllers.polarArea
    auto
      [31m✗ [39m[31m/base/test/fixtures/controller.polarArea/parse-object-data.json[39m
	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) Chart.controllers.polarArea auto /base/test/fixtures/controller.polarArea/parse-object-data.json FAILED
	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) Chart.controllers.polarArea auto /base/test/fixtures/controller.polarArea/parse-object-data.json FAILED
	Error: Timeout - Async function did not complete within 5000ms (set by jasmine.DEFAULT_TIMEOUT_INTERVAL)
	    at <Jasmine>
[31mChrome 127.0.0.0 (Linux x86_64) ERROR[39m
  An error was thrown in afterAll
  TypeError: expect(...).toEqualImageData is not a function
      at test/index.js:1091:27
      at image.onload (test/index.js:532:7)
Chrome 127.0.0.0 (Linux x86_64) ERROR
  An error was thrown in afterAll
  TypeError: expect(...).toEqualImageData is not a function
      at test/index.js:1091:27
      at image.onload (test/index.js:532:7)
Chrome 127.0.0.0 (Linux x86_64) ERROR
  An error was thrown in afterAll
  TypeError: expect(...).toEqualImageData is not a function
      at test/index.js:1091:27
      at image.onload (test/index.js:532:7)

Chrome 127.0.0.0 (Linux x86_64): Executed 626 of 1552[31m (2 FAILED)[39m[31m ERROR[39m (1 min 41.094 secs / 1 min 20.226 secs)

+ 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.348 KB
original size:  552.964 KB
code reduction: 26.7 %
module count:   77

/src/core/core.scale.js
████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 9.74 % (39.501 KB)
/src/plugins/plugin.tooltip.js
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 7.77 % (31.496 KB)
/src/core/core.controller.js
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 6.61 % (26.783 KB)
/src/core/core.datasetController.js
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 5.59 % (22.677 KB)
/src/plugins/plugin.legend.js
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.27 % (17.311 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.11 % (12.591 KB)
/node_modules/@kurkle/color/dist/color.esm.js
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.74 % (11.092 KB)
/src/core/core.layouts.js
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.6 % (10.529 KB)
/src/controllers/controller.doughnut.js
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.53 % (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.23 % (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 [1m19.2s[22m[39m
[36m
[1msrc/index.js[22m → [1mdist/chart.min.js[22m...[39m
[32mcreated [1mdist/chart.min.js[22m in [1m17.5s[22m[39m
[36m
[1msrc/index.esm.js, src/helpers/index.js[22m → [1m./[22m...[39m
[32mcreated [1m./[22m in [1m5.8s[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
