edfcore 0.5.29 → 0.5.30
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.30";
|
|
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.30
|
|
10
|
+
|
|
11
|
+
- **Added** what `diagnostics.md` prints for one header, printed. The page introduces the two ways of
|
|
12
|
+
looking at a diagnostics array by showing both on the same file: `formatDiagnostics` renders one
|
|
13
|
+
entry in full, five detail lines and all, and `summarizeDiagnostics` reduces the same four
|
|
14
|
+
diagnostics to `total 4, errors 1, warnings 1, infos 2`. Neither transcript was run.
|
|
15
|
+
`diagnostics.test.ts` covers the vocabulary and the sink, `diagnostic-message-lines.test.ts` the
|
|
16
|
+
line discipline, and `summarize-diagnostics.test.ts` the counting rules — all against fixtures of
|
|
17
|
+
their own.
|
|
18
|
+
- The rendered block is the one worth comparing whole. It is what a user pastes into an issue, and
|
|
19
|
+
every part of it is load-bearing differently: the severity and code a reader greps for, the
|
|
20
|
+
message, the byte offset they take to a hex editor, the raw bytes as written, the expected/actual
|
|
21
|
+
pair, and the spec clause. The page is the only place the whole shape appears.
|
|
22
|
+
- The paragraph under it makes four smaller claims and each is now checked: no ANSI escapes unless
|
|
23
|
+
you ask; `color` adds them, and stripping them gives back the uncoloured text exactly, so colour
|
|
24
|
+
is decoration and not content; `maxItems` caps the blocks and appends `... and N more`, dimmed
|
|
25
|
+
with SGR 2 when colour is on; and `formatDiagnostics([])` returns the empty string rather than a
|
|
26
|
+
blank line, which is what lets it concatenate into a larger report.
|
|
27
|
+
- The fixture is built to the page's own numbers rather than to a convenient shape — one error, one
|
|
28
|
+
warning and two infos is what the summary transcript says, and the two infos come from two
|
|
29
|
+
different codes because `byCode` is printed beside them.
|
|
30
|
+
|
|
9
31
|
## 0.5.29
|
|
10
32
|
|
|
11
33
|
- **Added** the contract `signalIndices` has to keep at all five reads that take one.
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED