katex 0.18.4 → 0.18.5

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
@@ -7683,7 +7683,7 @@ defineFunction({
7683
7683
  throw new ParseError("\\@char has non-numeric argument " + number);
7684
7684
  // If we drop IE support, the following code could be replaced with
7685
7685
  // text = String.fromCodePoint(code)
7686
- } else if (code < 0 || code >= 0x10ffff) {
7686
+ } else if (code < 0 || code > 0x10ffff) {
7687
7687
  throw new ParseError("\\@char with invalid code point " + number);
7688
7688
  } else if (code <= 0xffff) {
7689
7689
  text = String.fromCharCode(code);
@@ -16275,7 +16275,7 @@ var renderToHTMLTree = function renderToHTMLTree(expression, options) {
16275
16275
  return renderError(error, expression, settings);
16276
16276
  }
16277
16277
  };
16278
- var version = "0.18.4";
16278
+ var version = "0.18.5";
16279
16279
  var __domTree = {
16280
16280
  Span,
16281
16281
  Anchor,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "katex",
3
- "version": "0.18.4",
3
+ "version": "0.18.5",
4
4
  "description": "Fast math typesetting for the web.",
5
5
  "main": "dist/katex.js",
6
6
  "types": "types/katex.d.ts",
@@ -165,7 +165,7 @@
165
165
  "prepare": "husky"
166
166
  },
167
167
  "dependencies": {
168
- "commander": "^8.3.0"
168
+ "commander": "^15.0.0"
169
169
  },
170
170
  "jest": {
171
171
  "collectCoverageFrom": [
@@ -21,7 +21,7 @@ defineFunction({
21
21
  throw new ParseError(`\\@char has non-numeric argument ${number}`);
22
22
  // If we drop IE support, the following code could be replaced with
23
23
  // text = String.fromCodePoint(code)
24
- } else if (code < 0 || code >= 0x10ffff) {
24
+ } else if (code < 0 || code > 0x10ffff) {
25
25
  throw new ParseError(`\\@char with invalid code point ${number}`);
26
26
  } else if (code <= 0xffff) {
27
27
  text = String.fromCharCode(code);