Skip to content

Upgrade website dependencies and resolve npm audit advisories #23

Description

@timhaintz

Context

Follow-up to the website and thesis-alignment audit. Keep dependency remediation isolated from the content/data PR so framework and rendering regressions can be reviewed independently.

Current npm audit --omit=dev result: 9 production-path advisories (1 low, 4 moderate, 4 high, 0 critical). Affected dependency chains include:

  • next (direct, high)
  • @playwright/test / playwright (direct dev tooling reported in the audit chain, high)
  • mermaid -> dompurify, lodash-es, uuid (moderate/high transitive issues)
  • postcss and diff transitive advisories

Scope

  • Determine the smallest supported upgrades that remove each advisory.
  • Avoid npm audit fix --force unless every major-version change is reviewed explicitly.
  • Confirm whether Playwright remains in production-path audit output after lockfile/package classification is corrected.
  • Review Mermaid sanitization and diagram rendering after upgrade.
  • Preserve the GitHub Pages static-export base path.

Acceptance criteria

  • npm audit --omit=dev has no high or critical advisories; document any accepted lower-severity residual risk.
  • Full Jest, lint, type-check, 33-case axe matrix, and GitHub Pages production build pass.
  • Desktop, portrait mobile, and landscape/tablet screenshots show no regressions.
  • CodeQL/code scanning and deployment checks are green before merge.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions