Skip to content

Comments

feat: bundle mermaid and elk directly into DS#732

Merged
michaeljguarino merged 1 commit intomainfrom
jake/bundle-mermaid
Nov 7, 2025
Merged

feat: bundle mermaid and elk directly into DS#732
michaeljguarino merged 1 commit intomainfrom
jake/bundle-mermaid

Conversation

@jsladerman
Copy link
Contributor

No description provided.

@jsladerman jsladerman requested a review from a team as a code owner November 7, 2025 00:18
@jsladerman jsladerman added the enhancement New feature or request label Nov 7, 2025
Comment on lines +14467 to +14493
"mermaid@npm:11.4.1":
version: 11.4.1
resolution: "mermaid@npm:11.4.1"
dependencies:
"@braintree/sanitize-url": ^7.0.1
"@iconify/utils": ^2.1.32
"@mermaid-js/parser": ^0.3.0
"@types/d3": ^7.4.3
cytoscape: ^3.29.2
cytoscape-cose-bilkent: ^4.1.0
cytoscape-fcose: ^2.2.0
d3: ^7.9.0
d3-sankey: ^0.12.3
dagre-d3-es: 7.0.11
dayjs: ^1.11.10
dompurify: ^3.2.1
katex: ^0.16.9
khroma: ^2.1.0
lodash-es: ^4.17.21
marked: ^13.0.2
roughjs: ^4.6.6
stylis: ^4.3.1
ts-dedent: ^2.2.0
uuid: ^9.0.1
checksum: ede145a0638264936a70800adead21b6538cccad8ad82ff200fa640ce6c70c666e6154c74fc87b293fb968c591b355ad5666f2be7994758d72877be88c5f1059
languageName: node
linkType: hard

Check warning

Code scanning / Trivy

Mermaid does not properly sanitize architecture diagram iconText leading to XSS Medium

Package: mermaid
Installed Version: 11.4.1
Vulnerability CVE-2025-54880
Severity: MEDIUM
Fixed Version: 11.10.0
Link: CVE-2025-54880
Comment on lines +14467 to +14493
"mermaid@npm:11.4.1":
version: 11.4.1
resolution: "mermaid@npm:11.4.1"
dependencies:
"@braintree/sanitize-url": ^7.0.1
"@iconify/utils": ^2.1.32
"@mermaid-js/parser": ^0.3.0
"@types/d3": ^7.4.3
cytoscape: ^3.29.2
cytoscape-cose-bilkent: ^4.1.0
cytoscape-fcose: ^2.2.0
d3: ^7.9.0
d3-sankey: ^0.12.3
dagre-d3-es: 7.0.11
dayjs: ^1.11.10
dompurify: ^3.2.1
katex: ^0.16.9
khroma: ^2.1.0
lodash-es: ^4.17.21
marked: ^13.0.2
roughjs: ^4.6.6
stylis: ^4.3.1
ts-dedent: ^2.2.0
uuid: ^9.0.1
checksum: ede145a0638264936a70800adead21b6538cccad8ad82ff200fa640ce6c70c666e6154c74fc87b293fb968c591b355ad5666f2be7994758d72877be88c5f1059
languageName: node
linkType: hard

Check warning

Code scanning / Trivy

Mermaid improperly sanitizes sequence diagram labels leading to XSS Medium

Package: mermaid
Installed Version: 11.4.1
Vulnerability CVE-2025-54881
Severity: MEDIUM
Fixed Version: 11.10.0, 10.9.4
Link: CVE-2025-54881
@github-actions
Copy link

github-actions bot commented Nov 7, 2025

Visit the preview URL for this PR (updated for commit 4f30402):

https://pluralsh-design--pr732-jake-bundle-mermaid-au5pt4ut.web.app

(expires Fri, 14 Nov 2025 00:23:19 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 784914c934330f8d0a9fd65c68898b3988262b7d

@socket-security
Copy link

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm vite is 91.0% likely obfuscated

Confidence: 0.91

Location: Package overview

From: package.jsonnpm/vite@5.4.8

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/vite@5.4.8. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@michaeljguarino michaeljguarino merged commit f7164ce into main Nov 7, 2025
13 checks passed
@michaeljguarino michaeljguarino deleted the jake/bundle-mermaid branch November 7, 2025 02:40
@plural-bot
Copy link
Contributor

🎉 This PR is included in version 5.31.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants