Skip to content

chore(deps): patch browserslist, baseline-browser-mapping, vitest - #96

Merged
obeone merged 1 commit into
mainfrom
chore/web-deps-audit
Sep 17, 2026
Merged

obeone merged 1 commit into
mainfrom
chore/web-deps-audit

Conversation

@obeone

@obeone obeone commented Sep 17, 2026

Copy link
Copy Markdown
Owner

What changed

Clears the four open Dependabot alerts on this repo, all in the web dashboard's build and test toolchain (web/):

  • browserslist (high: uncaught crash and prototype write via untrusted browserslist-stats.json)
  • baseline-browser-mapping (denial of service on invalid input)
  • vitest and @vitest/mocker (path traversal / arbitrary file read through the mocker redirect mock)

None of these ship in the published Python package or in the served bundle, so no released version is affected.

vitest and @vitest/coverage-v8 go from 4.1.9 to 4.1.11 as direct devDependencies. browserslist and baseline-browser-mapping are forced through the existing overrides block instead, next to undici, since nothing in the dashboard imports them directly: they arrive through the PostCSS, autoprefixer and Vite chain. Patch and minor bumps only, no major version change.

Worth flagging for review: npm audit fix crashes outright on this dependency graph (a known arborist bug in npm 10.9.8), so the bumps were done package by package instead.

One high advisory remains in npm audit, nanoid via postcss. GitHub's alert list doesn't flag it, it's dev-only in the same way, and it's left for a separate change.

How I verified it

  • npm audit clears all four alerts
  • vitest suite passes: 206 tests across 13 files
  • web build succeeds and the rebuilt bundle is byte-identical to what's already committed under src/caucus/ui/, so no bundle churn rides along

Checklist

  • User-visible changes are recorded under ## [Unreleased] in CHANGELOG.md.
  • If PROTOCOL_TEXT changed in hub.py, PROTOCOL_VERSION was bumped too. (not applicable, no protocol change)

… advisories

Clear four Dependabot alerts in the web dashboard's build and test
toolchain: browserslist and baseline-browser-mapping come in through the
PostCSS/autoprefixer/Vite chain, vitest and its transitive @vitest/mocker
are the direct devDependency. None of these ship in the published package
or the served dashboard bundle.
@obeone
obeone merged commit 88540bc into main Sep 17, 2026
5 checks passed
@obeone
obeone deleted the chore/web-deps-audit branch September 17, 2026 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant