mathjs 12.2.0 → 12.2.1

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.
Files changed (40) hide show
  1. package/HISTORY.md +5 -0
  2. package/lib/browser/math.js +1 -1
  3. package/lib/browser/math.js.LICENSE.txt +2 -2
  4. package/lib/browser/math.js.map +1 -1
  5. package/lib/cjs/expression/node/AccessorNode.js +2 -2
  6. package/lib/cjs/expression/node/ArrayNode.js +2 -2
  7. package/lib/cjs/expression/node/AssignmentNode.js +2 -2
  8. package/lib/cjs/expression/node/BlockNode.js +2 -2
  9. package/lib/cjs/expression/node/ConditionalNode.js +2 -2
  10. package/lib/cjs/expression/node/ConstantNode.js +2 -2
  11. package/lib/cjs/expression/node/FunctionAssignmentNode.js +2 -2
  12. package/lib/cjs/expression/node/FunctionNode.js +2 -2
  13. package/lib/cjs/expression/node/IndexNode.js +2 -2
  14. package/lib/cjs/expression/node/Node.js +18 -5
  15. package/lib/cjs/expression/node/ObjectNode.js +2 -2
  16. package/lib/cjs/expression/node/OperatorNode.js +2 -2
  17. package/lib/cjs/expression/node/ParenthesisNode.js +2 -2
  18. package/lib/cjs/expression/node/RangeNode.js +2 -2
  19. package/lib/cjs/expression/node/RelationalNode.js +2 -2
  20. package/lib/cjs/expression/node/SymbolNode.js +2 -2
  21. package/lib/cjs/header.js +2 -2
  22. package/lib/cjs/version.js +1 -1
  23. package/lib/esm/expression/node/AccessorNode.js +1 -1
  24. package/lib/esm/expression/node/ArrayNode.js +1 -1
  25. package/lib/esm/expression/node/AssignmentNode.js +1 -1
  26. package/lib/esm/expression/node/BlockNode.js +1 -1
  27. package/lib/esm/expression/node/ConditionalNode.js +1 -1
  28. package/lib/esm/expression/node/ConstantNode.js +1 -1
  29. package/lib/esm/expression/node/FunctionAssignmentNode.js +1 -1
  30. package/lib/esm/expression/node/FunctionNode.js +1 -1
  31. package/lib/esm/expression/node/IndexNode.js +1 -1
  32. package/lib/esm/expression/node/Node.js +15 -4
  33. package/lib/esm/expression/node/ObjectNode.js +1 -1
  34. package/lib/esm/expression/node/OperatorNode.js +1 -1
  35. package/lib/esm/expression/node/ParenthesisNode.js +1 -1
  36. package/lib/esm/expression/node/RangeNode.js +1 -1
  37. package/lib/esm/expression/node/RelationalNode.js +1 -1
  38. package/lib/esm/expression/node/SymbolNode.js +1 -1
  39. package/lib/esm/version.js +1 -1
  40. package/package.json +12 -12
