edfcore 0.4.0 → 0.4.1

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 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
@@ -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.0";
112
+ export declare const VERSION = "0.4.1";
113
113
  //# sourceMappingURL=constants.d.ts.map
package/dist/constants.js CHANGED
@@ -79,5 +79,5 @@ export const SIGNAL_FIELD_BLOCK_OFFSETS = {
79
79
  reserved: 224,
80
80
  };
81
81
  /** Published package version. Kept in sync with package.json by a test. */
82
- export const VERSION = '0.4.0';
82
+ export const VERSION = '0.4.1';
83
83
  //# sourceMappingURL=constants.js.map
@@ -6,6 +6,15 @@ 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.1
10
+
11
+ - **Moved** `CHANGELOG.md` to `docs/CHANGELOG.md`. It still ships in the tarball, so the release
12
+ record is still readable out of `node_modules/edfcore/` — at the new path. That is the only
13
+ change in this release a consumer can observe.
14
+ - The three build configs moved to `config/`, and every `npm` script now names its config instead
15
+ of relying on a tool's default lookup. Repository only: nothing under `src/` changed, so the API,
16
+ the shipped types and the arithmetic are identical to 0.4.0.
17
+
9
18
  ## 0.4.0
10
19
 
11
20
  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.0",
3
+ "version": "0.4.1",
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
@@ -93,4 +93,4 @@ export const SIGNAL_FIELD_BLOCK_OFFSETS = {
93
93
  } as const;
94
94
 
95
95
  /** Published package version. Kept in sync with package.json by a test. */
96
- export const VERSION = '0.4.0';
96
+ export const VERSION = '0.4.1';