@thi.ng/imago 1.5.7 → 1.5.8

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 +17 -16
  3. package/path.js +2 -2
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  > [!NOTE]
10
- > This is one of 213 standalone projects, maintained as part
10
+ > This is one of 214 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.7",
3
+ "version": "1.5.8",
4
4
  "description": "JSON & API-based declarative and extensible image processing trees/pipelines",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -8,7 +8,8 @@
8
8
  "sideEffects": false,
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
11
+ "url": "git+https://github.com/thi-ng/umbrella.git",
12
+ "directory": "packages/imago"
12
13
  },
13
14
  "homepage": "https://thi.ng/imago",
14
15
  "funding": [
@@ -39,22 +40,22 @@
39
40
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
41
  },
41
42
  "dependencies": {
42
- "@thi.ng/api": "^8.12.13",
43
- "@thi.ng/blurhash": "^1.0.35",
44
- "@thi.ng/checks": "^3.8.3",
45
- "@thi.ng/date": "^2.7.76",
46
- "@thi.ng/defmulti": "^3.0.89",
47
- "@thi.ng/errors": "^2.6.2",
48
- "@thi.ng/file-io": "^2.2.23",
49
- "@thi.ng/logger": "^3.2.12",
50
- "@thi.ng/object-utils": "^1.3.5",
51
- "@thi.ng/pixel": "^7.5.22",
52
- "@thi.ng/pixel-dither": "^1.1.190",
53
- "@thi.ng/prefixes": "^2.3.64",
43
+ "@thi.ng/api": "^8.12.14",
44
+ "@thi.ng/blurhash": "^1.0.36",
45
+ "@thi.ng/checks": "^3.8.4",
46
+ "@thi.ng/date": "^2.7.77",
47
+ "@thi.ng/defmulti": "^3.0.90",
48
+ "@thi.ng/errors": "^2.6.3",
49
+ "@thi.ng/file-io": "^2.2.24",
50
+ "@thi.ng/logger": "^3.2.13",
51
+ "@thi.ng/object-utils": "^1.3.6",
52
+ "@thi.ng/pixel": "^7.5.23",
53
+ "@thi.ng/pixel-dither": "^1.1.191",
54
+ "@thi.ng/prefixes": "^2.3.65",
54
55
  "sharp": "^0.34.5"
55
56
  },
56
57
  "devDependencies": {
57
- "@thi.ng/vectors": "^8.6.19",
58
+ "@thi.ng/vectors": "^8.6.20",
58
59
  "@types/node": "^24.10.9",
59
60
  "esbuild": "^0.27.2",
60
61
  "typedoc": "^0.28.16",
@@ -192,5 +193,5 @@
192
193
  "status": "alpha",
193
194
  "year": 2024
194
195
  },
195
- "gitHead": "828ec2e9ffde7307231b03cff46598c0915b1857\n"
196
+ "gitHead": "4bd1b9d8ae52ba32b90a1b9a55d329c708ca7865\n"
196
197
  }
package/path.js CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  FMT_yyyy,
11
11
  FMT_yyyyMMdd_ALT
12
12
  } from "@thi.ng/date";
13
- import { illegalArgs as unsupported } from "@thi.ng/errors";
13
+ import { unsupportedFeature } from "@thi.ng/errors";
14
14
  import { createHash } from "node:crypto";
15
15
  import { basename, isAbsolute, join, resolve } from "node:path";
16
16
  const _ = void 0;
@@ -22,7 +22,7 @@ const formatPath = (path, ctx, spec, buf) => {
22
22
  }
23
23
  switch (id) {
24
24
  case "name": {
25
- !path && unsupported(
25
+ !path && unsupportedFeature(
26
26
  "cannot format `{name}`, image has no file source"
27
27
  );
28
28
  const name = basename(ctx.path);