Skip to content

fix(site): remediate dependency advisories - #218

Merged
rochecompaan merged 1 commit into
mainfrom
fix/issue-214-site-dependency-audit
Sep 9, 2026
Merged

fix(site): remediate dependency advisories#218
rochecompaan merged 1 commit into
mainfrom
fix/issue-214-site-dependency-audit

Conversation

@rochecompaan

Copy link
Copy Markdown
Owner

Summary

  • Refresh the documentation site's lockfile with npm --prefix site audit fix --package-lock-only --ignore-scripts, resolving all reported site advisories with semver-safe updates.
  • Keep PostCSS transitive rather than adding a direct dependency or override. It is brought in through Astro/Vite and Starlight/Expressive Code.
  • Add a dedicated CI job that installs the site dependency tree, fails on high or critical advisories, and builds the Astro site.

The lockfile remediation also updates the other vulnerable transitive packages reported for the site, including js-yaml, nanoid, sharp, and svgo.

Scope

This change audits only the documentation site dependency tree. The unrelated advisories in the root development dependency tree are intentionally unchanged.

Verification

  • npm --prefix site ci
  • npm --prefix site audit --audit-level=high — 0 vulnerabilities
  • npm --prefix site run build
  • Prettier check
  • git diff --check
  • nix build

Closes #214

@rochecompaan
rochecompaan merged commit da9b143 into main Sep 9, 2026
3 checks passed
@rochecompaan
rochecompaan deleted the fix/issue-214-site-dependency-audit branch September 9, 2026 19: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.

Possible fix(deps): 3 vulnerable dependencies in package-lock.json

1 participant