edfcore 0.4.0 → 0.4.2
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/README.md +2 -2
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/{CHANGELOG.md → docs/CHANGELOG.md} +15 -0
- package/package.json +7 -7
- package/src/constants.ts +1 -1
- package/src/index.ts +1 -1
package/README.md
CHANGED
|
@@ -352,7 +352,7 @@ whole point, since a reader that swapped the bounds would return plausible micro
|
|
|
352
352
|
sign and invert the clinical reading of the trace.
|
|
353
353
|
|
|
354
354
|
**Still open before 1.0.** Nothing named. The remaining work is API, not verification — see the
|
|
355
|
-
0.3 note in [CHANGELOG.md](https://github.com/tayal-sarthak/edfcore/blob/main/CHANGELOG.md).
|
|
355
|
+
0.3 note in [CHANGELOG.md](https://github.com/tayal-sarthak/edfcore/blob/main/docs/CHANGELOG.md).
|
|
356
356
|
|
|
357
357
|
**Shipped since 0.1.6.** Min/max envelope decimation (`readEnvelope`,
|
|
358
358
|
`readEnvelopeAtResolution`). BioSemi Status-byte helpers (`readTriggers`). Streaming iteration
|
|
@@ -361,7 +361,7 @@ the header and the validation report. Chunk joining that refuses to concatenate
|
|
|
361
361
|
(`mergeChunks`). Timeline lookup with no read (`segmentAt`, `gapAt`, `contiguityOf`). Signal
|
|
362
362
|
lookup by pattern (`matchSignals`) and ordered physical bounds (`physicalRangeOf`). See
|
|
363
363
|
[API — helpers](https://edfcore.vercel.app/docs/api-helpers) and
|
|
364
|
-
[CHANGELOG.md](https://github.com/tayal-sarthak/edfcore/blob/main/CHANGELOG.md).
|
|
364
|
+
[CHANGELOG.md](https://github.com/tayal-sarthak/edfcore/blob/main/docs/CHANGELOG.md).
|
|
365
365
|
|
|
366
366
|
**Still later, additive.** The `edffloat` logarithmic inverse transform, opt-in — still detected
|
|
367
367
|
and rejected, because applying an inverse edfcore cannot verify against a real edffloat file is
|
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.2";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* - NO import of a Node built-in, transitively. `edfcore/node` is the only module in this graph
|
|
10
10
|
* allowed one — the `bin` entry has its own, and nothing reaches it from here — and
|
|
11
|
-
*
|
|
11
|
+
* `public-api.test.ts` walks this module graph for the scheme prefix to prove it — which is
|
|
12
12
|
* also why that prefix is not written out anywhere in this file. It is what lets one build serve
|
|
13
13
|
* Node, browsers, Deno and Bun with no environment conditions in the exports map: conditions are
|
|
14
14
|
* the single largest source of ecosystem incompatibility, and a dual CJS/ESM build would load
|
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* - NO import of a Node built-in, transitively. `edfcore/node` is the only module in this graph
|
|
10
10
|
* allowed one — the `bin` entry has its own, and nothing reaches it from here — and
|
|
11
|
-
*
|
|
11
|
+
* `public-api.test.ts` walks this module graph for the scheme prefix to prove it — which is
|
|
12
12
|
* also why that prefix is not written out anywhere in this file. It is what lets one build serve
|
|
13
13
|
* Node, browsers, Deno and Bun with no environment conditions in the exports map: conditions are
|
|
14
14
|
* the single largest source of ecosystem incompatibility, and a dual CJS/ESM build would load
|
|
@@ -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.2
|
|
10
|
+
|
|
11
|
+
- **Fixed** `src/index.ts` crediting "a packaging test" that "greps the built universal bundle" for
|
|
12
|
+
the `node:` prefix. The check is `public-api.test.ts`, and it walks the `src/` module graph — the
|
|
13
|
+
built bundle is what `browser-safety.test.ts` runs, for globals rather than imports.
|
|
14
|
+
|
|
15
|
+
## 0.4.1
|
|
16
|
+
|
|
17
|
+
- **Moved** `CHANGELOG.md` to `docs/CHANGELOG.md`. It still ships in the tarball, so the release
|
|
18
|
+
record is still readable out of `node_modules/edfcore/` — at the new path. That is the only
|
|
19
|
+
change in this release a consumer can observe.
|
|
20
|
+
- The three build configs moved to `config/`, and every `npm` script now names its config instead
|
|
21
|
+
of relying on a tool's default lookup. Repository only: nothing under `src/` changed, so the API,
|
|
22
|
+
the shipped types and the arithmetic are identical to 0.4.0.
|
|
23
|
+
|
|
9
24
|
## 0.4.0
|
|
10
25
|
|
|
11
26
|
The public API is unchanged: nothing was added, removed or renamed, and no arithmetic moved. This
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "edfcore",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
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",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"type": "module",
|
|
33
33
|
"sideEffects": false,
|
|
34
34
|
"files": [
|
|
35
|
-
"CHANGELOG.md",
|
|
35
|
+
"docs/CHANGELOG.md",
|
|
36
36
|
"dist",
|
|
37
37
|
"src"
|
|
38
38
|
],
|
|
@@ -62,11 +62,11 @@
|
|
|
62
62
|
"vitest": "4.1.10"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
|
-
"build": "tsc -p tsconfig.build.json",
|
|
66
|
-
"typecheck": "tsc -p tsconfig.build.json --noEmit && tsc -p tsconfig.json",
|
|
67
|
-
"test": "vitest run",
|
|
68
|
-
"test:watch": "vitest",
|
|
69
|
-
"test:scratch": "vitest run --config vitest.scratch.config.ts",
|
|
65
|
+
"build": "tsc -p config/tsconfig.build.json",
|
|
66
|
+
"typecheck": "tsc -p config/tsconfig.build.json --noEmit && tsc -p tsconfig.json",
|
|
67
|
+
"test": "vitest run --config config/vitest.config.ts",
|
|
68
|
+
"test:watch": "vitest --config config/vitest.config.ts",
|
|
69
|
+
"test:scratch": "vitest run --config config/vitest.scratch.config.ts",
|
|
70
70
|
"lint": "biome check .",
|
|
71
71
|
"format": "biome format --write .",
|
|
72
72
|
"check": "npm run lint && npm run typecheck && npm run build && npm run test",
|
package/src/constants.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* - NO import of a Node built-in, transitively. `edfcore/node` is the only module in this graph
|
|
10
10
|
* allowed one — the `bin` entry has its own, and nothing reaches it from here — and
|
|
11
|
-
*
|
|
11
|
+
* `public-api.test.ts` walks this module graph for the scheme prefix to prove it — which is
|
|
12
12
|
* also why that prefix is not written out anywhere in this file. It is what lets one build serve
|
|
13
13
|
* Node, browsers, Deno and Bun with no environment conditions in the exports map: conditions are
|
|
14
14
|
* the single largest source of ecosystem incompatibility, and a dual CJS/ESM build would load
|