edfcore 0.4.311 → 0.4.313
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.4.
|
|
112
|
+
export declare const VERSION = "0.4.313";
|
|
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.4.313
|
|
10
|
+
|
|
11
|
+
- **Added** an execution of the conversion table on `physical-values.md`: four rows of exact
|
|
12
|
+
float64 literals showing where EDFlib's expression and the textbook one part company. The
|
|
13
|
+
literals are parsed from the page, edfcore's column is produced by `toPhysical` and the other by
|
|
14
|
+
the rejected form, and both are compared with `Object.is` — the comparison the golden-value
|
|
15
|
+
harness uses, and the only one that can see the digit the table exists to show.
|
|
16
|
+
- The table is the argument for the package's one deliberate numerical choice, so its numbers
|
|
17
|
+
being right mattered more than most. They were, and nothing held them there. The scale the page
|
|
18
|
+
prints beside it and the claim that the two forms agree only at the endpoints are checked from
|
|
19
|
+
the same rows.
|
|
20
|
+
|
|
21
|
+
## 0.4.312
|
|
22
|
+
|
|
23
|
+
- **Added** a cross-check of the sample decoders printed on `edf-format.md` against edfcore's own.
|
|
24
|
+
The page's `decodeEdfSample` and `decodeBdfSample` are three lines each and derived straight
|
|
25
|
+
from the specification; `decode/digital.ts` de-interleaves whole records through a plan and a
|
|
26
|
+
typed-array fast path. Every one of the 65,536 EDF encodings now goes through both, along with
|
|
27
|
+
the BDF boundaries where sign extension from bit 23 is decided.
|
|
28
|
+
- The results the page prints beside each call are parsed out of it rather than restated, so
|
|
29
|
+
`decodeBdfSample(0xff, 0xff, 0x7f)` has to keep printing what those bytes actually hold.
|
|
30
|
+
|
|
9
31
|
## 0.4.311
|
|
10
32
|
|
|
11
33
|
- **Added** an execution of the worked address on `edf-format.md`. The page prints a hand-written
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED