edfcore 0.6.310 → 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 +39 -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,45 @@ 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
|
+
|
|
33
|
+
## 0.6.311
|
|
34
|
+
|
|
35
|
+
- **Fixed** the documentation site being built in CI from versions nobody developing it would have.
|
|
36
|
+
Every range in `website/package.json` is a caret and the lockfile pinned each one at its floor —
|
|
37
|
+
`astro` at 7.1.6 against a range admitting 7.4.2, `@astrojs/mdx` at 7.0.5, `@astrojs/sitemap` at
|
|
38
|
+
3.7.3, `@astrojs/check` at 0.9.10. `ci.yml` installs with `npm --prefix website ci`, which honours
|
|
39
|
+
the lockfile, so CI type-checked and built the published site three minors behind a fresh clone.
|
|
40
|
+
- Same divergence 0.6.306 fixed for the library's own `@types/node`, one directory over.
|
|
41
|
+
- Refreshed within the declared ranges, so this is what `npm install` already resolves rather than a
|
|
42
|
+
new set of versions. Verified rather than assumed, because it moves `astro` and `vite`:
|
|
43
|
+
`astro check` reports 0 errors, 0 warnings and 0 hints across 19 files; the site builds its 26
|
|
44
|
+
pages; and `verify:site` passes on the output — 23 pages, their markdown twins, 27 rendered heads,
|
|
45
|
+
4 endpoints and the inspector's sample recording.
|
|
46
|
+
- Nothing in `src/` or the published package changes. The site is not part of the tarball.
|
|
47
|
+
|
|
9
48
|
## 0.6.310
|
|
10
49
|
|
|
11
50
|
- **Fixed** the grid family answering with another file's grid. `gridSampleIndexAt`,
|
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