From 73c2e9c66ad10d1eb3083f9e142acbec45a5322f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 28 Oct 2024 00:24:08 +0000 Subject: [PATCH] fix: upgrade mermaid from 11.2.1 to 11.3.0 Snyk has created this PR to upgrade mermaid from 11.2.1 to 11.3.0. See this package in npm: mermaid See this project in Snyk: https://app.snyk.io/org/opensanctions/project/8c851c72-f3b8-418d-92f3-eeacbaa77148?utm_source=github&utm_medium=referral&page=upgrade-pr --- docs/package-lock.json | 19 ++++++++++--------- docs/package.json | 2 +- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/docs/package-lock.json b/docs/package-lock.json index a4ee16b7a..960ce2de5 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -13,7 +13,7 @@ "@astrojs/markdown-component": "^1.0.5", "astro": "^2.10.15", "astro-theme-docs": "github:alephdata/astro-theme-docs", - "mermaid": "^11.2.1", + "mermaid": "^11.3.0", "unist-util-visit": "^5.0.0" }, "devDependencies": { @@ -4534,9 +4534,10 @@ } }, "node_modules/mermaid": { - "version": "11.2.1", - "resolved": "https://registry.npmjs.org/mermaid/-/mermaid-11.2.1.tgz", - "integrity": "sha512-F8TEaLVVyxTUmvKswVFyOkjPrlJA5h5vNR1f7ZnSWSpqxgEZG1hggtn/QCa7znC28bhlcrNh10qYaIiill7q4A==", + "version": "11.3.0", + "resolved": "https://registry.npmjs.org/mermaid/-/mermaid-11.3.0.tgz", + "integrity": "sha512-fFmf2gRXLtlGzug4wpIGN+rQdZ30M8IZEB1D3eZkXNqC7puhqeURBcD/9tbwXsqBO+A6Nzzo3MSSepmnw5xSeg==", + "license": "MIT", "dependencies": { "@braintree/sanitize-url": "^7.0.1", "@iconify/utils": "^2.1.32", @@ -4548,7 +4549,7 @@ "d3-sankey": "^0.12.3", "dagre-d3-es": "7.0.10", "dayjs": "^1.11.10", - "dompurify": "^3.0.11", + "dompurify": "^3.0.11 <3.1.7", "katex": "^0.16.9", "khroma": "^2.1.0", "lodash-es": "^4.17.21", @@ -11273,9 +11274,9 @@ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==" }, "mermaid": { - "version": "11.2.1", - "resolved": "https://registry.npmjs.org/mermaid/-/mermaid-11.2.1.tgz", - "integrity": "sha512-F8TEaLVVyxTUmvKswVFyOkjPrlJA5h5vNR1f7ZnSWSpqxgEZG1hggtn/QCa7znC28bhlcrNh10qYaIiill7q4A==", + "version": "11.3.0", + "resolved": "https://registry.npmjs.org/mermaid/-/mermaid-11.3.0.tgz", + "integrity": "sha512-fFmf2gRXLtlGzug4wpIGN+rQdZ30M8IZEB1D3eZkXNqC7puhqeURBcD/9tbwXsqBO+A6Nzzo3MSSepmnw5xSeg==", "requires": { "@braintree/sanitize-url": "^7.0.1", "@iconify/utils": "^2.1.32", @@ -11287,7 +11288,7 @@ "d3-sankey": "^0.12.3", "dagre-d3-es": "7.0.10", "dayjs": "^1.11.10", - "dompurify": "^3.0.11", + "dompurify": "^3.0.11 <3.1.7", "katex": "^0.16.9", "khroma": "^2.1.0", "lodash-es": "^4.17.21", diff --git a/docs/package.json b/docs/package.json index cf3fd5642..4bee7d776 100644 --- a/docs/package.json +++ b/docs/package.json @@ -19,7 +19,7 @@ "@astrojs/markdown-component": "^1.0.5", "astro": "^2.10.15", "astro-theme-docs": "github:alephdata/astro-theme-docs", - "mermaid": "^11.2.1", + "mermaid": "^11.3.0", "unist-util-visit": "^5.0.0" }, "devDependencies": {