edf2csv 0.5.56 → 0.5.57
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 +23 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,29 @@
|
|
|
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.5.57
|
|
7
|
+
|
|
8
|
+
### Fixed: api.md's `readAnnotations()` signature was missing two of its three counts
|
|
9
|
+
|
|
10
|
+
The page shows the return type, and it showed three fields where the function returns five.
|
|
11
|
+
`malformedTimekeeping` has been returned since 0.4.41 and was never added; `unreadableDurations`
|
|
12
|
+
arrived in 0.5.55 two versions ago and would have gone the same way. Someone destructuring
|
|
13
|
+
from the documented signature gets `undefined` for a count that exists, and `undefined` reads
|
|
14
|
+
exactly like "nothing was wrong with this file" — on the page whose subject is how to read a
|
|
15
|
+
recording without being lied to.
|
|
16
|
+
|
|
17
|
+
The prose beneath it said the function returns "a count of entries that couldn't be decoded",
|
|
18
|
+
singular, which is the wording the three counts were separated out of: a failed TAL, a failed
|
|
19
|
+
timekeeping TAL and an event that lost only its duration are three different losses and were
|
|
20
|
+
made three different numbers precisely so they could not be reported as one. The `Annotation`
|
|
21
|
+
interface had the same drift in one line — `duration` was still commented "null when the TAL
|
|
22
|
+
omitted a duration", which 0.5.55 had just made untrue.
|
|
23
|
+
|
|
24
|
+
All corrected, and a test now calls `readAnnotations()` on a fixture and compares the keys of
|
|
25
|
+
what comes back with the fields listed in the page's own code block, along with the same check
|
|
26
|
+
for `Annotation`. Matched against the runtime object rather than the source, because what a
|
|
27
|
+
caller can destructure is what the object has.
|
|
28
|
+
|
|
6
29
|
## 0.5.56
|
|
7
30
|
|
|
8
31
|
### Fixed: an interrupted conversion warned about files in a directory it had never created
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "edf2csv",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.57",
|
|
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",
|