edfcore 0.4.338 → 0.4.340

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.338";
112
+ export declare const VERSION = "0.4.340";
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.338';
82
+ export const VERSION = '0.4.340';
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.4.340
10
+
11
+ - **Added** a check for the table `large-files.md` opens with: a read count and a byte count for
12
+ each of four shapes of file, supporting the sentence that is the reason to reach for this
13
+ library at all — "That is the entire cost, whatever the file size." All four rows are now opened
14
+ through a recording source and counted.
15
+ - A read count is not something a type or a lint can hold. It is a property of the call graph and
16
+ it changes by accident: a helper that fetches a field it already has, a probe that stops
17
+ short-circuiting on a one-record file, a header read split per signal block. The page names that
18
+ last one outright, and over HTTP it is the difference between one round trip and sixty-four on a
19
+ call the caller believes is free — so it is checked on a 64-signal file. Also pinned: the header
20
+ read uses the computed `256 * (ns + 1)` rather than the byte-length field, checked against a file
21
+ that declares a wrong one.
22
+
23
+ ## 0.4.339
24
+
25
+ - **Added** the three refusals `quick-start.md` promises, each of which is a single clause on the
26
+ page and a real guard in the library: passing the annotations index to `readWindow` throws rather
27
+ than plotting timestamped text as a waveform, a label differing only in case is refused because
28
+ matching is exact and case-sensitive, and a duplicated label is refused rather than resolved to
29
+ the first.
30
+ - The detail the page attaches to each is checked too, not just that something throws. The
31
+ not-found error has to list every label in the file — all three, not only the near miss — and the
32
+ ambiguous one has to name the indices that carry the label, which is what makes either message
33
+ actionable rather than a report that the call did not work.
34
+
9
35
  ## 0.4.338
10
36
 
11
37
  - **Added** a check that the three published copies of `ByteSource` agree. It is the one type a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edfcore",
3
- "version": "0.4.338",
3
+ "version": "0.4.340",
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.338';
96
+ export const VERSION = '0.4.340';