edfcore 0.5.11 → 0.5.12
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.12";
|
|
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.12
|
|
10
|
+
|
|
11
|
+
- **Added** the six mistakes `AGENTS.md` tells a code generator to avoid, run. That file carries two
|
|
12
|
+
lists: "Things that look like bugs and are not" is bound to tests by `agents-rules.test.ts`, which
|
|
13
|
+
fails if a rule is added without one; the other list had only `agents-snippet.test-d.ts`, which
|
|
14
|
+
compiles the fence beneath it. Whether the six sentences are true of a running file was
|
|
15
|
+
established nowhere.
|
|
16
|
+
- They are the sentences most likely to be acted on without being read carefully, because they are
|
|
17
|
+
written for something generating code rather than for someone reading. Each describes a mistake
|
|
18
|
+
that produces OUTPUT rather than an error: microvolts that are really ADC counts, a chunk that is
|
|
19
|
+
really an array, an index computed from a rate that does not exist, an event compared on the wrong
|
|
20
|
+
axis, one rate assumed for a file with three, a defect reported as a value and never looked at.
|
|
21
|
+
- The fourth has arithmetic in it and is checked as arithmetic. The two annotation onset fields
|
|
22
|
+
"differ by record 0's sub-second offset", so the fixture declares a quarter-second one and the
|
|
23
|
+
difference is asserted against it. On a file with no offset the two are equal, and a test written
|
|
24
|
+
against such a file would pass while the sentence was wrong.
|
|
25
|
+
- The sixth is checked with the console replaced: the diagnostics arrive as values on the header,
|
|
26
|
+
nothing throws, and no `log`, `warn`, `error`, `info`, `debug` or `trace` is called.
|
|
27
|
+
- The list is enumerated from `AGENTS.md` and bound by content rather than position, so a reordered
|
|
28
|
+
list keeps its bindings, a rewritten entry loses one loudly, and a seventh mistake is a mistake
|
|
29
|
+
with no test until it has one.
|
|
30
|
+
|
|
9
31
|
## 0.5.11
|
|
10
32
|
|
|
11
33
|
- **Added** the sentence `api-helpers.md` gives as the entire reason `readEnvelopeAtResolution`
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED