edfcore 0.6.51 → 0.6.53
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/docs/CHANGELOG.md +29 -0
- package/package.json +1 -1
- package/src/constants.ts +1 -1
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.6.
|
|
112
|
+
export declare const VERSION = "0.6.53";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/docs/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,35 @@ 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.6.53
|
|
10
|
+
|
|
11
|
+
- **Fixed** the `EdfLocation` table on `api-types.md`, which listed three of the shape's five
|
|
12
|
+
fields. The two it dropped were `recordStartTicks` and `offsetInRecordTicks`.
|
|
13
|
+
- Those are the exact halves. The `EdfSegment` and `EdfGap` tables immediately above it pair every
|
|
14
|
+
`*Seconds` with its `*Ticks` twin, and the paragraph between them says to prefer the ticks:
|
|
15
|
+
"Every second on these two is a float64 conversion of the tick beside it. Compare and sum the
|
|
16
|
+
ticks." The next table then showed a reader only the float64 half of the one shape
|
|
17
|
+
`index.locate()` returns — the call whose whole job is to hand you a position to read from.
|
|
18
|
+
- The rows are added and the paragraph's rule is restated under them. The test reads the fields
|
|
19
|
+
off a real `locate()` result rather than off the type, so the table is compared with the object
|
|
20
|
+
a caller receives.
|
|
21
|
+
|
|
22
|
+
## 0.6.52
|
|
23
|
+
|
|
24
|
+
- **Fixed** the `maxItems` row on `api-primitives.md`, both halves of which described something
|
|
25
|
+
`formatDiagnostics` does not do.
|
|
26
|
+
- "A non-finite value is ignored" stopped being true in 0.6.1, which made `NaN` a `RangeError`
|
|
27
|
+
and `-Infinity` show nothing rather than everything. `NaN` is non-finite and it is the value
|
|
28
|
+
that refusal exists for — `Number()` on an absent environment variable, query parameter or
|
|
29
|
+
config key — so the page was promising to swallow exactly what the library now refuses, and
|
|
30
|
+
naming the whole class the release split in two.
|
|
31
|
+
- "`0` shows only the summary line" described a line this function never prints. It renders one
|
|
32
|
+
block per diagnostic and nothing else, so `maxItems: 0` leaves the `... and N more` notice
|
|
33
|
+
alone. The summary belongs to `formatValidationReport`, whose own row on `api-helpers.md` says
|
|
34
|
+
so correctly — which is where the clause appears to have come from.
|
|
35
|
+
- The new test runs the function for each awkward value before reading the page for the claim, so
|
|
36
|
+
it fails on the behaviour as well as on the wording.
|
|
37
|
+
|
|
9
38
|
## 0.6.51
|
|
10
39
|
|
|
11
40
|
- **Fixed** the README's account of what `--limit` caps. It said "Diagnostics and events print
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED