@thi.ng/imago 1.5.2 → 1.5.4
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/README.md +1 -1
- package/package.json +15 -15
- package/proc.js +1 -1
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 211 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
|
>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/imago",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.4",
|
|
4
4
|
"description": "JSON & API-based declarative and extensible image processing trees/pipelines",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -39,22 +39,22 @@
|
|
|
39
39
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@thi.ng/api": "^8.12.
|
|
43
|
-
"@thi.ng/blurhash": "^1.0.
|
|
44
|
-
"@thi.ng/checks": "^3.
|
|
45
|
-
"@thi.ng/date": "^2.7.
|
|
46
|
-
"@thi.ng/defmulti": "^3.0.
|
|
47
|
-
"@thi.ng/errors": "^2.5.
|
|
48
|
-
"@thi.ng/file-io": "^2.2.
|
|
49
|
-
"@thi.ng/logger": "^3.2.
|
|
50
|
-
"@thi.ng/object-utils": "^1.3.
|
|
51
|
-
"@thi.ng/pixel": "^7.5.
|
|
52
|
-
"@thi.ng/pixel-dither": "^1.1.
|
|
53
|
-
"@thi.ng/prefixes": "^2.3.
|
|
42
|
+
"@thi.ng/api": "^8.12.10",
|
|
43
|
+
"@thi.ng/blurhash": "^1.0.32",
|
|
44
|
+
"@thi.ng/checks": "^3.8.0",
|
|
45
|
+
"@thi.ng/date": "^2.7.73",
|
|
46
|
+
"@thi.ng/defmulti": "^3.0.86",
|
|
47
|
+
"@thi.ng/errors": "^2.5.50",
|
|
48
|
+
"@thi.ng/file-io": "^2.2.20",
|
|
49
|
+
"@thi.ng/logger": "^3.2.9",
|
|
50
|
+
"@thi.ng/object-utils": "^1.3.2",
|
|
51
|
+
"@thi.ng/pixel": "^7.5.19",
|
|
52
|
+
"@thi.ng/pixel-dither": "^1.1.187",
|
|
53
|
+
"@thi.ng/prefixes": "^2.3.61",
|
|
54
54
|
"sharp": "^0.34.5"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@thi.ng/vectors": "^8.6.
|
|
57
|
+
"@thi.ng/vectors": "^8.6.15",
|
|
58
58
|
"@types/node": "^24.10.1",
|
|
59
59
|
"esbuild": "^0.27.0",
|
|
60
60
|
"typedoc": "^0.28.14",
|
|
@@ -192,5 +192,5 @@
|
|
|
192
192
|
"status": "alpha",
|
|
193
193
|
"year": 2024
|
|
194
194
|
},
|
|
195
|
-
"gitHead": "
|
|
195
|
+
"gitHead": "824bf9047b5a10f777c5c5b4aeecf0c750a22c75\n"
|
|
196
196
|
}
|
package/proc.js
CHANGED
|
@@ -52,7 +52,7 @@ const processImage = async (src, specs, opts = {}, parentCtx) => {
|
|
|
52
52
|
}
|
|
53
53
|
try {
|
|
54
54
|
let bake;
|
|
55
|
-
for (
|
|
55
|
+
for (const spec of specs) {
|
|
56
56
|
ctx.logger.debug("processing spec:", spec);
|
|
57
57
|
[img, bake] = await processor(spec, img, ctx);
|
|
58
58
|
if (!bake) {
|