edfcore 0.6.311 → 0.6.312
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 +24 -0
- package/package.json +2 -2
- 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.6.
|
|
112
|
+
export declare const VERSION = "0.6.312";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/docs/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,30 @@ 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.6.312
|
|
10
|
+
|
|
11
|
+
- TypeScript 5.9.3 to **6.0.3**, which Microsoft's own 6.0 announcement calls "the bridge between
|
|
12
|
+
TypeScript 5.9 and 7.0". 7.0 is the native Go port and is deliberately not taken here: it ships no
|
|
13
|
+
compiler API until 7.1, and the documented migration runs through 6.0 — "practically any TypeScript
|
|
14
|
+
code that compiles cleanly with TypeScript 6.0... should compile identically in TypeScript 7.0".
|
|
15
|
+
- **The emitted output is byte-identical.** All 55 declaration files, their maps and the JavaScript
|
|
16
|
+
are unchanged across the compiler major, which is the evidence that matters for a package whose
|
|
17
|
+
`.d.ts` is its public surface. `verify:package` and `verify:tarball` both pass.
|
|
18
|
+
- Nothing in the three tsconfigs needed changing: `rootDir`, `types`, `target`, `module` and
|
|
19
|
+
`moduleResolution` are all set explicitly, so none of 6.0's default flips applied, and none of the
|
|
20
|
+
options it removed — `baseUrl`, `outFile`, `downlevelIteration`, `node10`, `classic` — was in use.
|
|
21
|
+
- **What did break: three test harnesses that shell out to `tsc <file>`.** TypeScript 6 refuses named
|
|
22
|
+
files when a `tsconfig.json` sits in the working directory — TS5112 — where 5.9 ignored the config
|
|
23
|
+
silently. `demo-sample.test.ts` compiles the inspector's sample generator, and
|
|
24
|
+
`doc-snippets-compile.test.ts` and `documented-signatures.test.ts` compile the documentation
|
|
25
|
+
examples and the printed signatures. All three pass `--ignoreConfig` now; the flags they already
|
|
26
|
+
passed were the whole configuration, so the refusal was never about a setting they needed.
|
|
27
|
+
- `doc-snippets-compile.test.ts` caught its own harness breaking, by the assertion written for
|
|
28
|
+
exactly that — "Fragments MUST produce diagnostics. Zero of them would mean tsc never ran". It
|
|
29
|
+
failed with `expected 0 to be greater than 10` rather than passing on an empty run.
|
|
30
|
+
- `demo-sample.test.ts`'s docblock had stated the old behaviour as its design premise — "`tsc`
|
|
31
|
+
invoked on a named file reads no tsconfig at all" — and is corrected.
|
|
32
|
+
|
|
9
33
|
## 0.6.311
|
|
10
34
|
|
|
11
35
|
- **Fixed** the documentation site being built in CI from versions nobody developing it would have.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "edfcore",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.312",
|
|
4
4
|
"description": "Modern, typed, zero-dependency reader for EDF, EDF+, BDF and BDF+ biosignal files. Works in browsers and Node with true random access.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"edf",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@biomejs/biome": "2.5.15",
|
|
59
59
|
"@types/node": "^26.6.5",
|
|
60
60
|
"fast-check": "4.10.2",
|
|
61
|
-
"typescript": "
|
|
61
|
+
"typescript": "6.0.3",
|
|
62
62
|
"vitest": "4.1.11"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
package/src/constants.ts
CHANGED