mathjs 11.3.0 → 11.3.2
Sign up to get free protection for your applications and to get access to all the features.
- package/HISTORY.md +17 -1
- package/README.md +1 -1
- 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/expression/node/FunctionAssignmentNode.js +21 -0
- package/lib/cjs/header.js +2 -2
- package/lib/cjs/type/unit/Unit.js +9 -14
- package/lib/cjs/utils/map.js +8 -6
- package/lib/cjs/version.js +1 -1
- package/lib/esm/expression/node/FunctionAssignmentNode.js +9 -0
- package/lib/esm/type/unit/Unit.js +9 -14
- package/lib/esm/version.js +1 -1
- package/package.json +12 -12
- package/types/index.d.ts +108 -49
- package/types/index.ts +0 -2330
- package/types/tsconfig.json +0 -23
package/HISTORY.md
CHANGED
@@ -1,8 +1,24 @@
|
|
1
1
|
# History
|
2
2
|
|
3
|
+
# 2022-10-25, 11.3.2
|
4
|
+
|
5
|
+
- Add generics to remaining Node type definitions (#2733). Thanks @mattvague.
|
6
|
+
- Allow unit prefixes for (absolute) temperatures `kelvin`, `rankine`,
|
7
|
+
`celsius`, and `fahrenheit` (#2824). Thanks @jfeist
|
8
|
+
|
9
|
+
# 2022-10-19, 11.3.1
|
10
|
+
|
11
|
+
- Fix #2809: code completion issues in some IDE's (#2812).
|
12
|
+
- Fix #2818: throw an error when a function assignment has duplicate
|
13
|
+
parameter names (#2819).
|
14
|
+
- Update `decimal.js` to version `10.4.2`.
|
15
|
+
|
3
16
|
# 2022-10-11, 11.3.0
|
4
17
|
|
5
|
-
- Allow creating new subclasses of `Node` in TypeScript.
|
18
|
+
- Allow creating new subclasses of `Node` in TypeScript (#2772).
|
19
|
+
Note that this disables being able to narrow MathNodes by using the `.type`
|
20
|
+
property. Use typeguards like `isOperatorNode(...)` instead (see #2810).
|
21
|
+
Thanks @mattvague.
|
6
22
|
- Fix #2793: `flatten()` cloning entries of array/Matrix (#2799).
|
7
23
|
- Fix #2627: TypeScript definitions of `pinv` missing (#2804).
|
8
24
|
Thanks @HanchaiN.
|
package/README.md
CHANGED
@@ -11,7 +11,7 @@ Math.js is an extensive math library for JavaScript and Node.js. It features a f
|
|
11
11
|
[![License](https://img.shields.io/github/license/josdejong/mathjs.svg)](https://github.com/josdejong/mathjs/blob/master/LICENSE)
|
12
12
|
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fjosdejong%2Fmathjs.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fjosdejong%2Fmathjs?ref=badge_shield)
|
13
13
|
[![Codecov](https://codecov.io/gh/josdejong/mathjs/branch/develop/graph/badge.svg)](https://codecov.io/gh/josdejong/mathjs)
|
14
|
-
[![Foresight
|
14
|
+
[![Foresight](https://api-public.service.runforesight.com/api/v1/badge/test?repoId=13cb22bf-6cd5-4c4b-a9de-46081ac63ffb)](https://mathjs.app.runforesight.com/)
|
15
15
|
[![Github Sponsor](https://camo.githubusercontent.com/7d9333b097b2f54a8957d126ab82937811489c9b75c3850f609985cf94cd29fe/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2532302d53706f6e736f722532306d652532306f6e2532304769744875622d6f72616e6765)](https://github.com/sponsors/josdejong)
|
16
16
|
|
17
17
|
## Sponsors
|