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

mathjs

Package Overview
Dependencies
Maintainers
1
Versions
282
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mathjs - npm Package Versions

1
29

11.12.0

Diff

Changelog

Source

2023-10-26, 11.12.0

  • Implemented function subtractScalar (#3081, #2643), thanks @vrushaket.
  • Fix #3073: function format not escaping control characters and double quotes (#3082).
  • Fix: function clone not throwing an error when passing an unsupported type like a function.
  • Fix: #2960 add type definition of function symbolicEqual (#3035), thanks @juancodeaudio.
josdejong
published 11.11.2 •

Changelog

Source

2023-10-11, 11.11.2

  • Fix #3025: improve handling of matrices and error handling in function corr (#3030). Thanks @vrushaket.
  • Fix #3074: improve error message when using function max in derivative.
  • Fix #3073: fix parsing quotes inside a string.
  • Fix #2027: cannot use named operators like to or mod as property name.
josdejong
published 11.11.1 •

Changelog

Source

2023-09-20, 11.11.1

  • Fix #2989: use one-based indices in print in the parser (#3009). Thanks @dvd101x.
  • Fix #2936: mod sometimes giving wrong results due to internal round-off errors (#3011). Thanks @praisennamonu1.
  • Internal refactor of quantileSeq, and fixed the embedded help (#3003). Thanks @dvd101x.
  • Updated dependencies and devDependencies.
josdejong
published 11.11.0 •

Changelog

Source

2023-09-05, 11.11.0

  • Implement function corr to calculate the correlation between two matrices (#3015, #2624). Thanks @vrushaket.
  • Lock fraction.js at version 4.3.4 for now, see #3024, 3022, https://github.com/rawify/Fraction.js/issues/68.
josdejong
published 11.10.1 •

Changelog

Source

2023-08-31, 11.10.1

  • Upgrade to fraction.js@4.3.4, see #3022.
  • Fix #3020: lruQueue using the global hasOwnProperty which may be polluted.
  • Add support for prefixes for the unit erg, and restrict prefixes of the unit joule to only long prefixes like kilo and no short prefixes like k (#3019). Thanks @costerwi.
  • Add a new browser example examples/browser/lorenz.html that uses solveODE and plots the result in a chart (#3018). Thanks @dvd101x.
josdejong
published 11.10.0 •

Changelog

Source

2023-08-23, 11.10.0

  • Extend function quantileSeq with support for a dimension (#3002). Thanks @dvd101x.
  • Implement #2735: Support indexing with an array of booleans, for example a[[true, false, true]] and a[a > 2] (#2994). Thanks @dvd101x.
  • Implement function zeta (#2950, #2975, #2904). Thanks @Bobingstern.
  • Fix #2990: DenseMatrix can mutate input arrays (#2991).
josdejong
published 11.9.1 •

Changelog

Source

2023-07-24, 11.9.1

  • Fix a security vulnerability in FunctionNode and SymbolNode allowing arbitrary code execution via math.evaluate. Thanks Harry Chen.
  • Fix #3001: mathjs bundle containing new Function(...) (CSP issue).
josdejong
published 11.9.0 •

Changelog

Source

2023-07-19, 11.9.0

  • Implement function solveODE (#2958). Thanks @dvd101x.
  • Implement functions zpk2tf and freqz (#2988, #2969). Thanks @alykhaled.
  • Implement support for units in function range (#2997). Thanks @dvd101x.
  • Fix #2974: simplify puts plus and minus signs next to each other (#2981). Thanks @MaybePixem.
  • Fix #2973: fixes and improvements in the embedded docs (#2976). Thanks @dvd101x.
  • Fix #2996: two errors in the examples in the documentation about Expression trees.
  • Fix round-off errors near zero when converting temperatures (#2962). Thanks @costerwi.
  • Refactored function range, reducing the amount of code (#2995). Thanks @dvd101x.
josdejong
published 11.8.2 •

Changelog

Source

2023-06-20, 11.8.2

  • Fix #2971: improve typings of statistics functions min, max, mean, median, mode, std, sum, prod, variance. Fixes a regression introduced in v11.8.1.
  • Fix #2972: type definitions of Unit.divide(Unit) have a wrong return type.
josdejong
published 11.8.1 •

Changelog

Source

2023-06-13, 11.8.1

  • Fix #2964: issue in function distance when calculate the distance from a point to a line (#2965). Thanks @Kiku-CN.
  • Fix math.format not working correctly for engineering notation when using BigNumbers and for fixed notation with precision: 0 configured (#2956). Thanks @mgreminger.
  • Fix #2880: not possible to map cube root cbrt.
  • Fix #2938: make the syntax description of all functions consistent in the docs (#2941). Thanks @dvd101x.
  • Fix #2954: improve the TypeScript definitions the return type of functions min and max (#2955). Thanks @Maxim-Mazurok.
  • Fix #2959: typo in an example in the docs. Thanks @kunalagrwl.
  • Drop official support for Node.js 14, has reached end of life.
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