edfcore 0.4.487 → 0.4.488
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 +17 -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.488";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/docs/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,23 @@ 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.488
|
|
10
|
+
|
|
11
|
+
- **Added** a property test for `formatDiagnostics`' `maxItems` accounting. The cap is what stops a
|
|
12
|
+
file with four hundred defects filling a terminal, and the "... and N more" line under the output
|
|
13
|
+
is the only thing telling a reader that a cap was applied at all.
|
|
14
|
+
- Both ways of getting it wrong are silent. Too small an N and a reader believes they have seen
|
|
15
|
+
more of the file than they have; a missing line and they believe they have seen all of it.
|
|
16
|
+
- The rounding is where the untested cases were. `resolveLimit` floors a fractional `maxItems`,
|
|
17
|
+
clamps a negative one to zero, and treats `undefined` and any non-finite value as no cap —
|
|
18
|
+
four behaviours reachable from a flag, a config file or a caller's arithmetic, each changing
|
|
19
|
+
what N should be, and none of them a round number anyone writes into a fixture.
|
|
20
|
+
- Three invariants, and the third is what makes the other two mean anything: the blocks shown are
|
|
21
|
+
the resolved limit, the notice appears exactly when something was withheld, and shown plus
|
|
22
|
+
hidden is the number that went in. Without the third, showing nothing and claiming everything was
|
|
23
|
+
hidden satisfies both of the others. Order is pinned separately — a reader who raises the cap
|
|
24
|
+
expects the lines they already read to still be above the new ones.
|
|
25
|
+
|
|
9
26
|
## 0.4.487
|
|
10
27
|
|
|
11
28
|
- **Set** the suite's test timeout explicitly, at thirty seconds, with the reasoning in the config.
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED