edfcore 0.4.473 → 0.4.474
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/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/docs/CHANGELOG.md +15 -0
- package/package.json +1 -1
- package/src/constants.ts +1 -1
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.4.
|
|
112
|
+
export declare const VERSION = "0.4.474";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/docs/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,21 @@ 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.4.474
|
|
10
|
+
|
|
11
|
+
- **Added** all twelve month names to the `dd-MMM-yyyy` subfield tests. `MONTH_ABBREVIATIONS
|
|
12
|
+
.indexOf(...) + 1` turns a zero-based position into a month number, and `0` doubles as "not a
|
|
13
|
+
month name" — so January sits exactly on the boundary the bounds check uses.
|
|
14
|
+
- Narrowing `month < 1` to `month <= 1` refuses every January and passed the whole suite. The
|
|
15
|
+
fixtures ran on August, May and December, and no test had ever read a `JAN` subfield: that is a
|
|
16
|
+
twelfth of every patient birthdate and every recording `Startdate` there is, on the two fields
|
|
17
|
+
EDF+ added specifically so a year could be unambiguous.
|
|
18
|
+
- December was covered by accident, through one birthdate fixture. Both ends are now stated rather
|
|
19
|
+
than left to chance, and the ten in between cost one line.
|
|
20
|
+
- Two non-vacuity cases go with the table: a name that is not one of the twelve is refused, which
|
|
21
|
+
is what the lower bound is really for, and the numeric spelling is checked at 0, 1, 12 and 13,
|
|
22
|
+
since it reaches the same bounds by the other route.
|
|
23
|
+
|
|
9
24
|
## 0.4.473
|
|
10
25
|
|
|
11
26
|
- **Added** tests for a runtime with no `TextDecoder`, which `tal/grammar.ts` is written for and
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED