edfcore 0.4.154 → 0.4.156

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.154";
112
+ export declare const VERSION = "0.4.156";
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.154';
82
+ export const VERSION = '0.4.156';
83
83
  //# sourceMappingURL=constants.js.map
@@ -20,8 +20,8 @@
20
20
  * - `buildRecordIndex()` is the only function here that touches every record, it is chunked so
21
21
  * memory stays bounded whatever the file size, and it is never called implicitly.
22
22
  *
23
- * A probe reads a whole data record rather than just the annotation signal's region. That is
24
- * decision 7 of the design — the unit of I/O is the record range, never the channel range — and
23
+ * A probe reads a whole data record rather than just the annotation signal's region. That is the
24
+ * design's "unit of I/O" decision — the unit is the record range, never the channel range — and
25
25
  * it is also what lets `decodeAnnotations` own the timekeeping rule: it requires the record's
26
26
  * full bytes, and reading less would mean reimplementing that rule here.
27
27
  */
@@ -20,8 +20,8 @@
20
20
  * - `buildRecordIndex()` is the only function here that touches every record, it is chunked so
21
21
  * memory stays bounded whatever the file size, and it is never called implicitly.
22
22
  *
23
- * A probe reads a whole data record rather than just the annotation signal's region. That is
24
- * decision 7 of the design — the unit of I/O is the record range, never the channel range — and
23
+ * A probe reads a whole data record rather than just the annotation signal's region. That is the
24
+ * design's "unit of I/O" decision — the unit is the record range, never the channel range — and
25
25
  * it is also what lets `decodeAnnotations` own the timekeeping rule: it requires the record's
26
26
  * full bytes, and reading less would mean reimplementing that rule here.
27
27
  */
package/dist/types.d.ts CHANGED
@@ -430,7 +430,7 @@ export interface EdfRecordIndex {
430
430
  * One read of that WHOLE data record — `header.recordByteLength` bytes. Memoised.
431
431
  *
432
432
  * Not the annotation region alone, which this said until 0.3.71. The unit of I/O in edfcore is
433
- * the record, never the channel (decision 7), and `decodeAnnotations` owns the timekeeping rule
433
+ * the record, never the channel, and `decodeAnnotations` owns the timekeeping rule
434
434
  * and needs the record's full bytes to apply it. On a 64-channel file the region is 32 bytes of
435
435
  * a 16,416-byte record, so "targeted" understated the read by 513x — and `locate()` issues
436
436
  * O(log recordCount) of them, which is exactly the number a caller planning HTTP range requests
package/docs/CHANGELOG.md CHANGED
@@ -6,6 +6,18 @@ 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.156
10
+
11
+ - **Removed** the other "(decision 7)" citation, in `types.ts`. Same retired numbering, and this one
12
+ ships in `dist/types.d.ts` as the hover text for `EdfRecordIndex.onsetTicks`. The sentence already
13
+ states the decision, so the reference added nothing a reader could follow.
14
+
15
+ ## 0.4.155
16
+
17
+ - **Fixed** a docblock citing "decision 7 of the design". The numbered DESIGN.md it referred to no
18
+ longer exists; the decision record is the design-decisions page, whose sections are named rather
19
+ than numbered. It now cites the decision by name.
20
+
9
21
  ## 0.4.154
10
22
 
11
23
  - **Fixed** the README link still labelled "API — helpers", the last site of that rename. The
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edfcore",
3
- "version": "0.4.154",
3
+ "version": "0.4.156",
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.154';
96
+ export const VERSION = '0.4.156';
@@ -20,8 +20,8 @@
20
20
  * - `buildRecordIndex()` is the only function here that touches every record, it is chunked so
21
21
  * memory stays bounded whatever the file size, and it is never called implicitly.
22
22
  *
23
- * A probe reads a whole data record rather than just the annotation signal's region. That is
24
- * decision 7 of the design — the unit of I/O is the record range, never the channel range — and
23
+ * A probe reads a whole data record rather than just the annotation signal's region. That is the
24
+ * design's "unit of I/O" decision — the unit is the record range, never the channel range — and
25
25
  * it is also what lets `decodeAnnotations` own the timekeeping rule: it requires the record's
26
26
  * full bytes, and reading less would mean reimplementing that rule here.
27
27
  */
package/src/types.ts CHANGED
@@ -482,7 +482,7 @@ export interface EdfRecordIndex {
482
482
  * One read of that WHOLE data record — `header.recordByteLength` bytes. Memoised.
483
483
  *
484
484
  * Not the annotation region alone, which this said until 0.3.71. The unit of I/O in edfcore is
485
- * the record, never the channel (decision 7), and `decodeAnnotations` owns the timekeeping rule
485
+ * the record, never the channel, and `decodeAnnotations` owns the timekeeping rule
486
486
  * and needs the record's full bytes to apply it. On a 64-channel file the region is 32 bytes of
487
487
  * a 16,416-byte record, so "targeted" understated the read by 513x — and `locate()` issues
488
488
  * O(log recordCount) of them, which is exactly the number a caller planning HTTP range requests