Skip to content

Upgrade echarts to 6.1 for the XSS fix, keeping charts as they look on 5 - #279

Merged
broisnees merged 1 commit into
nightlyfrom
echarts-6
Nov 17, 2026
Merged

broisnees merged 1 commit into
nightlyfrom
echarts-6

Conversation

@broisnees

Copy link
Copy Markdown
Collaborator

Clears the echarts < 6.1.0 XSS advisory (npm audit no longer lists echarts). Replaces #14.

  • echarts ^5.6.0 → ^6.1.0. echarts-wordcloud 2.1.0 still declares echarts ^5 as a peer, so an override points it at the app's echarts; the word cloud renders on 6.
  • echarts 6 changed its defaults (palette, the heatmap's visualMap ramp, treemap, circle-pack and sankey colors). Every chart is now created with echarts' bundled v5 theme (ECHARTS_THEME in chart-utils, loaded with echarts/theme/v5 in EChartPanel, ChartView, AiChartRenderer and ChoroplethChart), so nothing changes on screen.

Checked: rendered all 35 chart types from buildOption with sample data on echarts 5, on 6, and on 6 with the v5 theme. 6 + v5 matches 5 everywhere except the sunburst, whose segments take the palette in a different order; no errors on any type. vite build, svelte-check, design-lint and the 1799 tests pass.

@broisnees
broisnees merged commit 712e3b4 into nightly Nov 17, 2026
1 check passed
@broisnees
broisnees deleted the echarts-6 branch November 17, 2026 07:15
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant