@thi.ng/units 0.4.23 → 0.4.25

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2023-12-31T09:44:24Z
3
+ - **Last updated**: 2024-01-26T18:03:04Z
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/README.md CHANGED
@@ -647,4 +647,4 @@ If this project contributes to an academic publication, please cite it as:
647
647
 
648
648
  ## License
649
649
 
650
- © 2021 - 2023 Karsten Schmidt // Apache License 2.0
650
+ © 2021 - 2024 Karsten Schmidt // Apache License 2.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/units",
3
- "version": "0.4.23",
3
+ "version": "0.4.25",
4
4
  "description": "Extensible SI unit creation, conversions, quantities & calculations (incl. ~170 predefined units & constants)",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -35,10 +35,10 @@
35
35
  "test": "bun test"
36
36
  },
37
37
  "dependencies": {
38
- "@thi.ng/api": "^8.9.16",
39
- "@thi.ng/checks": "^3.4.16",
40
- "@thi.ng/equiv": "^2.1.41",
41
- "@thi.ng/errors": "^2.4.10"
38
+ "@thi.ng/api": "^8.9.18",
39
+ "@thi.ng/checks": "^3.4.18",
40
+ "@thi.ng/equiv": "^2.1.42",
41
+ "@thi.ng/errors": "^2.4.11"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@microsoft/api-extractor": "^7.39.0",
@@ -179,5 +179,5 @@
179
179
  "status": "beta",
180
180
  "year": 2021
181
181
  },
182
- "gitHead": "b3db173682e1148cf08a6bd907b8d90b47b7c066\n"
182
+ "gitHead": "7426e2ae6fca5482c6eaf649872296fc89955374\n"
183
183
  }
package/unit.d.ts CHANGED
@@ -69,7 +69,7 @@ export declare const asUnit: (id: string) => Unit;
69
69
  * @param coherent
70
70
  */
71
71
  export declare const prefix: (id: Prefix, unit: MaybeUnit, coherent?: boolean) => Unit;
72
- type QUnit<T extends number | number[]> = T extends number ? Unit : Unit[];
72
+ export type QUnit<T extends number | number[]> = T extends number ? Unit : Unit[];
73
73
  /**
74
74
  * Wrapper for scalar or vector quantities. See {@link quantity}.
75
75
  */
@@ -236,5 +236,4 @@ export declare const isReciprocal: (a: MaybeUnit, b: MaybeUnit) => boolean;
236
236
  * @param u
237
237
  */
238
238
  export declare const formatSI: (u: Quantity<any> | MaybeUnit) => string;
239
- export {};
240
239
  //# sourceMappingURL=unit.d.ts.map