edfcore 0.4.305 → 0.4.307

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.305";
112
+ export declare const VERSION = "0.4.307";
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.305';
82
+ export const VERSION = '0.4.307';
83
83
  //# sourceMappingURL=constants.js.map
package/docs/CHANGELOG.md CHANGED
@@ -6,6 +6,31 @@ 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.307
10
+
11
+ - **Marked** the fourteen changelog entries for versions that were never released. Each of them —
12
+ 0.4.231 through 0.4.236, 0.4.241, 0.4.242, and 0.4.287 through 0.4.292 — was written before its
13
+ release failed, so the entry reads exactly like one that shipped. The correction lived in a
14
+ different entry further up, which a reader at `## 0.4.288` never sees: they get a normal-looking
15
+ changelog entry for a version `npm install edfcore@0.4.288` cannot fetch.
16
+ - The older holes already did this right. 0.2.29, 0.2.36, 0.2.59 and 0.4.176 each open by saying
17
+ "Never released" and naming the version that carried the work, which is the convention
18
+ `scripts/release.mjs` points at when it tells you to record a consumed number. These fourteen
19
+ now do the same, and say which version carried them.
20
+
21
+ ## 0.4.306
22
+
23
+ - **Built** the file `discontinuous.md` draws and read it. The page opens with a diagram — six
24
+ one-second records with a ten-second gap between record 2 and record 3 — and everything after is
25
+ arithmetic on that picture: which chunk starts where, which carries the gap, that a two-record
26
+ read either side spans twelve seconds for two seconds of data, and that `locate(13.5)` answers
27
+ record 3 at 13 s plus half a second.
28
+ - Those figures are the page's argument. "Reading such a file as if it were contiguous puts record
29
+ 3 at t = 3 s when it truly starts at t = 13 s. Nothing throws, the waveform looks fine, and every
30
+ event you align against it is ten seconds out." `discontinuous.test.ts` covers EDF+D thoroughly
31
+ against a different fixture — hour-long intervals in a sleep latency test — so this builds the
32
+ page's own file, and the numbers a reader copies are the ones a run produces.
33
+
9
34
  ## 0.4.305
10
35
 
11
36
  - **Pinned** the budget refusal `large-files.md` prints — `requiredBytes` 442,368,000,
@@ -172,6 +197,8 @@ defect; those are called out below.
172
197
 
173
198
  ## 0.4.292
174
199
 
200
+ > **Never released.** This version was tagged and its publish run failed, so it is not on npm. Everything below shipped in `0.4.293`.
201
+
175
202
  - **Fixed** the tarball check added in 0.4.287, which broke the publish it was written to protect.
176
203
  It ran `npm pack --dry-run --json` without `--ignore-scripts`, so `npm pack` ran the pack
177
204
  lifecycle — and this package's `prepublishOnly` is `npm run check && npm run build`. The pack
@@ -188,6 +215,8 @@ defect; those are called out below.
188
215
 
189
216
  ## 0.4.291
190
217
 
218
+ > **Never released.** This version was tagged and its publish run failed, so it is not on npm. Everything below shipped in `0.4.293`.
219
+
191
220
  - **Extended** `verify:site` to the rendered head of every built page. `Base.astro` builds it once
192
221
  for all of them, which is exactly why a page that misses it misses it silently — nothing renders
193
222
  differently. Title, description, canonical and the two Open Graph tags are now required on all 27
@@ -201,6 +230,8 @@ defect; those are called out below.
201
230
 
202
231
  ## 0.4.290
203
232
 
233
+ > **Never released.** This version was tagged and its publish run failed, so it is not on npm. Everything below shipped in `0.4.293`.
234
+
204
235
  - **Added** `npm run verify:site`, which checks what the site build produced rather than that it
205
236
  produced something. `llms.txt`, `llms-full.txt`, the markdown twin of every page, `robots.txt`
206
237
  and `api.json` are generated from the collection and nothing looked at the output — and each
@@ -214,6 +245,8 @@ defect; those are called out below.
214
245
 
215
246
  ## 0.4.289
216
247
 
248
+ > **Never released.** This version was tagged and its publish run failed, so it is not on npm. Everything below shipped in `0.4.293`.
249
+
217
250
  - **Tested** `header/fields.ts` directly, the last source module no test imported. It is the sole
218
251
  owner of where each of the ten fixed fields lives and which diagnostic a field that fails its
219
252
  grammar deserves, and every function in it ran only as a step inside `parseHeader` — covered by
@@ -228,6 +261,8 @@ defect; those are called out below.
228
261
 
229
262
  ## 0.4.288
230
263
 
264
+ > **Never released.** This version was tagged and its publish run failed, so it is not on npm. Everything below shipped in `0.4.293`.
265
+
231
266
  - **Tested** `options.ts` directly for the first time. It is 66 lines of Layer 1 whose whole job is
232
267
  refusing bad input, and no test imported it — every path through it ran only as a side effect of
233
268
  some larger read. Its own docblock records two misdiagnoses that reached users from a `NaN`
@@ -244,6 +279,8 @@ defect; those are called out below.
244
279
 
245
280
  ## 0.4.287
246
281
 
