edfcore 0.5.53 → 0.5.54

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.5.53";
112
+ export declare const VERSION = "0.5.54";
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.5.53';
82
+ export const VERSION = '0.5.54';
83
83
  //# sourceMappingURL=constants.js.map
package/docs/CHANGELOG.md CHANGED
@@ -6,6 +6,25 @@ 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.5.54
10
+
11
+ - **Added** the claim the `index` option on `validateRecording` is only worth having if it holds: a
12
+ sweep that was handed an index says what a sweep that read one says. `api-validate.md` prices the
13
+ option — a supplied complete index is the difference between a scan of every record and no
14
+ traversal at all — and `inspect-validate.test.ts` checks that it does skip the traversal and that
15
+ a probed index is not accepted as a substitute. Nothing checked that the report is the same.
16
+ - It is a real risk rather than a formality. The two paths reach `segmentCount` and `gaps` through
17
+ different code — one from `buildSegmentation` over onsets it just read, the other from the
18
+ `segments` and `gaps` already on the supplied index — and everything the report says about
19
+ structure is derived from those two. A supplied index that produced a different segment count
20
+ would be a faster answer to a different question.
21
+ - Both now run over every shape in the matrix and are compared whole, with `scanSamples` on so the
22
+ sample statistics are in it: `ok`, every diagnostic and every entry of `signalStats`. The matrix
23
+ is asserted to reach both verdicts and to produce real statistics, so the comparison is of
24
+ something.
25
+ - `bytesRead` is the one number that legitimately differs, and it is asserted to be lower — on the
26
+ files where there is anything to skip, which is the reason the option exists.
27
+
9
28
  ## 0.5.53
10
29
 
11
30
  - **Added** the CLI's half of determinism. `diagnostics.md` says of the formatter underneath it that
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edfcore",
3
- "version": "0.5.53",
3
+ "version": "0.5.54",
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.5.53';
96
+ export const VERSION = '0.5.54';