edfcore 0.4.394 → 0.4.396
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/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/docs/CHANGELOG.md +34 -0
- package/package.json +1 -1
- package/src/constants.ts +1 -1
package/dist/constants.d.ts
CHANGED
|
@@ -109,5 +109,5 @@ export declare const SIGNAL_FIELD_BLOCK_OFFSETS: {
|
|
|
109
109
|
readonly reserved: 224;
|
|
110
110
|
};
|
|
111
111
|
/** Published package version. Kept in sync with package.json by a test. */
|
|
112
|
-
export declare const VERSION = "0.4.
|
|
112
|
+
export declare const VERSION = "0.4.396";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/docs/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,40 @@ alone does not tell you whether you were affected.
|
|
|
6
6
|
edfcore is pre-1.0. Patch releases have carried behaviour changes where the old behaviour was a
|
|
7
7
|
defect; those are called out below.
|
|
8
8
|
|
|
9
|
+
## 0.4.396
|
|
10
|
+
|
|
11
|
+
- **Added** a check that the share card is the image the page says it is. `og.png` is 537 KB of
|
|
12
|
+
pixels nothing in this repository opens, and it is the only thing many people ever see of the
|
|
13
|
+
project — every link posted in a channel or pasted into a chat renders it.
|
|
14
|
+
- `Base.astro` declares `og:image:width` and `og:image:height` to scrapers that lay the preview out
|
|
15
|
+
before the bytes arrive, so wrong numbers letterbox or crop the card at the far end, where nobody
|
|
16
|
+
who could fix it is looking. Those are now read out of the PNG's own IHDR chunk rather than taken
|
|
17
|
+
on trust.
|
|
18
|
+
- The export is `qlmanage` then `sips -c 630 1200`, which keeps the middle of a square thumbnail.
|
|
19
|
+
That works only because `og.svg` is a 1200x1200 canvas with the card in a band offset by half the
|
|
20
|
+
leftover; changing the canvas takes the wrong rows, quietly, because a wrongly cropped card is
|
|
21
|
+
still a card. The offset is now derived from the two numbers instead of being a literal.
|
|
22
|
+
- `og:image:alt` is what a screen reader says and what shows when the image fails. It quotes the
|
|
23
|
+
line the card prints, names the annotation the card draws and calls the trace green, and all
|
|
24
|
+
three are now checked against the SVG.
|
|
25
|
+
|
|
26
|
+
## 0.4.395
|
|
27
|
+
|
|
28
|
+
- **Added** a check that `vercel.json` describes the site this repository builds. It is the one
|
|
29
|
+
configuration file here nothing reads on a normal day — the tests do not need it, `npm run check`
|
|
30
|
+
does not touch it, and it takes effect on a machine nobody watches — and its couplings are all
|
|
31
|
+
silent when broken.
|
|
32
|
+
- The build command names four scripts across two workspaces, and each has to exist. Its
|
|
33
|
+
`outputDirectory` has to be the directory `check-site-output.mjs` inspects, or one of them is
|
|
34
|
+
looking at a build nobody serves. The two `Content-Type: text/plain` rules have to name routes a
|
|
35
|
+
page generator produces, or `/llms.txt` arrives as a download while CI still finds the file in
|
|
36
|
+
`dist/` and passes. And `trailingSlash` is stated here and again in `astro.config.mjs` in
|
|
37
|
+
different vocabularies: disagreeing gives every documentation URL a redirect it did not ask for.
|
|
38
|
+
- The `Permissions-Policy` row is checked for a different reason. `inspector-privacy.test.ts`
|
|
39
|
+
proves the demo sends nothing; this is the other half — the header that stops the page asking for
|
|
40
|
+
a camera, a microphone or a location at all. That is the kind of line dropped in a config tidy-up
|
|
41
|
+
because nothing appears to use it.
|
|
42
|
+
|
|
9
43
|
## 0.4.394
|
|
10
44
|
|
|
11
45
|
- **Added** a check that every field the error tables on `api-errors.md` document is on the error
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED