katex 0.13.21 → 0.13.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/cli.js +1 -1
- package/contrib/copy-tex/README.md +3 -3
- package/contrib/mathtex-script-type/README.md +5 -5
- package/contrib/mhchem/README.md +1 -1
- package/dist/README.md +3 -3
- package/dist/katex.css +4 -4
- package/dist/katex.js +1 -1
- package/dist/katex.min.css +1 -1
- package/dist/katex.min.js +1 -1
- package/dist/katex.mjs +1 -1
- package/package.json +10 -7
- package/src/katex.less +3 -3
package/dist/katex.mjs
CHANGED
|
@@ -17739,7 +17739,7 @@ var katex = {
|
|
|
17739
17739
|
/**
|
|
17740
17740
|
* Current KaTeX version
|
|
17741
17741
|
*/
|
|
17742
|
-
version: "0.13.
|
|
17742
|
+
version: "0.13.22",
|
|
17743
17743
|
|
|
17744
17744
|
/**
|
|
17745
17745
|
* Renders the given LaTeX into an HTML+MathML combination, and adds
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "katex",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.22",
|
|
4
4
|
"description": "Fast math typesetting for the web.",
|
|
5
5
|
"main": "dist/katex.js",
|
|
6
6
|
"homepage": "https://katex.org",
|
|
@@ -21,6 +21,8 @@
|
|
|
21
21
|
"@babel/core": "^7.10.4",
|
|
22
22
|
"@babel/eslint-parser": "^7.15.0",
|
|
23
23
|
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
|
24
|
+
"@babel/plugin-syntax-flow": "^7.14.5",
|
|
25
|
+
"@babel/plugin-transform-react-jsx": "^7.14.9",
|
|
24
26
|
"@babel/plugin-transform-runtime": "^7.10.4",
|
|
25
27
|
"@babel/preset-env": "^7.10.4",
|
|
26
28
|
"@babel/preset-flow": "^7.10.4",
|
|
@@ -42,9 +44,9 @@
|
|
|
42
44
|
"caniuse-lite": "^1.0.30001102",
|
|
43
45
|
"css-loader": "^6.0.0",
|
|
44
46
|
"cssnano": "^5.0.0-rc.1",
|
|
45
|
-
"eslint": "^
|
|
46
|
-
"eslint-plugin-actions": "^
|
|
47
|
-
"eslint-plugin-flowtype": "^
|
|
47
|
+
"eslint": "^8.0.0",
|
|
48
|
+
"eslint-plugin-actions": "^2.0.0",
|
|
49
|
+
"eslint-plugin-flowtype": "^8.0.0",
|
|
48
50
|
"eslint-plugin-react": "^7.20.3",
|
|
49
51
|
"flow-bin": "^0.135.0",
|
|
50
52
|
"fs-extra": "^10.0.0",
|
|
@@ -68,6 +70,7 @@
|
|
|
68
70
|
"p-retry": "^4.6.1",
|
|
69
71
|
"pako": "^2.0.0",
|
|
70
72
|
"postcss": "^8.0.0",
|
|
73
|
+
"postcss-less": "^5.0.0",
|
|
71
74
|
"postcss-loader": "^6.0.0",
|
|
72
75
|
"postcss-preset-env": "^6.7.0",
|
|
73
76
|
"prettier": "^2.0.5",
|
|
@@ -78,8 +81,8 @@
|
|
|
78
81
|
"semantic-release": "^18.0.0",
|
|
79
82
|
"sri-toolbox": "^0.2.0",
|
|
80
83
|
"style-loader": "^3.0.0",
|
|
81
|
-
"stylelint": "^
|
|
82
|
-
"stylelint-config-standard": "^
|
|
84
|
+
"stylelint": "^14.0.0",
|
|
85
|
+
"stylelint-config-standard": "^23.0.0",
|
|
83
86
|
"terser-webpack-plugin": "^5.0.3",
|
|
84
87
|
"webpack": "^5.51.1",
|
|
85
88
|
"webpack-bundle-analyzer": "^4.0.0",
|
|
@@ -114,7 +117,7 @@
|
|
|
114
117
|
"dist:zip": "rimraf katex/ katex.tar.gz katex.zip && cp -R dist katex && tar czf katex.tar.gz katex && zip -rq katex.zip katex && rimraf katex/"
|
|
115
118
|
},
|
|
116
119
|
"dependencies": {
|
|
117
|
-
"commander": "^
|
|
120
|
+
"commander": "^8.0.0"
|
|
118
121
|
},
|
|
119
122
|
"husky": {
|
|
120
123
|
"hooks": {
|
package/src/katex.less
CHANGED
|
@@ -568,7 +568,7 @@
|
|
|
568
568
|
}
|
|
569
569
|
|
|
570
570
|
.boxpad {
|
|
571
|
-
padding: 0 0.3em
|
|
571
|
+
padding: 0 0.3em; // \fboxsep = 3pt
|
|
572
572
|
}
|
|
573
573
|
|
|
574
574
|
.fbox,
|
|
@@ -578,7 +578,7 @@
|
|
|
578
578
|
}
|
|
579
579
|
|
|
580
580
|
.cancel-pad {
|
|
581
|
-
padding: 0 0.2em
|
|
581
|
+
padding: 0 0.2em; // ref: cancel package \advance\dimen@ 2\p@ % "+2"
|
|
582
582
|
}
|
|
583
583
|
|
|
584
584
|
.cancel-lap {
|
|
@@ -600,7 +600,7 @@
|
|
|
600
600
|
}
|
|
601
601
|
|
|
602
602
|
.anglpad {
|
|
603
|
-
padding: 0 0.03889em
|
|
603
|
+
padding: 0 0.03889em; // pad 1mu left and right (in scriptstyle)
|
|
604
604
|
}
|
|
605
605
|
|
|
606
606
|
.eqn-num::before {
|