@thi.ng/imago 1.6.16 → 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 (2) hide show
  1. package/package.json +18 -18
  2. package/proc.d.ts +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/imago",
3
- "version": "1.6.16",
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.26",
44
- "@thi.ng/blurhash": "^1.0.48",
45
- "@thi.ng/checks": "^3.10.0",
46
- "@thi.ng/date": "^2.8.10",
47
- "@thi.ng/defmulti": "^3.0.103",
48
- "@thi.ng/errors": "^2.6.15",
49
- "@thi.ng/file-io": "^2.3.0",
50
- "@thi.ng/logger": "^3.3.9",
51
- "@thi.ng/object-utils": "^1.3.18",
52
- "@thi.ng/pixel": "^7.5.35",
53
- "@thi.ng/pixel-dither": "^1.1.203",
54
- "@thi.ng/prefixes": "^2.3.76",
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.36",
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": "c47c56420bcae2e0477d252a497be44f08ca185a"
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