edfcore 0.4.384 → 0.4.385

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.4.384";
112
+ export declare const VERSION = "0.4.385";
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.4.384';
82
+ export const VERSION = '0.4.385';
83
83
  //# sourceMappingURL=constants.js.map
package/docs/CHANGELOG.md CHANGED
@@ -6,6 +6,25 @@ 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.385
10
+
11
+ - **Added** a check that the file the inspector hands a first-time visitor is one edfcore accepts.
12
+ `website/src/scripts/sample-edf.ts` writes an EDF+C by hand from the specification for the demo's
13
+ "load a sample recording" button, and it is the only EDF writer here the suite never touched:
14
+ `tests/support/writer.ts` is checked constantly, and that one was checked by whoever last loaded
15
+ the page.
16
+ - A drift there is the worst-placed defect on the site. The visitor clicks the one button the page
17
+ offers and the inspector reports diagnostics about a file we wrote, which reads as edfcore being
18
+ wrong about a valid recording — on the page built to demonstrate the opposite.
19
+ - It opens as EDF+C with 120 one-second records and five signals, validates with `ok: true` and one
20
+ info diagnostic (the two-digit startdate year every conforming EDF+ file carries), carries its
21
+ seven scored events with the apnea spanning 70 s to 84 s, and decodes inside every declared
22
+ physical range without flattening to a line.
23
+ - The generator is compiled with `tsc` and imported from a temporary directory rather than
24
+ imported directly, because `transform-boundary.test.ts` forbids pulling TypeScript out of
25
+ `website/` — vite would resolve that file's tsconfig out of `website/node_modules`, which the CI
26
+ check job does not install. `tsc` on a named file reads no tsconfig at all.
27
+
9
28
  ## 0.4.384
10
29
 
11
30
  - **Added** the browser half of `node-floor.test.ts`. The Node floor is checked in eleven places
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edfcore",
3
- "version": "0.4.384",
3
+ "version": "0.4.385",
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.4.384';
96
+ export const VERSION = '0.4.385';