Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEUTRAL] Update dependency mathjs to v12 - autoclosed #897

Closed

Conversation

mend-for-github-com[bot]
Copy link

@mend-for-github-com mend-for-github-com bot commented Nov 2, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mathjs (source) ^7.0.0 -> ^12.0.0 age adoption passing confidence

Release Notes

josdejong/mathjs (mathjs)

v12.4.3

Compare Source

  • 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.

v12.4.2

Compare Source

  • 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.

v12.4.1

Compare Source

  • 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.

v12.4.0

Compare Source

v12.3.2

Compare Source

  • 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).

v12.3.1

Compare Source

  • 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.

v12.3.0

Compare Source

v12.2.1

Compare Source

  • Fix #​3109: method Node.toHTML not accepting a custom handler.

v12.2.0

Compare Source

v12.1.0

Compare Source

  • Feat: Extend function round with support for units (#​2761, #​3095).
  • Feat: Extend function mod with support for negative divisors in when
    using BigNumber or Fraction (#​3087).
  • Fix: #​3092 a typo in an error message when converting a string into a number.
  • Fix: #​3094 function derivative mutates the input expression when it fails.

v12.0.0

Compare Source

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:

Fixes:

v11.12.0

Compare Source

v11.11.2

Compare Source

  • 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.

v11.11.1

Compare Source

v11.11.0

Compare Source

v11.10.1

Compare Source

  • 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.

v11.10.0

Compare Source

v11.9.1

Compare Source

  • 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).

v11.9.0

Compare Source

v11.8.2

Compare Source

  • 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.

v11.8.1

Compare Source

  • 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.

v11.8.0

Compare Source

v11.7.0

Compare Source

  • Implement #​2567: accept array as parameter for function gcd (#​2878).
    Thanks @​jakubriegel.
  • Fix #​2908: improvements in the docs and examples of functions
    partitionSelect, diff, expm1, round, nthRoots, sign,
    rigthArithShift, setIsSubset, setSize, and the docs about units.
    Thanks @​tmtron.
  • Fix #​2907: determinant of empty matrix should be 1.
  • Refactor index.d.ts by writing function declarations using a generic,
    reducing a lot of repetition (#​2913). Thanks @​brunoSnoww.

v11.6.0

Compare Source

  • Implement broadcasting for the following functions and their corresponding
    operator: add, dotDivide, dotMultiply, dotPow, gcd, lcm, mod,
    nthRoot, subtract, bitAnd, bitOr, bitXor, leftShift,
    rightArithShift, rightLogShift, and, or, xor, compare,
    compareText, equal, larger, largerEq, smaller, smallerEq,
    unequal, atan2 and to (#​2895, #​2753). Thanks @​dvd101x.
  • Implement support for non-power-of-2 fft (#​2900, #​2577). Thanks @​cyavictor88.
  • Fix #​2888: update type definitions of function unit to allow creating a
    unit from a fraction or complex number.
  • Fix #​2892: an error in the examples of the embedded help of function sort.
  • Fix #​2891: functions column and row sometimes returning a scalar number.
  • Fix #​2896: define the fourth argument of function intersect as optional
    in the TypeScript definitions. Thanks @​wodndb.
  • Fix: quantileSeq not accepting a matrix as second argument prob (see #​2902).
  • Fix broken examples in functions to, distance, getMatrixDataType,
    subset, and max (see #​2902).

v11.5.1

Compare Source

v11.5.0

Compare Source

  • Improve simplify rule matches in non-commutative contexts (#​2841).
    Thanks @​samueltlg.
  • Simplify: add rules and restructure tests for non-commutative contexts
    (#​2847). Thanks @​samueltlg.
  • Fix function reshape mutating the input in case of a matrix (see #​2854).
  • Fix TypeScript types for multiply() with number[] and number[][]
    (#​2852). Thanks @​hfhchan.

v11.4.0

Compare Source

  • Implemented more wildcards to describe rules for simplify, making it easier
    for example to describe unary minus (#​1915). Thanks @​thatcomputerguy0101.
  • Implemented functions schur, sylvester, and lyap (#​2646).
    Thanks @​egidioln.
  • Implemented function polynomialRoot, and use it in a benchmark (#​2839).
    Thanks @​gwhitney.
  • Fix #​2825 partly: improve simplifying operations on constants in
    non-commutative contexts (#​2827). Thanks @​samueltlg.
  • Fix #​2840: a bug in the docs and type definitions of Node.traverse and
    Node.forEach, they do return void.

v11.3.3

Compare Source

v11.3.2

Compare Source

  • Add generics to remaining Node type definitions (#​2733). Thanks @​mattvague.
  • Allow unit prefixes for (absolute) temperatures kelvin, rankine,
    celsius, and fahrenheit (#​2824). Thanks @​jfeist

v11.3.1

Compare Source

  • Fix #​2809: code completion issues in some IDE's (#​2812).
  • Fix #​2818: throw an error when a function assignment has duplicate
    parameter names (#​2819).
  • Update decimal.js to version 10.4.2.

v11.3.0

Compare Source

  • Allow creating new subclasses of Node in TypeScript (#​2772).
    Note that this disables being able to narrow MathNodes by using the .type
    property. Use typeguards like isOperatorNode(...) instead (see #​2810).
    Thanks @​mattvague.
  • Fix #​2793: flatten() cloning entries of array/Matrix (#​2799).
  • Fix #​2627: TypeScript definitions of pinv missing (#​2804).
    Thanks @​HanchaiN.
  • Update dependencies to decimal.js@10.4.1.

v11.2.1

Compare Source

  • Fix doc generator being broken, not generating a function reference.

v11.2.0

Compare Source

v11.1.0

Compare Source

  • Add Unit constructor from value and pure (valueless) Unit (#​2628).
    Thanks @​costerwi
  • Fix #​2144: examples/advanced/custom_loading.js was broken.
  • Fix JSON replacer function missing in the TypeScript definitions.
    Thanks @​mattvague.
  • Update dependencies to typed-function@4.1.0 and decimal.js@10.4.0.

v11.0.1

Compare Source

  • Fix #​2632: TypeScript issue of simplifyConstant and simplifyCore
    not having a return type defined.

v11.0.0

Compare Source

!!! BE CAREFUL: BREAKING CHANGES !!!

Breaking changes:

  • Dropped official support for IE11.
  • Upgraded to typed-function@3, see josdejong/typed-function/HISTORY.md. Thanks @​gwhitney. Most importantly:
    • Conversions now have preference over any.
    • The this variable is no longer bound to the typed function itself.
    • The properties typed.types, typed.conversions, and typed.ignore
      have been removed.
    • There are new static functions available like typed.referTo,
      typed.referToSelf, typed.addTypes, typed.addConversions.
  • Implement amended "Rule 2" for implicit multiplication (#​2370, #​2460):
    when having a division followed by an implicit multiplication, the division
    gets higher precedence over the implicit multiplication when (a) the
    numerator is a constant with optionally a prefix operator (-, +, ~),
    and (b) the denominator is a constant. For example: formerly -1 / 2 x was
    interpreted as -1 / (2 * x) and now it is interpreted as (-1 / 2) * x.
    Thanks @​gwhitney.
  • Drop elementwise matrix support for trigonometric functions, exp, log, gamma,
    square, sqrt, cube, and cbrt to prevent confusion with standard matrix
    functions (#​2440, #​2465). Instead, use math.map(matrix, fn).
    Thanks @​gwhitney.
  • Simplify: convert equivalent function calls into operators, for example,
    add(2, x) will now be simplified into 2 + x (#​2415, #​2466).
    Thanks @​gwhitney.
  • Removed the automatic conversion from number to string (#​2482).
    Thanks @​gwhitney.
  • Fix #​2412: let function diff return an empty matrix when the input contains
    only one element (#​2422).
  • Internal refactoring in the simplifyCore logic (#​2490, #​2484, #​2459).
    The function simplifyCore will no longer (partially) merge constants, that
    behavior has been moved to simplifyConstant. The combination of
    simplifyConstant and simplifyCore is still close to the old behavior
    of simplifyCore, but there are some differences. To reproduce the same
    behavior as the old simplifyCore, you can use
    math.simplify(expr, [math.simplifyCore, math.simplifyConstant]).
    Thanks to the refactoring, simplify is more thorough in reducing constants.
    Thanks @​gwhitney.
  • Disable support for splitting rest parameters in chained calculations
    (#​2485, #​2474). For example: math.chain(3).max(4, 2).done() will now throw
    an error rather than return 4, because the rest parameter of
    math.max(...number) has been split between the contents of the chain and
    the arguments to the max call. Thanks @​gwhitney.
  • Function typeOf now returns function (lowercase) for a function instead
    of Function (#​2560). Thanks @​gwhitney.

Non-breaking changes:

v10.6.4

Compare Source

  • Improve TypeScript definitions of the factory function, thanks @​mattvague.

v10.6.3

Compare Source

  • Revert the TypeScript definition fixes for factory applied in v10.6.2,
    they give some complications.

v10.6.2

Compare Source

  • Improve TypeScript definitions of ParenthesisNode. Thanks @​mattvague.
  • Change the TypeScript definition of MathNodeCommon['type'] into a less
    strict string, so it is possible to extend with new Node classes.
    Thanks @​mattvague.
  • Improve TypeScript definitions of the factory function, thanks @​mattvague.

v10.6.1

Compare Source

  • Improve the TypeScript types For OperatorNode: you can now define generic
    types like OperatorNode<'+', 'add'>. Thanks @​mattvague.

v10.6.0

Compare Source

v10.5.3

Compare Source

  • 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.

v10.5.2

Compare Source

  • 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.

v10.5.1

Compare Source

  • 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.

v10.5.0

Compare Source

v10.4.3

Compare Source

v10.4.2

Compare Source

  • 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.

v10.4.1

Compare Source

v10.4.0

Compare Source

v10.3.0

Compare Source

v10.2.0

Compare Source

v10.1.1

[Compare Source](https://togithub.com/josdejong/mathjs/compare/v10.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

Copy link
Author

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: zenbot4@4.1.0
npm ERR! Found: webpack@4.47.0
npm ERR! node_modules/webpack
npm ERR!   webpack@"^4.44.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer webpack@"^5.0.0" from postcss-loader@5.3.0
npm ERR! node_modules/postcss-loader
npm ERR!   postcss-loader@"^5.0.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate/cache/others/npm/_logs/2023-11-02T02_09_21_056Z-debug-0.log

@mend-for-github-com mend-for-github-com bot changed the title [NEUTRAL] Update dependency mathjs to v12 [NEUTRAL] Update dependency mathjs to v12 - autoclosed May 31, 2024
@mend-for-github-com mend-for-github-com bot deleted the whitesource-remediate/mathjs-12.x branch May 31, 2024 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants