This repository was archived by the owner on Jul 13, 2023. It is now read-only.
fix(deps): update dependency mathjs to v6#261
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^5.1.0->^6.0.0Release Notes
josdejong/mathjs
v6.0.1Compare Source
evaluateandparsemissing in generated docs.v6.0.0Compare Source
!!! BE CAREFUL: BREAKING CHANGES !!!
Most notable changes
Full support for ES6 modules. Support for tree-shaking out of the box.
Load all functions:
Use a few functions:
Load all functions with custom configuration:
Load a few functions with custom configuration:
Support for lightweight, number-only implementations of all functions:
New dependency injection solution used under the hood.
Breaking changes
Node 6 is no longer supported.
Functions
configandimportare not available anymore in the globalcontext:
Instead, create your own mathjs instance and pass config and imports
there:
Renamed function
typeoftotypeOf,vartovariance,and
evaltoevaluate. (the old function names are reserved keywordswhich can not be used as a variable name).
Deprecated the
Matrix.storagefunction. Usemath.matrixinstead to createa matrix.
Deprecated function
math.expression.parse, usemath.parseinstead.Was used before for example to customize supported characters by replacing
math.parse.isAlpha.Moved all classes like
math.type.Unitandmath.expression.Parsertomath.Unitandmath.Parserrespectively.Fixed #1428: transform iterating over replaced nodes. New behavior
is that it stops iterating when a node is replaced.
Dropped support for renaming factory functions when importing them.
Dropped fake BigNumber support of function
erf.Removed all index.js files used to load specific functions instead of all, like:
Individual functions are now loaded simply like:
To set a specific configuration on the functions:
See example
advanced/custom_loading.js.Updated the values of all physical units to their latest official values.
See #1529. Thanks @ericman314.
Non breaking changes
t,tonne,bel,decibel,dB, and prefixesfor
candela. Thanks @mcvladthegoat.epsilonsetting being applied globally to Complex numbers.math.simplify('add(2, 3)')throwing an error.lowerExpandupperExpand after that rounded the value instead of the other way around.
'use strict'in every file, not needed anymore.Renovate configuration
📅 Schedule: "after 9am and before 3pm" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR is stale, or if you modify the PR title to begin with "
rebase!".🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.