edfcore 0.3.129 → 0.3.131
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 +13 -0
- 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/package.json +1 -1
- package/src/constants.ts +1 -1
- package/src/options.ts +3 -2
package/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.3.131
|
|
10
|
+
|
|
11
|
+
- **Added** `tests/types/` to the Layout table in `tests/README.md`. It holds the four `.test-d.ts`
|
|
12
|
+
type-level checks — including the one pinning what each subpath can name on its own — and was the
|
|
13
|
+
only tracked test directory the table left out.
|
|
14
|
+
|
|
15
|
+
## 0.3.130
|
|
16
|
+
|
|
17
|
+
- **Fixed** `options.ts` saying `maxMaterializeBytes` is read "in four modules spread across four
|
|
18
|
+
layers". Six read it, and they are now named — the same undercount 0.3.119 corrected on
|
|
19
|
+
`large-files.md`, in the docblock whose whole argument is that a guard applied in only some of
|
|
20
|
+
them is not a guard. It ships in `dist/options.d.ts`.
|
|
21
|
+
|
|
9
22
|
## 0.3.129
|
|
10
23
|
|
|
11
24
|
- **Corrected** 0.3.119's own sentence, which called all three off-path budget sites refusals. Two
|
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.3.
|
|
112
|
+
export declare const VERSION = "0.3.131";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
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
|
|
6
|
-
*
|
|
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
|
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;;;;;;;;;;;;;;;;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
|
|
6
|
-
*
|
|
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
|
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;;;;;;;;;;;;;;;;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
package/src/constants.ts
CHANGED
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
|
|
6
|
-
*
|
|
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
|