Socket
Socket
Sign inDemoInstall

mathjs

Package Overview
Dependencies
10
Maintainers
1
Versions
274
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
46
28Next

10.5.3

Diff

Changelog

Source

2022-05-11, version 10.5.3

  • Fix #2337: npm package containing examples and docs to solve security vulnerabilities being reported on the examples and their dependencies.
  • Fix core, construction, and some other functions missing in docs.
  • Drop official support for Node.js 12 which has reached its end of life.
josdejong
published 10.5.2 •

Changelog

Source

2022-05-09, version 10.5.2

  • Fix #2553: @types/mocha defined in dependencies instead of devDependencies, causing problems in projects that use a different version of this dependency. Thanks @Kolahzary.
  • Fix #2550: remove examples/node_modules folder from the npm package.
  • Fix #2528: improve contribution guidelines (#2548).
  • Document SymbolNode.onUndefinedSymbol and FunctionNode.onUndefinedFunction.
josdejong
published 10.5.1 •

Changelog

Source

2022-05-02, version 10.5.1

  • Fix #2526, #2529: improve TypeScript definitions of function round, fix, floor, ceil, and nthRoot, and improved the number only implementations of those functions (#2531, #2539). Thanks @simlaticak and @gwhitney.
  • Fix #2532: matrix index symbol end not working when used inside a sub-expression.
  • Fix #2524: In generating AUTHORS list, ignore a list of specific commits (e.g., to avoid spurious duplicates in list). (#2543)
  • Add type definitions of function resolve (#2536). Thanks @mattvague.
josdejong
published 10.5.0 •

Changelog

Source

2022-04-19, version 10.5.0

  • Implement #1563: function pinv, Moore–Penrose inverse (#2521). Thanks @HanchaiN.
  • Optimize function det for integers by switching to the Bareiss algorithm: no more round-off errors for integer input (#2516). Thanks @HanchaiN.
  • Implement #2463: allow negative integer powers of invertible square matrices (#2517). Thanks @HanchaiN.
  • Implement the lgamma function (defined as log(gamma(z))) for number and Complex types. Supersedes #320. (#2417). Thanks @yifanwww.
  • Fix #2523: update to the latest complex.js to improve sin(z) for small im(z) (#2525). Thanks @gwhitney.
  • Fix #2526: update TypeScript definition of ceil (#2531). Thanks @simlaticak
  • Change mocha reporter to 'dot' to avoid excessively long log files. (#2520)
josdejong
published 10.4.3 •

Changelog

Source

2022-04-08, version 10.4.3

  • Fix #2508: improve the precision of stirlingS2 (#2509). Thanks @gwhitney.
  • Fix #2514: implement optional argument base in the number implementation of function log (#2515). Thanks @gwhitney.
  • Improve the documentation on operator ; (#2512). Thanks @gwhitney.
josdejong
published 10.4.2 •

Changelog

Source

2022-03-29, version 10.4.2

  • Fix #2499: different behavior for unit conversion "degC" and "K" (#2501). Also disables getting the sign for units with an offset, which is ambiguous. Thanks @gwhitney.
  • Fix #2503: fix an issue in log() for complex numbers in which the imaginary part is much larger in absolute value than the real part, fixed in complex.js@2.1.0 (#2505), thanks @gwhitney, @infusion.
  • Fix #2493: unclear error message when an entity that is not a function is being called as a function (#2494). Thanks @gwhitney.
  • Some fixes in the docs on units (#2498). Thanks @dvd101x.
  • Add forEach example in embedded docs (#2507). Thanks @dvd101x.
  • Correct approx.deepEqual() to accept an epsilon argument giving the comparison tolerance. It was already being called this way, but was silently ignoring the tolerance. Thanks @yifanwww.
josdejong
published 10.4.1 •

Changelog

Source

2022-03-23, version 10.4.1

  • Improve TypeScript definitions for function unit (#2479). Thanks @SinanAkkoyun.
  • Add tests for type declarations (#2448). Thanks @samestep.
  • Further improvement to TypeScript definitions of std and variance (make dimension parameter optional, #2474). Thanks @NattapongSiri.
  • Next step (as per #2431) for full publication of "is" functions like isMatrix etc: Provide TypeScript definitions of "is" functions and make them type guards. (#2432). Thanks @ChristopherChudzicki.
  • Fix #2491: Multi line object expressions don't work with comments (#2492). Thanks @gwhitney.
  • Fix #2478: a bug in calculating the eigenvectors when dealing with complex numbers (#2496). Thanks @gwhitney.
  • Update project dependencies and devDependencies.
josdejong
published 10.4.0 •

Changelog

Source

2022-03-07, version 10.4.0

  • Fix #2461: make sure simplifyCore recurses over all binary nodes (#2462). Thanks @gwhitney.
  • Fix #2429: fix the TypeScript definitions of functions std and variance (#2455). Thanks @NattapongSiri.
  • Fix #1633: implement a cumsum function generating cumulative sums of a list of values or a matrix. (#1870). Thanks @hjonasson.
  • Upgrade to the latest version of Fraction.js, having more strict input, only accepting an integer numerator and denominator. See #2427.
  • Fix typo in documentation example for format. (#2468) Thanks @abranhe.
  • Write unit tests for all jsdoc examples. See #2452. Thanks @gwhitney.
josdejong
published 10.3.0 •

Changelog

Source

2021-03-02, version 10.3.0

  • Fix #1260: implement function symbolicEqual (#2424). Thanks @gwhitney.
  • Fix #2441, #2442: support passing a function as argument to functions created in the expression parser (#2443). Thanks @gwhitney.
  • Fix #2325: improve documentation of subset indices (#2446). Thanks @gwhitney.
  • Fix #2439: fix a bug in complexEigs in which real-valued norms were inadvertently being typed as complex numbers (#2445). Thanks @gwhitney.
  • Fix #2436: improve documentation and error message of function map (#2457). Thanks @gwhitney.
josdejong
published 10.2.0 •

Changelog

Source

2022-03-01, version 10.2.0

  • Implemented context options to control simplifications allowed in simplify, see #2399, #2391. Thanks @gwhitney.
  • Implemented function leafCount as a first simple measure of the complexity of an expression, see #2411, #2389. Thanks @gwhitney.
  • Fix #2413: improve combinations to return an integer result without rounding errors for larger values, see #2414. Thanks @gwhitney.
  • Fix #2385: function rotate missing in TypeScript definitions. Thanks @DIVYA-19.
  • Fix #2450: Add BigNumber to parameter type in math.unit and add TypeScript types for Unit.simplify and Unit.units (#2353). Thanks @joshhansen.
  • Fix #2383: detect infinite loops in simplify (#2405). Thanks @gwhitney.
  • Fix #1423: collect like factors and cancel like terms in sums (#2388). Thanks @gwhitney.
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc