Skip to content

fix(website): resolve npm audit vulnerabilities - #216

Merged
MathiasVDA merged 1 commit into
mainfrom
claude/project-thread-inaitr
Oct 17, 2026
Merged

MathiasVDA merged 1 commit into
mainfrom
claude/project-thread-inaitr

Conversation

@MathiasVDA

Copy link
Copy Markdown
Collaborator

Requested by Mathias · project thread

Before: npm audit in website/ reported 64 vulnerabilities (17 critical, 27 high, 17 moderate, 3 low).

After: 28 high remain, all from a single advisory on braces (GHSA-vfj7-8cjw-p6xm) that has no patched release yet (it covers every version up to the latest, 3.0.3). It is only reached through file globbing and watching at build/dev time, not in the published site.

How:

  • Docusaurus 3.9.2 → 3.10.2 (minor), which pulls fixed webpack, ws, websocket-driver, @fastify/busboy and others.
  • overrides for transitive packages Docusaurus still pins to vulnerable ranges: postcss-selector-parser ^7.1.6, qs ^6.16.1, serialize-javascript ^7.0.5, tinypool ^2.1.2, uuid ^11.1.1.
  • future.faster: false in docusaurus.config.ts: since 3.10, v4: true also turns Docusaurus Faster on, which requires the extra @docusaurus/faster package. This keeps the existing webpack build.

Checked locally (Node 22, docs copied in the way deploy-pages.yml does): npm run build succeeds, npm run typecheck passes, docusaurus start serves the site and its dev websocket, and the generated CSS is byte-identical with postcss-selector-parser 6 vs 7. The tinypool override is only used by the opt-in SSG worker-thread mode, which stays off.

Dependabot #215 overlaps on website/; its root-directory bumps are independent of this PR.


Generated by Claude Code

Bump Docusaurus to 3.10.2 and override vulnerable transitive packages
(postcss-selector-parser, qs, serialize-javascript, tinypool, uuid).
Keep future.faster off: since 3.10, v4: true enables Docusaurus Faster,
which needs the @docusaurus/faster package.
@MathiasVDA MathiasVDA self-assigned this Oct 17, 2026
@MathiasVDA
MathiasVDA merged commit 6687c68 into main Oct 17, 2026
2 checks passed
@MathiasVDA
MathiasVDA deleted the claude/project-thread-inaitr branch October 17, 2026 22:01
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