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.
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/docs/CHANGELOG.md +18 -0
- package/package.json +1 -1
- package/src/constants.ts +1 -1
package/dist/constants.d.ts
CHANGED
|
@@ -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.
|
|
112
|
+
export declare const VERSION = "0.6.42";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
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
package/src/constants.ts
CHANGED