diff --git a/templates/package-lock.json b/templates/package-lock.json index 575e5ee6c62..58f242b69ec 100644 --- a/templates/package-lock.json +++ b/templates/package-lock.json @@ -26,7 +26,7 @@ "lit-html": "^3.3.2", "lunr": "2.3.9", "lunr-languages": "^1.14.0", - "mathjax": "^3.2.2", + "mathjax": "^4.1.0", "mermaid": "^11.12.2", "tsx": "^4.21.0" }, @@ -1128,6 +1128,12 @@ "dev": true, "license": "MIT" }, + "node_modules/@mathjax/mathjax-newcm-font": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@mathjax/mathjax-newcm-font/-/mathjax-newcm-font-4.1.0.tgz", + "integrity": "sha512-n10AwYubUa2hyOzxSRzkwRrgCVns083zkentryXICMPKaWT/watfvK2sUk5D9Bow9mpDfoqb5EWApuUvqnlzaw==", + "license": "Apache-2.0" + }, "node_modules/@mermaid-js/parser": { "version": "0.6.3", "resolved": "https://registry.npmjs.org/@mermaid-js/parser/-/parser-0.6.3.tgz", @@ -6732,10 +6738,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.1.0", + "resolved": "https://registry.npmjs.org/mathjax/-/mathjax-4.1.0.tgz", + "integrity": "sha512-53eDXzxk40pS2sdI6KDCPoreY95ADaGygbi41ExKmn3FYQ+QIdpquIU90eppecelzQjf74kpScyeplVPccnIJw==", + "license": "Apache-2.0", + "dependencies": { + "@mathjax/mathjax-newcm-font": "^4.1.0" + } }, "node_modules/mathml-tag-names": { "version": "2.1.3", diff --git a/templates/package.json b/templates/package.json index 62b15b22262..b19f068e7ee 100644 --- a/templates/package.json +++ b/templates/package.json @@ -36,7 +36,7 @@ "lit-html": "^3.3.2", "lunr": "2.3.9", "lunr-languages": "^1.14.0", - "mathjax": "^3.2.2", + "mathjax": "^4.1.0", "mermaid": "^11.12.2", "tsx": "^4.21.0" },