edfcore 0.5.74 → 0.5.75
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 +22 -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.5.
|
|
112
|
+
export declare const VERSION = "0.5.75";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/docs/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,28 @@ 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.5.75
|
|
10
|
+
|
|
11
|
+
- **Fixed** the rule `awkward-files.ts` states and eleven of its eighteen readers did not follow.
|
|
12
|
+
Its docblock ends by telling every consumer to "assert `AWKWARD.length` rather than trusting it,
|
|
13
|
+
so a shape removed from here fails the test that was relying on it". Seven did. The other eleven
|
|
14
|
+
read the matrix and pinned nothing, and each now states the size it was written against.
|
|
15
|
+
- The failure that prevents is quiet by construction. Almost every consumer is a
|
|
16
|
+
`for (const file of AWKWARD)` loop generating one `it` per shape, so deleting a shape fails
|
|
17
|
+
nothing — it removes cases. The suite goes green with less in it, the count in the terminal drops
|
|
18
|
+
by a number nobody has memorised, and the coverage a file was written to have is gone with no
|
|
19
|
+
evidence it ever existed.
|
|
20
|
+
- `the-matrix-is-checked-by-its-users.test.ts` enforces it from the imports, so a nineteenth
|
|
21
|
+
consumer fails until it says the same, and it also refuses a stated size the matrix no longer has
|
|
22
|
+
— which is what turns "add a shape" into a change the author walks through the suite for. The
|
|
23
|
+
assertion has to live in each consumer rather than once here: one check that the matrix has
|
|
24
|
+
eleven entries keeps the number honest and says nothing about whether the file that needed a BDF
|
|
25
|
+
shape still gets one.
|
|
26
|
+
- **Fixed** seven docblocks describing the matrix by a size it stopped having. Six said "the eight
|
|
27
|
+
`AWKWARD` shapes" — true until 0.5.48 added two — and one said ten, which was mine from 0.5.63.
|
|
28
|
+
`cli-unfamiliar-file.test.ts` had done the arithmetic in prose as well: six commands over eight
|
|
29
|
+
shapes is forty-eight invocations, and it has been running sixty-six.
|
|
30
|
+
|
|
9
31
|
## 0.5.74
|
|
10
32
|
|
|
11
33
|
- **Added** an eleventh shape to the `AWKWARD` matrix: a file with a gap AND a sub-second start
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED