Skip to content

Bump mathjs from 11.11.2 to 12.0.0

HIFIS Bot requested to merge dependabot/npm_and_yarn/mathjs-12.0.0 into master

Bumps mathjs from 11.11.2 to 12.0.0.

Changelog

Sourced from mathjs's changelog.

2023-10-26, 12.0.0

Breaking changes:

  • Fix #2879, #2927, #3014: change the confusing interface of eigs (#3037), thanks @​gwhitney. Before, functions eigs returned an object:
    { values: MathCollection; vectors: MathCollection }
    where vectors was a 2d matrix of which the columns contained the vectors. This is changed to eigs returning an object:
    { 
      values: MathCollection
      eigenvectors: Array<{
        value: number | BigNumber
        vector: MathCollection
      }>
    }
    Where eigenvectors is an array containing an object with the corresponding eigenvalue and vector.
  • Refactored the TypeScript type definitions to make them work with a NodeNext module resolution (#3079, #2919).
    • Type MathJsStatic is renamed to MathJsInstance.
    • Type FactoryDependencies is deprecated, use MathJsFactory instead, and import dependency maps directly from the library.
  • Change the assignment operator of .toTex() output from := to = (see #2980, #2987).
  • Drop official support for Node.js 14 and 16.

Features:

  • Function eigs now has an option to turn off calculation of eigenvectors (#3057, #2180). Thanks @​gwhitney.

Fixes:

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),

... (truncated)

Commits
  • 667b274 chore: publish v12.0.0
  • 7ea47a7 docs: update deprecation messages
  • 544b86f fix: #2919 TypeScript types not working with NodeNext module resolution (#3079)
  • 3030c6b Merge branch 'develop' into v12
  • 42f4240 chore: publish v11.12.0
  • 10a89af chore: update devDependencies
  • dcbcda8 fix: #2960 add type definition of function symbolicEqual (#3035)
  • 843a5fd chore: make the unit test more robust
  • 0222ff7 fix: function clone not throwing an error in case of an unsupported type li...
  • 8f8e506 feat: implement subtractScalar (#3081, #2643)
  • Additional commits viewable in compare view

Merge request reports