edf2csv 0.6.9 → 0.6.10

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 CHANGED
@@ -76,8 +76,9 @@ npx edf2csv recording.edf --start 30m --duration 5m
76
76
  -V, --version Version
77
77
  ```
78
78
 
79
- Exit codes: `0` success, `1` the file couldn't be read or written, `2` the command
80
- was wrong.
79
+ Exit codes: `0` success, `1` the file couldn't be read or written — or `--strict` was given and
80
+ the recording raised a warning, in which case the output was still written — `2` the command
81
+ was wrong. An interrupted run exits 130.
81
82
 
82
83
  ## What it doesn't change
83
84
 
package/docs/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
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.6.10
7
+
8
+ ### Fixed: the README's exit codes contradicted its own options list
9
+
10
+ `1` was given as "the file couldn't be read or written", twenty lines under an options list
11
+ that says `--strict` "Exit 1 if the recording raised any warning". A `--strict` run over a
12
+ discontinuous recording writes all four files and exits 1, so the one page a reader meets first
13
+ described that outcome as a failure to read or write a file that was read and written. It also
14
+ skipped 130, which is what Ctrl-C gives and what a wrapper script has to know about.
15
+
6
16
  ## 0.6.9
7
17
 
8
18
  ### Fixed: package-lock.json had been claiming 0.5.51 for fifty-eight releases
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edf2csv",
3
- "version": "0.6.9",
3
+ "version": "0.6.10",
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",