282
+ > **Never released.** This version was tagged and its publish run failed, so it is not on npm. Everything below shipped in `0.4.293`.
283
+
247
284
  - **Added** a check on what `npm publish` would actually send. `publint` runs in CI and checks the
248
285
  manifest is well formed; it says nothing about membership, and membership is where the claims
249
286
  are — `tests/README.md` promises "nothing under `tests/` ever ships", and the fixture policy
@@ -889,6 +926,8 @@ defect; those are called out below.
889
926
 
890
927
  ## 0.4.242
891
928
 
929
+ > **Never released.** This version was tagged and its publish run failed, so it is not on npm. Everything below shipped in `0.4.243`.
930
+
892
931
  - **Fixed** the link checker's own hand-written inventory, six releases after it was added to
893
932
  catch exactly that. 0.4.236 listed the site's standalone routes — `/`, `/demo`, `/llms.txt` and
894
933
  the rest — as a literal set, so deleting a route would have left the list vouching for it, and
@@ -901,6 +940,8 @@ defect; those are called out below.
901
940
 
902
941
  ## 0.4.241
903
942
 
943
+ > **Never released.** This version was tagged and its publish run failed, so it is not on npm. Everything below shipped in `0.4.243`.
944
+
904
945
  - **Added** checks on `tests/README.md`, which described this suite with nothing checking that it
905
946
  still did. It is where the root README sends a contributor, and the fixture policy it states is
906
947
  the only reason six binary files are committed to a repository that otherwise builds every
@@ -969,6 +1010,8 @@ defect; those are called out below.
969
1010
 
970
1011
  ## 0.4.236
971
1012
 
1013
+ > **Never released.** This version was tagged and its publish run failed, so it is not on npm. Everything below shipped in `0.4.237`.
1014
+
972
1015
  - **Added** a check that every internal link on the site points at something that exists. The
973
1016
  documentation pages carry over a hundred `/docs/...` and `#anchor` links between them and
974
1017
  nothing checked one: `astro check` validates types and content collections, not hrefs, and a
@@ -983,6 +1026,8 @@ defect; those are called out below.
983
1026
 
984
1027
  ## 0.4.235
985
1028
 
1029
+ > **Never released.** This version was tagged and its publish run failed, so it is not on npm. Everything below shipped in `0.4.237`.
1030
+
986
1031
  - **Added** documentation for the three selection types, taking the recorded undocumented list
987
1032
  from eleven to eight. `StreamSelection`, `EnvelopeSelection` and `TriggerSelection` are what
988
1033
  `streamRecords`, `readEnvelope` and `readTriggers` take, and every page showed an object literal
@@ -997,6 +1042,8 @@ defect; those are called out below.
997
1042
 
998
1043
  ## 0.4.234
999
1044
 
1045
+ > **Never released.** This version was tagged and its publish run failed, so it is not on npm. Everything below shipped in `0.4.237`.
1046
+
1000
1047
  - **Added** documentation for the three formatter options types, and took them off the recorded
1001
1048
  list of undocumented ones. `FormatHeaderOptions`, `FormatAnnotationsOptions` and
1002
1049
  `FormatReportOptions` are exported and every field of each was described somewhere in prose, but
@@ -1009,6 +1056,8 @@ defect; those are called out below.
1009
1056
 
1010
1057
  ## 0.4.233
1011
1058
 
1059
+ > **Never released.** This version was tagged and its publish run failed, so it is not on npm. Everything below shipped in `0.4.237`.
1060
+
1012
1061
  - **Changed** the packaging checks to run on every push instead of only at publish time.
1013
1062
  `publint --strict` and `@arethetypeswrong/cli` are the two things `npm run check` cannot do —
1014
1063
  they read the manifest against the files npm would actually pack, and resolve each subpath the
@@ -1021,6 +1070,8 @@ defect; those are called out below.
1021
1070
 
1022
1071
  ## 0.4.232
1023
1072
 
1073
+ > **Never released.** This version was tagged and its publish run failed, so it is not on npm. Everything below shipped in `0.4.237`.
1074
+
1024
1075
  - **Fixed** the site's version sweep reading only `.astro` files. `website/src/pages/` also holds
1025
1076
  seven `.ts` routes, and they emit prose exactly the way a component does: `llms.txt` is the map
1026
1077
  an agent is handed, `[...slug].md.ts` is the markdown twin of every documentation page, and
@@ -1033,6 +1084,8 @@ defect; those are called out below.
1033
1084
 
1034
1085
  ## 0.4.231
1035
1086
 
1087
+ > **Never released.** This version was tagged and its publish run failed, so it is not on npm. Everything below shipped in `0.4.237`.
1088
+
1036
1089
  - **Fixed** four documentation sweeps reading a narrower set of pages than the site publishes.
1037
1090
  `docs-coverage.test.ts`, `diagnostic-docs.test.ts` and `readme-status.test.ts` — the last of
1038
1091
  them twice — each wrote its own reader, three globbing `content/docs/*.md` and one calling
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edfcore",
3
- "version": "0.4.305",
3
+ "version": "0.4.307",
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.305';
96
+ export const VERSION = '0.4.307';