foldkit-media 0.8.0 → 0.10.0
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/README.md +2 -4
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -32,10 +32,8 @@ a resizing server, its Cloudflare and Node layers, uploads, and Vite plugins.
|
|
|
32
32
|
|
|
33
33
|
## The model
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
facts URL scheme how wide (no I/O)
|
|
38
|
-
```
|
|
35
|
+
An `ImageAsset` (the facts), a `Provider` (the URL scheme) and a `Layout` (how wide)
|
|
36
|
+
go into `Picture.derive`, which gives the attributes a view writes. It does no I/O.
|
|
39
37
|
|
|
40
38
|
One `Widths` ladder, carried by the provider, decides which widths exist. A
|
|
41
39
|
`Layout` picks the ones worth offering:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "foldkit-media",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "Responsive images for Foldkit Plus: an image is a URL to write, through providers that share one width ladder.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"foldkit",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
],
|
|
79
79
|
"dependencies": {
|
|
80
80
|
"thumbhash": "^0.1.1",
|
|
81
|
-
"foldkit-surface": "0.
|
|
81
|
+
"foldkit-surface": "0.16.0"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
84
84
|
"effect": "^4.1.0",
|
|
@@ -86,9 +86,9 @@
|
|
|
86
86
|
"unpic": "^4.0.0"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
|
-
"@cloudflare/workers-types": "5.
|
|
90
|
-
"@effect/platform-node": "
|
|
91
|
-
"effect": "
|
|
89
|
+
"@cloudflare/workers-types": "5.20261112.1",
|
|
90
|
+
"@effect/platform-node": "4.1.4",
|
|
91
|
+
"effect": "4.1.4",
|
|
92
92
|
"miniflare": "4.20260730.0",
|
|
93
93
|
"sharp": "^0.35.5",
|
|
94
94
|
"tsdown": "^0.23.1",
|