fix(deps): resolve Dependabot security alerts - #147
Merged
Conversation
Bumps transitive dependencies to patched versions, addressing 10 of the 11 open Dependabot alerts. Lockfile-only; no direct dependency or package.json changes. - body-parser 1.20.5 -> 1.20.6 (GHSA-v422-hmwv-36x6) - brace-expansion 1.1.15 -> 1.1.16 (GHSA-3jxr-9vmj-r5cp) - fast-uri 3.1.2 -> 3.1.4 (GHSA-4c8g-83qw-93j6, GHSA-v2hh-gcrm-f6hx) - js-yaml 4.2.0 -> 4.3.0 (GHSA-52cp-r559-cp3m) - postcss 8.5.15 -> 8.5.23 (GHSA-r28c-9q8g-f849) - shell-quote 1.8.4 -> 1.10.0 (GHSA-395f-4hp3-45gv) - svgo 3.3.3 -> 3.3.4 (GHSA-2p49-hgcm-8545) - webpack-dev-server 5.2.5 -> 5.2.6 (GHSA-f5vj-f2hx-8m93, GHSA-m28w-2pqf-7qgj) Verified with `npm run typecheck`, `npm run build`, and `npm run serve`. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
Resolves 10 of the 11 open Dependabot alerts by bumping transitive dependencies to patched versions.
This is a lockfile-only change —
package.jsonis untouched, no direct dependency versions oroverrideswere changed.Fixed
body-parserbrace-expansionfast-urijs-yamlpostcssshell-quotesvgowebpack-dev-serverNot fixed — no compatible patch exists yet
brace-expansion/ GHSA-mh99-v99m-4gvg (high) — DoS via unbounded expansion length.The only patched version is
5.0.8; the advisory declares the entire<= 5.0.7range vulnerable, so the1.x,2.xand3.xmaintenance lines have no backport.The vulnerable path is
@docusaurus/core > serve-handler@6.1.7 > minimatch@3.1.5 > brace-expansion@1.1.16, and neither override works:brace-expansion@5.0.8breaksminimatch@3.x. v1 exported the function directly (module.exports = expandTop); v5 exports an object{ expand, EXPANSION_MAX, EXPANSION_MAX_LENGTH }. Verified in isolation:TypeError: expand is not a function.minimatch@^10.2.6(the only line depending onbrace-expansion@^5) breaksserve-handler, which doesrequire('minimatch')(...)— minimatch v9+ switched to named exports.@docusaurus/core@3.10.2is already the latest release and still pinsserve-handler@^6.1.7, so there is no upstream path off the vulnerable transitive tree today. Worth revisiting once Docusaurus bumpsserve-handler, orbrace-expansionbackports to1.x.Risk in the meantime is low:
serve-handleronly runs underdocusaurus serve(local preview of the built site) and never in the deployed static build, and the glob patterns it expands come from our own config rather than user input.Verification
npm run typecheck— passesnpm run build— passes, static files generatednpm run serve— starts and serves correctly (exercises theserve-handlerpath)🤖 Generated with Claude Code