mathjs 13.2.1 → 13.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1041,7 +1041,7 @@ const createParse = exports.createParse = /* #__PURE__ */(0, _factory.factory)(n
1041
1041
  getTokenSkipNewline(state);
1042
1042
 
1043
1043
  // Match the "symbol" part of the pattern, or a left parenthesis
1044
- if (state.tokenType === TOKENTYPE.SYMBOL || state.token === '(') {
1044
+ if (state.tokenType === TOKENTYPE.SYMBOL || state.token === '(' || state.token === 'in') {
1045
1045
  // We've matched the pattern "number / number symbol".
1046
1046
  // Rewind once and build the "number / number" node; the symbol will be consumed later
1047
1047
  (0, _extends2.default)(state, tokenStates.pop());
package/lib/cjs/header.js CHANGED
@@ -6,8 +6,8 @@
6
6
  * It features real and complex numbers, units, matrices, a large set of
7
7
  * mathematical functions, and a flexible expression parser.
8
8
  *
9
- * @version 13.2.1
10
- * @date 2024-11-06
9
+ * @version 13.2.2
10
+ * @date 2024-11-13
11
11
  *
12
12
  * @license
13
13
  * Copyright (C) 2013-2024 Jos de Jong <wjosdejong@gmail.com>
@@ -4,6 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.version = void 0;
7
- const version = exports.version = '13.2.1';
7
+ const version = exports.version = '13.2.2';
8
8
  // Note: This file is automatically generated when building math.js.
9
9
  // Changes made in this file will be overwritten.
@@ -1034,7 +1034,7 @@ export var createParse = /* #__PURE__ */factory(name, dependencies, _ref => {
1034
1034
  getTokenSkipNewline(state);
1035
1035
 
1036
1036
  // Match the "symbol" part of the pattern, or a left parenthesis
1037
- if (state.tokenType === TOKENTYPE.SYMBOL || state.token === '(') {
1037
+ if (state.tokenType === TOKENTYPE.SYMBOL || state.token === '(' || state.token === 'in') {
1038
1038
  // We've matched the pattern "number / number symbol".
1039
1039
  // Rewind once and build the "number / number" node; the symbol will be consumed later
1040
1040
  _extends(state, tokenStates.pop());
@@ -1,3 +1,3 @@
1
- export var version = '13.2.1';
1
+ export var version = '13.2.2';
2
2
  // Note: This file is automatically generated when building math.js.
3
3
  // Changes made in this file will be overwritten.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mathjs",
3
- "version": "13.2.1",
3
+ "version": "13.2.2",
4
4
  "description": "Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with different data types like numbers, big numbers, complex numbers, fractions, units, and matrices.",
5
5
  "author": "Jos de Jong <wjosdejong@gmail.com> (https://github.com/josdejong)",
6
6
  "homepage": "https://mathjs.org",