chore(deps): resolve Dependabot security alerts#2475
Merged
Conversation
Resolve 11 of 12 open Dependabot alerts via lockfile updates, direct dep bump, and transitive overrides: - npm audit fix: dompurify, fast-xml-parser, follow-redirects, protobufjs - bump styled-components: 6.3.12 -> ^6.4.1 (drops vulnerable postcss) - override postcss ^8.5.10 (transitive in @redocly/cli's pinned styled-components 6.3.9) - override yaml@1 ^1.10.3 (transitive in cosmiconfig, swagger2openapi, openapi-to-postmanv2) - override lodash ^4.18.0 (transitive in openapi-to-postmanv2 and postman-collection) The remaining uuid alert (GHSA-w5hq-g745-h8pq) was dismissed as tolerable_risk: vulnerable code path is uuid.v3/v5/v6 with the buf parameter, while our consumers (sockjs, postman-collection, mermaid) only call uuid.v4 without buf. The patch is uuid@14, which is ESM-only and would break the affected CJS consumers; no backport exists. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Preview for this PR was built for commit |
barjin
approved these changes
Apr 29, 2026
| "react": "^19.1.0", | ||
| "react-dom": "^19.1.0", | ||
| "react-github-btn": "^1.4.0", | ||
| "styled-components": "6.3.12", |
Member
There was a problem hiding this comment.
I'm wondering why this was pinned, but renovate[bot] seems to have updated it multiple times before anyway.
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 11 of 12 open Dependabot alerts. The 12th (uuid) was dismissed separately as tolerable risk.
Lockfile-only fixes (
npm audit fix)dompurifyfast-xml-parserfollow-redirectsprotobufjsDirect dep bump
styled-components:6.3.12→^6.4.1(minor bump; 6.4.x dropped itspostcssdep entirely)Transitive overrides (added to existing
overridesblock)"postcss": "^8.5.10"— needed because@redocly/clistill pinsstyled-components@6.3.9which carries old postcss. Resolves Api reference: Deprecated disableRedirect param and direct-upload kvs endpoint #207."yaml@1": "^1.10.3"— scoped to v1 only (leaves yaml@2 alone). Coverscosmiconfig@7,openapi-to-postmanv2, andswagger2openapi. Resolves [priority] Write the "Compute units and consumption" article for "actors/running" #176."lodash": "^4.18.0"— covers nested 4.17.x copies inopenapi-to-postmanv2andpostman-collection. Resolves Update base docker image guide #197, Update key-value store docs to reflect the 9MB limit being removed #198.All overrides are patch/minor-level within the same major and pose minimal compatibility risk.
Dismissed (separately, in Dependabot UI)
uuid.v3/v5/v6with thebufparameter. Our consumers (sockjs, postman-collection, mermaid) only calluuid.v4withoutbuf, so the path is not exercised. The patch (uuid@14) is ESM-only and would break the affected CJS consumers; no backport exists.Test plan
npm installsucceedsnpm run lint:codepassesnpm run openapi:bundlepassesnpm run openapi:lintpasses (exercises spectral, which uses overridden lodash)npm auditshows zero root vulnerabilitiesnpm run build(let CI run this)🤖 Generated with Claude Code