@thi.ng/imago 1.0.7 → 1.0.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.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-01-29T16:25:48Z
3
+ - **Last updated**: 2025-02-13T16:03:11Z
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.
package/api.d.ts CHANGED
@@ -307,8 +307,8 @@ export interface OutputSpec extends ProcSpec {
307
307
  * {@link OutputSpec.path} will be ignored and no file will be written.
308
308
  *
309
309
  * @remarks
310
- * The value given is the blurhash detail setting in the [1,9] range (usual
311
- * default is 4), possibly given separately for X/Y axes.
310
+ * The value given is the blurhash detail setting in the `[1,9]` range
311
+ * (usual default is 4), possibly given separately for X/Y axes.
312
312
  *
313
313
  * Important: Ensure the image has already been downsized to ~50-500 pixels.
314
314
  * Larger images are causing unnecessary & long processing...
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/imago",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "JSON & API-based declarative and extensible image processing trees/pipelines",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -39,24 +39,24 @@
39
39
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@thi.ng/api": "^8.11.19",
43
- "@thi.ng/blurhash": "^1.0.5",
44
- "@thi.ng/checks": "^3.6.22",
45
- "@thi.ng/date": "^2.7.42",
46
- "@thi.ng/defmulti": "^3.0.59",
47
- "@thi.ng/errors": "^2.5.25",
48
- "@thi.ng/file-io": "^2.1.26",
49
- "@thi.ng/logger": "^3.1.0",
50
- "@thi.ng/object-utils": "^1.1.13",
51
- "@thi.ng/pixel": "^7.3.15",
52
- "@thi.ng/pixel-dither": "^1.1.155",
53
- "@thi.ng/prefixes": "^2.3.36",
42
+ "@thi.ng/api": "^8.11.20",
43
+ "@thi.ng/blurhash": "^1.0.6",
44
+ "@thi.ng/checks": "^3.6.23",
45
+ "@thi.ng/date": "^2.7.43",
46
+ "@thi.ng/defmulti": "^3.0.60",
47
+ "@thi.ng/errors": "^2.5.26",
48
+ "@thi.ng/file-io": "^2.1.27",
49
+ "@thi.ng/logger": "^3.1.1",
50
+ "@thi.ng/object-utils": "^1.1.14",
51
+ "@thi.ng/pixel": "^7.3.16",
52
+ "@thi.ng/pixel-dither": "^1.1.156",
53
+ "@thi.ng/prefixes": "^2.3.37",
54
54
  "sharp": "^0.33.5"
55
55
  },
56
56
  "devDependencies": {
57
- "@thi.ng/vectors": "^7.12.19",
58
- "esbuild": "^0.24.2",
59
- "typedoc": "^0.27.6",
57
+ "@thi.ng/vectors": "^7.12.20",
58
+ "esbuild": "^0.25.0",
59
+ "typedoc": "^0.27.7",
60
60
  "typescript": "^5.7.3"
61
61
  },
62
62
  "keywords": [
@@ -188,5 +188,5 @@
188
188
  "status": "alpha",
189
189
  "year": 2024
190
190
  },
191
- "gitHead": "dcc1dbfa6eae31ac65e12843987b94d4a7edc144\n"
191
+ "gitHead": "9a0b33253fef092aaf301decf6ecd54317874d4c\n"
192
192
  }
package/path.d.ts CHANGED
@@ -8,20 +8,20 @@ import type { ImgProcCtx, OutputSpec } from "./api.js";
8
8
  * the {@link ImgProcOpts.pathParts} options provided to {@link processImage}.
9
9
  * Any others will remain as is. Custom IDs take precedence over built-in ones.
10
10
  *
11
- * - name: original base filename (w/o ext)
12
- * - sha1/224/256/384/512: truncated hash of output
13
- * - w: current width
14
- * - h: current height
15
- * - aspect: "p" (portrait), "l" (landscape) or "sq" (square)
16
- * - date: yyyyMMdd
17
- * - time: HHmmss
18
- * - year: 4-digit year
19
- * - month: 2-digit month
20
- * - week: 2-digit week
21
- * - day: 2-digit day in month
22
- * - hour: 2-digit hour (24h system)
23
- * - minute: 2-digit minute
24
- * - second: 2-digit second
11
+ * - `name`: original base filename (w/o ext)
12
+ * - `sha1/224/256/384/512`: truncated hash of output
13
+ * - `w`: current width
14
+ * - `h`: current height
15
+ * - `aspect`: "p" (portrait), "l" (landscape) or "sq" (square)
16
+ * - `date`: yyyyMMdd
17
+ * - `time`: HHmmss
18
+ * - `year`: 4-digit year
19
+ * - `month`: 2-digit month
20
+ * - `week`: 2-digit week
21
+ * - `day`: 2-digit day in month
22
+ * - `hour`: 2-digit hour (24h system)
23
+ * - `minute`: 2-digit minute
24
+ * - `second`: 2-digit second
25
25
  *
26
26
  * All date/time related values will be in UTC.
27
27
  *