@thi.ng/math 5.4.3 → 5.4.5
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/angle.d.ts +2 -2
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2023-
|
|
3
|
+
- **Last updated**: 2023-03-14T13:27:19Z
|
|
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
|
+
### [5.4.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/math@5.4.4) (2023-03-02)
|
|
13
|
+
|
|
14
|
+
#### ♻️ Refactoring
|
|
15
|
+
|
|
16
|
+
- update sincos/cossin return types ([ae5cd82](https://github.com/thi-ng/umbrella/commit/ae5cd82))
|
|
17
|
+
|
|
12
18
|
## [5.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/math@5.4.0) (2023-01-10)
|
|
13
19
|
|
|
14
20
|
#### 🚀 Features
|
package/angle.d.ts
CHANGED
|
@@ -5,14 +5,14 @@ import type { FnN, FnN2, FnN3 } from "@thi.ng/api";
|
|
|
5
5
|
* @param theta -
|
|
6
6
|
* @param n -
|
|
7
7
|
*/
|
|
8
|
-
export declare const sincos: (theta: number, n?: number) => number
|
|
8
|
+
export declare const sincos: (theta: number, n?: number) => [number, number];
|
|
9
9
|
/**
|
|
10
10
|
* Returns vector of `[cos(theta)*n, sin(theta)*n]`.
|
|
11
11
|
*
|
|
12
12
|
* @param theta -
|
|
13
13
|
* @param n -
|
|
14
14
|
*/
|
|
15
|
-
export declare const cossin: (theta: number, n?: number) => number
|
|
15
|
+
export declare const cossin: (theta: number, n?: number) => [number, number];
|
|
16
16
|
/**
|
|
17
17
|
* Projects `theta` into [0 .. 2π] interval.
|
|
18
18
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/math",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.5",
|
|
4
4
|
"description": "Assorted common math functions & utilities",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "yarn clean && tsc --declaration",
|
|
31
|
-
"clean": "rimraf '*.js' '*.d.ts' '*.map' doc",
|
|
31
|
+
"clean": "rimraf --glob '*.js' '*.d.ts' '*.map' doc",
|
|
32
32
|
"doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
|
|
33
33
|
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
|
|
34
34
|
"doc:readme": "yarn doc:stats && tools:readme",
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
"test": "testament test"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@thi.ng/api": "^8.7.
|
|
40
|
+
"@thi.ng/api": "^8.7.4"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@microsoft/api-extractor": "^7.34.
|
|
44
|
-
"@thi.ng/testament": "^0.3.
|
|
45
|
-
"rimraf": "^4.
|
|
43
|
+
"@microsoft/api-extractor": "^7.34.4",
|
|
44
|
+
"@thi.ng/testament": "^0.3.13",
|
|
45
|
+
"rimraf": "^4.4.0",
|
|
46
46
|
"tools": "^0.0.1",
|
|
47
|
-
"typedoc": "^0.23.
|
|
47
|
+
"typedoc": "^0.23.26",
|
|
48
48
|
"typescript": "^4.9.5"
|
|
49
49
|
},
|
|
50
50
|
"keywords": [
|
|
@@ -138,5 +138,5 @@
|
|
|
138
138
|
"thi.ng": {
|
|
139
139
|
"year": 2013
|
|
140
140
|
},
|
|
141
|
-
"gitHead": "
|
|
141
|
+
"gitHead": "cc46c097a3a173fb1ef41f57a858d03037063141\n"
|
|
142
142
|
}
|