@thi.ng/matrices 2.3.33 → 2.3.35
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 +2 -2
- package/api.d.ts +2 -2
- package/package.json +7 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2024-04-
|
|
3
|
+
- **Last updated**: 2024-04-23T07:02:18Z
|
|
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
|
@@ -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.35",
|
|
4
4
|
"description": "Matrix & quaternion operations for 2D/3D geometry processing",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"build": "yarn build:esbuild && yarn build:decl",
|
|
28
28
|
"build:decl": "tsc --declaration --emitDeclarationOnly",
|
|
29
29
|
"build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
|
|
30
|
-
"clean": "
|
|
30
|
+
"clean": "bun ../../tools/src/clean-package.ts compile",
|
|
31
31
|
"doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
|
|
32
32
|
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
|
|
33
33
|
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
|
|
@@ -36,15 +36,14 @@
|
|
|
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.1",
|
|
40
|
+
"@thi.ng/checks": "^3.6.3",
|
|
41
|
+
"@thi.ng/math": "^5.10.12",
|
|
42
|
+
"@thi.ng/vectors": "^7.10.29"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@microsoft/api-extractor": "^7.43.0",
|
|
46
46
|
"esbuild": "^0.20.2",
|
|
47
|
-
"rimraf": "^5.0.5",
|
|
48
47
|
"typedoc": "^0.25.12",
|
|
49
48
|
"typescript": "^5.4.3"
|
|
50
49
|
},
|
|
@@ -276,5 +275,5 @@
|
|
|
276
275
|
],
|
|
277
276
|
"year": 2018
|
|
278
277
|
},
|
|
279
|
-
"gitHead": "
|
|
278
|
+
"gitHead": "5dd66c18a3862a3af69a5b2f49563f7cbdd960c2\n"
|
|
280
279
|
}
|