edfcore 0.6.67 → 0.6.69

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 CHANGED
@@ -321,10 +321,13 @@ the reason to trust the reader.
321
321
 
322
322
  Every number above is asserted against the package by
323
323
  [`tests/integration/api-surface.test.ts`](tests/integration/api-surface.test.ts) — it counts the
324
- real exports, renders the real `--help`, and fails when this table drifts from either. The same
325
- counts are served at [`/api.json`](https://edfcore.vercel.app/api.json), which the documentation
326
- site generates at deploy time by importing the three published entry points and counting them, so
327
- it needs no maintenance at all.
324
+ real exports, renders the real `--help`, and fails when this table drifts from either.
325
+
326
+ The first two rows are also served at [`/api.json`](https://edfcore.vercel.app/api.json), which
327
+ the documentation site generates at deploy time by importing the three published entry points and
328
+ counting what they export, so it needs no maintenance at all. The other three are not there and
329
+ cannot be: types are erased before that endpoint can see them, and the diagnostic codes and CLI
330
+ commands are counted by reading source rather than by importing a barrel.
328
331
 
329
332
  ---
330
333
 
@@ -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.6.67";
112
+ export declare const VERSION = "0.6.69";
113
113
  //# sourceMappingURL=constants.d.ts.map
package/dist/constants.js CHANGED
@@ -79,5 +79,5 @@ export const SIGNAL_FIELD_BLOCK_OFFSETS = {
79
79
  reserved: 224,
80
80
  };
81
81
  /** Published package version. Kept in sync with package.json by a test. */
82
- export const VERSION = '0.6.67';
82
+ export const VERSION = '0.6.69';
83
83
  //# sourceMappingURL=constants.js.map
package/docs/CHANGELOG.md CHANGED
@@ -6,6 +6,32 @@ 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.6.69
10
+
11
+ - **Fixed** the README saying that the API-surface table's counts "are served at `/api.json`".
12
+ Two of the five rows are. The endpoint serves the entry-point count and the total number of
13
+ runtime exports, and cannot serve the other three: its own docblock says "Runtime exports only.
14
+ Types are erased before this file can see them", and the diagnostic codes and CLI commands are
15
+ the same problem — `api-surface.test.ts` counts those by reading source, which is not something
16
+ a build-time endpoint importing `dist` can do.
17
+ - A reader who took "the same counts" at its word went looking for a machine-readable public-type
18
+ count and found a document that does not mention types.
19
+ - The test reads the endpoint rather than importing it: it names `edfcore` by package, which
20
+ resolves through `website/node_modules`, and reaching into that directory is what broke CI on
21
+ 0.4.231 through 0.4.236.
22
+
23
+ ## 0.6.68
24
+
25
+ - **Fixed** every docs page describing itself two ways at once. `og:type` said `website` while the
26
+ JSON-LD in the same head said `TechArticle`.
27
+ - `Base.astro` states the rule in its own props: structured data "must restate what is visible on
28
+ the page, never more", because data contradicting the page — schema drift — reads as spam to the
29
+ crawlers it exists for. The two disagreeing blocks were both emitted by that layout.
30
+ - `og:type` is a prop now, defaulting to `website`, and the docs route passes `article`. The
31
+ landing page, the inspector and the 404 keep `website`, which is what they are. The test reads
32
+ both values off the built site and parses the JSON-LD rather than pattern-matching it, so a page
33
+ that claims one kind and declares the other fails whichever half moved.
34
+
9
35
  ## 0.6.67
10
36
 
11
37
  - **Added** `noindex, follow` to the 404 page, which was reachable as an ordinary indexable URL.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edfcore",
3
- "version": "0.6.67",
3
+ "version": "0.6.69",
4
4
  "description": "Modern, typed, zero-dependency reader for EDF, EDF+, BDF and BDF+ biosignal files. Works in browsers and Node with true random access.",
5
5
  "keywords": [
6
6
  "edf",
package/src/constants.ts CHANGED
@@ -93,4 +93,4 @@ export const SIGNAL_FIELD_BLOCK_OFFSETS = {
93
93
  } as const;
94
94
 
95
95
  /** Published package version. Kept in sync with package.json by a test. */
96
- export const VERSION = '0.6.67';
96
+ export const VERSION = '0.6.69';