edfcore 0.4.483 → 0.4.485
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 +30 -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.4.
|
|
112
|
+
export declare const VERSION = "0.4.485";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/docs/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,36 @@ 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.485
|
|
10
|
+
|
|
11
|
+
- **Added** the edge cases for the sub-second start offset, which is documented as `[0, 1)` and
|
|
12
|
+
was enforced by two comparisons that could both be relaxed with the suite green. The fixtures
|
|
13
|
+
that reach them use 1.5 s and 3 s — outside by a margin — so nothing had ever sat on the edge.
|
|
14
|
+
- An offset of exactly 1.0 s is not an exotic value. It is what a writer produces the first time
|
|
15
|
+
it puts the same second in both fields, and it means every time edfcore publishes for that file
|
|
16
|
+
is a second out. `START_OFFSET_OUT_OF_RANGE` exists to say so, and quotes the interval it is
|
|
17
|
+
applying.
|
|
18
|
+
- Both ends, in both paths: record 0's own onset and the value derived for a chunk that starts
|
|
19
|
+
later. Zero is checked as well, because it is the CLOSED end and the overwhelmingly common case
|
|
20
|
+
— a check that refused the boundary there would report every conforming file there is. One tick
|
|
21
|
+
below a second is the largest value the interval admits, and is accepted.
|
|
22
|
+
- The EDF+D case goes with it: the same derived value carries no implication on a file whose
|
|
23
|
+
marker is for gaps, so the refusal is about the interval on a file claiming continuity rather
|
|
24
|
+
than about the arithmetic.
|
|
25
|
+
|
|
26
|
+
## 0.4.484
|
|
27
|
+
|
|
28
|
+
- **Moved** the 31 MB fixture builds in `read-pattern.test.ts` into a `beforeAll` with a budget of
|
|
29
|
+
its own. All three builders already memoised, so only the first caller paid — but "the first
|
|
30
|
+
caller" is a test body with vitest's five-second default, and building 31 MB of records inside
|
|
31
|
+
it is most of that on an idle machine and more than it on a loaded one.
|
|
32
|
+
- The two tests that happen to ask first, one per fixture, then fail on a timeout that has nothing
|
|
33
|
+
to do with what they assert. Both were seen failing under coverage instrumentation while the
|
|
34
|
+
same run passed without it, which is the shape of failure that gets rerun rather than read.
|
|
35
|
+
- This is what 0.4.417 and 0.4.418 did for `spec-references.test.ts`, in that order and for the
|
|
36
|
+
same reason: memoising alone moves the cost onto whichever test runs first, and a `beforeAll` is
|
|
37
|
+
where a cost belonging to the file rather than to one case is supposed to sit.
|
|
38
|
+
|
|
9
39
|
## 0.4.483
|
|
10
40
|
|
|
11
41
|
- **Added** the whitespace-at-the-ends cases for the prefiltering conformance check, and a comment
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED