fix(deps): clear 16 Dependabot security alerts - #105
Merged
Conversation
Bump direct deps and add pnpm overrides for transitive ones so every
package flagged by Dependabot resolves to a patched version:
- mermaid ^11.12.3 -> ^11.15.0 (CSS/HTML injection, Gantt DoS)
- vite ^6.3.5 -> ^6.4.2, vitest ^4.0.17 -> ^4.1.0 (dev server file read)
- overrides: dompurify >=3.4.0, lodash-es >=4.18.0, js-cookie >=3.0.7,
postcss >=8.5.10, uuid >=11.1.1
uuid resolves to 14.0.0, which mermaid 11.15.0 explicitly accepts
(uuid: ^11.1.0 || ^12 || ^13 || ^14.0.0) and only uses via the stable
{ v4 } export; no app code imports the forced packages directly.
858 unit tests, vue-tsc typecheck and the production build all pass.
Three residual dev-only advisories remain (brace-expansion via
@vue/test-utils, ws via jsdom) — not shipped in the Tauri bundle and
outside the original Dependabot set; deferred.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Vesperino
added a commit
that referenced
this pull request
Jun 7, 2026
The #106 WebKitGTK EGL/DMA-BUF fix merged to master via #107 without a version bump, so the release workflow stayed on v0.5.1 and the auto-updater never offered an update. Bump to v0.5.2 and add release notes so the already-merged fix ships as a new version. Security/dependency updates (#105) follow in v0.5.3. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Bump version and add release notes so the Dependabot security updates on this branch publish as v0.5.3. Frontend build verified locally with the updated deps (mermaid 11.15, vite 6.4, vitest 4.1, transitive security overrides). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves the 16 open Dependabot alerts on the default branch (all npm, no cargo). Independent of #103.
Changes
Direct bumps +
pnpm.overridesso every flagged package lands on a patched version:Why
uuidjumps to 14mermaid 11.15.0 declares
uuid: ^11.1.0 || ^12 || ^13 || ^14.0.0and imports only the stable{ v4 }export, so 14.0.0 is sanctioned by its sole consumer. No app code imports any of the forced packages directly — blast radius is confined to mermaid + build tooling.Verification
pnpm auditno longer lists any of the 16 packages.vue-tsctypecheck passes · productionvite buildpasses (mermaid 11.15.0 renders).themeCSS/fontFamily, never theclassDefstyling this app uses; theme vars are hex literals; SVG ID-prefixing is self-contained).Deferred
Three residual dev-only advisories remain —
brace-expansion(via@vue/test-utils) andws(viajsdom). They are not shipped in the Tauri bundle and were not in the Dependabot set; forcing single versions risks breaking other consumers for no shipped-surface gain. Deferred.🤖 Generated with Claude Code