edfcore 0.4.337 → 0.4.339
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 +26 -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.339";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/docs/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,32 @@ 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.339
|
|
10
|
+
|
|
11
|
+
- **Added** the three refusals `quick-start.md` promises, each of which is a single clause on the
|
|
12
|
+
page and a real guard in the library: passing the annotations index to `readWindow` throws rather
|
|
13
|
+
than plotting timestamped text as a waveform, a label differing only in case is refused because
|
|
14
|
+
matching is exact and case-sensitive, and a duplicated label is refused rather than resolved to
|
|
15
|
+
the first.
|
|
16
|
+
- The detail the page attaches to each is checked too, not just that something throws. The
|
|
17
|
+
not-found error has to list every label in the file — all three, not only the near miss — and the
|
|
18
|
+
ambiguous one has to name the indices that carry the label, which is what makes either message
|
|
19
|
+
actionable rather than a report that the call did not work.
|
|
20
|
+
|
|
21
|
+
## 0.4.338
|
|
22
|
+
|
|
23
|
+
- **Added** a check that the three published copies of `ByteSource` agree. It is the one type a
|
|
24
|
+
caller implements rather than consumes — the extension point that lets a file, a blob, an object
|
|
25
|
+
store and an HTTP range share one path — so it is printed in full on `data-sources.md`, again on
|
|
26
|
+
`api-sources.md`, and declared in `src/types.ts`. Two of those are hand-typed copies of the
|
|
27
|
+
third.
|
|
28
|
+
- A drift here is worse than a stale sentence: someone writes an implementation against a printed
|
|
29
|
+
signature, TypeScript disagrees with the page, and the page is what they trusted. A dropped
|
|
30
|
+
`readonly`, a `close` that stopped being optional, a `ReadOptions` parameter that gained a
|
|
31
|
+
sibling — each is a one-word edit that neither `astro check` nor `tsc` can see, because a fenced
|
|
32
|
+
block is not code either of them compiles. `doc-snippets-compile.test.ts` compiles the fences
|
|
33
|
+
that are complete programs; this one is a declaration, so it is compared against the declaration.
|
|
34
|
+
|
|
9
35
|
## 0.4.337
|
|
10
36
|
|
|
11
37
|
- **Added** an execution of the annotation listing on `quick-start.md`. The page's own format
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED