Skip to content

Fix Dependabot alert 66 - #39

Merged
0mjs merged 1 commit into
devfrom
agent/fix-dependabot-66
Jul 29, 2026
Merged

Fix Dependabot alert 66#39
0mjs merged 1 commit into
devfrom
agent/fix-dependabot-66

Conversation

@0mjs

@0mjs 0mjs commented Jul 29, 2026

Copy link
Copy Markdown
Owner

Summary

Root cause

Docusaurus 3.9.2 depends on serve-handler 6.1.7, which pins minimatch 3.1.5 and therefore installs the vulnerable brace-expansion 1.x line. The patched brace-expansion release has a different export shape, so overriding it directly would break minimatch 3 at runtime.

This change overrides minimatch to 10.2.6, which explicitly requires brace-expansion ^5.0.8, and applies the corresponding named-import change to serve-handler through patch-package. The import change matches the upstream implementation from vercel/serve-handler#226.

Validation

  • npm ci — passed; patch applies automatically
  • npm audit during clean install — 0 vulnerabilities
  • npm run build — passed
  • npm run serve -- --port 48991 --no-open — started successfully
  • HTTP smoke test of the served site — 200
  • git diff --check — passed

@0mjs
0mjs marked this pull request as ready for review July 29, 2026 21:33
@0mjs
0mjs merged commit a827c87 into dev Jul 29, 2026
@0mjs
0mjs deleted the agent/fix-dependabot-66 branch July 30, 2026 22:35
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