@thi.ng/matrices 2.3.32 → 2.3.34
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/CHANGELOG.md +7 -1
- package/README.md +3 -3
- package/api.d.ts +2 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2024-04-
|
|
3
|
+
- **Last updated**: 2024-04-20T14:42:45Z
|
|
4
4
|
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
5
|
|
|
6
6
|
All notable changes to this project will be documented in this file.
|
|
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
|
|
|
9
9
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
10
10
|
and/or version bumps of transitive dependencies.
|
|
11
11
|
|
|
12
|
+
### [2.3.34](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@2.3.34) (2024-04-20)
|
|
13
|
+
|
|
14
|
+
#### ♻️ Refactoring
|
|
15
|
+
|
|
16
|
+
- update type usage ([c3f3751](https://github.com/thi-ng/umbrella/commit/c3f3751))
|
|
17
|
+
|
|
12
18
|
## [2.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@2.3.0) (2023-12-18)
|
|
13
19
|
|
|
14
20
|
#### 🚀 Features
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 192 standalone projects, maintained as part
|
|
11
11
|
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
|
@@ -81,10 +81,10 @@ import * as mat from "@thi.ng/matrices";
|
|
|
81
81
|
Browser ESM import:
|
|
82
82
|
|
|
83
83
|
```html
|
|
84
|
-
<script type="module" src="https://
|
|
84
|
+
<script type="module" src="https://esm.run/@thi.ng/matrices"></script>
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
-
[
|
|
87
|
+
[JSDelivr documentation](https://www.jsdelivr.com/)
|
|
88
88
|
|
|
89
89
|
For Node.js REPL:
|
|
90
90
|
|
package/api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Tuple, TypedArray } from "@thi.ng/api";
|
|
1
|
+
import type { Maybe, Tuple, TypedArray } from "@thi.ng/api";
|
|
2
2
|
import type { IVector, MultiVecOp, ReadonlyVec, Vec } from "@thi.ng/vectors";
|
|
3
3
|
export type Mat = Vec;
|
|
4
4
|
export type ReadonlyMat = ReadonlyVec;
|
|
@@ -11,7 +11,7 @@ export type MultiMatOp<T> = MultiVecOp<T>;
|
|
|
11
11
|
export type MatOp1 = (out: Mat | null) => Mat;
|
|
12
12
|
export type MatOpM = (out: Mat | null, a: ReadonlyMat) => Mat;
|
|
13
13
|
export type MatOpV = (out: Mat | null, a: ReadonlyVec) => Mat;
|
|
14
|
-
export type MatOpMU = (out: Mat | null, a: ReadonlyMat) => Mat
|
|
14
|
+
export type MatOpMU = (out: Mat | null, a: ReadonlyMat) => Maybe<Mat>;
|
|
15
15
|
export type MatOpN = (out: Mat | null, n: number) => Mat;
|
|
16
16
|
export type MatOpNV = (out: Mat | null, n: number | ReadonlyVec) => Mat;
|
|
17
17
|
export type MatOpMM = (out: Mat | null, a: ReadonlyMat, b: ReadonlyMat) => Mat;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/matrices",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.34",
|
|
4
4
|
"description": "Matrix & quaternion operations for 2D/3D geometry processing",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@thi.ng/api": "^8.
|
|
40
|
-
"@thi.ng/checks": "^3.6.
|
|
41
|
-
"@thi.ng/math": "^5.10.
|
|
42
|
-
"@thi.ng/vectors": "^7.10.
|
|
39
|
+
"@thi.ng/api": "^8.11.0",
|
|
40
|
+
"@thi.ng/checks": "^3.6.2",
|
|
41
|
+
"@thi.ng/math": "^5.10.11",
|
|
42
|
+
"@thi.ng/vectors": "^7.10.28"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@microsoft/api-extractor": "^7.43.0",
|
|
@@ -276,5 +276,5 @@
|
|
|
276
276
|
],
|
|
277
277
|
"year": 2018
|
|
278
278
|
},
|
|
279
|
-
"gitHead": "
|
|
279
|
+
"gitHead": "8339d05ecc857e529c7325a9839c0063b89e728d\n"
|
|
280
280
|
}
|