edfcore 0.4.525 → 0.4.526
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 +19 -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.526";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/docs/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,25 @@ 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.526
|
|
10
|
+
|
|
11
|
+
- **Added** the callout on `diagnostics.md` that stops a reader gating a read on the wrong number:
|
|
12
|
+
"`report.ok` is `severity !== 'error'` over a superset of `header.diagnostics`". It says three
|
|
13
|
+
things, each a claim about behaviour, and `diagnostic-docs.test.ts` checked only that the page
|
|
14
|
+
still words it that way.
|
|
15
|
+
- The superset half is the one that could rot in silence. `validateRecording` builds its own list,
|
|
16
|
+
so a header diagnostic dropped on the way in leaves the report describing a cleaner file than the
|
|
17
|
+
header did — and the report is the stricter of the two by construction, which is the direction
|
|
18
|
+
nobody thinks to check. Every diagnostic is now matched by severity, code and message, so two
|
|
19
|
+
occurrences of one code are two entries rather than one.
|
|
20
|
+
- `ok` is asserted as the sentence the page writes it as, twice over: directly against the report's
|
|
21
|
+
own diagnostics, and through `summarizeDiagnostics(...).errors === 0`, which is what a caller
|
|
22
|
+
actually counts with.
|
|
23
|
+
- The last clause is checked on the file it is about. A signal with a degenerate digital range
|
|
24
|
+
carries an `error`-severity diagnostic and makes `report.ok` false — and the file reads perfectly,
|
|
25
|
+
including that channel's samples, which is the deferred-fatal contract and the entire reason the
|
|
26
|
+
callout exists. Both verdicts are reached across the eight shapes, so neither is a constant.
|
|
27
|
+
|
|
9
28
|
## 0.4.525
|
|
10
29
|
|
|
11
30
|
- **Added** a check that what the CLI prints is what the library reports, over the eight awkward
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED