Skip to content

Commit a2b59bc

Browse files
committed
build(deps): upgrade mermaid-cli 10.9.1 -> 11.16.0 to clear the stuck CVEs
Dependabot's own update job failed on every run with tar-fs "fix_available: false ... the available update path still resolves it to 2.1.1" — there is no fix path while pinned to mermaid-cli 10.x, so the 6 alerts (4x tar-fs, 2x ws) could never self-heal and would accumulate. Upgrading resolves all six: tar-fs leaves the dependency tree entirely and ws goes 8.13.0 -> 8.21.1 (advisories require >= 2.1.4 and >= 8.21.0). v11 is a major bump, so rendering was verified rather than assumed — every diagram in this book was rendered locally with 11.16.0 against system Chrome before this commit.
1 parent 8f98698 commit a2b59bc

3 files changed

Lines changed: 1397 additions & 1420 deletions

File tree

tests/test_workflows.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ def test_downloads_mermaid_and_artifacts_have_integrity_gates(self):
188188
self.assertNotIn("continue-on-error", text, name)
189189
package = json.loads((ROOT / "tools/mermaid/package.json").read_text(encoding="utf-8"))
190190
lock = json.loads((ROOT / "tools/mermaid/package-lock.json").read_text(encoding="utf-8"))
191-
self.assertEqual(package["dependencies"]["@mermaid-js/mermaid-cli"], "10.9.1")
192-
self.assertEqual(lock["packages"][""]["dependencies"]["@mermaid-js/mermaid-cli"], "10.9.1")
191+
self.assertEqual(package["dependencies"]["@mermaid-js/mermaid-cli"], "11.16.0")
192+
self.assertEqual(lock["packages"][""]["dependencies"]["@mermaid-js/mermaid-cli"], "11.16.0")
193193

194194
def test_pandoc_is_installed_and_verified_before_publication_source_checks(self):
195195
for name in ("ci.yaml", "auto-release.yml", "preview-pdf.yml"):

0 commit comments

Comments
 (0)