edfcore 0.4.476 → 0.4.477
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 +15 -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.477";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/docs/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,21 @@ 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.477
|
|
10
|
+
|
|
11
|
+
- **Added** the case where a 206 says which bytes it sent and not how large the resource is. The
|
|
12
|
+
short-tail message has a clause for that — "the end of the resource" rather than "the end of a
|
|
13
|
+
N-byte resource" — and nothing had ever taken it, because every case supplied a readable total.
|
|
14
|
+
- A streaming origin produces it as a matter of course: the length is not known when the response
|
|
15
|
+
heads out, so RFC 7233's `*` goes in the slot and the range is still exact. Both spellings are
|
|
16
|
+
covered, the star and a total that is simply unreadable, because the clause is about
|
|
17
|
+
readability rather than about the star.
|
|
18
|
+
- What it must not do is print the number it does not have. "the end of a undefined-byte
|
|
19
|
+
resource" is the shape that mistake takes, and it lands in the one sentence a reader consults
|
|
20
|
+
to decide whether their `options.byteLength` or their CDN is at fault. The assertions rule out
|
|
21
|
+
both `-byte resource` and the word `undefined`, and keep the number that IS known — the 32 the
|
|
22
|
+
source was built for, which is what the message is telling them to go and check.
|
|
23
|
+
|
|
9
24
|
## 0.4.476
|
|
10
25
|
|
|
11
26
|
- **Added** the zero-record-duration case to `readTriggers`, the last reader in the package
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED