@thi.ng/dl-asset 2.3.75 → 2.3.77
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 +8 -8
- package/package.json +9 -8
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 191 standalone projects, maintained as part
|
|
11
11
|
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
|
@@ -46,7 +46,13 @@ Canvas, video recording & file asset download helpers for web apps.
|
|
|
46
46
|
yarn add @thi.ng/dl-asset
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
ESM import:
|
|
50
|
+
|
|
51
|
+
```ts
|
|
52
|
+
import * as dl from "@thi.ng/dl-asset";
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Browser ESM import:
|
|
50
56
|
|
|
51
57
|
```html
|
|
52
58
|
<script type="module" src="https://cdn.skypack.dev/@thi.ng/dl-asset"></script>
|
|
@@ -54,12 +60,6 @@ ES module import:
|
|
|
54
60
|
|
|
55
61
|
[Skypack documentation](https://docs.skypack.dev/)
|
|
56
62
|
|
|
57
|
-
For Node.js REPL:
|
|
58
|
-
|
|
59
|
-
```js
|
|
60
|
-
const dlAsset = await import("@thi.ng/dl-asset");
|
|
61
|
-
```
|
|
62
|
-
|
|
63
63
|
Package sizes (brotli'd, pre-treeshake): ESM: 576 bytes
|
|
64
64
|
|
|
65
65
|
## Dependencies
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/dl-asset",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.77",
|
|
4
4
|
"description": "Canvas, video recording & file asset download helpers for web apps",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -36,16 +36,16 @@
|
|
|
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.
|
|
41
|
-
"@thi.ng/mime": "^2.6.
|
|
39
|
+
"@thi.ng/api": "^8.10.0",
|
|
40
|
+
"@thi.ng/checks": "^3.6.0",
|
|
41
|
+
"@thi.ng/mime": "^2.6.4"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@microsoft/api-extractor": "^7.
|
|
45
|
-
"esbuild": "^0.20.
|
|
44
|
+
"@microsoft/api-extractor": "^7.43.0",
|
|
45
|
+
"esbuild": "^0.20.2",
|
|
46
46
|
"rimraf": "^5.0.5",
|
|
47
47
|
"typedoc": "^0.25.12",
|
|
48
|
-
"typescript": "^5.4.
|
|
48
|
+
"typescript": "^5.4.3"
|
|
49
49
|
},
|
|
50
50
|
"keywords": [
|
|
51
51
|
"browser",
|
|
@@ -85,10 +85,11 @@
|
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
"thi.ng": {
|
|
88
|
+
"alias": "dl",
|
|
88
89
|
"related": [
|
|
89
90
|
"mime"
|
|
90
91
|
],
|
|
91
92
|
"year": 2020
|
|
92
93
|
},
|
|
93
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "85ac4bd4d6d89f8e3689e2863d5bea0cecdb371c\n"
|
|
94
95
|
}
|