fix(deps): patch svgo, js-yaml, joi, and colord Dependabot advisories - #45
Merged
Merged
Conversation
Lockfile-only bumps; every patched release is within the range its Docusaurus dependents already declare, so no overrides are needed. - svgo 3.3.4 -> 3.3.5 (GHSA-w27v-7q3p-w38r, GHSA-4vpr-x523-8j87) - js-yaml 3.15.1 -> 3.15.2 and 4.3.1 -> 4.3.2 (GHSA-2883-xcg3-v3hh) - joi 17.13.4 -> 17.13.7 (GHSA-6w3j-5fw6-r9vr, GHSA-gg4h-3hg2-grpc) - colord 2.9.3 -> 2.10.0 (GHSA-2wm5-q62r-hmrv) image-size (GHSA-w3rx-r6r6-pgpr, GHSA-5p2g-fcmc-qvqq) is still left as-is: 2.0.2 remains the latest published version, and @docusaurus/mdx-loader@3.10.2 requires ^2.0.2.
Devon-White
requested review from
Manny-r31,
briankwest,
hey-august and
niravcodes
as code owners
September 10, 2026 17:39
hey-august
approved these changes
Sep 10, 2026
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.
Summary
Resolves 7 of the 9 open Dependabot alerts. All affected packages are transitive dependencies of the Docusaurus build; neither published package under
packages/depends on them directly.Every patched release is a semver-patch bump already inside the range its dependents declare, so this is a lockfile-only change — no
pnpm-workspace.yamloverrides were needed this time.removeScriptsbypasses via namespaces, control characters, andforeignObject.maxTotalMergeKeysdoes not limit CPU use for empty merge sources. Dev-scope only.__proto__in custom messages;object().rename()template targets. Dev-scope only.colord resolved to 2.10.0 rather than the 2.9.4 minimum. That's a minor bump, but it is within the
^2.9.xits dependents ask for, so a fresh install lands there regardless.Still not fixed: image-size (#168, #167)
Unchanged from #43 — no patched release exists yet. 2.0.2 is still the latest on npm and the advisories cover every version through it;
@docusaurus/mdx-loader@3.10.2(current latest) requires^2.0.2. Both are infinite-loop DoS bugs in the ICNS/JXL/HEIF parsers, reachable only at build time on images referenced from this repo's own markdown. These should stay dismissed as "no fix available" until image-size ships a release.Verification
pnpm install --frozen-lockfilesucceedspnpm run build:packagessucceedspnpm test: 7 suites, 35 tests passpnpm run build:website:onlysucceeds — the load-bearing check here, since svgo and colord both sit in the CSS-minify / SVGR pathDiff is
pnpm-lock.yamlonly: 66 insertions, 66 deletions, consisting of the four version changes plus pnpm re-normalizing dependent keys.🤖 Generated with Claude Code