edfcore 0.3.86 → 0.3.88
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/CHANGELOG.md +30 -0
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/package.json +1 -1
- package/src/constants.ts +1 -1
package/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.3.88
|
|
10
|
+
|
|
11
|
+
- **Fixed** `data-sources.md` saying the ignored-`Range` check "happens during the length probe,
|
|
12
|
+
before a second request is made". The probe runs on only one of the three ways `httpSource` learns
|
|
13
|
+
a length, and on the other two the check cannot fire until the caller's first `read()`.
|
|
14
|
+
- `httpSource` returns before the probe when `options.byteLength` was supplied, and again when
|
|
15
|
+
`HEAD` gave a usable `Content-Length`. A CDN that answers `HEAD` and then ignores `Range` — the
|
|
16
|
+
ordinary shape of this failure — therefore hands back a source that constructs cleanly and
|
|
17
|
+
refuses the first read. A reader who trusted the page treated a successful `httpSource()` as
|
|
18
|
+
proof the origin honours `Range`.
|
|
19
|
+
- The page now gives the rule as a table of the three paths and says which of them can see a 200
|
|
20
|
+
at construction.
|
|
21
|
+
- The test drives both branches through a fake `fetch` and asserts the request METHODS issued —
|
|
22
|
+
`['HEAD']` when HEAD answers, `['HEAD', 'GET']` when it does not — so it pins the reason the two
|
|
23
|
+
behave differently, not just that they do.
|
|
24
|
+
|
|
25
|
+
## 0.3.87
|
|
26
|
+
|
|
27
|
+
- **Fixed** `api-validate.md` saying "The other five are also emitted by the parser" under a
|
|
28
|
+
ten-row table from which four codes had just been excluded. Ten minus four is six, and all six
|
|
29
|
+
really are parser codes: `RECORD_SIZE_ABOVE_RECOMMENDED`, `PATIENT_ID_NONCONFORMANT`,
|
|
30
|
+
`RECORDING_ID_NONCONFORMANT`, `DATE_UNPARSEABLE`, `DATE_FIELDS_DISAGREE` and
|
|
31
|
+
`STARTTIME_UNPARSEABLE`.
|
|
32
|
+
- The sentence is load-bearing — it is how a reader knows the report stands on its own rather than
|
|
33
|
+
only making sense beside `header.diagnostics` — so a reader who counted the table and got a
|
|
34
|
+
different answer had reason to doubt the claim rather than the arithmetic.
|
|
35
|
+
- Both numbers are now derived from the table itself: the count of rows, minus the count the prose
|
|
36
|
+
says exist nowhere else. Adding a row fails the suite until the prose is updated, which is the
|
|
37
|
+
rule 0.3.63 applied to `diagnostics.md` after the same kind of drift.
|
|
38
|
+
|
|
9
39
|
## 0.3.86
|
|
10
40
|
|
|
11
41
|
- **Fixed** `formatStartTimeNaive`'s reference entry naming one of its two `undefined` cases, and
|
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.3.
|
|
112
|
+
export declare const VERSION = "0.3.88";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/package.json
CHANGED
package/src/constants.ts
CHANGED