@mailwoman/resolver 5.0.0 → 5.1.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.
- package/out/resolve.js +1 -1
- package/package.json +4 -4
package/out/resolve.js
CHANGED
|
@@ -628,7 +628,7 @@ class WOFResolver {
|
|
|
628
628
|
// global fallback collapses back to the soft-prior baseline (FI p90 3050, PL p90 1078); pure-hard
|
|
629
629
|
// collapses the tail (FI 18 km, PL p99 8172→494) at a coverage-bounded recall cost.
|
|
630
630
|
// #833 forward linkage: a node's own `country_hint` (an address-system recognizer's derived country —
|
|
631
|
-
// today `
|
|
631
|
+
// today `recognizeUSRegions` stamping "US" on a recognized closed-set US state) constrains THIS node's
|
|
632
632
|
// lookup, below a resolved parent's country but above the global defaults. It breaks the two-consistent-
|
|
633
633
|
// pairs tie ("Augusta, ME" → Maine, not Augusta/Messina) that pure geographic consistency cannot.
|
|
634
634
|
const countryHint = node.metadata?.["country_hint"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mailwoman/resolver",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"description": "The address resolver: walk an AddressTree, decorate nodes with gazetteer-supplied coordinates + attribution. Backend-agnostic (any ResolverBackend), with the span-rescore + postcode-consistency levers. Lifted out of @mailwoman/core so it can depend on @mailwoman/spatial (haversine) + @mailwoman/codex (USPS directionals) instead of reinventing them; the type contract stays in core so the pipeline composes it without a cycle.",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"access": "public"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@mailwoman/codex": "5.
|
|
28
|
-
"@mailwoman/core": "5.
|
|
29
|
-
"@mailwoman/spatial": "5.
|
|
27
|
+
"@mailwoman/codex": "5.1.0",
|
|
28
|
+
"@mailwoman/core": "5.1.0",
|
|
29
|
+
"@mailwoman/spatial": "5.1.0"
|
|
30
30
|
}
|
|
31
31
|
}
|