edfcore 0.4.383 → 0.4.385
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 +37 -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.385";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/docs/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,43 @@ 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.385
|
|
10
|
+
|
|
11
|
+
- **Added** a check that the file the inspector hands a first-time visitor is one edfcore accepts.
|
|
12
|
+
`website/src/scripts/sample-edf.ts` writes an EDF+C by hand from the specification for the demo's
|
|
13
|
+
"load a sample recording" button, and it is the only EDF writer here the suite never touched:
|
|
14
|
+
`tests/support/writer.ts` is checked constantly, and that one was checked by whoever last loaded
|
|
15
|
+
the page.
|
|
16
|
+
- A drift there is the worst-placed defect on the site. The visitor clicks the one button the page
|
|
17
|
+
offers and the inspector reports diagnostics about a file we wrote, which reads as edfcore being
|
|
18
|
+
wrong about a valid recording — on the page built to demonstrate the opposite.
|
|
19
|
+
- It opens as EDF+C with 120 one-second records and five signals, validates with `ok: true` and one
|
|
20
|
+
info diagnostic (the two-digit startdate year every conforming EDF+ file carries), carries its
|
|
21
|
+
seven scored events with the apnea spanning 70 s to 84 s, and decodes inside every declared
|
|
22
|
+
physical range without flattening to a line.
|
|
23
|
+
- The generator is compiled with `tsc` and imported from a temporary directory rather than
|
|
24
|
+
imported directly, because `transform-boundary.test.ts` forbids pulling TypeScript out of
|
|
25
|
+
`website/` — vite would resolve that file's tsconfig out of `website/node_modules`, which the CI
|
|
26
|
+
check job does not install. `tsc` on a named file reads no tsconfig at all.
|
|
27
|
+
|
|
28
|
+
## 0.4.384
|
|
29
|
+
|
|
30
|
+
- **Added** the browser half of `node-floor.test.ts`. The Node floor is checked in eleven places
|
|
31
|
+
against `engines.node`, a field a package manager reads; the browser floor has no such field —
|
|
32
|
+
no browserslist, nothing in `package.json` — and its three statements (the README's compatibility
|
|
33
|
+
line, the Runtimes table on `installation.md`, and the summary string `llms.txt` hands an agent)
|
|
34
|
+
were three independent sentences that happened to agree.
|
|
35
|
+
- The table is the source, since it is the one with the reasoning printed under it, and the other
|
|
36
|
+
two are checked against it. A floor raised in one place tells a reader their browser is supported
|
|
37
|
+
on one page and unsupported on the next.
|
|
38
|
+
- The check with teeth is the last one. The table's stated basis is "ES2022 syntax, `BigInt`,
|
|
39
|
+
`Blob.prototype.slice`, and `TextDecoder`", and the first of those is not an observation about
|
|
40
|
+
the code — it is `target` and `lib` in `config/tsconfig.build.json`. Raising either to ES2023 is
|
|
41
|
+
a one-word edit that compiles, ships, passes every other test here, and invalidates all three
|
|
42
|
+
published floors at once.
|
|
43
|
+
- It does not check that 94, 93 and 15.4 are the right versions for those four features. That is a
|
|
44
|
+
question about browser release history, which nothing in this repository can settle.
|
|
45
|
+
|
|
9
46
|
## 0.4.383
|
|
10
47
|
|
|
11
48
|
- **Added** a check for the last paragraph of `data-sources.md`, which says what survives
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED