edfcore 0.5.52 → 0.5.53

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.
@@ -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.52";
112
+ export declare const VERSION = "0.5.53";
113
113
  //# sourceMappingURL=constants.d.ts.map
package/dist/constants.js CHANGED
@@ -79,5 +79,5 @@ export const SIGNAL_FIELD_BLOCK_OFFSETS = {
79
79
  reserved: 224,
80
80
  };
81
81
  /** Published package version. Kept in sync with package.json by a test. */
82
- export const VERSION = '0.5.52';
82
+ export const VERSION = '0.5.53';
83
83
  //# sourceMappingURL=constants.js.map
package/docs/CHANGELOG.md CHANGED
@@ -6,6 +6,24 @@ 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.53
10
+
11
+ - **Added** the CLI's half of determinism. `diagnostics.md` says of the formatter underneath it that
12
+ "the output is deterministic (no locale-sensitive formatting, no ANSI escapes unless you ask), so
13
+ it's safe to snapshot in a test", and 0.5.26 checked that for the library. The CLI is a second
14
+ surface over those formatters, with joins, sorts, caps and column padding of its own, and the
15
+ claim that matters for it is the one a script depends on: run it twice on the same bytes and you
16
+ get the same bytes back.
17
+ - That is what `edfcore signals big.edf | sort | diff -` is built on and what makes `edfcore json`
18
+ usable in a build. It is easy to lose in ways no single-run test would see — a `Map` iterated
19
+ where a `Set` was meant, a sort that is not total, a count formatted from a float — and each
20
+ produces output that is right most of the time.
21
+ - Every command now runs twice over every shape in the matrix: sixty pairs over ten files, with the
22
+ exit code and the full text of both streams compared. The stronger form runs too — a second
23
+ recording opened over a copy of the bytes gives the same output, so it is a function of the file
24
+ rather than stable per process. And the totals are asserted, so sixty pairs of empty strings could
25
+ not pass.
26
+
9
27
  ## 0.5.52
10
28
 
11
29
  - **Added** the sweep for a selection that came from JSON. `io/read.ts` says why this is not a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edfcore",
3
- "version": "0.5.52",
3
+ "version": "0.5.53",
4
4
  "description": "Modern, typed, zero-dependency reader for EDF, EDF+, BDF and BDF+ biosignal files. Works in browsers and Node with true random access.",
5
5
  "keywords": [
6
6
  "edf",
package/src/constants.ts CHANGED
@@ -93,4 +93,4 @@ export const SIGNAL_FIELD_BLOCK_OFFSETS = {
93
93
  } as const;
94
94
 
95
95
  /** Published package version. Kept in sync with package.json by a test. */
96
- export const VERSION = '0.5.52';
96
+ export const VERSION = '0.5.53';