Bump katex from 0.15.6 to 0.16.0 (#616)
* 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>
This commit is contained in:
parent
c78a39af50
commit
febb28e9c4
3 changed files with 8 additions and 9 deletions
14
package-lock.json
generated
14
package-lock.json
generated
|
@ -21,7 +21,7 @@
|
||||||
"flux": "^4.0.3",
|
"flux": "^4.0.3",
|
||||||
"formik": "^2.2.9",
|
"formik": "^2.2.9",
|
||||||
"html-react-parser": "^2.0.0",
|
"html-react-parser": "^2.0.0",
|
||||||
"katex": "^0.15.6",
|
"katex": "^0.16.0",
|
||||||
"linkify-html": "^4.0.0-beta.5",
|
"linkify-html": "^4.0.0-beta.5",
|
||||||
"linkifyjs": "^4.0.0-beta.5",
|
"linkifyjs": "^4.0.0-beta.5",
|
||||||
"matrix-js-sdk": "^18.1.0",
|
"matrix-js-sdk": "^18.1.0",
|
||||||
|
@ -8535,9 +8535,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/katex": {
|
"node_modules/katex": {
|
||||||
"version": "0.15.6",
|
"version": "0.16.0",
|
||||||
"resolved": "https://registry.npmjs.org/katex/-/katex-0.15.6.tgz",
|
"resolved": "https://registry.npmjs.org/katex/-/katex-0.16.0.tgz",
|
||||||
"integrity": "sha512-UpzJy4yrnqnhXvRPhjEuLA4lcPn6eRngixW7Q3TJErjg3Aw2PuLFBzTkdUb89UtumxjhHTqL3a5GDGETMSwgJA==",
|
"integrity": "sha512-wPRB4iUPysfH97wTgG5/tRLYxmKVq6Q4jRAWRVOUxXB1dsiv4cvcNjqabHkrOvJHM1Bpk3WrgmllSO1vIvP24w==",
|
||||||
"funding": [
|
"funding": [
|
||||||
"https://opencollective.com/katex",
|
"https://opencollective.com/katex",
|
||||||
"https://github.com/sponsors/katex"
|
"https://github.com/sponsors/katex"
|
||||||
|
@ -20677,9 +20677,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"katex": {
|
"katex": {
|
||||||
"version": "0.15.6",
|
"version": "0.16.0",
|
||||||
"resolved": "https://registry.npmjs.org/katex/-/katex-0.15.6.tgz",
|
"resolved": "https://registry.npmjs.org/katex/-/katex-0.16.0.tgz",
|
||||||
"integrity": "sha512-UpzJy4yrnqnhXvRPhjEuLA4lcPn6eRngixW7Q3TJErjg3Aw2PuLFBzTkdUb89UtumxjhHTqL3a5GDGETMSwgJA==",
|
"integrity": "sha512-wPRB4iUPysfH97wTgG5/tRLYxmKVq6Q4jRAWRVOUxXB1dsiv4cvcNjqabHkrOvJHM1Bpk3WrgmllSO1vIvP24w==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"commander": "^8.0.0"
|
"commander": "^8.0.0"
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
"flux": "^4.0.3",
|
"flux": "^4.0.3",
|
||||||
"formik": "^2.2.9",
|
"formik": "^2.2.9",
|
||||||
"html-react-parser": "^2.0.0",
|
"html-react-parser": "^2.0.0",
|
||||||
"katex": "^0.15.6",
|
"katex": "^0.16.0",
|
||||||
"linkify-html": "^4.0.0-beta.5",
|
"linkify-html": "^4.0.0-beta.5",
|
||||||
"linkifyjs": "^4.0.0-beta.5",
|
"linkifyjs": "^4.0.0-beta.5",
|
||||||
"matrix-js-sdk": "^18.1.0",
|
"matrix-js-sdk": "^18.1.0",
|
||||||
|
|
|
@ -5,7 +5,6 @@ import katex from 'katex';
|
||||||
import 'katex/dist/katex.min.css';
|
import 'katex/dist/katex.min.css';
|
||||||
|
|
||||||
import 'katex/dist/contrib/copy-tex';
|
import 'katex/dist/contrib/copy-tex';
|
||||||
import 'katex/dist/contrib/copy-tex.css';
|
|
||||||
|
|
||||||
const Math = React.memo(({
|
const Math = React.memo(({
|
||||||
content, throwOnError, errorColor, displayMode,
|
content, throwOnError, errorColor, displayMode,
|
||||||
|
|
Loading…
Reference in a new issue