edfcore 0.4.197 → 0.4.199

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.197";
112
+ export declare const VERSION = "0.4.199";
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.197';
82
+ export const VERSION = '0.4.199';
83
83
  //# sourceMappingURL=constants.js.map
package/dist/options.d.ts CHANGED
@@ -2,9 +2,10 @@
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 six modules spread across the stack — `io/read.ts`,
5
+ * point: `maxMaterializeBytes` is resolved in six modules spread across the stack — `io/read.ts`,
6
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
+ * and read raw and handed on in two more, `io/cached.ts` and `biosemi.ts`. A guard that only one
8
+ * of the eight applies is not a guard.
8
9
  *
9
10
  * These options are typed `number`, which admits `NaN` and `Infinity`, and both arrive easily:
10
11
  * `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;;;;;;;;;;;;;;;;GAgBG;AAIH;;;;GAIG;AACH,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;;;;;;;;;;;;;;;;;GAiBG;AAIH;;;;GAIG;AACH,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,9 +2,10 @@
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 six modules spread across the stack — `io/read.ts`,
5
+ * point: `maxMaterializeBytes` is resolved in six modules spread across the stack — `io/read.ts`,
6
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
+ * and read raw and handed on in two more, `io/cached.ts` and `biosemi.ts`. A guard that only one
8
+ * of the eight applies is not a guard.
8
9
  *
9
10
  * These options are typed `number`, which admits `NaN` and `Infinity`, and both arrive easily:
10
11
  * `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;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAE/D;;;;GAIG;AACH,MAAM,UAAU,mBAAmB,CACjC,KAAyB,EACzB,IAAY,EACZ,QAAgB;I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B,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/docs/CHANGELOG.md CHANGED
@@ -6,6 +6,21 @@ 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.199
10
+
11
+ - **Corrected** the title of `documented-examples.test-d.ts`, which read "The documented examples
12
+ in the docs compile". Three do. The three pages it covers carry 55 `ts` fences, and each covered
13
+ example needs a compiled twin written by hand, so the set is small on purpose — but a maintainer
14
+ reading the title would think a new snippet was already checked.
15
+
16
+ ## 0.4.198
17
+
18
+ - **Corrected** the list of budget readers in `src/options.ts`. It named six modules; eight read
19
+ `maxMaterializeBytes`. `biosemi.ts` and `io/cached.ts` were missing, and neither is drift — both
20
+ already read it when 905810c, whose subject is "Name the six modules that read the budget", was
21
+ written. They read the raw option and hand it on rather than resolving it, so the six are now
22
+ named as the resolvers and the two as what they are.
23
+
9
24
  ## 0.4.197
10
25
 
11
26
  - **Corrected** the consumed-version count in `scripts/release.mjs`, which had drifted in the file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edfcore",
3
- "version": "0.4.197",
3
+ "version": "0.4.199",
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.197';
96
+ export const VERSION = '0.4.199';
package/src/options.ts CHANGED
@@ -2,9 +2,10 @@
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 six modules spread across the stack — `io/read.ts`,
5
+ * point: `maxMaterializeBytes` is resolved in six modules spread across the stack — `io/read.ts`,
6
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
+ * and read raw and handed on in two more, `io/cached.ts` and `biosemi.ts`. A guard that only one
8
+ * of the eight applies is not a guard.
8
9
  *
9
10
  * These options are typed `number`, which admits `NaN` and `Infinity`, and both arrive easily:
10
11
  * `Number(process.env.EDF_BUDGET)`, `Number(searchParams.get('block'))` and any absent key in a