mathjs 10.6.2 → 10.6.3

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/lib/cjs/header.js CHANGED
@@ -6,7 +6,7 @@
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 10.6.2
9
+ * @version 10.6.3
10
10
  * @date 2022-06-24
11
11
  *
12
12
  * @license
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.version = void 0;
7
- var version = '10.6.2'; // Note: This file is automatically generated when building math.js.
7
+ var version = '10.6.3'; // Note: This file is automatically generated when building math.js.
8
8
  // Changes made in this file will be overwritten.
9
9
 
10
10
  exports.version = version;
@@ -1,2 +1,2 @@
1
- export var version = '10.6.2'; // Note: This file is automatically generated when building math.js.
1
+ export var version = '10.6.3'; // Note: This file is automatically generated when building math.js.
2
2
  // Changes made in this file will be overwritten.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mathjs",
3
- "version": "10.6.2",
3
+ "version": "10.6.3",
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",
package/types/index.d.ts CHANGED
@@ -161,10 +161,6 @@ declare namespace math {
161
161
  isHexDigit(c: string): boolean
162
162
  }
163
163
 
164
- interface NodeCtor {
165
- new (): Node
166
- }
167
-
168
164
  interface AccessorNode extends MathNodeCommon {
169
165
  type: 'AccessorNode'
170
166
  isAccessorNode: true
@@ -438,7 +434,6 @@ declare namespace math {
438
434
  tau: number
439
435
 
440
436
  // Class-like constructors
441
- Node: NodeCtor
442
437
  AccessorNode: AccessorNodeCtor
443
438
  ArrayNode: ArrayNodeCtor
444
439
  AssignmentNode: AssignmentNodeCtor
@@ -3293,12 +3288,10 @@ declare namespace math {
3293
3288
  factories: FactoryFunctionMap,
3294
3289
  config?: ConfigOptions
3295
3290
  ) => MathJsStatic
3296
- factory: <T, TDeps extends readonly MathJsFunctionName[]>(
3291
+ factory: <T>(
3297
3292
  name: string,
3298
- dependencies: TDeps,
3299
- create: (
3300
- injected: Pick<MathJsStatic, Extract<MathJsFunctionName, TDeps[number]>>
3301
- ) => T,
3293
+ dependencies: MathJsFunctionName[],
3294
+ create: (injected: Partial<MathJsStatic>) => T,
3302
3295
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3303
3296
  meta?: any
3304
3297
  ) => FactoryFunction<T>