diff --git a/templates/package-lock.json b/templates/package-lock.json index 0bb9ed1564b..da00aae0602 100644 --- a/templates/package-lock.json +++ b/templates/package-lock.json @@ -26,7 +26,7 @@ "lit-html": "^3.3.1", "lunr": "2.3.9", "lunr-languages": "^1.14.0", - "mathjax": "^3.2.2", + "mathjax": "^4.0.0", "mermaid": "^11.10.1", "tsx": "^4.20.5" }, @@ -919,6 +919,12 @@ "dev": true, "license": "MIT" }, + "node_modules/@mathjax/mathjax-newcm-font": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@mathjax/mathjax-newcm-font/-/mathjax-newcm-font-4.0.0.tgz", + "integrity": "sha512-kpsJgIF4FpWiwIkFgOPmWwy5GXfL25spmJJNg27HQxPddmEL8Blx0jn2BuU/nlwjM/9SnYpEfDrWiAMgLPlB8Q==", + "license": "Apache-2.0" + }, "node_modules/@mermaid-js/parser": { "version": "0.6.2", "resolved": "https://registry.npmjs.org/@mermaid-js/parser/-/parser-0.6.2.tgz", @@ -6199,10 +6205,13 @@ } }, "node_modules/mathjax": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/mathjax/-/mathjax-3.2.2.tgz", - "integrity": "sha512-Bt+SSVU8eBG27zChVewOicYs7Xsdt40qm4+UpHyX7k0/O9NliPc+x77k1/FEsPsjKPZGJvtRZM1vO+geW0OhGw==", - "license": "Apache-2.0" + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mathjax/-/mathjax-4.0.0.tgz", + "integrity": "sha512-ThMPHiPl9ibZBInAmfoTCNq9MgCdH7ChIQ9YhKFc325noJ4DMzy9/Q14qdcuPzVJjEmC3kyXhwnERZWX3hbWzQ==", + "license": "Apache-2.0", + "dependencies": { + "@mathjax/mathjax-newcm-font": "^4.0.0" + } }, "node_modules/mathml-tag-names": { "version": "2.1.3", diff --git a/templates/package.json b/templates/package.json index 65949dd873e..a497c6a0e66 100644 --- a/templates/package.json +++ b/templates/package.json @@ -35,7 +35,7 @@ "lit-html": "^3.3.1", "lunr": "2.3.9", "lunr-languages": "^1.14.0", - "mathjax": "^3.2.2", + "mathjax": "^4.0.0", "mermaid": "^11.10.1", "tsx": "^4.20.5" },