Skip to content

Update vite to clear its security advisories and fix local dev images - #266

Merged
patrickdappollonio merged 2 commits into
mainfrom
fix-security-vulnerabilities
Jul 1, 2026
Merged

patrickdappollonio merged 2 commits into
mainfrom
fix-security-vulnerabilities

Conversation

@patrickdappollonio

Copy link
Copy Markdown
Owner

This updates the website's transitive vite dependency from 7.3.3 to 7.3.6, which clears the two high severity advisories flagged against the repository (GHSA-v6wh-96g9-6wx3 and GHSA-fx2h-pf6j-xcff). The bump only touches website/package-lock.json because astro already allows vite ^7.3.2, so no change to package.json was needed and npm audit now reports zero vulnerabilities. Both advisories are Windows only, but resolving them keeps the dependency tree clean for everyone.

It also fixes broken images when running the site locally with npm run dev. The canonical logo and screenshot live in the repository's top level assets/ folder and are only copied into website/public/ by a prebuild step that previously ran during npm run build alone, so astro dev served 404s for /dux-logo.png and /dux-screenshot.svg. The build steps are now factored into a shared prep script that dev, start, and build all reuse, so the local server and the production build always start from the same assets and can no longer drift.

An upgrade to Astro 7 was explored and intentionally left out. The astro-pagefind integration that powers the docs search has no Astro 7 compatible release yet, so staying on the current Astro 6 line keeps search working on a supported dependency until that changes.

@patrickdappollonio
patrickdappollonio merged commit 7145b19 into main Jul 1, 2026
5 checks passed
@patrickdappollonio
patrickdappollonio deleted the fix-security-vulnerabilities branch July 1, 2026 02:25
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