edfcore 0.4.1 → 0.4.3

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.1";
112
+ export declare const VERSION = "0.4.3";
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.1';
82
+ export const VERSION = '0.4.3';
83
83
  //# sourceMappingURL=constants.js.map
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
- * a packaging test greps the built universal bundle for the scheme prefix to prove it — which is
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
- * a packaging test greps the built universal bundle for the scheme prefix to prove it — which is
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/node.d.ts CHANGED
@@ -33,10 +33,10 @@
33
33
  *
34
34
  * The suppression on the import is the unconditional `ts-ignore` directive rather than
35
35
  * `@ts-expect-error`, and that is not laziness. Whether the specifier resolves depends on whether
36
- * a `@types/node` happens to be reachable at all: `tsconfig.build.json` compiles `src/` alone and
37
- * it is not, while `tsconfig.json` also pulls in a dev tool carrying a triple-slash reference to
38
- * it and it may be. `@ts-expect-error` errors for being UNUSED in the second case, so it would
39
- * break whichever of the two configurations the machine happens to disagree with.
36
+ * a `@types/node` happens to be reachable at all: `config/tsconfig.build.json` compiles `src/`
37
+ * alone and it is not, while `tsconfig.json` also pulls in a dev tool carrying a triple-slash
38
+ * reference to it and it may be. `@ts-expect-error` errors for being UNUSED in the second case, so
39
+ * it would break whichever of the two configurations the machine happens to disagree with.
40
40
  */
41
41
  import type { ByteSource } from './types.js';
42
42
  /**
package/dist/node.js CHANGED
@@ -33,10 +33,10 @@
33
33
  *
34
34
  * The suppression on the import is the unconditional `ts-ignore` directive rather than
35
35
  * `@ts-expect-error`, and that is not laziness. Whether the specifier resolves depends on whether
36
- * a `@types/node` happens to be reachable at all: `tsconfig.build.json` compiles `src/` alone and
37
- * it is not, while `tsconfig.json` also pulls in a dev tool carrying a triple-slash reference to
38
- * it and it may be. `@ts-expect-error` errors for being UNUSED in the second case, so it would
39
- * break whichever of the two configurations the machine happens to disagree with.
36
+ * a `@types/node` happens to be reachable at all: `config/tsconfig.build.json` compiles `src/`
37
+ * alone and it is not, while `tsconfig.json` also pulls in a dev tool carrying a triple-slash
38
+ * reference to it and it may be. `@ts-expect-error` errors for being UNUSED in the second case, so
39
+ * it would break whichever of the two configurations the machine happens to disagree with.
40
40
  */
41
41
  // biome-ignore lint/suspicious/noTsIgnore: @ts-expect-error errors when unused — see above.
42
42
  // @ts-ignore 'node:fs/promises' has no declarations under `types: []`; its shape is below.
package/docs/CHANGELOG.md CHANGED
@@ -6,6 +6,18 @@ 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.3
10
+
11
+ - **Fixed** the `edfcore/node` docblock naming `tsconfig.build.json` at the repository root. It
12
+ moved to `config/` in 0.4.1, and this sentence ships as the hover text on the subpath, so the
13
+ path a consumer is told to look at had to be the real one.
14
+
15
+ ## 0.4.2
16
+
17
+ - **Fixed** `src/index.ts` crediting "a packaging test" that "greps the built universal bundle" for
18
+ the `node:` prefix. The check is `public-api.test.ts`, and it walks the `src/` module graph — the
19
+ built bundle is what `browser-safety.test.ts` runs, for globals rather than imports.
20
+
9
21
  ## 0.4.1
10
22
 
11
23
  - **Moved** `CHANGELOG.md` to `docs/CHANGELOG.md`. It still ships in the tarball, so the release
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edfcore",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
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.1';
96
+ export const VERSION = '0.4.3';
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
- * a packaging test greps the built universal bundle for the scheme prefix to prove it — which is
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/src/node.ts CHANGED
@@ -33,10 +33,10 @@
33
33
  *
34
34
  * The suppression on the import is the unconditional `ts-ignore` directive rather than
35
35
  * `@ts-expect-error`, and that is not laziness. Whether the specifier resolves depends on whether
36
- * a `@types/node` happens to be reachable at all: `tsconfig.build.json` compiles `src/` alone and
37
- * it is not, while `tsconfig.json` also pulls in a dev tool carrying a triple-slash reference to
38
- * it and it may be. `@ts-expect-error` errors for being UNUSED in the second case, so it would
39
- * break whichever of the two configurations the machine happens to disagree with.
36
+ * a `@types/node` happens to be reachable at all: `config/tsconfig.build.json` compiles `src/`
37
+ * alone and it is not, while `tsconfig.json` also pulls in a dev tool carrying a triple-slash
38
+ * reference to it and it may be. `@ts-expect-error` errors for being UNUSED in the second case, so
39
+ * it would break whichever of the two configurations the machine happens to disagree with.
40
40
  */
41
41
 
42
42
  // biome-ignore lint/suspicious/noTsIgnore: @ts-expect-error errors when unused — see above.