Repository navigation
chore(docs): patch brace expansion resource exhaustion fixes - #19382
Conversation
|
Ready for review at Docs CI passed on the declared Node 22.23.2 runtime: frozen install, 13/13 tests, lint (zero errors, four existing warnings), typecheck and full production build with 119/119 static pages generated. No deployment ran. Actual minimatch consumers and both brace-expansion lines also passed local normal-pattern, empty-alternative regression and bounded adversarial-input checks. Audit findings fell 21 → 18, removing three high findings. The remaining pinned Vercel/Undici/Ajv/TOML/route-parser findings are disclosed, not suppressed. Only the two reviewed brace-expansion resolutions change. |
|
Additional combined-candidate validation (local, macOS arm64): merged #19361, #19369, #19377, #19378, #19362, #19380 and #19382 into local commit
All commands used |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
brace-expansiontransitive bump indocs/site/pnpm-lock.yaml—1.1.16 → 1.1.18(under[email protected], range^1.1.7) and5.0.8 → 5.0.9(under[email protected], range^5.0.8), pinning the resource-exhaustion fixes behind GHSA-mh99-v99m-4gvg and GHSA-rgw5-rvv9-x895.- Lockfile consistency — both version bumps are reflected in the
packagesandsnapshotssections; no stale1.1.16/5.0.8references remain in the file.
The change is a brace-expansion transitive dependency bump with no direct dep in docs/site/package.json (the only related pin is the existing @vercel/python-analysis>minimatch: 10.2.6 override). Both versions resolve within their parents' existing semver ranges, and their integrity hashes match what is already present in the root and mobile lockfiles, so this adds no new supply-chain surface. Build-tooling only, no runtime or user-facing behavior — the author's reasoning and safety analysis are accurate.
DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

Ready for review. Final validation evidence: Node 22 CI passes all 13 tests, types/lint and production generation of 119 pages. Audit 21 → 18; remaining pinned tooling advisories disclosed.
ELI5
Patch the documentation site's two brace-expansion dependency lines: 1.1.16 → 1.1.18 and 5.0.8 → 5.0.9. This prevents oversized brace patterns from exhausting memory or blocking the event loop in build/deployment glob tooling.
Why each bump is worthwhile and compatible
^1.1.7range.^5.0.8range and supports the site's Node 22 runtime.Only two lockfile resolutions and their consumer references change. No forced overrides, parent updates or deployment configuration changes. Ordinary patterns preserve their output; enormous patterns intentionally truncate at the library's documented resource limits. This protects tooling, not a claimed production HTTP exploit.
Testing
Local macOS arm64, Node 26.6, pnpm 10.24,
ORCA_BACKGROUND_LAUNCH=1:git diff --check: passed.Deferred dependencies
Ajv 8.6.3, smol-toml and path-to-regexp are pinned by Vercel consumers; the attempted compatible update correctly retained those versions. smol-toml also has a newer EOF-comment infinite-loop advisory fixed in 1.7.1, so 1.6.1 alone is not an adequate target. These require a coordinated Vercel parent update and deployment-tool validation. The explicit Undici 5 override likewise remains an unresolved parent-migration issue. This PR does not claim a clean docs audit or suppress those advisories.
Linked Issue
User-requested careful dependency review.
Visual Proof
N/A — build-tool lockfile patch only.
Review
Independent of all desktop, Electron, cloud, editor and mobile dependency PRs. No runtime source, remote-wire, SSH or folder-workspace change.