Bump mermaid from 10.9.0 to 10.9.6#160
Open
dependabot[bot] wants to merge 1 commit into
Open
Conversation
Bumps [mermaid](https://github.com/mermaid-js/mermaid) from 10.9.0 to 10.9.6. - [Release notes](https://github.com/mermaid-js/mermaid/releases) - [Commits](mermaid-js/mermaid@v10.9.0...v10.9.6) --- updated-dependencies: - dependency-name: mermaid dependency-version: 10.9.6 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
✅ Deploy Preview for alloradocs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
No issues found across 1 file
Architecture diagram
sequenceDiagram
participant CDN as CDN / Bundle
participant Browser as Browser (Client)
participant Mermaid as Mermaid Runtime v10.9.6
participant DOM as DOM API
participant DOMPurify as DOMPurify 3.4.2
participant Dagre as dagre-d3-es (layout engine)
participant D3 as d3.js 7.9.0
participant UUID as uuid v14
Note over Browser,DOM: Diagram Rendering Flow
Browser->>CDN: Load mermaid bundle (v10.9.6)
CDN-->>Browser: Script loaded
Browser->>Mermaid: mermaid.initialize(config)
Mermaid->>Mermaid: Parse config options
Mermaid->>Mermaid: Set theme & security level
Browser->>Mermaid: mermaid.run({ nodes: [element] })
Mermaid->>DOM: querySelector for diagram elements
DOM-->>Mermaid: DOM node(s)
loop For each diagram element
Mermaid->>Mermaid: Extract raw diagram text
Mermaid->>Mermaid: Parse & validate diagram syntax (new parser)
alt Valid syntax
Mermaid->>Mermaid: Create diagram model
Mermaid->>Mermaid: Process custom CSS (security hardening)
Note over Mermaid: NEW: disallow certain CSS at-rules in custom CSS
Mermaid->>Dagre: Layout nodes/edges
Dagre->>D3: Request rendering coordinates
D3-->>Dagre: Layout positions
Dagre-->>Mermaid: Positioned graph
alt Keyframe handling
Mermaid->>Mermaid: Identify CSSKeyframeRule
Note over Mermaid: FIX: skip namespacing of CSSKeyframeRule
end
Mermaid->>Mermaid: Generate SVG markup
Mermaid->>DOMPurify: sanitize SVG + any custom CSS
DOMPurify-->>Mermaid: Clean SVG string
Mermaid->>DOM: Insert sanitized SVG into document
DOM-->>Mermaid: SVG element rendered
Mermaid->>UUID: Generate unique IDs for diagram elements
UUID-->>Mermaid: v14 UUIDs
Note over Mermaid: CHANGE: wider uuid range allowing v14
else Parse error
Mermaid->>Mermaid: Report error to console
Mermaid->>DOM: Render error message in placeholder
Mermaid-->>Browser: Error callback
end
end
Mermaid-->>Browser: Render complete callback
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.
Bumps mermaid from 10.9.0 to 10.9.6.
Commits
dd351a7chore: bump mermaid version to v10.9.6e67a79bbuild: upgrade repo to use Node v20.17.0e8c7043fix: loosenuuiddependency range to allow v141e8583dci(publish): support NPM trusted publishing1173597chore(deps): update dependencies usingpnpm auditc2094a4Update docs46a487dtest: correctcreateUserStylescall47437f3Merge commit from fork7470a90fix: skip namespacing CSSKeyframeRuleb37366efix: disallow some CSS at-rules in custom CSSMaintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for mermaid since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.
Summary by cubic
Upgrade
mermaidfrom 10.9.0 to 10.9.6 to pick up security hardening and rendering fixes. No app code changes required.mermaid→ 10.9.6dagre-d3-es→ 7.0.13 (withd3^7.9.0)d3→ 7.9.0dompurify→ 3.4.2uuid→ 14.0.0 (allowed by widened range inmermaid)Written for commit 8ae5889. Summary will update on new commits.