edfcore 0.4.196 → 0.4.198
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/options.d.ts +3 -2
- package/dist/options.d.ts.map +1 -1
- package/dist/options.js +3 -2
- package/dist/options.js.map +1 -1
- package/docs/CHANGELOG.md +15 -0
- package/package.json +1 -1
- package/src/constants.ts +1 -1
- package/src/options.ts +3 -2
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.198";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
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
|
|
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
|
|
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
|
package/dist/options.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../src/options.ts"],"names":[],"mappings":"AAAA
|
|
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
|
|
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
|
|
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
|
package/dist/options.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options.js","sourceRoot":"","sources":["../src/options.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../src/options.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAE/D;;;;GAIG;AACH,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/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.198
|
|
10
|
+
|
|
11
|
+
- **Corrected** the list of budget readers in `src/options.ts`. It named six modules; eight read
|
|
12
|
+
`maxMaterializeBytes`. `biosemi.ts` and `io/cached.ts` were missing, and neither is drift — both
|
|
13
|
+
already read it when 905810c, whose subject is "Name the six modules that read the budget", was
|
|
14
|
+
written. They read the raw option and hand it on rather than resolving it, so the six are now
|
|
15
|
+
named as the resolvers and the two as what they are.
|
|
16
|
+
|
|
17
|
+
## 0.4.197
|
|
18
|
+
|
|
19
|
+
- **Corrected** the consumed-version count in `scripts/release.mjs`, which had drifted in the file
|
|
20
|
+
written to stop exactly this. Its note said the failure "has happened twice" and named two; the
|
|
21
|
+
error message it prints named three. It has happened four times, and 0.4.176 was in neither list —
|
|
22
|
+
so the guidance handed to the next person to lose a number omitted the most recent one to be lost.
|
|
23
|
+
|
|
9
24
|
## 0.4.196
|
|
10
25
|
|
|
11
26
|
- **Added** the guard for 0.4.194: the changelog's version headings must descend without repeating
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED
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
|
|
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
|
|
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
|