@thi.ng/imago 0.7.1 → 0.7.3
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 +7 -1
- package/README.md +1 -1
- package/package.json +15 -15
- package/units.d.ts +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2024-04-
|
|
3
|
+
- **Last updated**: 2024-04-20T14:42:45Z
|
|
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.
|
|
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
|
|
|
9
9
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
10
10
|
and/or version bumps of transitive dependencies.
|
|
11
11
|
|
|
12
|
+
### [0.7.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/imago@0.7.3) (2024-04-20)
|
|
13
|
+
|
|
14
|
+
#### ♻️ Refactoring
|
|
15
|
+
|
|
16
|
+
- update type usage ([32b862a](https://github.com/thi-ng/umbrella/commit/32b862a))
|
|
17
|
+
|
|
12
18
|
## [0.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/imago@0.7.0) (2024-04-01)
|
|
13
19
|
|
|
14
20
|
#### 🚀 Features
|
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 192 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": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"description": "JSON & API-based declarative and extensible image processing trees/pipelines",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -36,23 +36,23 @@
|
|
|
36
36
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@thi.ng/api": "^8.
|
|
40
|
-
"@thi.ng/associative": "^6.3.
|
|
41
|
-
"@thi.ng/blurhash": "^0.1.
|
|
42
|
-
"@thi.ng/checks": "^3.6.
|
|
43
|
-
"@thi.ng/date": "^2.7.
|
|
44
|
-
"@thi.ng/defmulti": "^3.0.
|
|
45
|
-
"@thi.ng/errors": "^2.5.
|
|
46
|
-
"@thi.ng/file-io": "^2.0.
|
|
47
|
-
"@thi.ng/logger": "^3.0.
|
|
48
|
-
"@thi.ng/pixel": "^6.1.
|
|
49
|
-
"@thi.ng/pixel-dither": "^1.1.
|
|
50
|
-
"@thi.ng/prefixes": "^2.3.
|
|
39
|
+
"@thi.ng/api": "^8.11.0",
|
|
40
|
+
"@thi.ng/associative": "^6.3.57",
|
|
41
|
+
"@thi.ng/blurhash": "^0.1.22",
|
|
42
|
+
"@thi.ng/checks": "^3.6.2",
|
|
43
|
+
"@thi.ng/date": "^2.7.15",
|
|
44
|
+
"@thi.ng/defmulti": "^3.0.37",
|
|
45
|
+
"@thi.ng/errors": "^2.5.5",
|
|
46
|
+
"@thi.ng/file-io": "^2.0.3",
|
|
47
|
+
"@thi.ng/logger": "^3.0.10",
|
|
48
|
+
"@thi.ng/pixel": "^6.1.29",
|
|
49
|
+
"@thi.ng/pixel-dither": "^1.1.127",
|
|
50
|
+
"@thi.ng/prefixes": "^2.3.17",
|
|
51
51
|
"sharp": "^0.33.3"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@microsoft/api-extractor": "^7.43.0",
|
|
55
|
-
"@thi.ng/vectors": "^7.10.
|
|
55
|
+
"@thi.ng/vectors": "^7.10.28",
|
|
56
56
|
"esbuild": "^0.20.2",
|
|
57
57
|
"rimraf": "^5.0.5",
|
|
58
58
|
"typedoc": "^0.25.12",
|
|
@@ -186,5 +186,5 @@
|
|
|
186
186
|
"status": "alpha",
|
|
187
187
|
"year": 2024
|
|
188
188
|
},
|
|
189
|
-
"gitHead": "
|
|
189
|
+
"gitHead": "8339d05ecc857e529c7325a9839c0063b89e728d\n"
|
|
190
190
|
}
|
package/units.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Maybe } from "@thi.ng/api";
|
|
1
2
|
import type { Metadata } from "sharp";
|
|
2
3
|
import { type Color, type Dim, type Gravity, type Position, type Sides, type Size, type SizeRef, type SizeUnit } from "./api.js";
|
|
3
4
|
export declare const ensureSize: (meta: Metadata) => false;
|
|
@@ -28,8 +29,8 @@ export declare const positionOrGravity: ([w, h]: Dim, parentSize: Dim, { pos, gr
|
|
|
28
29
|
left?: undefined;
|
|
29
30
|
top?: undefined;
|
|
30
31
|
} | {
|
|
31
|
-
left: number
|
|
32
|
-
top: number
|
|
32
|
+
left: Maybe<number>;
|
|
33
|
+
top: Maybe<number>;
|
|
33
34
|
gravity?: undefined;
|
|
34
35
|
} | undefined;
|
|
35
36
|
export declare const gravityFlags: (gravity: Gravity) => boolean[];
|