@@ -170,8 +170,8 @@ var createAccessorNode = exports.createAccessorNode = /* #__PURE__ */(0, _factor
170
170
  * @return {string}
171
171
  */
172
172
  }, {
173
- key: "toHTML",
174
- value: function toHTML(options) {
173
+ key: "_toHTML",
174
+ value: function _toHTML(options) {
175
175
  var object = this.object.toHTML(options);
176
176
  if (needParenthesis(this.object)) {
177
177
  object = '<span class="math-parenthesis math-round-parenthesis">(</span>' + object + '<span class="math-parenthesis math-round-parenthesis">)</span>';
@@ -163,7 +163,7 @@ var createArrayNode = exports.createArrayNode = /* #__PURE__ */(0, _factory.fact
163
163
  * @returns {ArrayNode}
164
164
  */
165
165
  }, {
166
- key: "toHTML",
166
+ key: "_toHTML",
167
167
  value:
168
168
  /**
169
169
  * Get HTML representation
@@ -171,7 +171,7 @@ var createArrayNode = exports.createArrayNode = /* #__PURE__ */(0, _factory.fact
171
171
  * @return {string} str
172
172
  * @override
173
173
  */
174
- function toHTML(options) {
174
+ function _toHTML(options) {
175
175
  var items = this.items.map(function (node) {
176
176
  return node.toHTML(options);
177
177
  });
@@ -300,14 +300,14 @@ var createAssignmentNode = exports.createAssignmentNode = /* #__PURE__ */(0, _fa
300
300
  * @returns {AssignmentNode}
301
301
  */
302
302
  }, {
303
- key: "toHTML",
303
+ key: "_toHTML",
304
304
  value:
305
305
  /**
306
306
  * Get HTML representation
307
307
  * @param {Object} options
308
308
  * @return {string}
309
309
  */
310
- function toHTML(options) {
310
+ function _toHTML(options) {
311
311
  var object = this.object.toHTML(options);
312
312
  var index = this.index ? this.index.toHTML(options) : '';
313
313
  var value = this.value.toHTML(options);
@@ -184,7 +184,7 @@ var createBlockNode = exports.createBlockNode = /* #__PURE__ */(0, _factory.fact
184
184
  * @returns {BlockNode}
185
185
  */
186
186
  }, {
187
- key: "toHTML",
187
+ key: "_toHTML",
188
188
  value:
189
189
  /**
190
190
  * Get HTML representation
@@ -192,7 +192,7 @@ var createBlockNode = exports.createBlockNode = /* #__PURE__ */(0, _factory.fact
192
192
  * @return {string} str
193
193
  * @override
194
194
  */
195
- function toHTML(options) {
195
+ function _toHTML(options) {
196
196
  return this.blocks.map(function (param) {
197
197
  return param.node.toHTML(options) + (param.visible ? '' : '<span class="math-separator">;</span>');
198
198
  }).join('<span class="math-separator"><br /></span>');
@@ -207,14 +207,14 @@ var createConditionalNode = exports.createConditionalNode = /* #__PURE__ */(0, _
207
207
  * @returns {ConditionalNode}
208
208
  */
209
209
  }, {
210
- key: "toHTML",
210
+ key: "_toHTML",
211
211
  value:
212
212
  /**
213
213
  * Get HTML representation
214
214
  * @param {Object} options
215
215
  * @return {string} str
216
216
  */
217
- function toHTML(options) {
217
+ function _toHTML(options) {
218
218
  var parenthesis = options && options.parenthesis ? options.parenthesis : 'keep';
219
219
  var precedence = (0, _operators.getPrecedence)(this, parenthesis, options && options.implicit);
220
220
 
@@ -125,8 +125,8 @@ var createConstantNode = exports.createConstantNode = /* #__PURE__ */(0, _factor
125
125
  * @return {string} str
126
126
  */
127
127
  }, {
128
- key: "toHTML",
129
- value: function toHTML(options) {
128
+ key: "_toHTML",
129
+ value: function _toHTML(options) {
130
130
  var value = this._toString(options);
131
131
  switch ((0, _is.typeOf)(this.value)) {
132
132
  case 'number':
@@ -237,14 +237,14 @@ var createFunctionAssignmentNode = exports.createFunctionAssignmentNode = /* #__
237
237
  * @returns {FunctionAssignmentNode}
238
238
  */
239
239
  }, {
240
- key: "toHTML",
240
+ key: "_toHTML",
241
241
  value:
242
242
  /**
243
243
  * get HTML representation
244
244
  * @param {Object} options
245
245
  * @return {string} str
246
246
  */
247
- function toHTML(options) {
247
+ function _toHTML(options) {
248
248
  var parenthesis = options && options.parenthesis ? options.parenthesis : 'keep';
249
249
  var params = [];
250
250
  for (var i = 0; i < this.params.length; i++) {
@@ -413,14 +413,14 @@ var createFunctionNode = exports.createFunctionNode = /* #__PURE__ */(0, _factor
413
413
  * @returns {FunctionNode}
414
414
  */
415
415
  }, {
416
- key: "toHTML",
416
+ key: "_toHTML",
417
417
  value:
418
418
  /**
419
419
  * Get HTML representation
420
420
  * @param {Object} options
421
421
  * @return {string} str
422
422
  */
423
- function toHTML(options) {
423
+ function _toHTML(options) {
424
424
  var args = this.args.map(function (arg) {
425
425
  return arg.toHTML(options);
426
426
  });
@@ -218,14 +218,14 @@ var createIndexNode = exports.createIndexNode = /* #__PURE__ */(0, _factory.fact
218
218
  * @returns {IndexNode}
219
219
  */
220
220
  }, {
221
- key: "toHTML",
221
+ key: "_toHTML",
222
222
  value:
223
223
  /**
224
224
  * Get HTML representation
225
225
  * @param {Object} options
226
226
  * @return {string} str
227
227
  */
228
- function toHTML(options) {
228
+ function _toHTML(options) {
229
229
  // format the parameters like "[1, 0:5]"
230
230
  var dimensions = [];
231
231
  for (var i = 0; i < this.dimensions.length; i++) {
@@ -285,6 +285,19 @@ var createNode = exports.createNode = /* #__PURE__ */(0, _factory.factory)(name,
285
285
  return this._toString(options);
286
286
  }
287
287
 
288
+ /**
289
+ * Internal function to generate the string output.
290
+ * This has to be implemented by every Node
291
+ *
292
+ * @throws {Error}
293
+ */
294
+ }, {
295
+ key: "_toString",
296
+ value: function _toString() {
297
+ // must be implemented by each of the Node implementations
298
+ throw new Error('_toString not implemented for ' + this.type);
299
+ }
300
+
288
301
  /**
289
302
  * Get a JSON representation of the node
290
303
  * Both .toJSON() and the static .fromJSON(json) should be implemented by all
@@ -319,20 +332,20 @@ var createNode = exports.createNode = /* #__PURE__ */(0, _factory.factory)(name,
319
332
  if (typeof customString !== 'undefined') {
320
333
  return customString;
321
334
  }
322
- return this.toHTML(options);
335
+ return this._toHTML(options);
323
336
  }
324
337
 
325
338
  /**
326
- * Internal function to generate the string output.
339
+ * Internal function to generate the HTML output.
327
340
  * This has to be implemented by every Node
328
341
  *
329
342
  * @throws {Error}
330
343
  */
331
344
  }, {
332
- key: "_toString",
333
- value: function _toString() {
345
+ key: "_toHTML",
346
+ value: function _toHTML() {
334
347
  // must be implemented by each of the Node implementations
335
- throw new Error('_toString not implemented for ' + this.type);
348
+ throw new Error('_toHTML not implemented for ' + this.type);
336
349
  }
337
350
 
338
351
  /**
@@ -184,7 +184,7 @@ var createObjectNode = exports.createObjectNode = /* #__PURE__ */(0, _factory.fa
184
184
  * @returns {ObjectNode}
185
185
  */
186
186
  }, {
187
- key: "toHTML",
187
+ key: "_toHTML",
188
188
  value:
189
189
  /**
190
190
  * Get HTML representation
@@ -192,7 +192,7 @@ var createObjectNode = exports.createObjectNode = /* #__PURE__ */(0, _factory.fa
192
192
  * @return {string} str
193
193
  * @override
194
194
  */
195
- function toHTML(options) {
195
+ function _toHTML(options) {
196
196
  var entries = [];
197
197
  for (var key in this.properties) {
198
198
  if ((0, _object.hasOwnProperty)(this.properties, key)) {
@@ -493,14 +493,14 @@ var createOperatorNode = exports.createOperatorNode = /* #__PURE__ */(0, _factor
493
493
  * @returns {OperatorNode}
494
494
  */
495
495
  }, {
496
- key: "toHTML",
496
+ key: "_toHTML",
497
497
  value:
498
498
  /**
499
499
  * Get HTML representation.
500
500
  * @param {Object} options
501
501
  * @return {string} str
502
502
  */
503
- function toHTML(options) {
503
+ function _toHTML(options) {
504
504
  var parenthesis = options && options.parenthesis ? options.parenthesis : 'keep';
505
505
  var implicit = options && options.implicit ? options.implicit : 'hide';
506
506
  var args = this.args;
@@ -150,7 +150,7 @@ var createParenthesisNode = exports.createParenthesisNode = /* #__PURE__ */(0, _
150
150
  * @returns {ParenthesisNode}
151
151
  */
152
152
  }, {
153
- key: "toHTML",
153
+ key: "_toHTML",
154
154
  value:
155
155
  /**
156
156
  * Get HTML representation
@@ -158,7 +158,7 @@ var createParenthesisNode = exports.createParenthesisNode = /* #__PURE__ */(0, _
158
158
  * @return {string} str
159
159
  * @override
160
160
  */
161
- function toHTML(options) {
161
+ function _toHTML(options) {
162
162
  if (!options || options && !options.parenthesis || options && options.parenthesis === 'keep') {
163
163
  return '<span class="math-parenthesis math-round-parenthesis">(</span>' + this.content.toHTML(options) + '<span class="math-parenthesis math-round-parenthesis">)</span>';
164
164
  }
@@ -216,14 +216,14 @@ var createRangeNode = exports.createRangeNode = /* #__PURE__ */(0, _factory.fact
216
216
  * @returns {RangeNode}
217
217
  */
218
218
  }, {
219
- key: "toHTML",
219
+ key: "_toHTML",
220
220
  value:
221
221
  /**
222
222
  * Get HTML representation
223
223
  * @param {Object} options
224
224
  * @return {string} str
225
225
  */
226
- function toHTML(options) {
226
+ function _toHTML(options) {
227
227
  var parenthesis = options && options.parenthesis ? options.parenthesis : 'keep';
228
228
  var parens = calculateNecessaryParentheses(this, parenthesis, options && options.implicit);
229
229
 
@@ -190,14 +190,14 @@ var createRelationalNode = exports.createRelationalNode = /* #__PURE__ */(0, _fa
190
190
  * @returns {RelationalNode}
191
191
  */
192
192
  }, {
193
- key: "toHTML",
193
+ key: "_toHTML",
194
194
  value:
195
195
  /**
196
196
  * Get HTML representation
197
197
  * @param {Object} options
198
198
  * @return {string} str
199
199
  */
200
- function toHTML(options) {
200
+ function _toHTML(options) {
201
201
  var parenthesis = options && options.parenthesis ? options.parenthesis : 'keep';
202
202
  var precedence = (0, _operators.getPrecedence)(this, parenthesis, options && options.implicit);
203
203
  var paramStrings = this.params.map(function (p, index) {
@@ -154,8 +154,8 @@ var createSymbolNode = exports.createSymbolNode = /* #__PURE__ */(0, _factory.fa
154
154
  * @override
155
155
  */
156
156
  }, {
157
- key: "toHTML",
158
- value: function toHTML(options) {
157
+ key: "_toHTML",
158
+ value: function _toHTML(options) {
159
159
  var name = (0, _string.escape)(this.name);
160
160
  if (name === 'true' || name === 'false') {
161
161
  return '<span class="math-symbol math-boolean">' + name + '</span>';
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 12.2.0
10
- * @date 2023-12-08
9
+ * @version 12.2.1
10
+ * @date 2023-12-20
11
11
  *
12
12
  * @license
13
13
  * Copyright (C) 2013-2023 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
- var version = exports.version = '12.2.0';
7
+ var version = exports.version = '12.2.1';
8
8
  // Note: This file is automatically generated when building math.js.
9
9
  // Changes made in this file will be overwritten.
@@ -136,7 +136,7 @@ export var createAccessorNode = /* #__PURE__ */factory(name, dependencies, _ref
136
136
  * @param {Object} options
137
137
  * @return {string}
138
138
  */
139
- toHTML(options) {
139
+ _toHTML(options) {
140
140
  var object = this.object.toHTML(options);
141
141
  if (needParenthesis(this.object)) {
142
142
  object = '<span class="math-parenthesis math-round-parenthesis">(</span>' + object + '<span class="math-parenthesis math-round-parenthesis">)</span>';
@@ -139,7 +139,7 @@ export var createArrayNode = /* #__PURE__ */factory(name, dependencies, _ref =>
139
139
  * @return {string} str
140
140
  * @override
141
141
  */
142
- toHTML(options) {
142
+ _toHTML(options) {
143
143
  var items = this.items.map(function (node) {
144
144
  return node.toHTML(options);
145
145
  });
@@ -273,7 +273,7 @@ export var createAssignmentNode = /* #__PURE__ */factory(name, dependencies, _re
273
273
  * @param {Object} options
274
274
  * @return {string}
275
275
  */
276
- toHTML(options) {
276
+ _toHTML(options) {
277
277
  var object = this.object.toHTML(options);
278
278
  var index = this.index ? this.index.toHTML(options) : '';
279
279
  var value = this.value.toHTML(options);
@@ -160,7 +160,7 @@ export var createBlockNode = /* #__PURE__ */factory(name, dependencies, _ref =>
160
160
  * @return {string} str
161
161
  * @override
162
162
  */
163
- toHTML(options) {
163
+ _toHTML(options) {
164
164
  return this.blocks.map(function (param) {
165
165
  return param.node.toHTML(options) + (param.visible ? '' : '<span class="math-separator">;</span>');
166
166
  }).join('<span class="math-separator"><br /></span>');
@@ -182,7 +182,7 @@ export var createConditionalNode = /* #__PURE__ */factory(name, dependencies, _r
182
182
  * @param {Object} options
183
183
  * @return {string} str
184
184
  */
185
- toHTML(options) {
185
+ _toHTML(options) {
186
186
  var parenthesis = options && options.parenthesis ? options.parenthesis : 'keep';
187
187
  var precedence = getPrecedence(this, parenthesis, options && options.implicit);
188
188
 
@@ -93,7 +93,7 @@ export var createConstantNode = /* #__PURE__ */factory(name, dependencies, _ref
93
93
  * @param {Object} options
94
94
  * @return {string} str
95
95
  */
96
- toHTML(options) {
96
+ _toHTML(options) {
97
97
  var value = this._toString(options);
98
98
  switch (typeOf(this.value)) {
99
99
  case 'number':
@@ -200,7 +200,7 @@ export var createFunctionAssignmentNode = /* #__PURE__ */factory(name, dependenc
200
200
  * @param {Object} options
201
201
  * @return {string} str
202
202
  */
203
- toHTML(options) {
203
+ _toHTML(options) {
204
204
  var parenthesis = options && options.parenthesis ? options.parenthesis : 'keep';
205
205
  var params = [];
206
206
  for (var i = 0; i < this.params.length; i++) {
@@ -366,7 +366,7 @@ export var createFunctionNode = /* #__PURE__ */factory(name, dependencies, _ref
366
366
  * @param {Object} options
367
367
  * @return {string} str
368
368
  */
369
- toHTML(options) {
369
+ _toHTML(options) {
370
370
  var args = this.args.map(function (arg) {
371
371
  return arg.toHTML(options);
372
372
  });
@@ -186,7 +186,7 @@ export var createIndexNode = /* #__PURE__ */factory(name, dependencies, _ref =>
186
186
  * @param {Object} options
187
187
  * @return {string} str
188
188
  */
189
- toHTML(options) {
189
+ _toHTML(options) {
190
190
  // format the parameters like "[1, 0:5]"
191
191
  var dimensions = [];
192
192
  for (var i = 0; i < this.dimensions.length; i++) {
@@ -242,6 +242,17 @@ export var createNode = /* #__PURE__ */factory(name, dependencies, _ref => {
242
242
  return this._toString(options);
243
243
  }
244
244
 
245
+ /**
246
+ * Internal function to generate the string output.
247
+ * This has to be implemented by every Node
248
+ *
249
+ * @throws {Error}
250
+ */
251
+ _toString() {
252
+ // must be implemented by each of the Node implementations
253
+ throw new Error('_toString not implemented for ' + this.type);
254
+ }
255
+
245
256
  /**
246
257
  * Get a JSON representation of the node
247
258
  * Both .toJSON() and the static .fromJSON(json) should be implemented by all
@@ -272,18 +283,18 @@ export var createNode = /* #__PURE__ */factory(name, dependencies, _ref => {
272
283
  if (typeof customString !== 'undefined') {
273
284
  return customString;
274
285
  }
275
- return this.toHTML(options);
286
+ return this._toHTML(options);
276
287
  }
277
288
 
278
289
  /**
279
- * Internal function to generate the string output.
290
+ * Internal function to generate the HTML output.
280
291
  * This has to be implemented by every Node
281
292
  *
282
293
  * @throws {Error}
283
294
  */
284
- _toString() {
295
+ _toHTML() {
285
296
  // must be implemented by each of the Node implementations
286
- throw new Error('_toString not implemented for ' + this.type);
297
+ throw new Error('_toHTML not implemented for ' + this.type);
287
298
  }
288
299
 
289
300
  /**
@@ -159,7 +159,7 @@ export var createObjectNode = /* #__PURE__ */factory(name, dependencies, _ref =>
159
159
  * @return {string} str
160
160
  * @override
161
161
  */
162
- toHTML(options) {
162
+ _toHTML(options) {
163
163
  var entries = [];
164
164
  for (var key in this.properties) {
165
165
  if (hasOwnProperty(this.properties, key)) {
@@ -464,7 +464,7 @@ export var createOperatorNode = /* #__PURE__ */factory(name, dependencies, _ref
464
464
  * @param {Object} options
465
465
  * @return {string} str
466
466
  */
467
- toHTML(options) {
467
+ _toHTML(options) {
468
468
  var parenthesis = options && options.parenthesis ? options.parenthesis : 'keep';
469
469
  var implicit = options && options.implicit ? options.implicit : 'hide';
470
470
  var args = this.args;
@@ -124,7 +124,7 @@ export var createParenthesisNode = /* #__PURE__ */factory(name, dependencies, _r
124
124
  * @return {string} str
125
125
  * @override
126
126
  */
127
- toHTML(options) {
127
+ _toHTML(options) {
128
128
  if (!options || options && !options.parenthesis || options && options.parenthesis === 'keep') {
129
129
  return '<span class="math-parenthesis math-round-parenthesis">(</span>' + this.content.toHTML(options) + '<span class="math-parenthesis math-round-parenthesis">)</span>';
130
130
  }
@@ -189,7 +189,7 @@ export var createRangeNode = /* #__PURE__ */factory(name, dependencies, _ref =>
189
189
  * @param {Object} options
190
190
  * @return {string} str
191
191
  */
192
- toHTML(options) {
192
+ _toHTML(options) {
193
193
  var parenthesis = options && options.parenthesis ? options.parenthesis : 'keep';
194
194
  var parens = calculateNecessaryParentheses(this, parenthesis, options && options.implicit);
195
195
 
@@ -157,7 +157,7 @@ export var createRelationalNode = /* #__PURE__ */factory(name, dependencies, _re
157
157
  * @param {Object} options
158
158
  * @return {string} str
159
159
  */
160
- toHTML(options) {
160
+ _toHTML(options) {
161
161
  var parenthesis = options && options.parenthesis ? options.parenthesis : 'keep';
162
162
  var precedence = getPrecedence(this, parenthesis, options && options.implicit);
163
163
  var paramStrings = this.params.map(function (p, index) {
@@ -125,7 +125,7 @@ export var createSymbolNode = /* #__PURE__ */factory(name, dependencies, _ref =>
125
125
  * @return {string} str
126
126
  * @override
127
127
  */
128
- toHTML(options) {
128
+ _toHTML(options) {
129
129
  var name = escape(this.name);
130
130
  if (name === 'true' || name === 'false') {
131
131
  return '<span class="math-symbol math-boolean">' + name + '</span>';
@@ -1,3 +1,3 @@
1
- export var version = '12.2.0';
1
+ export var version = '12.2.1';
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": "12.2.0",
3
+ "version": "12.2.1",
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",
@@ -25,7 +25,7 @@
25
25
  "unit"
26
26
  ],
27
27
  "dependencies": {
28
- "@babel/runtime": "^7.23.5",
28
+ "@babel/runtime": "^7.23.6",
29
29
  "complex.js": "^2.1.1",
30
30
  "decimal.js": "^10.4.3",
31
31
  "escape-latex": "^1.2.0",
@@ -36,15 +36,15 @@
36
36
  "typed-function": "^4.1.1"
37
37
  },
38
38
  "devDependencies": {
39
- "@babel/core": "7.23.5",
39
+ "@babel/core": "7.23.6",
40
40
  "@babel/plugin-transform-object-assign": "7.23.3",
41
- "@babel/plugin-transform-runtime": "7.23.4",
42
- "@babel/preset-env": "7.23.5",
41
+ "@babel/plugin-transform-runtime": "7.23.6",
42
+ "@babel/preset-env": "7.23.6",
43
43
  "@babel/register": "7.22.15",
44
44
  "@types/assert": "1.5.10",
45
45
  "@types/mocha": "10.0.6",
46
- "@typescript-eslint/eslint-plugin": "6.13.2",
47
- "@typescript-eslint/parser": "6.13.2",
46
+ "@typescript-eslint/eslint-plugin": "6.15.0",
47
+ "@typescript-eslint/parser": "6.15.0",
48
48
  "assert": "2.1.0",
49
49
  "babel-loader": "9.1.3",
50
50
  "benchmark": "2.1.4",
@@ -53,13 +53,13 @@
53
53
  "core-js": "3.34.0",
54
54
  "del": "6.1.1",
55
55
  "dtslint": "4.2.1",
56
- "eslint": "8.55.0",
56
+ "eslint": "8.56.0",
57
57
  "eslint-config-prettier": "9.1.0",
58
58
  "eslint-config-standard": "17.1.0",
59
- "eslint-plugin-import": "2.29.0",
59
+ "eslint-plugin-import": "2.29.1",
60
60
  "eslint-plugin-mocha": "10.2.0",
61
- "eslint-plugin-n": "16.3.1",
62
- "eslint-plugin-prettier": "5.0.1",
61
+ "eslint-plugin-n": "16.5.0",
62
+ "eslint-plugin-prettier": "5.1.0",
63
63
  "eslint-plugin-promise": "6.1.1",
64
64
  "expect-type": "0.17.3",
65
65
  "expr-eval": "2.0.2",
@@ -85,7 +85,7 @@
85
85
  "ndarray-pack": "1.2.1",
86
86
  "numericjs": "1.2.6",
87
87
  "pad-right": "0.2.2",
88
- "prettier": "3.1.0",
88
+ "prettier": "3.1.1",
89
89
  "process": "0.11.10",
90
90
  "sylvester": "0.0.21",
91
91
  "ts-node": "10.9.2",