katex 0.13.18 → 0.13.19

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/dist/katex.mjs CHANGED
@@ -10038,7 +10038,8 @@ var htmlBuilder$7 = function htmlBuilder(group, options) {
10038
10038
  var nc = 0;
10039
10039
  var body = new Array(nr);
10040
10040
  var hlines = [];
10041
- var ruleThickness = Math.max(options.fontMetrics().arrayRuleWidth, options.minRuleThickness // User override.
10041
+ var ruleThickness = Math.max( // From LaTeX \showthe\arrayrulewidth. Equals 0.04 em.
10042
+ options.fontMetrics().arrayRuleWidth, options.minRuleThickness // User override.
10042
10043
  ); // Horizontal spacing
10043
10044
 
10044
10045
  var pt = 1 / options.fontMetrics().ptPerEm;
@@ -17021,7 +17022,8 @@ class Parser {
17021
17022
  var argType = funcData.argTypes && funcData.argTypes[i];
17022
17023
  var isOptional = i < funcData.numOptionalArgs;
17023
17024
 
17024
- if (funcData.primitive && argType == null || funcData.type === "sqrt" && i === 1 && optArgs[0] == null) {
17025
+ if (funcData.primitive && argType == null || // \sqrt expands into primitive if optional argument doesn't exist
17026
+ funcData.type === "sqrt" && i === 1 && optArgs[0] == null) {
17025
17027
  argType = "primitive";
17026
17028
  }
17027
17029
 
@@ -17720,7 +17722,7 @@ var katex = {
17720
17722
  /**
17721
17723
  * Current KaTeX version
17722
17724
  */
17723
- version: "0.13.18",
17725
+ version: "0.13.19",
17724
17726
 
17725
17727
  /**
17726
17728
  * 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.18",
3
+ "version": "0.13.19",
4
4
  "description": "Fast math typesetting for the web.",
5
5
  "main": "dist/katex.js",
6
6
  "homepage": "https://katex.org",
@@ -29,8 +29,8 @@
29
29
  "@babel/runtime": "^7.10.4",
30
30
  "@rollup/plugin-alias": "^3.1.1",
31
31
  "@rollup/plugin-babel": "^5.0.4",
32
- "@semantic-release/changelog": "^5.0.1",
33
- "@semantic-release/git": "^9.0.0",
32
+ "@semantic-release/changelog": "^6.0.0",
33
+ "@semantic-release/git": "^10.0.0",
34
34
  "babel-jest": "^27.0.0",
35
35
  "babel-loader": "^8.0.5",
36
36
  "babel-plugin-istanbul": "^6.0.0",
@@ -44,7 +44,7 @@
44
44
  "cssnano": "^5.0.0-rc.1",
45
45
  "eslint": "^7.4.0",
46
46
  "eslint-plugin-actions": "^1.0.1",
47
- "eslint-plugin-flowtype": "^5.2.0",
47
+ "eslint-plugin-flowtype": "^6.0.0",
48
48
  "eslint-plugin-react": "^7.20.3",
49
49
  "flow-bin": "^0.135.0",
50
50
  "fs-extra": "^10.0.0",
@@ -75,7 +75,7 @@
75
75
  "rimraf": "^3.0.2",
76
76
  "rollup": "^2.21.0",
77
77
  "selenium-webdriver": "^4.0.0-beta.4",
78
- "semantic-release": "^17.4.1",
78
+ "semantic-release": "^18.0.0",
79
79
  "sri-toolbox": "^0.2.0",
80
80
  "style-loader": "^3.0.0",
81
81
  "stylelint": "^13.6.1",