Fix high-severity dependency vulnerabilities + adaptor changelog MDX escaping - #826
Merged
Conversation
- axios 1.16.0 -> 1.18.0 (inherited-proxy issue in Node HTTP adapter) - form-data 4.0.4/4.0.5 -> 4.0.6 (CRLF injection via multipart field names) - sharp 0.34.2 -> 0.35.3 (inherited libvips CVEs: CVE-2026-33327/33328/35590/35591) - brace-expansion 5.0.6 -> 5.0.8 (unbounded-expansion OOM DoS) - brace-expansion 1.1.11 -> 1.1.16 (ReDoS, GHSA-v6h2-p8h4-qcjw) Known remaining: brace-expansion 1.1.16 (via @docusaurus/core > serve-handler > minimatch@3) is still flagged by the unbounded-expansion advisory, which is only patched in 5.0.8. v5 is API-incompatible with minimatch@3 and the whole chain is already at its latest versions, so no safe fix exists; it only affects the local `docusaurus serve` command. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Covers all open Dependabot PRs (#811-#825) not already fixed: - shell-quote 1.8.4 -> 1.10.0 (#825) - fast-uri 3.1.2 -> 3.1.4 (#823) - dompurify 3.4.1/3.4.2 -> 3.4.12 (#822) - svgo 3.3.3 -> 3.3.4 (#821) - websocket-driver 0.7.4 -> 0.7.5 (#818) - js-yaml 3.14.2 -> 3.15.0 (#817) - webpack-dev-server 5.2.4 -> 5.2.6 (#816) - http-proxy-middleware 2.0.9 -> 2.0.10 (#815) - @babel/core 7.25.2/7.27.4 -> 7.29.7 (#814) - ws 7.5.10 -> 7.5.13, 8.18.3 -> 8.21.1 (#813) - launch-editor 2.12.0 -> 2.14.1 (#811) Also dedupes mermaid (theme-mermaid's >=11.6.0 was resolving to the 11.6.0 floor) to the already-pinned 11.15.0 via a resolution, clearing the remaining 6 moderate advisories. Audit is now clean except the documented brace-expansion 1.x advisory, which has no compatible patch. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…admes The gmail adaptor 3.0.0 changelog contains "in <3.0", which MDX parses as a JSX tag start and fails the build (test-deploy CI). Extract the code-block-aware escaping already used for jsdoc braces into an escapeMdx() helper, add escaping of "<" when not followed by a character that can start a JSX tag or HTML comment, and apply it to changelog and readme generation too. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
mtuchi
marked this pull request as ready for review
July 27, 2026 08:00
Collaborator
|
Thank you @mtuchi ! So many issue open here. I'm curious about the MDX template stuff. Do you know which issue that fixes? |
Contributor
Author
|
@josephjclark i don't think there is an existing issue for the mdx stuff, i just noticed ci pipeline was failing because of gmail latest changelog, you can see even in recent merged pr, this action failed |
Collaborator
|
Do you have any idea why this isn't breaking locally? Did you manage to repro? |
Contributor
Author
josephjclark
approved these changes
Jul 27, 2026
josephjclark
left a comment
Collaborator
There was a problem hiding this comment.
Ok, seems to work well! Thoroughly tested and happy to go. Thanks @mtuchi
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.


Description
Security updates covering open Dependabot alerts and PRs (#811–#825), plus a CI build fix.
Security
axios1.18.0,form-data4.0.6,sharp0.35.3,brace-expansion5.0.8mermaidto the pinned 11.15.0 (theme-mermaid was resolving a second copy at 11.6.0)brace-expansion@1.x(patch only exists in the API-incompatible v5 line; chain via@docusaurus/core → serve-handler → minimatch@3is already at latest; affects localdocusaurus serveonly)Build fix
generate-adaptorsnow escapes MDX-breaking characters (<,{,}) outside code blocks in generated changelogs and readmes; the gmail 3.0.0 changelog's<3.0was failingyarn buildin CIAI Usage
Please disclose how you've used AI in this work (it's cool, we just want to
know!):
You can read more details in our
Responsible AI Policy