From 9096a14801847e2d2954fab2fc8017adfcda6f32 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 18 Dec 2024 00:04:06 +0000 Subject: [PATCH 1/2] Update dependency katex to v0.16.17 --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1c4228123f..ae0fe37d0e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,7 +30,7 @@ "htmx.org": "1.9.12", "idiomorph": "0.3.0", "jquery": "3.7.1", - "katex": "0.16.15", + "katex": "0.16.17", "mermaid": "11.4.1", "mini-css-extract-plugin": "2.9.2", "minimatch": "10.0.1", @@ -10338,9 +10338,9 @@ "license": "MIT" }, "node_modules/katex": { - "version": "0.16.15", - "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.15.tgz", - "integrity": "sha512-yE9YJIEAk2aZ+FL/G8r+UGw0CTUzEA8ZFy6E+8tc3spHUKq3qBnzCkI1CQwGoI9atJhVyFPEypQsTY7mJ1Pi9w==", + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.17.tgz", + "integrity": "sha512-OyzSrXBllz+Jdc9Auiw0kt21gbZ4hkz8Q5srVAb2U9INcYIfGKbxe+bvNvEz1bQ/NrDeRRho5eLCyk/L03maAw==", "funding": [ "https://opencollective.com/katex", "https://github.com/sponsors/katex" diff --git a/package.json b/package.json index 267930e232..ac9e52362d 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "htmx.org": "1.9.12", "idiomorph": "0.3.0", "jquery": "3.7.1", - "katex": "0.16.15", + "katex": "0.16.17", "mermaid": "11.4.1", "mini-css-extract-plugin": "2.9.2", "minimatch": "10.0.1", From 275e029fc91ad045b4030f64d957db52ebe4b1b1 Mon Sep 17 00:00:00 2001 From: Gusted Date: Wed, 18 Dec 2024 01:17:23 +0100 Subject: [PATCH 2/2] chore: Update katex import path --- web_src/js/markup/math.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/js/markup/math.js b/web_src/js/markup/math.js index 872e50a452..de531e91b1 100644 --- a/web_src/js/markup/math.js +++ b/web_src/js/markup/math.js @@ -11,7 +11,7 @@ export async function renderMath() { if (!els.length) return; const [{default: katex}] = await Promise.all([ - import(/* webpackChunkName: "katex" */'katex'), + import(/* webpackChunkName: "katex" */'katex/dist/katex.js'), import(/* webpackChunkName: "katex" */'katex/dist/katex.css'), ]);