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

13
29

13.0.0

Diff

Changelog

Source

2024-05-31, 13.0.0

Breaking changes:

  • Change isZero, isPositive, and isNegative to respect config.epsilon (#3139, #2838).
  • Change the behavior of the internal nearlyEqual to align with Python and Julia (#3152, #2838)
  • Upgrade to fraction.js@4.3.7, see https://github.com/rawify/Fraction.js/issues/68.
  • Dropped support for JavaScript engines that do not fully support ES6 or bigint, or are not actively maintained. ES2020 is now the minimum required EcmaScript version.

Non-breaking changes:

  • Implemented support for bigint (#3207, #3207)
  • Implemented a new config option config.numberFallback needed for bigint (#3207).
  • Internal: refactored tooling to ES modules and upgraded all devDependencies.
josdejong
published 12.4.3 •

Changelog

Source

2024-05-31, 12.4.3

  • Fix: serialization of Units without a value, see #1240.
  • Fix: outdated, incorrect documentation about the order of precedence for operator modulus %. See #3189.
  • Fix: #3197 improve quantileSeq type definitions (#3198). Thanks @domdomegg.
josdejong
published 12.4.2 •

Changelog

Source

2024-04-24, 12.4.2

  • Fix #3192: function isNaN returns false for NaN units in a matrix or array (#3193). Thanks @lgerin.
  • Fix: #3180 fix type definitions of functions add and multiply to allow more than two arguments.
  • Docs: correct the docs about traverse returning void (#3177). Thanks @rohildshah.
josdejong
published 12.4.1 •

Changelog

Source

2024-03-13, 12.4.1

  • Docs: implement an interactive version of the Lorenz example, and show the chart full screen (#3151). Thanks @dvd101x.
  • Fix #3172: simplify "true and true".
  • Fix #3163: toTex wrongly returning Infinity for large BigNumbers.
  • Fix #3162: add license information about CSParse (#3164).
  • Fix #3175: cannot delete units using math.Unit.deleteUnit.
  • Fix: faster startup time of the CLI and REPL by loading the bundle.
  • Fix: remove using polyfill.io inside the example pretty_printing_with_mathjax.html (#3167). Thanks @SukkaW.
josdejong
published 12.4.0 •

Changelog

Source

2024-02-22, 12.4.0

  • Feat: implement support for trailing commas in matrices (#3154, #2968). Thanks @dvd101x.
  • Feat: improve the performance of multiply a lot by adding matrix type inferencing (#3149). Thanks @RandomGamingDev.
  • Fix: #3100 function round not handling round-off errors (#3136). Thanks @BrianFugate.
  • Fix: PartitionedMap and ObjectWrappingMap missing a property Symbol.iterator, causing problems when trying new Map(scope) (#3156).
  • Fix: type definitions of function mode (#3153). Thanks @rich-martinez.
  • Docs: describe method getAllAsMap in the Parser docs (#3158, #3157). Thanks @dvd101x.
josdejong
published 12.3.2 •

Changelog

Source

2024-02-08, 12.3.2

  • Improved the performance of custom defined functions in the expression parser (#3150).
  • Fix: #3143 cannot use and and or inside a function definition. Regression since v12.1.0 (#3150).
josdejong
published 12.3.1 •

Changelog

Source

2024-02-01, 12.3.1

  • Improved the typings of the arguments of ArrayNode, FunctionNode, IndexNode, OperatorNode, and RelationalNode (#3123). Thanks @sylee957.
  • Added a fully featured code editor example with CodeMirror and Katex (#3027). Thanks @dvd101x.
  • Fix: #3114 build warnings related to a number of wrong /* #__PURE__ */ annotations.
  • Fix: #3142 support BigNumber values for the options of function format: precision, wordSize, lowerExp, upperExp. Support BigNumber values for the option wordSize in the functions hex, bin, and oct.
  • Fix: #3125 type definitions of function hypot (#3144). Thanks @silentmissile.
  • Fix: #3141 help(config) altering the actual config when evaluating the examples.
  • Docs: #3145 fix documentation about REPL, it does require a build step nowadays.
josdejong
published 12.3.0 •

Changelog

Source

2024-01-12, 12.3.0

  • Implement support new metric prefixes: ronna (R), quetta (Q), ronto (r), and quecto (q) (#3113, #3112). Thanks @AlexEdgcomb.
  • Fix a bug converting a unitless unit (#3117). Thanks @costerwi.
  • Fix: #3097 toSI() wrongly converting degC (#3118). Thanks @costerwi.
josdejong
published 12.2.1 •

Changelog

Source

2023-12-20, 12.2.1

  • Fix #3109: method Node.toHTML not accepting a custom handler.
josdejong
published 12.2.0 •

Changelog

Source

2023-12-08, 12.2.0

  • Feat: lazy evaluation of operators and, or, &, | (#3090, #3101, #2766). Thanks @smith120bh.
  • Fix: passing a 4th argument with a scope to raw functions.
  • Fix: #3096 embedded docs of eigs throwing an error.
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