Repository navigation
build(docs): override vulnerable transitive npm packages of the site - #162
Merged
Merged
Conversation
Dependabot reports critical and high advisories in the docs site's lockfile, all transitive dependencies of @docusaurus/core 3.10.2, which still pins tinypool ^1.0.2: shell-quote (GHSA-pqg4-j6r4-53mv), tinypool (GHSA-5gmw-xhrv-c9v3, GHSA-85c8-ppgw-ccpr), http-cache-semantics (GHSA-ch52-4w7c-c8xp), source-map-js (GHSA-68fv-2mgg-jv7q) and postcss-selector-parser (GHSA-rj75-hqrm-r3gf). No Docusaurus release fixes them yet. Pin each to its patched version through the existing npm overrides block, as done before for serialize-javascript, uuid and encoding-sniffer. The site builds and `make docs-urls` passes with the overrides. braces (GHSA-vfj7-8cjw-p6xm) stays: the advisory covers every published version. Assisted-by: ClaudeCode:claude-fable-5-1 Signed-off-by: Ronny Trommer <ronny@no42.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Six Dependabot alerts on
website/package-lock.json, all transitive dependencies of@docusaurus/core 3.10.2(which still pinstinypool ^1.0.2), are fixed by pinning the patched versions through the existing npmoverridesblock: tinypool 2.2.0, shell-quote 1.12.0, postcss-selector-parser 7.1.6, http-cache-semantics 4.3.0, source-map-js 1.2.2. Same mechanism as the existing serialize-javascript, uuid and encoding-sniffer overrides.Not fixed:
braces(GHSA-vfj7-8cjw-p6xm, regex stack exhaustion). The advisory covers every published version, including the latest 3.0.3, so no override helps. It is a dev-only glob helper used at build time.Supersedes #159, which bumped only shell-quote in the lockfile; Dependabot closes it once this merges.
How it was verified
npm audit: the only remaining root advisory is braces; the 28 listed entries are its dependents.make docs-urlspasses with the overrides (full site build plus link check).Checklist
make verifypasses locally (Rust tree untouched; CI runs it).Assisted-by:trailer.make licensescovers the Rust tree only)🤖 Generated with Claude Code