mathjs 15.1.1 → 15.2.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 +10 -0
- package/README.md +2 -2
- 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/dependenciesAny/dependenciesDen.generated.js +19 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesNum.generated.js +19 -0
- package/lib/cjs/entry/dependenciesAny.generated.js +14 -0
- package/lib/cjs/entry/impureFunctionsAny.generated.js +123 -121
- package/lib/cjs/entry/pureFunctionsAny.generated.js +344 -336
- package/lib/cjs/expression/embeddedDocs/embeddedDocs.js +4 -0
- package/lib/cjs/expression/embeddedDocs/function/fraction/den.js +14 -0
- package/lib/cjs/expression/embeddedDocs/function/fraction/num.js +14 -0
- package/lib/cjs/factoriesAny.js +15 -1
- package/lib/cjs/function/fraction/den.js +60 -0
- package/lib/cjs/function/fraction/num.js +62 -0
- package/lib/cjs/header.js +2 -2
- package/lib/cjs/type/unit/Unit.js +7 -0
- package/lib/cjs/utils/array.js +3 -0
- package/lib/cjs/utils/customs.js +39 -46
- package/lib/cjs/utils/map.js +2 -2
- package/lib/cjs/version.js +1 -1
- package/lib/esm/entry/dependenciesAny/dependenciesDen.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesNum.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny.generated.js +2 -0
- package/lib/esm/entry/impureFunctionsAny.generated.js +125 -123
- package/lib/esm/entry/pureFunctionsAny.generated.js +341 -333
- package/lib/esm/expression/embeddedDocs/embeddedDocs.js +4 -0
- package/lib/esm/expression/embeddedDocs/function/fraction/den.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/fraction/num.js +8 -0
- package/lib/esm/factoriesAny.js +3 -1
- package/lib/esm/function/fraction/den.js +54 -0
- package/lib/esm/function/fraction/num.js +56 -0
- package/lib/esm/type/unit/Unit.js +7 -0
- package/lib/esm/utils/array.js +3 -0
- package/lib/esm/utils/customs.js +42 -56
- package/lib/esm/utils/map.js +3 -3
- package/lib/esm/version.js +1 -1
- package/package.json +1 -1
- package/types/index.d.ts +51 -1
package/HISTORY.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# History
|
|
2
2
|
|
|
3
|
+
# 2026-04-07, 15.2.0
|
|
4
|
+
|
|
5
|
+
- Feat: Add amp-hour charge unit `Ah` (#3617). Thanks @adrfantini.
|
|
6
|
+
- Feat: #3595 implement `num` and `den` functions returning the parts of
|
|
7
|
+
a fraction (#3605). Thanks @AnslemHack.
|
|
8
|
+
- Fix: Provide TypeScript types for [and/or]TransformDependencies (#3639).
|
|
9
|
+
Thanks @NilsDietrich.
|
|
10
|
+
- Fix: two security vulnerabilities that allowed executing arbitrary JavaScript
|
|
11
|
+
via the expression parser. Thanks @CykuTW for finding and reporting them.
|
|
12
|
+
|
|
3
13
|
# 2026-02-10, 15.1.1
|
|
4
14
|
|
|
5
15
|
- Fix: #3631 Handle bigints in `compareNatural` (#3632). Thanks @Dheemanth07.
|
package/README.md
CHANGED
|
@@ -191,9 +191,9 @@ To see the coverage results, open the generated report in your browser:
|
|
|
191
191
|
|
|
192
192
|
### Continuous integration testing
|
|
193
193
|
|
|
194
|
-
Continuous integration tests are run on [GitHub Actions](https://github.com/josdejong/mathjs/actions) and [TestMu AI](https://www.
|
|
194
|
+
Continuous integration tests are run on [GitHub Actions](https://github.com/josdejong/mathjs/actions) and [TestMu AI](https://www.testmuai.com/?utm_medium=sponsor&utm_source=mathjs) (formerly LambdaTest) every time a commit is pushed to GitHub. GitHub Actions runs the tests for different versions of node.js, and TestMu AI runs the tests on all major browsers.
|
|
195
195
|
|
|
196
|
-
[](https://www.
|
|
196
|
+
[](https://www.testmuai.com/?utm_medium=sponsor&utm_source=mathjs)
|
|
197
197
|
|
|
198
198
|
Thanks, GitHub Actions and TestMu AI for the generous free hosting of this open source project!
|
|
199
199
|
|