edfcore 0.4.379 → 0.4.381

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.
@@ -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.379";
112
+ export declare const VERSION = "0.4.381";
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.4.379';
82
+ export const VERSION = '0.4.381';
83
83
  //# sourceMappingURL=constants.js.map
package/docs/CHANGELOG.md CHANGED
@@ -6,6 +6,37 @@ 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.381
10
+
11
+ - **Added** the closure this batch earned: every documentation page has to be named by a test that
12
+ is about that page. `docs-coverage.test.ts` sweeps all of them for exported names and
13
+ `doc-snippets-compile.test.ts` compiles every fence, but a generic sweep says nothing about
14
+ whether a page's own tables, worked numbers and refusals have ever been executed.
15
+ - Several pages had none until recently. `edf-format.md` and `physical-values.md` were the first
16
+ two found that way, `migrating-to-0-3.md`, `api-validate.md` and `quick-start.md` the next three,
17
+ and each turned out to be carrying claims worth checking — one of them a wrong one. All
18
+ twenty-three are named now, and a page added tomorrow either gets a test or fails this and says
19
+ which page it is.
20
+ - The sweeps are excluded from counting rather than forbidden from naming a page. The first version
21
+ forbade it and was wrong to: `docs-coverage.test.ts` anchors its own non-vacuity with
22
+ `DOCS.has('api-helpers.md')`, which is reasonable and is not a check about that page. What
23
+ matters is that no page is covered only by a sweep.
24
+
25
+ ## 0.4.380
26
+
27
+ - **Added** enforcement for the fixture policy in `tests/README.md`: "No file from teuniz.net,
28
+ PhysioNet or edfplus.info may be committed." That is a licence rule and a privacy one — one of
29
+ those files is a real person's overnight polysomnogram, and committing it would publish it to
30
+ npm's mirrors and to every fork, permanently, in a way no later commit can undo.
31
+ - It held by one line in `.gitignore` and by nobody adding an exception, which is the shape of rule
32
+ that survives until the day someone wants a test to run in CI. Now every file the corpus can
33
+ download is checked against what git tracks, the whole download directory is checked rather than
34
+ the manifest's filenames alone, and every manifest entry has to record its source and licence —
35
+ a file whose licence nobody wrote down is one nobody can decide about later.
36
+ - The committed exception is checked to be exactly what the README says it is: the only tracked
37
+ EDF, BDF or REC files are the six goldens, none of which shares a name with anything the manifest
38
+ fetches, because they were generated locally rather than downloaded from anyone.
39
+
9
40
  ## 0.4.379
10
41
 
11
42
  - **Added** an execution of the "Oddities that bite implementers" section of `edf-format.md`, which
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edfcore",
3
- "version": "0.4.379",
3
+ "version": "0.4.381",
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.4.379';
96
+ export const VERSION = '0.4.381';