@finbheara/archive-client 0.16.1 → 0.16.2

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
@@ -287,7 +287,7 @@ earlier row at a joined school alone is no match. `r.school.lineage` lists the i
287
287
  asked ones. A release that publishes no lineage (feature `schools.lineage`) joins
288
288
  nothing and its answer carries no `lineage`, never refused. The line is read on the same school
289
289
  graph as `rel.schools.line` (`@finbheara/domain/school-graph`): untimed, every path, and as of a
290
- year, every path none of whose steps is dated after it (`LINE_AS_OF`).
290
+ year, every path none of whose steps is dated after it, a rename at any year (`LINE_AS_OF`).
291
291
 
292
292
  `population` is how the dancer's published majors population meets the asked one: `same`,
293
293
  `contradicts`, `both`, `unknown`, `unasked`. A dancer's population is read only from its rows at
@@ -321,7 +321,8 @@ words):
321
321
  - `school`: every school row of the dancer up to the asked year reads to a school id (an id
322
322
  followed through the redirects, a print read by `rel.schools`), and none of them is the asked
323
323
  school or a school its line had joined by that year (lineage edges dated in or before the asked
324
- year). A dancer with no school row, or a print no school reads, is unknown and never refuted. A
324
+ year, and a rename at any year: one school under two names).
325
+ A dancer with no school row, or a print no school reads, is unknown and never refuted. A
325
326
  dancer that ever danced for the asked school's line is never refuted by the school. For an
326
327
  adult-category question (the asked band is the adult band, read by `@finbheara/domain`:
327
328
  `Adult`, `Advanced Adult`, `Adult Beginner`, `Open Adult`, `Adult Masters`), a row the
@@ -861,7 +861,10 @@ class SchoolResolver2 {
861
861
  }
862
862
  }
863
863
 
864
- var LINE_AS_OF = { name: "line-as-of", keep: (s) => !s.flags.datedAfter };
864
+ var LINE_AS_OF = {
865
+ name: "line-as-of",
866
+ keep: (s) => !s.flags.datedAfter || s.link.shape === "rename"
867
+ };
865
868
  function schoolLine(lineage, ids, year) {
866
869
  const reached = new Set(ids);
867
870
  for (const id of ids)
package/dist/cli.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  nameOrderOf,
5
5
  openRelease2,
6
6
  releases2
7
- } from "./chunks/index-hbb1dnnh.js";
7
+ } from "./chunks/index-bpd2j026.js";
8
8
  import"./chunks/index-hne1wadw.js";
9
9
  import"./chunks/index-hghdy980.js";
10
10
 
package/dist/index.js CHANGED
@@ -50,7 +50,7 @@ import {
50
50
  openCached2,
51
51
  ReleaseManager2,
52
52
  releases2
53
- } from "./chunks/index-hbb1dnnh.js";
53
+ } from "./chunks/index-bpd2j026.js";
54
54
  import {
55
55
  cacheRoot2,
56
56
  repoOf2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finbheara/archive-client",
3
- "version": "0.16.1",
3
+ "version": "0.16.2",
4
4
  "description": "Open a versioned release of an Irish dance results archive: download, verify, decompress and cache it by tag, keep the cache, and resolve feises and schools against it",
5
5
  "keywords": ["irish-dance", "results", "release", "cache", "sqlite"],
6
6
  "license": "MIT",