@thi.ng/units 0.4.37 → 0.4.39
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 +1 -1
- package/package.json +10 -10
- package/unit.d.ts +0 -4
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/units",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.39",
|
|
4
4
|
"description": "Extensible SI unit creation, conversions, quantities & calculations (incl. ~170 predefined units & constants)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -36,17 +36,17 @@
|
|
|
36
36
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@thi.ng/api": "^8.9.
|
|
40
|
-
"@thi.ng/checks": "^3.5.
|
|
41
|
-
"@thi.ng/equiv": "^2.1.
|
|
42
|
-
"@thi.ng/errors": "^2.
|
|
39
|
+
"@thi.ng/api": "^8.9.30",
|
|
40
|
+
"@thi.ng/checks": "^3.5.3",
|
|
41
|
+
"@thi.ng/equiv": "^2.1.52",
|
|
42
|
+
"@thi.ng/errors": "^2.5.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@microsoft/api-extractor": "^7.
|
|
46
|
-
"esbuild": "^0.20.
|
|
45
|
+
"@microsoft/api-extractor": "^7.42.3",
|
|
46
|
+
"esbuild": "^0.20.1",
|
|
47
47
|
"rimraf": "^5.0.5",
|
|
48
|
-
"typedoc": "^0.25.
|
|
49
|
-
"typescript": "^5.
|
|
48
|
+
"typedoc": "^0.25.12",
|
|
49
|
+
"typescript": "^5.4.2"
|
|
50
50
|
},
|
|
51
51
|
"keywords": [
|
|
52
52
|
"acceleration",
|
|
@@ -180,5 +180,5 @@
|
|
|
180
180
|
"status": "beta",
|
|
181
181
|
"year": 2021
|
|
182
182
|
},
|
|
183
|
-
"gitHead": "
|
|
183
|
+
"gitHead": "bc0f3cb07d6f1cab6dbdc5ff57428f5484e711bb\n"
|
|
184
184
|
}
|
package/unit.d.ts
CHANGED
|
@@ -134,7 +134,6 @@ export declare const quantity: <T extends number | number[]>(value: T, unit: May
|
|
|
134
134
|
*
|
|
135
135
|
* @param a
|
|
136
136
|
* @param b
|
|
137
|
-
* @param coherent
|
|
138
137
|
*/
|
|
139
138
|
export declare function mul(a: Quantity<number>, b: Quantity<number>): Quantity<number>;
|
|
140
139
|
export declare function mul(a: Quantity<number>, b: Quantity<number[]>): Quantity<number[]>;
|
|
@@ -151,7 +150,6 @@ export declare function mul(a: MaybeUnit, b: MaybeUnit | number, coherent?: bool
|
|
|
151
150
|
*
|
|
152
151
|
* @param a
|
|
153
152
|
* @param b
|
|
154
|
-
* @param coherent
|
|
155
153
|
*/
|
|
156
154
|
export declare function div(a: Quantity<number>, b: Quantity<number>): Quantity<number>;
|
|
157
155
|
export declare function div(a: Quantity<number>, b: Quantity<number[]>): Quantity<number[]>;
|
|
@@ -175,7 +173,6 @@ export declare function div(a: MaybeUnit, b: MaybeUnit | number, coherent?: bool
|
|
|
175
173
|
* ```
|
|
176
174
|
*
|
|
177
175
|
* @param u
|
|
178
|
-
* @param coherent
|
|
179
176
|
*/
|
|
180
177
|
export declare function reciprocal(u: Quantity<number>): Quantity<number>;
|
|
181
178
|
export declare function reciprocal(u: Quantity<number[]>): Quantity<number[]>;
|
|
@@ -211,7 +208,6 @@ export declare const pow: (u: MaybeUnit, k: number, coherent?: boolean) => Unit;
|
|
|
211
208
|
* {@link isConvertible}.
|
|
212
209
|
*
|
|
213
210
|
* @param x
|
|
214
|
-
* @param src
|
|
215
211
|
* @param dest
|
|
216
212
|
*/
|
|
217
213
|
export declare function convert<T extends number | number[]>(x: Quantity<T>, dest: MaybeUnit): T;
|