edfcore 0.6.50 → 0.6.52
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/README.md +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/docs/CHANGELOG.md +28 -0
- package/package.json +1 -1
- package/src/constants.ts +1 -1
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ npx edfcore validate overnight.edf # full conformance sweep; exits 1 on f
|
|
|
21
21
|
npx edfcore json overnight.edf # the header as JSON, for jq
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
Patient identification is omitted unless you pass `--patient`. Diagnostics and
|
|
24
|
+
Patient identification is omitted unless you pass `--patient`. Diagnostics, events and gaps print twenty
|
|
25
25
|
at a time; `--limit <n>` changes that.
|
|
26
26
|
|
|
27
27
|
## How do I read an EDF file in JavaScript?
|
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.52";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/docs/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,34 @@ 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.52
|
|
10
|
+
|
|
11
|
+
- **Fixed** the `maxItems` row on `api-primitives.md`, both halves of which described something
|
|
12
|
+
`formatDiagnostics` does not do.
|
|
13
|
+
- "A non-finite value is ignored" stopped being true in 0.6.1, which made `NaN` a `RangeError`
|
|
14
|
+
and `-Infinity` show nothing rather than everything. `NaN` is non-finite and it is the value
|
|
15
|
+
that refusal exists for — `Number()` on an absent environment variable, query parameter or
|
|
16
|
+
config key — so the page was promising to swallow exactly what the library now refuses, and
|
|
17
|
+
naming the whole class the release split in two.
|
|
18
|
+
- "`0` shows only the summary line" described a line this function never prints. It renders one
|
|
19
|
+
block per diagnostic and nothing else, so `maxItems: 0` leaves the `... and N more` notice
|
|
20
|
+
alone. The summary belongs to `formatValidationReport`, whose own row on `api-helpers.md` says
|
|
21
|
+
so correctly — which is where the clause appears to have come from.
|
|
22
|
+
- The new test runs the function for each awkward value before reading the page for the claim, so
|
|
23
|
+
it fails on the behaviour as well as on the wording.
|
|
24
|
+
|
|
25
|
+
## 0.6.51
|
|
26
|
+
|
|
27
|
+
- **Fixed** the README's account of what `--limit` caps. It said "Diagnostics and events print
|
|
28
|
+
twenty at a time", which was true until 0.6.29 brought `gaps` under the same cap. That release
|
|
29
|
+
updated the usage text and `cli.md` and left the README naming two of the three.
|
|
30
|
+
- `gaps` is the one it mattered for. It is the only listing bounded by nothing but the record
|
|
31
|
+
count — an ambulatory recorder that stops and restarts across a night produces hundreds of rows
|
|
32
|
+
— so a reader of the README believed the flag did not reach the command that most needs it.
|
|
33
|
+
- A test now reads the noun list out of the usage text and out of the README and compares them,
|
|
34
|
+
rather than restating the sentence. `cli-limit-default.test.ts` pins the number; this pins what
|
|
35
|
+
the number applies to.
|
|
36
|
+
|
|
9
37
|
## 0.6.50
|
|
10
38
|
|
|
11
39
|
- **Changed** the message `--limit -1` earns. It said "`--limit` needs a whole number, received
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED