mathjs 12.2.0 → 12.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/HISTORY.md +13 -0
- package/NOTICE +1 -1
- package/README.md +4 -3
- package/bin/cli.js +1 -1
- package/lib/browser/math.js +1 -1
- package/lib/browser/math.js.LICENSE.txt +3 -3
- package/lib/browser/math.js.map +1 -1
- package/lib/cjs/expression/node/AccessorNode.js +6 -7
- package/lib/cjs/expression/node/ArrayNode.js +6 -7
- package/lib/cjs/expression/node/AssignmentNode.js +6 -7
- package/lib/cjs/expression/node/BlockNode.js +6 -7
- package/lib/cjs/expression/node/ConditionalNode.js +6 -7
- package/lib/cjs/expression/node/ConstantNode.js +6 -7
- package/lib/cjs/expression/node/FunctionAssignmentNode.js +6 -7
- package/lib/cjs/expression/node/FunctionNode.js +7 -8
- package/lib/cjs/expression/node/IndexNode.js +6 -7
- package/lib/cjs/expression/node/Node.js +18 -5
- package/lib/cjs/expression/node/ObjectNode.js +6 -7
- package/lib/cjs/expression/node/OperatorNode.js +6 -7
- package/lib/cjs/expression/node/ParenthesisNode.js +6 -7
- package/lib/cjs/expression/node/RangeNode.js +6 -7
- package/lib/cjs/expression/node/RelationalNode.js +6 -7
- package/lib/cjs/expression/node/SymbolNode.js +6 -7
- package/lib/cjs/header.js +3 -3
- package/lib/cjs/type/unit/Unit.js +86 -2
- package/lib/cjs/version.js +1 -1
- package/lib/esm/expression/node/AccessorNode.js +1 -1
- package/lib/esm/expression/node/ArrayNode.js +1 -1
- package/lib/esm/expression/node/AssignmentNode.js +1 -1
- package/lib/esm/expression/node/BlockNode.js +1 -1
- package/lib/esm/expression/node/ConditionalNode.js +1 -1
- package/lib/esm/expression/node/ConstantNode.js +1 -1
- package/lib/esm/expression/node/FunctionAssignmentNode.js +1 -1
- package/lib/esm/expression/node/FunctionNode.js +1 -1
- package/lib/esm/expression/node/IndexNode.js +1 -1
- package/lib/esm/expression/node/Node.js +15 -4
- package/lib/esm/expression/node/ObjectNode.js +1 -1
- package/lib/esm/expression/node/OperatorNode.js +1 -1
- package/lib/esm/expression/node/ParenthesisNode.js +1 -1
- package/lib/esm/expression/node/RangeNode.js +1 -1
- package/lib/esm/expression/node/RelationalNode.js +1 -1
- package/lib/esm/expression/node/SymbolNode.js +1 -1
- package/lib/esm/header.js +1 -1
- package/lib/esm/type/unit/Unit.js +86 -2
- package/lib/esm/version.js +1 -1
- package/package.json +15 -15
package/HISTORY.md
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
# History
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
# 2024-01-12, 12.3.0
|
|
5
|
+
|
|
6
|
+
- Implement support new metric prefixes: `ronna` (`R`), `quetta` (`Q`),
|
|
7
|
+
`ronto` (`r`), and `quecto` (`q`) (#3113, #3112). Thanks @AlexEdgcomb.
|
|
8
|
+
- Fix a bug converting a unitless unit (#3117). Thanks @costerwi.
|
|
9
|
+
- Fix: #3097 `toSI()` wrongly converting `degC` (#3118). Thanks @costerwi.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
# 2023-12-20, 12.2.1
|
|
13
|
+
|
|
14
|
+
- Fix #3109: method `Node.toHTML` not accepting a custom `handler`.
|
|
15
|
+
|
|
16
|
+
|
|
4
17
|
# 2023-12-08, 12.2.0
|
|
5
18
|
|
|
6
19
|
- Feat: lazy evaluation of operators `and`, `or`, `&`, `|` (#3090, #3101,
|
package/NOTICE
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
math.js
|
|
2
2
|
https://github.com/josdejong/mathjs
|
|
3
3
|
|
|
4
|
-
Copyright (C) 2013-
|
|
4
|
+
Copyright (C) 2013-2024 Jos de Jong <wjosdejong@gmail.com>
|
|
5
5
|
|
|
6
6
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
7
|
you may not use this file except in compliance with the License.
|
package/README.md
CHANGED
|
@@ -7,11 +7,12 @@ Math.js is an extensive math library for JavaScript and Node.js. It features a f
|
|
|
7
7
|
[](https://www.npmjs.com/package/mathjs)
|
|
8
8
|
[](https://www.npmjs.com/package/mathjs)
|
|
9
9
|
[](https://github.com/josdejong/mathjs/actions)
|
|
10
|
-
[](https://github.com/josdejong/mathjs/graphs/commit-activity)
|
|
11
11
|
[](https://github.com/josdejong/mathjs/blob/master/LICENSE)
|
|
12
12
|
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fjosdejong%2Fmathjs?ref=badge_shield)
|
|
13
13
|
[](https://codecov.io/gh/josdejong/mathjs)
|
|
14
|
-
[](https://github.com/sponsors/josdejong)
|
|
15
16
|
|
|
16
17
|
## Features
|
|
17
18
|
|
|
@@ -194,7 +195,7 @@ Thanks Github Actions and BrowserStack for the generous free hosting of this ope
|
|
|
194
195
|
|
|
195
196
|
## License
|
|
196
197
|
|
|
197
|
-
Copyright (C) 2013-
|
|
198
|
+
Copyright (C) 2013-2024 Jos de Jong <wjosdejong@gmail.com>
|
|
198
199
|
|
|
199
200
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
200
201
|
you may not use this file except in compliance with the License.
|
package/bin/cli.js
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
* cat script.txt | mathjs > results.txt Run input stream, output to file
|
|
31
31
|
*
|
|
32
32
|
* @license
|
|
33
|
-
* Copyright (C) 2013-
|
|
33
|
+
* Copyright (C) 2013-2024 Jos de Jong <wjosdejong@gmail.com>
|
|
34
34
|
*
|
|
35
35
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
36
36
|
* use this file except in compliance with the License. You may obtain a copy
|