mathjs 14.5.1 → 14.5.2

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.
@@ -317,6 +317,10 @@ const embeddedDocs = exports.embeddedDocs = {
317
317
  description: 'Characteristic impedance of vacuum',
318
318
  examples: ['vacuumImpedance']
319
319
  },
320
+ coulomb: {
321
+ description: 'Coulomb\'s constant. Deprecated in favor of coulombConstant',
322
+ examples: ['coulombConstant']
323
+ },
320
324
  coulombConstant: {
321
325
  description: 'Coulomb\'s constant',
322
326
  examples: ['coulombConstant']
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 14.5.1
10
- * @date 2025-05-28
9
+ * @version 14.5.2
10
+ * @date 2025-05-30
11
11
  *
12
12
  * @license
13
13
  * Copyright (C) 2013-2025 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 = '14.5.1';
7
+ const version = exports.version = '14.5.2';
8
8
  // Note: This file is automatically generated when building math.js.
9
9
  // Changes made in this file will be overwritten.
@@ -311,6 +311,10 @@ export var embeddedDocs = {
311
311
  description: 'Characteristic impedance of vacuum',
312
312
  examples: ['vacuumImpedance']
313
313
  },
314
+ coulomb: {
315
+ description: 'Coulomb\'s constant. Deprecated in favor of coulombConstant',
316
+ examples: ['coulombConstant']
317
+ },
314
318
  coulombConstant: {
315
319
  description: 'Coulomb\'s constant',
316
320
  examples: ['coulombConstant']
@@ -1,3 +1,3 @@
1
- export var version = '14.5.1';
1
+ export var version = '14.5.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": "14.5.1",
3
+ "version": "14.5.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",
package/types/index.d.ts CHANGED
@@ -3518,7 +3518,7 @@ export interface MathJsInstance extends MathJsFactory {
3518
3518
 
3519
3519
  isBoolean(x: unknown): x is boolean
3520
3520
 
3521
- isResultSet(x: unknown): boolean
3521
+ isResultSet(x: unknown): x is ResultSet
3522
3522
 
3523
3523
  isHelp(x: unknown): x is Help
3524
3524
 
@@ -4319,6 +4319,14 @@ export interface EvalFunction {
4319
4319
  evaluate(scope?: any): any
4320
4320
  }
4321
4321
 
4322
+ // ResultSet type and helper
4323
+ export interface ResultSet {
4324
+ entries: unknown[]
4325
+ valueOf(): unknown[]
4326
+ toString(): string
4327
+ toJSON(): MathJSON
4328
+ }
4329
+
4322
4330
  export interface MathNode {
4323
4331
  isNode: true
4324
4332
  comment: string