@thi.ng/imago 1.6.15 → 1.6.17

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/package.json +18 -18
  3. package/proc.d.ts +4 -4
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  > [!NOTE]
10
10
 
11
- > This is one of 215 standalone projects. LLM-free, human-made and
11
+ > This is one of 216 standalone projects. LLM-free, human-made and
12
12
  > cared for software, maintained as part of the
13
13
  > [@thi.ng/umbrella](https://codeberg.org/thi.ng/umbrella/) ecosystem and
14
14
  > anti-framework.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/imago",
3
- "version": "1.6.15",
3
+ "version": "1.6.17",
4
4
  "description": "JSON & API-based declarative and extensible image processing trees/pipelines",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -40,24 +40,24 @@
40
40
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@thi.ng/api": "^8.12.25",
44
- "@thi.ng/blurhash": "^1.0.47",
45
- "@thi.ng/checks": "^3.9.5",
46
- "@thi.ng/date": "^2.8.9",
47
- "@thi.ng/defmulti": "^3.0.102",
48
- "@thi.ng/errors": "^2.6.14",
49
- "@thi.ng/file-io": "^2.2.37",
50
- "@thi.ng/logger": "^3.3.8",
51
- "@thi.ng/object-utils": "^1.3.17",
52
- "@thi.ng/pixel": "^7.5.34",
53
- "@thi.ng/pixel-dither": "^1.1.202",
54
- "@thi.ng/prefixes": "^2.3.75",
55
- "sharp": "^0.34.5"
43
+ "@thi.ng/api": "^8.12.27",
44
+ "@thi.ng/blurhash": "^1.0.49",
45
+ "@thi.ng/checks": "^3.10.1",
46
+ "@thi.ng/date": "^3.0.0",
47
+ "@thi.ng/defmulti": "^3.0.104",
48
+ "@thi.ng/errors": "^2.6.16",
49
+ "@thi.ng/file-io": "^2.3.1",
50
+ "@thi.ng/logger": "^3.3.10",
51
+ "@thi.ng/object-utils": "^1.3.19",
52
+ "@thi.ng/pixel": "^7.5.36",
53
+ "@thi.ng/pixel-dither": "^1.1.204",
54
+ "@thi.ng/prefixes": "^2.3.77",
55
+ "sharp": "^0.35.2"
56
56
  },
57
57
  "devDependencies": {
58
- "@thi.ng/vectors": "^8.6.35",
59
- "@types/node": "^25.6.2",
60
- "esbuild": "^0.28.0",
58
+ "@thi.ng/vectors": "^8.6.37",
59
+ "@types/node": "^25.9.4",
60
+ "esbuild": "^0.28.1",
61
61
  "typedoc": "^0.28.19",
62
62
  "typescript": "^6.0.3"
63
63
  },
@@ -193,5 +193,5 @@
193
193
  "status": "alpha",
194
194
  "year": 2024
195
195
  },
196
- "gitHead": "65b041e97110e16c01cf968949b72a0873f14445"
196
+ "gitHead": "febee81fd8b59e5e330a6e6521a2667ed5401a3d"
197
197
  }
package/proc.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import sharp, { type Sharp } from "sharp";
1
+ import { type Sharp } from "sharp";
2
2
  import type { BufferLike, ImgProcCtx, ImgProcOpts, IntBufferLike, ProcSpec } from "./api.js";
3
3
  export declare const LOGGER: import("@thi.ng/logger").ProxyLogger;
4
4
  /**
@@ -19,8 +19,8 @@ export declare const LOGGER: import("@thi.ng/logger").ProxyLogger;
19
19
  * @param parentCtx
20
20
  */
21
21
  export declare const processImage: (src: string | BufferLike | ArrayBuffer | IntBufferLike | Sharp, specs: ProcSpec[], opts?: Partial<ImgProcOpts>, parentCtx?: ImgProcCtx) => Promise<{
22
- img: sharp.Sharp;
23
- meta: sharp.Metadata;
22
+ img: Sharp;
23
+ meta: import("sharp").Metadata;
24
24
  env: import("@thi.ng/api").IObjectOf<any>;
25
25
  outputs: Record<string, string | Buffer<ArrayBufferLike>>;
26
26
  outputMeta: Record<string, Record<string, any>>;
@@ -48,5 +48,5 @@ export declare const processImage: (src: string | BufferLike | ArrayBuffer | Int
48
48
  * @param img
49
49
  * @param ctx
50
50
  **/
51
- export declare const processor: import("@thi.ng/defmulti").MultiFn3<ProcSpec, sharp.Sharp, ImgProcCtx, Promise<[sharp.Sharp, boolean]>>;
51
+ export declare const processor: import("@thi.ng/defmulti").MultiFn3<ProcSpec, Sharp, ImgProcCtx, Promise<[Sharp, boolean]>>;
52
52
  //# sourceMappingURL=proc.d.ts.map