Bump katex from 0.15.6 to 0.16.0 (#616)
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Wed, 3 Aug 2022 13:58:54 +0000 (19:28 +0530)
committerGitHub <noreply@github.com>
Wed, 3 Aug 2022 13:58:54 +0000 (19:28 +0530)
* Bump katex from 0.15.6 to 0.16.0

Bumps [katex](https://github.com/KaTeX/KaTeX) from 0.15.6 to 0.16.0.
- [Release notes](https://github.com/KaTeX/KaTeX/releases)
- [Changelog](https://github.com/KaTeX/KaTeX/blob/main/CHANGELOG.md)
- [Commits](https://github.com/KaTeX/KaTeX/compare/v0.15.6...v0.16.0)

---
updated-dependencies:
- dependency-name: katex
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
* Remove copy-tex.css as it no longer required

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Krishan <33421343+kfiven@users.noreply.github.com>
package-lock.json
package.json
src/app/atoms/math/Math.jsx

index c091e59b57dbe187839f61616971b50d5d4388e4..51ea8f2bb0bc0cf0f1bff8aaf7393d37af272131 100644 (file)
@@ -21,7 +21,7 @@
         "flux": "^4.0.3",
         "formik": "^2.2.9",
         "html-react-parser": "^2.0.0",
-        "katex": "^0.15.6",
+        "katex": "^0.16.0",
         "linkify-html": "^4.0.0-beta.5",
         "linkifyjs": "^4.0.0-beta.5",
         "matrix-js-sdk": "^18.1.0",
       }
     },
     "node_modules/katex": {
-      "version": "0.15.6",
-      "resolved": "https://registry.npmjs.org/katex/-/katex-0.15.6.tgz",
-      "integrity": "sha512-UpzJy4yrnqnhXvRPhjEuLA4lcPn6eRngixW7Q3TJErjg3Aw2PuLFBzTkdUb89UtumxjhHTqL3a5GDGETMSwgJA==",
+      "version": "0.16.0",
+      "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.0.tgz",
+      "integrity": "sha512-wPRB4iUPysfH97wTgG5/tRLYxmKVq6Q4jRAWRVOUxXB1dsiv4cvcNjqabHkrOvJHM1Bpk3WrgmllSO1vIvP24w==",
       "funding": [
         "https://opencollective.com/katex",
         "https://github.com/sponsors/katex"
       }
     },
     "katex": {
-      "version": "0.15.6",
-      "resolved": "https://registry.npmjs.org/katex/-/katex-0.15.6.tgz",
-      "integrity": "sha512-UpzJy4yrnqnhXvRPhjEuLA4lcPn6eRngixW7Q3TJErjg3Aw2PuLFBzTkdUb89UtumxjhHTqL3a5GDGETMSwgJA==",
+      "version": "0.16.0",
+      "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.0.tgz",
+      "integrity": "sha512-wPRB4iUPysfH97wTgG5/tRLYxmKVq6Q4jRAWRVOUxXB1dsiv4cvcNjqabHkrOvJHM1Bpk3WrgmllSO1vIvP24w==",
       "requires": {
         "commander": "^8.0.0"
       }
index 3fddccf48e26a6651003731d204ab1e5297e46bc..988a3b6c66792352ac6d3a4cada9889428d96f38 100644 (file)
@@ -27,7 +27,7 @@
     "flux": "^4.0.3",
     "formik": "^2.2.9",
     "html-react-parser": "^2.0.0",
-    "katex": "^0.15.6",
+    "katex": "^0.16.0",
     "linkify-html": "^4.0.0-beta.5",
     "linkifyjs": "^4.0.0-beta.5",
     "matrix-js-sdk": "^18.1.0",
index dcfd0212d220d268edbaaae2f47f10d4aa013c8e..87f858999bced6bf5b23e0467aa88a193e39039b 100644 (file)
@@ -5,7 +5,6 @@ import katex from 'katex';
 import 'katex/dist/katex.min.css';
 
 import 'katex/dist/contrib/copy-tex';
-import 'katex/dist/contrib/copy-tex.css';
 
 const Math = React.memo(({
   content, throwOnError, errorColor, displayMode,