edfcore 0.4.387 → 0.4.389

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.387";
112
+ export declare const VERSION = "0.4.389";
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.387';
82
+ export const VERSION = '0.4.389';
83
83
  //# sourceMappingURL=constants.js.map
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.389
10
+
11
+ - **Added** a check that the three verifications outside `npm run check` are run by something.
12
+ `AGENTS.md` says CI runs all three, and that arrangement is sound and fragile: `verify:package`
13
+ packs the tarball and asks publint and `@arethetypeswrong/cli` what a consumer would resolve,
14
+ `verify:tarball` asks what npm would ship and what it must not, `verify:site` reads the generated
15
+ endpoints out of `website/dist`. None can run inside the suite, so the suite could not notice one
16
+ of them ceasing to run at all.
17
+ - Deleting a `- run:` line from `ci.yml` is a one-line edit that turns a check into a script nobody
18
+ invokes, leaves every test here green, and leaves that paragraph saying CI runs it. The gap would
19
+ surface the next time the thing it guards broke, which is when nobody is reading CI config.
20
+ - The set comes from `package.json` rather than from the prose — every `verify:*` script has to be
21
+ a step in `ci.yml`, and none of them may be reachable from `npm run check`, which is the premise
22
+ of the arrangement. The fenced block in `AGENTS.md` is then checked against that same set, so
23
+ "three" is a number this can be wrong about.
24
+
25
+ ## 0.4.388
26
+
27
+ - **Fixed** the figure three places give for the size of this suite. The README said 1,900 or more
28
+ tests, the note at the foot of `installation.md` said 1,200 or more, and the docblock of
29
+ `browser-safety.test.ts` said 1,900-odd — three figures for one fact, the smallest of them eight
30
+ hundred behind. All three now say 2,000.
31
+ - None of them was ever false, which is why nothing caught them. A claim of the form "N or more"
32
+ stays true forever once it is true, and the property that makes it safe is the property that
33
+ makes it worthless: it can never be wrong, so it is never re-read. What a reader takes from it is
34
+ a sense of scale, and half the real scale is a wrong impression conveyed in a true sentence.
35
+ - **Added** the check that keeps it current: the figure has to be one figure wherever it is stated,
36
+ and no smaller than the number of `it(...)` and `test(...)` declarations the suite writes out. It
37
+ fails when the suite grows past what the pages claim, which is the direction this rots in.
38
+ - It does not check the other direction. Four dozen of those declarations are `it.each(...)`,
39
+ expanding at run time to one case per row, so the count read out of the files is a floor rather
40
+ than the total — the right side to be wrong on, since a figure that clears it is true of the real
41
+ total too, but nothing here would notice one inflated past both.
42
+
9
43
  ## 0.4.387
10
44
 
11
45
  - **Added** a check that the published `bin` runs as a program. `cli.test.ts` and the rest drive
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edfcore",
3
- "version": "0.4.387",
3
+ "version": "0.4.389",
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.387';
96
+ export const VERSION = '0.4.389';