diff --git a/package.json b/package.json index ab50553ac..c2c2df063 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "stylelint-config-gds": "^1.1.0" }, "dependencies": { - "mermaid": "11.2.1", + "mermaid": "11.3.0", "paste-html-to-govspeak": "^0.4.0" }, "resolutions": { diff --git a/yarn.lock b/yarn.lock index ec0426ccd..801153ac2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1041,7 +1041,7 @@ doctrine@^3.0.0: dependencies: esutils "^2.0.2" -dompurify@^3.0.11: +"dompurify@^3.0.11 <3.1.7": version "3.1.6" resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-3.1.6.tgz#43c714a94c6a7b8801850f82e756685300a027e2" integrity sha512-cTOAhc36AalkjtBpfG6O8JimdTMWNXjiePT2xQH/ppBGi/4uIpmj8eKyIkMJErXWARyINV/sB38yf8JCLF5pbQ== @@ -2397,10 +2397,10 @@ merge2@^1.3.0, merge2@^1.4.1: resolved "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz" integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== -mermaid@11.2.1: - version "11.2.1" - resolved "https://registry.yarnpkg.com/mermaid/-/mermaid-11.2.1.tgz#b168c6f862268f77a0d3559926b193926ddc60bc" - integrity sha512-F8TEaLVVyxTUmvKswVFyOkjPrlJA5h5vNR1f7ZnSWSpqxgEZG1hggtn/QCa7znC28bhlcrNh10qYaIiill7q4A== +mermaid@11.3.0: + version "11.3.0" + resolved "https://registry.yarnpkg.com/mermaid/-/mermaid-11.3.0.tgz#971c7a02c3a8e11058d42abf74196b72e70f2889" + integrity sha512-fFmf2gRXLtlGzug4wpIGN+rQdZ30M8IZEB1D3eZkXNqC7puhqeURBcD/9tbwXsqBO+A6Nzzo3MSSepmnw5xSeg== dependencies: "@braintree/sanitize-url" "^7.0.1" "@iconify/utils" "^2.1.32" @@ -2412,7 +2412,7 @@ mermaid@11.2.1: 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"