edfcore 0.4.481 → 0.4.482

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.481";
112
+ export declare const VERSION = "0.4.482";
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.481';
82
+ export const VERSION = '0.4.482';
83
83
  //# sourceMappingURL=constants.js.map
package/docs/CHANGELOG.md CHANGED
@@ -6,6 +6,19 @@ 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.482
10
+
11
+ - **Added** the `maxMaterializeBytes` boundary for `validateRecording`'s scan scratch buffer — the
12
+ fourth place in the package that compares a requirement against that budget, and the one
13
+ 0.4.464 missed. That release pinned the other three by grepping for `resolveMaterializeBudget`;
14
+ this call site names its own variable, so the grep walked past it.
15
+ - The rule has to be the same in all four. A caller who sizes a request to the budget lands ON the
16
+ number, and a strict comparison here refuses the arithmetic the other three accept — for the one
17
+ option whose whole purpose is letting a caller state a ceiling and work up to it.
18
+ - Two records of ten samples need eighty bytes of `Int32Array`: a budget of eighty scans them, and
19
+ seventy-nine is refused with both numbers on the error. Relaxing the comparison now fails a test
20
+ instead of none.
21
+
9
22
  ## 0.4.481
10
23
 
11
24
  - **Added** tests for the two overlaps `validate.ts` documents as deliberate. Its docblock names
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edfcore",
3
- "version": "0.4.481",
3
+ "version": "0.4.482",
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.481';
96
+ export const VERSION = '0.4.482';