@thi.ng/dl-asset 2.3.115 → 2.3.118
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 +7 -1
- package/README.md +1 -4
- package/download.d.ts +1 -2
- package/package.json +6 -7
- package/raw.d.ts +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2025-
|
|
3
|
+
- **Last updated**: 2025-08-04T09:13:01Z
|
|
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.
|
|
@@ -11,6 +11,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
|
|
|
11
11
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
12
12
|
and/or version bumps of transitive dependencies.
|
|
13
13
|
|
|
14
|
+
### [2.3.118](https://github.com/thi-ng/umbrella/tree/@thi.ng/dl-asset@2.3.118) (2025-08-04)
|
|
15
|
+
|
|
16
|
+
#### ♻️ Refactoring
|
|
17
|
+
|
|
18
|
+
- update arg types, remove obsolete deps ([7798c21](https://github.com/thi-ng/umbrella/commit/7798c21))
|
|
19
|
+
|
|
14
20
|
### [2.3.47](https://github.com/thi-ng/umbrella/tree/@thi.ng/dl-asset@2.3.47) (2023-11-09)
|
|
15
21
|
|
|
16
22
|
#### ♻️ Refactoring
|
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 210 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
|
>
|
|
@@ -64,12 +64,9 @@ Package sizes (brotli'd, pre-treeshake): ESM: 576 bytes
|
|
|
64
64
|
|
|
65
65
|
## Dependencies
|
|
66
66
|
|
|
67
|
-
- [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/develop/packages/api)
|
|
68
67
|
- [@thi.ng/checks](https://github.com/thi-ng/umbrella/tree/develop/packages/checks)
|
|
69
68
|
- [@thi.ng/mime](https://github.com/thi-ng/umbrella/tree/develop/packages/mime)
|
|
70
69
|
|
|
71
|
-
Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
|
|
72
|
-
|
|
73
70
|
## Usage examples
|
|
74
71
|
|
|
75
72
|
18 projects in this repo's
|
package/download.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { TypedArray } from "@thi.ng/api";
|
|
2
1
|
import type { DownloadOpts } from "./api.js";
|
|
3
2
|
/**
|
|
4
3
|
* Similar to (and wrapping) {@link downloadWithMime} with additional
|
|
@@ -10,5 +9,5 @@ import type { DownloadOpts } from "./api.js";
|
|
|
10
9
|
* @param src -
|
|
11
10
|
* @param opts -
|
|
12
11
|
*/
|
|
13
|
-
export declare const download: (name: string, src:
|
|
12
|
+
export declare const download: (name: string, src: BlobPart, opts?: Partial<DownloadOpts>) => void;
|
|
14
13
|
//# sourceMappingURL=download.d.ts.map
|
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.118",
|
|
4
4
|
"description": "Canvas, video recording & file asset download helpers for web apps",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -39,14 +39,13 @@
|
|
|
39
39
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@thi.ng/
|
|
43
|
-
"@thi.ng/
|
|
44
|
-
"@thi.ng/mime": "^2.7.14"
|
|
42
|
+
"@thi.ng/checks": "^3.7.15",
|
|
43
|
+
"@thi.ng/mime": "^2.7.17"
|
|
45
44
|
},
|
|
46
45
|
"devDependencies": {
|
|
47
46
|
"esbuild": "^0.25.8",
|
|
48
|
-
"typedoc": "^0.28.
|
|
49
|
-
"typescript": "^5.
|
|
47
|
+
"typedoc": "^0.28.9",
|
|
48
|
+
"typescript": "^5.9.2"
|
|
50
49
|
},
|
|
51
50
|
"keywords": [
|
|
52
51
|
"browser",
|
|
@@ -92,5 +91,5 @@
|
|
|
92
91
|
],
|
|
93
92
|
"year": 2020
|
|
94
93
|
},
|
|
95
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "0bcedf8d1dd4f30cd06bb2c668599628f2f0141e\n"
|
|
96
95
|
}
|
package/raw.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { TypedArray } from "@thi.ng/api";
|
|
2
1
|
import type { DownloadOpts } from "./api.js";
|
|
3
2
|
/**
|
|
4
3
|
* Triggers download of given `src` blob (or typed array or string) as
|
|
@@ -22,7 +21,7 @@ import type { DownloadOpts } from "./api.js";
|
|
|
22
21
|
* @param src -
|
|
23
22
|
* @param opts -
|
|
24
23
|
*/
|
|
25
|
-
export declare const downloadWithMime: (name: string, src:
|
|
24
|
+
export declare const downloadWithMime: (name: string, src: BlobPart, opts: Partial<DownloadOpts> & {
|
|
26
25
|
mime: string;
|
|
27
26
|
}) => void;
|
|
28
27
|
//# sourceMappingURL=raw.d.ts.map
|