diff --git a/package-lock.json b/package-lock.json index 39fe7d0231..6cde5df451 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", @@ -10333,9 +10333,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 07b625e4af..bdd248e1e1 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", 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'), ]);