edfcore 0.6.41 → 0.6.42

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.41";
112
+ export declare const VERSION = "0.6.42";
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.41';
82
+ export const VERSION = '0.6.42';
83
83
  //# sourceMappingURL=constants.js.map
package/docs/CHANGELOG.md CHANGED
@@ -6,6 +6,24 @@ 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.42
10
+
11
+ - **Fixed** a claim in `discontinuous.md`. It said that when `spanSeconds` and `coveredSeconds`
12
+ differ, "the difference is time that sits inside the recording and that no record covers". That
13
+ is one of the two ways they can differ. `coveredSeconds` is the sum of the record durations and
14
+ nothing subtracts a double-counted second from it, so on a file whose records overlap it exceeds
15
+ the span outright — six seconds of coverage inside a three-and-a-half second recording — and the
16
+ difference is time two records both claim, not time nothing covers.
17
+ - The library never believed the unsigned reading. `resolveTimeWindow` has partitioned this exact
18
+ comparison by sign since 0.3.33, because the one-sided message said "only" of the larger number;
19
+ `edfcore gaps` counts holes and overlaps apart (0.3.3); `EdfGap.durationSeconds` goes negative for
20
+ an overlap (0.2.69). The page was the last place the difference had one meaning.
21
+ - Twenty-five lines below that sentence, the same page already said a gap and an overlap can cancel
22
+ at the two probes. It knew overlaps existed where it described what the probes cannot see, and
23
+ not where it described what they measure.
24
+ - The page now reads the difference with its sign and quotes `resolveTimeWindow`'s overlap refusal
25
+ verbatim; a test executes the quote against the real message, so it cannot drift.
26
+
9
27
  ## 0.6.41
10
28
 
11
29
  - **Added** `start.offsetSeconds` to `edfcore json`: the sub-second start carried by record 0's
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edfcore",
3
- "version": "0.6.41",
3
+ "version": "0.6.42",
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.41';
96
+ export const VERSION = '0.6.42';