diff --git a/crates/quarto-core/src/stage/stages/math_js.rs b/crates/quarto-core/src/stage/stages/math_js.rs index 2df12c591..1785abd94 100644 --- a/crates/quarto-core/src/stage/stages/math_js.rs +++ b/crates/quarto-core/src/stage/stages/math_js.rs @@ -80,7 +80,7 @@ pub const DEFAULT_MATHJAX_URL: &str = /// `katex_cdn_version_matches_npm_pin` test enforces the pairing — /// bump this together with the `katex` pins in the root and /// `hub-client/quarto-hub-sandboxed-preview` package.json. -pub const DEFAULT_KATEX_URL_BASE: &str = "https://cdn.jsdelivr.net/npm/katex@0.16.28/dist/"; +pub const DEFAULT_KATEX_URL_BASE: &str = "https://cdn.jsdelivr.net/npm/katex@0.17.0/dist/"; /// Math-rendering engine selected by `html-math-method:`. #[derive(Debug, Clone, PartialEq, Eq)] diff --git a/hub-client/quarto-hub-sandboxed-preview/package-lock.json b/hub-client/quarto-hub-sandboxed-preview/package-lock.json index 3f6af3a79..d8a500c3d 100644 --- a/hub-client/quarto-hub-sandboxed-preview/package-lock.json +++ b/hub-client/quarto-hub-sandboxed-preview/package-lock.json @@ -8,7 +8,7 @@ "name": "quarto-hub-sandboxed-preview", "version": "0.0.0", "dependencies": { - "katex": "0.16.28", + "katex": "^0.17.0", "react": "^18.3.1", "react-dom": "^18.3.1" }, @@ -1541,9 +1541,9 @@ } }, "node_modules/katex": { - "version": "0.16.28", - "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.28.tgz", - "integrity": "sha512-YHzO7721WbmAL6Ov1uzN/l5mY5WWWhJBSW+jq4tkfZfsxmo1hu6frS0EOswvjBUnWE6NtjEs48SFn5CQESRLZg==", + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/katex/-/katex-0.17.0.tgz", + "integrity": "sha512-Vdw0ATsQ9V+LuegM/BTwQqV/6cTl5lbGcIrU+BCgLxyf6bo38ybOr372tuSIxir3CN720flu1meYR6XzNMwQnw==", "funding": [ "https://opencollective.com/katex", "https://github.com/sponsors/katex" diff --git a/hub-client/quarto-hub-sandboxed-preview/package.json b/hub-client/quarto-hub-sandboxed-preview/package.json index 1983dc7d6..87bbb4785 100644 --- a/hub-client/quarto-hub-sandboxed-preview/package.json +++ b/hub-client/quarto-hub-sandboxed-preview/package.json @@ -11,7 +11,7 @@ "dependencies": { "react": "^18.3.1", "react-dom": "^18.3.1", - "katex": "0.16.28" + "katex": "0.17.0" }, "devDependencies": { "@types/katex": "^0.16.7", diff --git a/package-lock.json b/package-lock.json index 9437257ea..24800a406 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "@types/katex": "^0.16.8", "@types/morphdom": "^2.3.0", "html2canvas": "^1.4.1", - "katex": "0.16.28", + "katex": "0.17.0", "morphdom": "^2.7.8", "reveal.js": "6.0.0", "reveal.js-menu": "^2.1.0" @@ -8564,9 +8564,9 @@ } }, "node_modules/katex": { - "version": "0.16.28", - "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.28.tgz", - "integrity": "sha512-YHzO7721WbmAL6Ov1uzN/l5mY5WWWhJBSW+jq4tkfZfsxmo1hu6frS0EOswvjBUnWE6NtjEs48SFn5CQESRLZg==", + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/katex/-/katex-0.17.0.tgz", + "integrity": "sha512-Vdw0ATsQ9V+LuegM/BTwQqV/6cTl5lbGcIrU+BCgLxyf6bo38ybOr372tuSIxir3CN720flu1meYR6XzNMwQnw==", "funding": [ "https://opencollective.com/katex", "https://github.com/sponsors/katex" diff --git a/package.json b/package.json index c40c54cc8..210bb6c71 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "@types/katex": "^0.16.8", "@types/morphdom": "^2.3.0", "html2canvas": "^1.4.1", - "katex": "0.16.28", + "katex": "0.17.0", "morphdom": "^2.7.8", "reveal.js": "6.0.0", "reveal.js-menu": "^2.1.0"