Skip to content

fix(website): patch Dependabot npm advisories (serialize-javascript, uuid)#33

Merged
RodCor merged 1 commit into
mainfrom
fix/website-npm-audit
Jun 23, 2026
Merged

fix(website): patch Dependabot npm advisories (serialize-javascript, uuid)#33
RodCor merged 1 commit into
mainfrom
fix/website-npm-audit

Conversation

@RodCor

@RodCor RodCor commented Jun 23, 2026

Copy link
Copy Markdown
Owner

Clears the Dependabot alerts introduced by the new Docusaurus docs site. All four are transitive build-time-only deps (Docusaurus toolchain), never shipped in the static output.

Advisory Package Severity Status
GHSA-5c6j-r48x-rmvq serialize-javascript high fixed (override -> 7.0.6)
GHSA-qj8w-gfj5-8c6v serialize-javascript medium fixed
GHSA-w5hq-g745-h8pq uuid medium fixed (-> 11.1.1)
GHSA-h67p-54hq-rp68 js-yaml medium not patched (see below)

js-yaml: the only patched release (4.2.0) breaks gray-matter front-matter parsing (Docusaurus won't build). The advisory is a quadratic-DoS in YAML merge-key handling that only ever parses our own trusted doc front-matter at build time, so it carries no real-world risk. Left as-is with a documented note in package.json; will clear when Docusaurus updates js-yaml upstream. Recommend dismissing the alert as tolerable risk.

Build verified green with the overrides applied.

🤖 Generated with Claude Code

The Docusaurus docs site introduced 4 transitive build-time advisories. Force
patched versions via npm overrides:
- serialize-javascript ^7.0.5 -> 7.0.6 (GHSA-5c6j-r48x-rmvq HIGH + GHSA-qj8w medium)
- uuid ^11.1.1 (GHSA-w5hq-g745-h8pq medium)

js-yaml (GHSA-h67p-54hq-rp68, medium) is intentionally NOT overridden: the only
patched release (4.2.0) breaks gray-matter front-matter parsing, and the
advisory is a DoS that only ever parses our own trusted doc front-matter at
build time, so it carries no real risk. Documented in package.json; will clear
when Docusaurus updates js-yaml upstream.

All deps here are dev/build-only and never shipped in the static site.
Build verified green with the overrides.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@RodCor
RodCor merged commit e8dec40 into main Jun 23, 2026
14 checks passed
@RodCor
RodCor deleted the fix/website-npm-audit branch June 23, 2026 21:06
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.

2 participants