edfcore 0.4.330 → 0.4.332
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 +23 -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.332";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/docs/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,29 @@ 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.332
|
|
10
|
+
|
|
11
|
+
- **Fixed** a test of mine that could time out. The UTF-8 sweep added in 0.4.324 encoded each of
|
|
12
|
+
the 1.1 million code points above U+007F on its own and walked the result with an iterator, which
|
|
13
|
+
took about 2.6 seconds alone and over five under a loaded suite — past the default timeout. It
|
|
14
|
+
had passed every run until the suite grew enough to starve it.
|
|
15
|
+
- Now encoded in blocks and scanned by index. UTF-8 is context-free, so the bytes of a run of code
|
|
16
|
+
points are the concatenation of each one's, and the check covers the same 4,382,464 bytes in
|
|
17
|
+
about a tenth of the time. Raising the timeout was the other option and the wrong one: it would
|
|
18
|
+
have left a five-second check running on every commit to prove something that takes a third of a
|
|
19
|
+
second to prove.
|
|
20
|
+
|
|
21
|
+
## 0.4.331
|
|
22
|
+
|
|
23
|
+
- **Added** an execution of the example `migrating-to-0-3.md` builds its whole argument on: on a
|
|
24
|
+
file with a seven-second hole after record 2, the grid form puts sample 12 at 3 seconds and the
|
|
25
|
+
recording-aware form puts it at 10. Both numbers, the size of the hole and the record it follows
|
|
26
|
+
are read out of the page, and the fixture is built from them.
|
|
27
|
+
- The sentence the rename exists for is checked too, from the other side: before the hole the two
|
|
28
|
+
forms return the same number for every sample, which is exactly why the difference was easy to
|
|
29
|
+
miss. And the gap accounts for the whole of the difference after it — the page says both numbers
|
|
30
|
+
are correct about different things, and this is the arithmetic that makes that true.
|
|
31
|
+
|
|
9
32
|
## 0.4.330
|
|
10
33
|
|
|
11
34
|
- **Added** a check over `migrating-to-0-3.md`, which was one of four documentation pages no test
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED