edfcore 0.4.278 → 0.4.279

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.
@@ -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.278";
112
+ export declare const VERSION = "0.4.279";
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.278';
82
+ export const VERSION = '0.4.279';
83
83
  //# sourceMappingURL=constants.js.map
package/docs/CHANGELOG.md CHANGED
@@ -6,6 +6,22 @@ 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.279
10
+
11
+ - **Added** a check on which Node built-ins the package imports, read from the README's own
12
+ sentence: "Zero runtime dependencies, permanently. `edfcore/node` imports `node:fs/promises` and
13
+ nothing else." Every built-in in the graph is something a bundler has to shim, a serverless
14
+ runtime has to provide and an Electron or Deno target has to allow — one is a footnote, three is
15
+ a compatibility matrix. The neighbouring claims were checked and this one was not:
16
+ `public-api.test.ts` proves the universal entry reaches no `node:` at all and
17
+ `readme-status.test.ts` proves exactly two modules import one, but neither says which, so adding
18
+ `node:path` to the Node adapters would have left both green and the README wrong.
19
+ - Comments are stripped and string literals deliberately are not, which is the reverse of what
20
+ 0.4.275 and 0.4.277 needed. An import specifier is a string literal, so the shared `codeOnly`
21
+ removes the thing being counted — the first version of this file used it and reported every
22
+ module as importing nothing. The match is anchored to an import statement instead, so a built-in
23
+ named inside a diagnostic message is not mistaken for a dependency.
24
+
9
25
  ## 0.4.278
10
26
 
11
27
  - **Corrected** a sentence in `tests/README.md` that contradicted the rest of the page and the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edfcore",
3
- "version": "0.4.278",
3
+ "version": "0.4.279",
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",
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.278';
96
+ export const VERSION = '0.4.279';