@thi.ng/units 0.4.36 → 0.4.38

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/package.json +10 -10
  3. package/unit.d.ts +0 -4
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-03-07T20:40:47Z
3
+ - **Last updated**: 2024-03-13T14:04:31Z
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/units",
3
- "version": "0.4.36",
3
+ "version": "0.4.38",
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.28",
40
- "@thi.ng/checks": "^3.5.2",
41
- "@thi.ng/equiv": "^2.1.51",
42
- "@thi.ng/errors": "^2.4.20"
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.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@microsoft/api-extractor": "^7.40.1",
46
- "esbuild": "^0.20.0",
45
+ "@microsoft/api-extractor": "^7.42.3",
46
+ "esbuild": "^0.20.1",
47
47
  "rimraf": "^5.0.5",
48
- "typedoc": "^0.25.7",
49
- "typescript": "^5.3.3"
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": "a421058a65ba76608d94129ac29451bfedaf201c\n"
183
+ "gitHead": "7f3fcbd6c0462b0ce45afa141fe163d1f297fd51\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;