edfcore 0.2.10 → 0.2.11
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/CHANGELOG.md +10 -0
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/package.json +2 -2
- package/src/constants.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,16 @@ 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.2.11
|
|
10
|
+
|
|
11
|
+
- **Added** the first test that runs edfcore anywhere other than Node. All 1,293 of the others ran
|
|
12
|
+
under `environment: 'node'`, where `process.env` and `Buffer.from` work perfectly — so nothing
|
|
13
|
+
could catch the one mistake that breaks Chrome, Firefox and Safari at once: a bare Node global,
|
|
14
|
+
which needs no import and so passes the existing module-graph walk untouched. The built
|
|
15
|
+
universal bundle is now driven end to end in a child process whose Node-only globals have been
|
|
16
|
+
replaced by getters that throw the way a browser does. Verified by planting one and watching it
|
|
17
|
+
fail. `npm run check` builds before it tests, because the test loads `dist/`.
|
|
18
|
+
|
|
9
19
|
## 0.2.10
|
|
10
20
|
|
|
11
21
|
- **Fixed** `filterAnnotationsByTime` and `annotationsAt` answering on the header's timebase while
|
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.2.
|
|
112
|
+
export declare const VERSION = "0.2.11";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "edfcore",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.11",
|
|
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",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"test:watch": "vitest",
|
|
69
69
|
"lint": "biome check .",
|
|
70
70
|
"format": "biome format --write .",
|
|
71
|
-
"check": "npm run lint && npm run typecheck && npm run test",
|
|
71
|
+
"check": "npm run lint && npm run typecheck && npm run build && npm run test",
|
|
72
72
|
"corpus:fetch": "node scripts/fetch-corpus.mjs",
|
|
73
73
|
"release": "node scripts/release.mjs",
|
|
74
74
|
"prepublishOnly": "npm run check && npm run build"
|
package/src/constants.ts
CHANGED