mathjs 12.3.0 → 12.3.2
Sign up to get free protection for your applications and to get access to all the features.
- package/HISTORY.md +27 -0
- package/lib/browser/math.js +1 -1
- package/lib/browser/math.js.LICENSE.txt +2 -2
- package/lib/browser/math.js.map +1 -1
- package/lib/cjs/entry/configReadonly.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesHelpClass.generated.js +2 -2
- package/lib/cjs/entry/dependenciesNumber/dependenciesHelpClass.generated.js +2 -2
- package/lib/cjs/entry/impureFunctionsAny.generated.js +14 -14
- package/lib/cjs/entry/impureFunctionsNumber.generated.js +1 -1
- package/lib/cjs/entry/pureFunctionsAny.generated.js +11 -11
- package/lib/cjs/expression/Help.js +21 -4
- package/lib/cjs/expression/node/OperatorNode.js +2 -1
- package/lib/cjs/expression/transform/utils/compileInlineExpression.js +5 -4
- package/lib/cjs/function/string/bin.js +3 -3
- package/lib/cjs/function/string/format.js +3 -3
- package/lib/cjs/function/string/hex.js +3 -3
- package/lib/cjs/function/string/oct.js +3 -3
- package/lib/cjs/header.js +2 -2
- package/lib/cjs/type/unit/physicalConstants.js +1 -1
- package/lib/cjs/utils/bignumber/formatter.js +17 -27
- package/lib/cjs/utils/map.js +174 -14
- package/lib/cjs/utils/number.js +75 -33
- package/lib/cjs/utils/scope.js +4 -10
- package/lib/cjs/version.js +1 -1
- package/lib/esm/entry/configReadonly.js +1 -1
- package/lib/esm/entry/dependenciesAny/dependenciesHelpClass.generated.js +2 -2
- package/lib/esm/entry/dependenciesNumber/dependenciesHelpClass.generated.js +2 -2
- package/lib/esm/entry/impureFunctionsAny.generated.js +16 -16
- package/lib/esm/entry/impureFunctionsNumber.generated.js +1 -1
- package/lib/esm/entry/pureFunctionsAny.generated.js +12 -12
- package/lib/esm/expression/Help.js +21 -4
- package/lib/esm/expression/node/OperatorNode.js +2 -1
- package/lib/esm/expression/transform/utils/compileInlineExpression.js +5 -4
- package/lib/esm/function/string/bin.js +3 -3
- package/lib/esm/function/string/format.js +3 -3
- package/lib/esm/function/string/hex.js +3 -3
- package/lib/esm/function/string/oct.js +3 -3
- package/lib/esm/type/unit/physicalConstants.js +1 -1
- package/lib/esm/utils/bignumber/formatter.js +19 -28
- package/lib/esm/utils/map.js +97 -1
- package/lib/esm/utils/number.js +76 -34
- package/lib/esm/utils/scope.js +5 -11
- package/lib/esm/version.js +1 -1
- package/package.json +12 -12
- package/types/index.d.ts +30 -18
package/HISTORY.md
CHANGED
@@ -1,6 +1,33 @@
|
|
1
1
|
# History
|
2
2
|
|
3
3
|
|
4
|
+
# 2024-02-08, 12.3.2
|
5
|
+
|
6
|
+
- Improved the performance of custom defined functions in the expression
|
7
|
+
parser (#3150).
|
8
|
+
- Fix: #3143 cannot use `and` and `or` inside a function definition.
|
9
|
+
Regression since `v12.1.0` (#3150).
|
10
|
+
|
11
|
+
|
12
|
+
# 2024-02-01, 12.3.1
|
13
|
+
|
14
|
+
- Improved the typings of the arguments of `ArrayNode`, `FunctionNode`,
|
15
|
+
`IndexNode`, `OperatorNode`, and `RelationalNode` (#3123). Thanks @sylee957.
|
16
|
+
- Added a fully featured code editor example with CodeMirror and Katex (#3027).
|
17
|
+
Thanks @dvd101x.
|
18
|
+
- Fix: #3114 build warnings related to a number of wrong `/* #__PURE__ */`
|
19
|
+
annotations.
|
20
|
+
- Fix: #3142 support BigNumber values for the options of function `format`:
|
21
|
+
`precision`, `wordSize`, `lowerExp`, `upperExp`. Support BigNumber values
|
22
|
+
for the option `wordSize` in the functions `hex`, `bin`, and `oct`.
|
23
|
+
- Fix: #3125 type definitions of function `hypot` (#3144).
|
24
|
+
Thanks @silentmissile.
|
25
|
+
- Fix: #3141 `help(config)` altering the actual `config` when evaluating the
|
26
|
+
examples.
|
27
|
+
- Docs: #3145 fix documentation about REPL, it does require a build step
|
28
|
+
nowadays.
|
29
|
+
|
30
|
+
|
4
31
|
# 2024-01-12, 12.3.0
|
5
32
|
|
6
33
|
- Implement support new metric prefixes: `ronna` (`R`), `quetta` (`Q`),
|