diff --git a/packages/mermaid/package.json b/packages/mermaid/package.json index fc3edf542e..c98c2cbb8e 100644 --- a/packages/mermaid/package.json +++ b/packages/mermaid/package.json @@ -1,6 +1,6 @@ { "name": "mermaid", - "version": "10.9.2", + "version": "10.9.3", "description": "Markdown-ish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.", "type": "module", "module": "./dist/mermaid.core.mjs", diff --git a/packages/mermaid/src/diagrams/block/blockDB.ts b/packages/mermaid/src/diagrams/block/blockDB.ts index f401495a50..44b2783f54 100644 --- a/packages/mermaid/src/diagrams/block/blockDB.ts +++ b/packages/mermaid/src/diagrams/block/blockDB.ts @@ -20,7 +20,7 @@ const config = getConfig(); let classes = {} as Record; -const sanitizeText = (txt:string) => common.sanitizeText(txt, config); +const sanitizeText = (txt: string) => common.sanitizeText(txt, config); /** * Called when the parser comes across a (style) class definition @@ -93,7 +93,7 @@ const populateBlockDatabase = (_blockList: Block[] | Block[][], parent: Block): const children = []; for (const block of blockList) { if (block.label) { - block.label = sanitizeText(block.label); + block.label = sanitizeText(block.label); } if (block.type === 'classDef') { addStyleClass(block.id, block.css); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f17a2e37c8..b80568d694 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -228,13 +228,13 @@ importers: version: 1.11.10 dompurify: specifier: ^3.0.5 <3.1.7 - version: 3.0.9 + version: 3.1.6 elkjs: specifier: ^0.9.0 version: 0.9.2 katex: specifier: ^0.16.9 - version: 0.16.9 + version: 0.16.11 khroma: specifier: ^2.0.0 version: 2.1.0 @@ -8833,8 +8833,8 @@ packages: domelementtype: 2.3.0 dev: true - /dompurify@3.0.9: - resolution: {integrity: sha512-uyb4NDIvQ3hRn6NiC+SIFaP4mJ/MdXlvtunaqK9Bn6dD3RuB/1S/gasEjDHD8eiaqdSael2vBv+hOs7Y+jhYOQ==} + /dompurify@3.1.6: + resolution: {integrity: sha512-cTOAhc36AalkjtBpfG6O8JimdTMWNXjiePT2xQH/ppBGi/4uIpmj8eKyIkMJErXWARyINV/sB38yf8JCLF5pbQ==} dev: false /domutils@3.1.0: @@ -12081,8 +12081,8 @@ packages: engines: {node: '>=12.20'} dev: true - /katex@0.16.9: - resolution: {integrity: sha512-fsSYjWS0EEOwvy81j3vRA8TEAhQhKiqO+FQaKWp0m39qwOzHVBgAUBIXWj1pB+O2W3fIpNa6Y9KSKCVbfPhyAQ==} + /katex@0.16.11: + resolution: {integrity: sha512-RQrI8rlHY92OLf3rho/Ts8i/XvjgguEjOkO1BEXcU3N8BqPpSzBNwV/G0Ukr+P/l3ivvJUE/Fa/CwbS6HesGNQ==} hasBin: true dependencies: commander: 8.3.0