edfcore 0.3.98 → 0.3.99
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 +14 -0
- package/dist/cli-run.js +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/package.json +1 -1
- package/src/cli-run.ts +1 -1
- package/src/constants.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,20 @@ 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.99
|
|
10
|
+
|
|
11
|
+
- **Fixed** the CLI usage banner scoping `--patient` to "(header, json)". `redaction(args)` is
|
|
12
|
+
applied by `validate` too, so the flag un-redacts patient identification there as well: without it
|
|
13
|
+
a `PATIENT_ID_NONCONFORMANT` diagnostic renders the field as `[redacted]`, with it the full name.
|
|
14
|
+
- The flag exists so that the default output of a command someone pipes somewhere carries no
|
|
15
|
+
patient name. A banner that under-states which commands it governs is the wrong direction to be
|
|
16
|
+
wrong in: a reader gating on "validate doesn't print names anyway" is gating on nothing.
|
|
17
|
+
- `api-helpers.md` carried the same pair and now names all three.
|
|
18
|
+
- The test DERIVES the scope: it runs every subcommand with and without the flag over one
|
|
19
|
+
non-conformant file, collects the ones whose output changes, and requires the banner line to list
|
|
20
|
+
exactly those. It first asserts more than one command is affected, so it cannot pass on a file
|
|
21
|
+
where the flag does nothing.
|
|
22
|
+
|
|
9
23
|
## 0.3.98
|
|
10
24
|
|
|
11
25
|
- **Fixed** `fileSource` carrying, as advice, a check it never performed. Its size refusal ended
|
package/dist/cli-run.js
CHANGED
|
@@ -47,7 +47,7 @@ const USAGE = `edfcore — read EDF, EDF+, BDF and BDF+ files
|
|
|
47
47
|
|
|
48
48
|
Options
|
|
49
49
|
--help, -h print this and exit 0
|
|
50
|
-
--patient include patient identification (header, json)
|
|
50
|
+
--patient include patient identification (header, validate, json)
|
|
51
51
|
--list list events one per line instead of counting (events)
|
|
52
52
|
--limit <n> individual diagnostics or events to print (default 20)
|
|
53
53
|
|
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.99";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/package.json
CHANGED
package/src/cli-run.ts
CHANGED
|
@@ -58,7 +58,7 @@ const USAGE = `edfcore — read EDF, EDF+, BDF and BDF+ files
|
|
|
58
58
|
|
|
59
59
|
Options
|
|
60
60
|
--help, -h print this and exit 0
|
|
61
|
-
--patient include patient identification (header, json)
|
|
61
|
+
--patient include patient identification (header, validate, json)
|
|
62
62
|
--list list events one per line instead of counting (events)
|
|
63
63
|
--limit <n> individual diagnostics or events to print (default 20)
|
|
64
64
|
|
package/src/constants.ts
CHANGED