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.
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/record-index.d.ts +2 -2
- package/dist/record-index.js +2 -2
- package/dist/types.d.ts +1 -1
- package/docs/CHANGELOG.md +12 -0
- package/package.json +1 -1
- package/src/constants.ts +1 -1
- package/src/record-index.ts +2 -2
- package/src/types.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.156";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/dist/record-index.d.ts
CHANGED
|
@@ -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
|
-
*
|
|
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/record-index.js
CHANGED
|
@@ -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
|
-
*
|
|
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
|
|
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
package/src/constants.ts
CHANGED
package/src/record-index.ts
CHANGED
|
@@ -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
|
-
*
|
|
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
|
|
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
|