@finbheara/domain 0.19.0 → 0.20.0

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.
@@ -7893,7 +7893,11 @@ function createPlaceReader2(options = {}) {
7893
7893
  return;
7894
7894
  if (n - 1 > 0 && (qualified(before[n - 1]) || !qualified(before[n - 2])))
7895
7895
  return;
7896
- return qualifierAlone(prev.heads, r.heads) ?? (prev.truncated || before[n] !== "comma" || listed(before[n + 1]) ? undefined : townInCounty(prev.heads, r.heads));
7896
+ const alone = qualifierAlone(prev.heads, r.heads);
7897
+ const run = alone === undefined ? undefined : runInside(parts[n - 1].space, alone.filter((q) => q.kind === "subdivision"));
7898
+ if (run !== undefined)
7899
+ return [run];
7900
+ return alone ?? (prev.truncated || before[n] !== "comma" || listed(before[n + 1]) ? undefined : townInCounty(prev.heads, r.heads));
7897
7901
  });
7898
7902
  settled.forEach((heads, n) => {
7899
7903
  if (heads === undefined)
package/dist/place.js CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  placesRelation2,
18
18
  probablySamePlace2,
19
19
  sameReading2
20
- } from "./chunks/place-39zj2ymq.js";
20
+ } from "./chunks/place-s3gefhzm.js";
21
21
  import"./chunks/place-tcgfvemw.js";
22
22
  export {
23
23
  DEFAULT_PLACE_CAPACITY2 as DEFAULT_PLACE_CAPACITY,
package/dist/school.js CHANGED
@@ -12,7 +12,7 @@ import {
12
12
  areAllPlaceTokens2,
13
13
  placeRelation2,
14
14
  sameReading2
15
- } from "./chunks/place-39zj2ymq.js";
15
+ } from "./chunks/place-s3gefhzm.js";
16
16
  import {
17
17
  validity
18
18
  } from "./chunks/place-q9kwsmzd.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finbheara/domain",
3
- "version": "0.19.0",
3
+ "version": "0.20.0",
4
4
  "description": "Places, CLRG regions, school names, ages, dances and a person's print in its role, as they are printed: read, compared and told apart",
5
5
  "keywords": [
6
6
  "places",