Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mathjs

Package Overview
Dependencies
Maintainers
1
Versions
284
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mathjs - npm Package Versions

23
29

14.0.0

Diff

Changelog

Source

2024-11-20, 14.0.0

!!! BE CAREFUL: BREAKING CHANGES !!!

  • Feat: Upgrade to fraction.js@5, using bigint under the hood (#3283).
  • Feat: Implement support for Unit in functions ceil, floor, and fix. Possible breaking changes in the type definitions of arrays and matrices due to the introduction of generics (#3269). Thanks @orelbn.
  • Feat: Implement support for log(x: Fraction, base: Fraction).
  • Fix: #3301 precedence of % (mod) being higher than * and / (#3311). Thanks @nkumawat34.
  • Fix: #3222 prevent math.import(...) from overriding units unless you specify { override: true } (#3225).
  • Fix: #3219 let functions dotDivide, dotPow, bitXor, xor, equal, larger, largerEq, smaller, smallerEq, and unequal return a sparse matrix when the input is two sparse matrices (#3307). Thanks @Aakash-Rana.
  • Fix: Improve type definitions of arrays (#3306). Thanks @orelbn.
josdejong
published 13.2.3 •

Changelog

Source

2024-11-20, 13.2.3

  • Fix: #3260 improve type definitions and documentation on the callback indices of map, filter, and forEach.
  • Fix: #3323 support functions in function clone.
  • Docs: fix a broken link in the documentation (#3316). Thanks @emmanuel-ferdman.
josdejong
published 13.2.2 •

Changelog

Source

2024-11-13, 13.2.2

  • Fix: #1455 implicit multiplication of a fraction with unit in is incorrect (#3315). Thanks @nkumawat34.
josdejong
published 13.2.1 •

Changelog

Source

2024-11-06, 13.2.1

  • Update to the latest version of complex.js.
  • Fix Index.dimension(dim) accepting non-numeric input.
  • Fix: #3290 should validate variables names in method Parser.set (#3308). Thanks @nkumawat34.
josdejong
published 13.2.0 •

Changelog

Source

2204-10-02, 13.2.0

  • Feat: improve performance of functions map, filter and forEach (#3256). Thanks @dvd101x.
  • Feat: improve performance of the methods map() and forEach() of DenseMatrix (#3251). Thanks @Galm007.
  • Fix: #3253 cannot use identifiers containing special characters in function derivative.
  • Fix: improve the type definitions of ConstantNode to support all data types (#3257). Thanks @smith120bh.
  • Fix: #3259 function symbolicEqual missing in the TypeScript definitions.
  • Fix: #3246 function leafCount missing in the TypeScript definitions.
  • Fix: #3267 implicit multiplication with a negative number and unit in.
  • Docs: fix broken links on the Configuration page. Thanks @vassudanagunta.
  • Docs: document the syntax of map and forEach in the expression parser (#3272). Thanks @dvd101x.
josdejong
published 13.1.1 •

Changelog

Source

2024-08-27, 13.1.1

  • Fix security vulnerability in the CLI and web API allowing to call functions import, createUnit and reviver, allowing to get access to the internal math namespace and allowing arbitrary code execution. Thanks @StarlightPWN.
  • Fix security vulnerability: when overwriting a rawArgs function with a non-rawArgs function, it was still called with raw arguments. This was both a functional issue and a security issue. Thanks @StarlightPWN.
  • Fix security vulnerability: ensure that ObjectWrappingMap cannot delete unsafe properties. Thanks @StarlightPWN.
  • Fix: not being able to use methods and properties on arrays inside the expression parser.
josdejong
published 13.1.0 •

Changelog

Source

2024-08-26, 13.1.0

  • Feat: support multiple inputs in function map (#3228, #3196). Thanks @dvd101x.
  • Feat: add matrix datatypes in more cases (#3235). Thanks @dvd101x.
  • Feat: export util functions isMap, isPartitionedMap, and isObjectWrappingMap.
  • Fix: #3241 function map not always working with matrices (#3242). Thanks @dvd101x.
  • Fix: #3244 fix broken link to ResultSet in the docs about classes.
  • Docs: add a link to the documentation page about the syntax expression from the function evaluate (see #3238).
  • Docs: improve the documentation of scope and fix the example custom_scope_objects.js (#3150)
  • Docs: spelling fixes in the embedded docs (#3252). Thanks @dvd101x.
josdejong
published 13.0.3 •

Changelog

Source

2024-07-19, 13.0.3

  • Fix: #3232 fix type definitions of function format to support notations hex, bin, and oct.
  • Fix: use more precise definitions for US liquid volume units (#3229). Thanks @Vistinum.
  • Fix: #2286 types static methods and members for Unit class (#3230). Thanks @orelbn.
josdejong
published 13.0.2 •

Changelog

Source

2024-07-04, 13.0.2

  • Fix an error in the type definitions of quantileSeq (#3223). Thanks @domdomegg.
josdejong
published 13.0.1 •

Changelog

Source

2024-06-28, 13.0.1

  • Fix: #3227 generated bundle containing catch blocks without parameters.
  • Fix: #2348 update type definitions of the Parser methods (#3226). Thanks @orelbn.
23
29
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc