edfcore 0.3.129 → 0.3.130

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/CHANGELOG.md CHANGED
@@ -6,6 +6,13 @@ 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.3.130
10
+
11
+ - **Fixed** `options.ts` saying `maxMaterializeBytes` is read "in four modules spread across four
12
+ layers". Six read it, and they are now named — the same undercount 0.3.119 corrected on
13
+ `large-files.md`, in the docblock whose whole argument is that a guard applied in only some of
14
+ them is not a guard. It ships in `dist/options.d.ts`.
15
+
9
16
  ## 0.3.129
10
17
 
11
18
  - **Corrected** 0.3.119's own sentence, which called all three off-path budget sites refusals. Two
@@ -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.3.129";
112
+ export declare const VERSION = "0.3.130";
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.3.129';
82
+ export const VERSION = '0.3.130';
83
83
  //# sourceMappingURL=constants.js.map
package/dist/options.d.ts CHANGED
@@ -2,8 +2,9 @@
2
2
  * Numeric options, refused rather than silently coerced.
3
3
  *
4
4
  * Layer 1. Imports one constant and nothing else, so every layer can reach it — which is the
5
- * point: `maxMaterializeBytes` is read in four modules spread across four layers, and a guard
6
- * that only one of them applies is not a guard.
5
+ * point: `maxMaterializeBytes` is read in six modules spread across the stack `io/read.ts`,
6
+ * `decode/digital.ts`, `decode/physical.ts`, `record-index.ts`, `envelope.ts` and `validate.ts`
7
+ * and a guard that only one of them applies is not a guard.
7
8
  *
8
9
  * These options are typed `number`, which admits `NaN` and `Infinity`, and both arrive easily:
9
10
  * `Number(process.env.EDF_BUDGET)`, `Number(searchParams.get('block'))` and any absent key in a
@@ -1 +1 @@
1
- {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../src/options.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAIH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,GACf,MAAM,CAQR;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAQ1E"}
1
+ {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../src/options.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,GACf,MAAM,CAQR;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAQ1E"}
package/dist/options.js CHANGED
@@ -2,8 +2,9 @@
2
2
  * Numeric options, refused rather than silently coerced.
3
3
  *
4
4
  * Layer 1. Imports one constant and nothing else, so every layer can reach it — which is the
5
- * point: `maxMaterializeBytes` is read in four modules spread across four layers, and a guard
6
- * that only one of them applies is not a guard.
5
+ * point: `maxMaterializeBytes` is read in six modules spread across the stack `io/read.ts`,
6
+ * `decode/digital.ts`, `decode/physical.ts`, `record-index.ts`, `envelope.ts` and `validate.ts`
7
+ * and a guard that only one of them applies is not a guard.
7
8
  *
8
9
  * These options are typed `number`, which admits `NaN` and `Infinity`, and both arrive easily:
9
10
  * `Number(process.env.EDF_BUDGET)`, `Number(searchParams.get('block'))` and any absent key in a
@@ -1 +1 @@
1
- {"version":3,"file":"options.js","sourceRoot":"","sources":["../src/options.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAE/D,MAAM,UAAU,mBAAmB,CACjC,KAAyB,EACzB,IAAY,EACZ,QAAgB;IAEhB,IAAI,KAAK,KAAK,SAAS;QAAE,OAAO,QAAQ,CAAC;IACzC,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IACzC,MAAM,IAAI,UAAU,CAClB,WAAW,IAAI,qCAAqC,MAAM,CAAC,KAAK,CAAC,oBAAoB;QACnF,kFAAkF;QAClF,qCAAqC,CACxC,CAAC;AACJ,CAAC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,wBAAwB,CAAC,KAAyB;IAChE,MAAM,MAAM,GAAG,mBAAmB,CAAC,KAAK,EAAE,qBAAqB,EAAE,6BAA6B,CAAC,CAAC;IAChG,IAAI,MAAM,IAAI,CAAC;QAAE,OAAO,MAAM,CAAC;IAC/B,MAAM,IAAI,UAAU,CAClB,6DAA6D,MAAM,0BAA0B;QAC3F,0DAA0D;QAC1D,GAAG,6BAA6B,gBAAgB,CACnD,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../src/options.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAE/D,MAAM,UAAU,mBAAmB,CACjC,KAAyB,EACzB,IAAY,EACZ,QAAgB;IAEhB,IAAI,KAAK,KAAK,SAAS;QAAE,OAAO,QAAQ,CAAC;IACzC,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IACzC,MAAM,IAAI,UAAU,CAClB,WAAW,IAAI,qCAAqC,MAAM,CAAC,KAAK,CAAC,oBAAoB;QACnF,kFAAkF;QAClF,qCAAqC,CACxC,CAAC;AACJ,CAAC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,wBAAwB,CAAC,KAAyB;IAChE,MAAM,MAAM,GAAG,mBAAmB,CAAC,KAAK,EAAE,qBAAqB,EAAE,6BAA6B,CAAC,CAAC;IAChG,IAAI,MAAM,IAAI,CAAC;QAAE,OAAO,MAAM,CAAC;IAC/B,MAAM,IAAI,UAAU,CAClB,6DAA6D,MAAM,0BAA0B;QAC3F,0DAA0D;QAC1D,GAAG,6BAA6B,gBAAgB,CACnD,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edfcore",
3
- "version": "0.3.129",
3
+ "version": "0.3.130",
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.3.129';
96
+ export const VERSION = '0.3.130';
package/src/options.ts CHANGED
@@ -2,8 +2,9 @@
2
2
  * Numeric options, refused rather than silently coerced.
3
3
  *
4
4
  * Layer 1. Imports one constant and nothing else, so every layer can reach it — which is the
5
- * point: `maxMaterializeBytes` is read in four modules spread across four layers, and a guard
6
- * that only one of them applies is not a guard.
5
+ * point: `maxMaterializeBytes` is read in six modules spread across the stack `io/read.ts`,
6
+ * `decode/digital.ts`, `decode/physical.ts`, `record-index.ts`, `envelope.ts` and `validate.ts`
7
+ * and a guard that only one of them applies is not a guard.
7
8
  *
8
9
  * These options are typed `number`, which admits `NaN` and `Infinity`, and both arrive easily:
9
10
  * `Number(process.env.EDF_BUDGET)`, `Number(searchParams.get('block'))` and any absent key in a