edf2csv 0.2.25 → 0.2.26

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 CHANGED
@@ -3,6 +3,19 @@
3
3
  Notable changes to edf2csv. Versions follow [semantic versioning](https://semver.org); while the
4
4
  major version is 0, a minor bump may contain breaking changes.
5
5
 
6
+ ## 0.2.26
7
+
8
+ ### Fixed: the README's option list had fallen behind the CLI
9
+
10
+ The README keeps its own, shorter option list rather than repeating `--help` verbatim, and nothing
11
+ checked the two against each other. `--strict` and the reworded `--json` both shipped in the last two
12
+ versions without it, and `--version` had never been listed at all.
13
+
14
+ All three are there now, and a test asserts that every flag `--help` accepts appears in the README.
15
+ It compares the *set of flags*, not the wording, so the README can stay friendlier than the help text
16
+ while a newly added flag can no longer be forgotten. Adding that test is what turned up the missing
17
+ `--version`.
18
+
6
19
  ## 0.2.25
7
20
 
8
21
  ### Added: `--strict` makes warnings fatal
package/README.md CHANGED
@@ -61,8 +61,10 @@ npx edf2csv recording.edf --start 30m --duration 5m
61
61
  --checksum Put a SHA-256 of the input in metadata.json
62
62
  -f, --force Overwrite the output folder
63
63
  -q, --quiet Less output
64
- --json Machine-readable summary on stdout
64
+ --json Machine-readable JSON on stdout (works with --info too)
65
+ --strict Exit 1 if the recording raised any warning
65
66
  -h, --help Help
67
+ -V, --version Version
66
68
  ```
67
69
 
68
70
  Exit codes: `0` success, `1` the file couldn't be read or written, `2` the command
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edf2csv",
3
- "version": "0.2.25",
3
+ "version": "0.2.26",
4
4
  "description": "Convert EDF, EDF+ and BDF biosignal recordings (European Data Format) to CSV from the command line. Local, streaming, and never resamples or alters units.",
5
5
  "keywords": [
6
6
  "edf",