From 70041c806fa890b6196b7f0ab0a4e1cc3d0fddaf Mon Sep 17 00:00:00 2001 From: Matteo Date: Tue, 15 Jul 2025 14:59:14 +0200 Subject: [PATCH] chore: update katex to latest version due to CVE vulnerability --- packages/mermaid/package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/mermaid/package.json b/packages/mermaid/package.json index d706aac9f..2dd3248e4 100644 --- a/packages/mermaid/package.json +++ b/packages/mermaid/package.json @@ -79,7 +79,7 @@ "dagre-d3-es": "7.0.11", "dayjs": "^1.11.13", "dompurify": "^3.2.5", - "katex": "^0.16.9", + "katex": "^0.16.22", "khroma": "^2.1.0", "lodash-es": "^4.17.21", "marked": "^16.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c731de155..ea7a7dd21 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -260,8 +260,8 @@ importers: specifier: ^3.2.5 version: 3.2.5 katex: - specifier: ^0.16.9 - version: 0.16.11 + specifier: ^0.16.22 + version: 0.16.22 khroma: specifier: ^2.1.0 version: 2.1.0 @@ -7175,8 +7175,8 @@ packages: resolution: {integrity: sha512-Qush0uP+G8ZScpGMZvHUiRfI0YBWuB3gVBYlI0v0vvOJt5FLicco+IkP0a50LqTTQhmts/m6tP5SWE+USyIvcQ==} engines: {node: '>=12.20'} - katex@0.16.11: - resolution: {integrity: sha512-RQrI8rlHY92OLf3rho/Ts8i/XvjgguEjOkO1BEXcU3N8BqPpSzBNwV/G0Ukr+P/l3ivvJUE/Fa/CwbS6HesGNQ==} + katex@0.16.22: + resolution: {integrity: sha512-XCHRdUw4lf3SKBaJe4EvgqIuWwkPSo9XoeO8GjQW94Bp7TWv9hNhzZjZ+OH9yf1UmLygb7DIT5GSFQiyt16zYg==} hasBin: true keyv@4.5.4: @@ -18830,7 +18830,7 @@ snapshots: junk@4.0.1: {} - katex@0.16.11: + katex@0.16.22: dependencies: commander: 8.3.0