edfcore 0.6.35 → 0.6.36

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.6.35";
112
+ export declare const VERSION = "0.6.36";
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.6.35';
82
+ export const VERSION = '0.6.36';
83
83
  //# sourceMappingURL=constants.js.map
package/docs/CHANGELOG.md CHANGED
@@ -6,6 +6,33 @@ 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.6.36
10
+
11
+ - **Added** a seventeenth shape to the `AWKWARD` matrix: records that overlap in time, where a
12
+ record starts before the one before it ended and two records claim the same instant. edfcore has
13
+ always known about them — the gap list carries one with a negative duration (0.2.69),
14
+ `mergeChunks` refuses the join, `edfcore gaps` prints it in its own column, and the probe raises
15
+ `RECORD_ONSET_SPACING_VIOLATION`, a warning rather than an error because an overlapping file is
16
+ still readable.
17
+ - **Fixed** four sweeps that were asserting things true only of files whose records do not overlap,
18
+ which nothing had ever supplied:
19
+ - `header-helpers-agree` said the sum of the record durations never exceeds the span. It exceeds
20
+ it by exactly the overlap, because an overlap counts an instant twice.
21
+ - `timeline-helpers-agree` said an instant inside a segment is answered with THAT segment, and
22
+ that a gap's midpoint is in no segment. Two segments contain an overlapped instant, and an
23
+ overlap's interval runs backwards, so its midpoint is inside a segment rather than in a hole.
24
+ - `reading-helpers-agree` said a window at a sample's start begins at that sample's record, and
25
+ that a window's chunks join. Neither holds here — and the second was the half of its own
26
+ comment the code had never run: "either join or are refused with a reason" had only ever seen
27
+ joining.
28
+ - None of the four was a defect in `src/`. The library refuses the unindexed read with a message in
29
+ the file's own numbers ("records covering 6 s are packed into a 3.5 s span"), returns both
30
+ covering records in separate chunks once it has an index, and refuses to concatenate them. Each
31
+ sweep now states the weaker thing true of every file and the stronger thing true of this one,
32
+ rather than exempting the shape.
33
+ - That is what a matrix is for: the claims were not wrong because anyone was careless, they were
34
+ claims with no counterexample.
35
+
9
36
  ## 0.6.35
10
37
 
11
38
  - **Added** the census that closes the class four releases in a row have been fixing. A sample rate
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edfcore",
3
- "version": "0.6.35",
3
+ "version": "0.6.36",
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.6.35';
96
+ export const VERSION = '0.6.36';