From 103bc7ae5bf526844958db7623715afe700e231c Mon Sep 17 00:00:00 2001 From: bLue Date: Sun, 17 Dec 2023 00:22:14 +0800 Subject: [PATCH] chore: upgrade katex --- package-lock.json | 24 +++++++++++++++--------- package.json | 4 ++-- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3f8bace..33588e1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "onlinejudge3-fe", - "version": "3.5.4", + "version": "3.5.7", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -14943,11 +14943,18 @@ "dev": true }, "katex": { - "version": "0.10.2", - "resolved": "https://registry.npmmirror.com/katex/-/katex-0.10.2.tgz", - "integrity": "sha512-cQOmyIRoMloCoSIOZ1+gEwsksdJZ1EW4SWm3QzxSza/QsnZr6D4U1V9S4q+B/OLm2OQ8TCBecQ8MaIfnScI7cw==", + "version": "0.16.9", + "resolved": "https://registry.npmmirror.com/katex/-/katex-0.16.9.tgz", + "integrity": "sha512-fsSYjWS0EEOwvy81j3vRA8TEAhQhKiqO+FQaKWp0m39qwOzHVBgAUBIXWj1pB+O2W3fIpNa6Y9KSKCVbfPhyAQ==", "requires": { - "commander": "^2.19.0" + "commander": "^8.3.0" + }, + "dependencies": { + "commander": { + "version": "8.3.0", + "resolved": "https://registry.npmmirror.com/commander/-/commander-8.3.0.tgz", + "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==" + } } }, "keyv": { @@ -19737,11 +19744,10 @@ } }, "react-autolatex": { - "version": "1.1.2", - "resolved": "https://registry.npmmirror.com/react-autolatex/-/react-autolatex-1.1.2.tgz", - "integrity": "sha512-+a6UD46o9tL9VHPM3lgChJFPp+B4buxdKZ/Qg4flE4ngY2oaJIWUSP2Nm0Wc26d44iOt6cK7m7bJNR0NpmxuSA==", + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/react-autolatex/-/react-autolatex-2.0.1.tgz", + "integrity": "sha512-go9Vzcl4In4uOYx36y8SmyNSJTsekO+8smlqLB+IjXf3ZTBFwVtP3ZGwnIjXKfuxmIuEnkf/WsksAKguQ7WEwg==", "requires": { - "katex": "^0.10.0", "lodash.isequal": "^4.5.0" } }, diff --git a/package.json b/package.json index 4dac117..a4e6722 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "js-base64": "^3.7.2", "js-cookie": "^2.2.0", "jscookie": "^1.1.0", - "katex": "^0.10.0", + "katex": "^0.16.9", "lodash": "^4.17.11", "lodash.throttle": "^4.1.1", "math-precision": "^1.0.5", @@ -48,7 +48,7 @@ "memoize-one": "^5.1.1", "promise-queue": "^2.2.5", "react": "^16.8.6", - "react-autolatex": "^1.1.2", + "react-autolatex": "^2.0.1", "react-calendar-heatmap": "^1.8.0", "react-copy-to-clipboard": "^5.0.1", "react-document-title": "^2.0.3",