@matejmazur/react-katex
Advanced tools
Comparing version 2.1.9 to 3.0.0
{ | ||
"name": "@matejmazur/react-katex", | ||
"version": "2.1.9", | ||
"version": "3.0.0", | ||
"description": "Display math in TeX with KaTeX and ReactJS", | ||
@@ -48,3 +48,2 @@ "keywords": [ | ||
"dependencies": { | ||
"katex": "^0.10.0", | ||
"prop-types": "^15.6.2" | ||
@@ -63,2 +62,3 @@ }, | ||
"jest": "^23.6.0", | ||
"katex": "^0.10.0", | ||
"lint-staged": "^8.0.4", | ||
@@ -73,4 +73,5 @@ "microbundle": "^0.7.0", | ||
"peerDependencies": { | ||
"katex": ">=0.9.0", | ||
"react": ">=16.6.0" | ||
} | ||
} |
@@ -21,5 +21,5 @@ <div align="center"> | ||
```sh | ||
$ npm install @matejmazur/react-katex | ||
$ npm install katex @matejmazur/react-katex | ||
# or | ||
$ yarn add @matejmazur/react-katex | ||
$ yarn add katex @matejmazur/react-katex | ||
``` | ||
@@ -180,3 +180,3 @@ | ||
ReactDOM.render( | ||
<TeX settings={{ macros: { '*': 'cdot' } }}>y = k * x + c</TeX> | ||
<TeX settings={{ macros: { '*': '\\cdot' } }}>y = k * x + c</TeX> | ||
); | ||
@@ -183,0 +183,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21851
18
+ Addedcommander@8.3.0(transitive)
+ Addedkatex@0.16.11(transitive)
- Removedkatex@^0.10.0
- Removedcommander@2.20.3(transitive)
- Removedkatex@0.10.2(transitive)