@thi.ng/units 0.4.43 → 0.4.45
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/README.md +2 -2
- package/package.json +7 -8
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -635,10 +635,10 @@ import * as units from "@thi.ng/units";
|
|
|
635
635
|
Browser ESM import:
|
|
636
636
|
|
|
637
637
|
```html
|
|
638
|
-
<script type="module" src="https://
|
|
638
|
+
<script type="module" src="https://esm.run/@thi.ng/units"></script>
|
|
639
639
|
```
|
|
640
640
|
|
|
641
|
-
[
|
|
641
|
+
[JSDelivr documentation](https://www.jsdelivr.com/)
|
|
642
642
|
|
|
643
643
|
For Node.js REPL:
|
|
644
644
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/units",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.45",
|
|
4
4
|
"description": "Extensible SI unit creation, conversions, quantities & calculations (incl. ~170 predefined units & constants)",
|
|
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 constants units",
|
|
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/equiv": "^2.1.
|
|
42
|
-
"@thi.ng/errors": "^2.5.
|
|
39
|
+
"@thi.ng/api": "^8.11.1",
|
|
40
|
+
"@thi.ng/checks": "^3.6.3",
|
|
41
|
+
"@thi.ng/equiv": "^2.1.57",
|
|
42
|
+
"@thi.ng/errors": "^2.5.6"
|
|
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
|
},
|
|
@@ -180,5 +179,5 @@
|
|
|
180
179
|
"status": "beta",
|
|
181
180
|
"year": 2021
|
|
182
181
|
},
|
|
183
|
-
"gitHead": "
|
|
182
|
+
"gitHead": "5dd66c18a3862a3af69a5b2f49563f7cbdd960c2\n"
|
|
184
183
|
}
|