edfcore 0.4.427 → 0.4.429

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.427";
112
+ export declare const VERSION = "0.4.429";
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.427';
82
+ export const VERSION = '0.4.429';
83
83
  //# sourceMappingURL=constants.js.map
package/docs/CHANGELOG.md CHANGED
@@ -6,6 +6,44 @@ 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.429
10
+
11
+ - **Added** tests for `edfcore validate` exiting 1 because validation failed. The exit-code table on
12
+ `cli.md` gives `1` two meanings in one row — "the file could not be read, or validation failed" —
13
+ and only the first was exercised. `runCli` returns `report.ok ? 0 : 1`, and nothing had ever
14
+ driven it down the `false` side, which is the entire reason the command exists.
15
+ - A CI job gating on conformance branches on that number without reading a word of the output, and
16
+ it can fail in two opposite ways. A gate that never fires passes every recording, including the
17
+ ones the library refused to scale, and nobody investigates a green tick. A gate that always fires
18
+ gets switched off, and the conformance checking goes with it.
19
+ - The second is likelier, and it turns on a boundary now stated as a subject: a warning is not a
20
+ failure. `LABEL_CONVENTION_NONCONFORMANT` is on almost every real recording, CHB-MIT ships a
21
+ duplicated channel label, a file marked EDF+C whose onsets drift is a warning because real
22
+ writers do that, and a zero record duration is legal EDF. A gate rejecting any of those would
23
+ reject the corpus this library was built to read.
24
+ - `header` on the same refused file exits 0, and that contrast is checked. It reports what the
25
+ header says and adjudicates nothing, which is what makes asking for a verdict worth doing.
26
+
27
+ ## 0.4.428
28
+
29
+ - **Added** a check that a version number which never reached npm says so at the heading and says
30
+ where its work went. Nineteen of the six hundred-odd headings in this file name a version nobody
31
+ can install; they exist because a reader comparing `npm view edfcore versions` against the file
32
+ would otherwise find a hole and be unable to tell a lost number from a missing note.
33
+ - `changelog-continuity.test.ts` checks the sequence. What it cannot see is whether a heading tells
34
+ the truth about itself, which is the half 0.4.307 was about: fourteen entries had been written
35
+ before their release failed, so each read exactly like one that shipped, with the correction in a
36
+ different entry further up that a reader landing on `## 0.4.288` never sees.
37
+ - So the marker has to be first — a note further down is a note nobody scrolling to a version
38
+ reads — and it has to point forward, because "Never released" alone strands the reader with work
39
+ that exists under a number they now have to search for. The pointer is bounded at twenty patches
40
+ and every real one is within six, so an incidental mention of some later release cannot stand in
41
+ for it: the 0.2.29 entry names 0.4.194 as the release that wrote it down, and that is not where
42
+ its work went.
43
+ - The two forms are kept apart on purpose. A number consumed before a tag was cut never became
44
+ public at all; a version that was tagged and whose publish then failed is public on GitHub and
45
+ absent from npm, which is a different thing to be told.
46
+
9
47
  ## 0.4.427
10
48
 
11
49
  - **Added** a property test for `trimToWindow` against the rule it states rather than the examples
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edfcore",
3
- "version": "0.4.427",
3
+ "version": "0.4.429",
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.427';
96
+ export const VERSION = '0.4.429';