@mailwoman/codex 9.2.0 → 9.4.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/README.md +4 -4
- package/{address-system-conventions.ts → lib/address-system-conventions.ts} +9 -9
- package/{au → lib/au}/index.ts +4 -4
- package/{ca → lib/ca}/index.ts +3 -3
- package/{ca → lib/ca}/postal-code.ts +1 -1
- package/{ca → lib/ca}/province.ts +1 -1
- package/{ca → lib/ca}/street-type.ts +10 -12
- package/{country → lib/country}/codes.ts +1 -1
- package/{country → lib/country}/country.ts +43 -14
- package/lib/country/index.ts +17 -0
- package/{country → lib/country}/reference.ts +2 -2
- package/{country → lib/country}/subdivision.ts +4 -4
- package/{de → lib/de}/index.ts +3 -3
- package/{es → lib/es}/codigo-postal.ts +22 -4
- package/{es → lib/es}/index.ts +1 -1
- package/{fr → lib/fr}/cedex.ts +1 -1
- package/{fr → lib/fr}/code-postal.ts +2 -2
- package/{fr → lib/fr}/departement.ts +5 -2
- package/{fr → lib/fr}/index.ts +5 -5
- package/{fr → lib/fr}/region.ts +1 -1
- package/{fr → lib/fr}/voie.ts +5 -13
- package/{gb → lib/gb}/country.ts +2 -10
- package/{gb → lib/gb}/index.ts +4 -4
- package/{gb → lib/gb}/postcode-area.ts +1 -1
- package/{gb → lib/gb}/street-type.ts +1 -1
- package/{index.ts → lib/index.ts} +13 -12
- package/{it → lib/it}/cap.ts +21 -3
- package/{it → lib/it}/index.ts +1 -1
- package/{jp → lib/jp}/index.ts +4 -3
- package/lib/jp/municipality-register.ts +62 -0
- package/{jp → lib/jp}/prefecture.ts +7 -5
- package/lib/kr/index.ts +10 -0
- package/lib/kr/sigungu-register.ts +294 -0
- package/{normalize.ts → lib/normalize.ts} +15 -1
- package/{nz → lib/nz}/delivery-service.ts +1 -1
- package/{nz → lib/nz}/index.ts +2 -2
- package/{postcode-systems.ts → lib/postcode-systems.ts} +40 -24
- package/lib/register-completion.ts +24 -0
- package/{tools → lib/tools}/build-country-surface-lexicon.ts +10 -9
- package/{tools → lib/tools}/export-country-surfaces.ts +8 -8
- package/{tools → lib/tools}/generate-country-population.ts +4 -5
- package/{tools → lib/tools}/generate-country-reference.ts +4 -5
- package/{tools → lib/tools}/generate-official-languages.ts +7 -9
- package/{tools → lib/tools}/index.ts +3 -3
- package/{us → lib/us}/index.ts +8 -8
- package/{us → lib/us}/po-box.ts +1 -1
- package/{us → lib/us}/street-directional.ts +2 -2
- package/{us → lib/us}/street-suffix.ts +1 -1
- package/{us → lib/us}/unit-designator.ts +1 -1
- package/{us → lib/us}/zipcode.ts +1 -1
- package/out/address-system-conventions.d.ts +1 -1
- package/out/address-system-conventions.d.ts.map +1 -1
- package/out/address-system-conventions.js +8 -8
- package/out/address-system-conventions.js.map +1 -1
- package/out/au/delivery-service.d.ts.map +1 -1
- package/out/au/delivery-service.js.map +1 -1
- package/out/au/index.d.ts +4 -4
- package/out/au/index.d.ts.map +1 -1
- package/out/au/index.js +4 -4
- package/out/au/index.js.map +1 -1
- package/out/au/level-designator.d.ts.map +1 -1
- package/out/au/level-designator.js.map +1 -1
- package/out/au/postcode.d.ts.map +1 -1
- package/out/au/postcode.js.map +1 -1
- package/out/au/state.d.ts.map +1 -1
- package/out/au/state.js.map +1 -1
- package/out/ca/index.d.ts +3 -3
- package/out/ca/index.d.ts.map +1 -1
- package/out/ca/index.js +3 -3
- package/out/ca/index.js.map +1 -1
- package/out/ca/postal-code.d.ts +1 -1
- package/out/ca/postal-code.d.ts.map +1 -1
- package/out/ca/postal-code.js.map +1 -1
- package/out/ca/province.d.ts.map +1 -1
- package/out/ca/province.js +1 -1
- package/out/ca/province.js.map +1 -1
- package/out/ca/street-type.d.ts.map +1 -1
- package/out/ca/street-type.js +9 -12
- package/out/ca/street-type.js.map +1 -1
- package/out/country/codes.d.ts.map +1 -1
- package/out/country/codes.js.map +1 -1
- package/out/country/country.d.ts +13 -11
- package/out/country/country.d.ts.map +1 -1
- package/out/country/country.js +35 -13
- package/out/country/country.js.map +1 -1
- package/out/country/display-names.d.ts.map +1 -1
- package/out/country/display-names.js.map +1 -1
- package/out/country/index.d.ts +10 -10
- package/out/country/index.d.ts.map +1 -1
- package/out/country/index.js +10 -10
- package/out/country/index.js.map +1 -1
- package/out/country/names.d.ts.map +1 -1
- package/out/country/names.js.map +1 -1
- package/out/country/official-languages.d.ts.map +1 -1
- package/out/country/official-languages.js.map +1 -1
- package/out/country/population.d.ts.map +1 -1
- package/out/country/population.js.map +1 -1
- package/out/country/reference-data.d.ts.map +1 -1
- package/out/country/reference-data.js.map +1 -1
- package/out/country/reference.d.ts +1 -1
- package/out/country/reference.d.ts.map +1 -1
- package/out/country/reference.js +2 -2
- package/out/country/reference.js.map +1 -1
- package/out/country/subdivision.d.ts.map +1 -1
- package/out/country/subdivision.js +4 -4
- package/out/country/subdivision.js.map +1 -1
- package/out/de/bundesland.d.ts.map +1 -1
- package/out/de/bundesland.js.map +1 -1
- package/out/de/index.d.ts +3 -3
- package/out/de/index.d.ts.map +1 -1
- package/out/de/index.js +3 -3
- package/out/de/index.js.map +1 -1
- package/out/de/postleitzahl.d.ts.map +1 -1
- package/out/de/postleitzahl.js.map +1 -1
- package/out/de/street-type.d.ts.map +1 -1
- package/out/de/street-type.js.map +1 -1
- package/out/es/codigo-postal.d.ts +11 -0
- package/out/es/codigo-postal.d.ts.map +1 -1
- package/out/es/codigo-postal.js +20 -3
- package/out/es/codigo-postal.js.map +1 -1
- package/out/es/index.d.ts +1 -1
- package/out/es/index.d.ts.map +1 -1
- package/out/es/index.js +1 -1
- package/out/es/index.js.map +1 -1
- package/out/fr/cedex.d.ts +1 -1
- package/out/fr/cedex.d.ts.map +1 -1
- package/out/fr/cedex.js +1 -1
- package/out/fr/cedex.js.map +1 -1
- package/out/fr/code-postal.d.ts +2 -2
- package/out/fr/code-postal.d.ts.map +1 -1
- package/out/fr/code-postal.js +2 -2
- package/out/fr/code-postal.js.map +1 -1
- package/out/fr/departement.d.ts +2 -2
- package/out/fr/departement.d.ts.map +1 -1
- package/out/fr/departement.js +3 -0
- package/out/fr/departement.js.map +1 -1
- package/out/fr/index.d.ts +5 -5
- package/out/fr/index.d.ts.map +1 -1
- package/out/fr/index.js +5 -5
- package/out/fr/index.js.map +1 -1
- package/out/fr/region.d.ts.map +1 -1
- package/out/fr/region.js +1 -1
- package/out/fr/region.js.map +1 -1
- package/out/fr/voie.d.ts.map +1 -1
- package/out/fr/voie.js +4 -11
- package/out/fr/voie.js.map +1 -1
- package/out/gb/country.d.ts.map +1 -1
- package/out/gb/country.js +1 -9
- package/out/gb/country.js.map +1 -1
- package/out/gb/index.d.ts +4 -4
- package/out/gb/index.d.ts.map +1 -1
- package/out/gb/index.js +4 -4
- package/out/gb/index.js.map +1 -1
- package/out/gb/postcode-area.d.ts +1 -1
- package/out/gb/postcode-area.d.ts.map +1 -1
- package/out/gb/postcode-area.js.map +1 -1
- package/out/gb/postcode.d.ts.map +1 -1
- package/out/gb/postcode.js.map +1 -1
- package/out/gb/street-type.d.ts +1 -1
- package/out/gb/street-type.d.ts.map +1 -1
- package/out/gb/street-type.js +1 -1
- package/out/gb/street-type.js.map +1 -1
- package/out/index.d.ts +12 -12
- package/out/index.d.ts.map +1 -1
- package/out/index.js +12 -12
- package/out/index.js.map +1 -1
- package/out/it/cap.d.ts +11 -0
- package/out/it/cap.d.ts.map +1 -1
- package/out/it/cap.js +19 -2
- package/out/it/cap.js.map +1 -1
- package/out/it/index.d.ts +1 -1
- package/out/it/index.d.ts.map +1 -1
- package/out/it/index.js +1 -1
- package/out/it/index.js.map +1 -1
- package/out/jp/address-unit.d.ts.map +1 -1
- package/out/jp/address-unit.js.map +1 -1
- package/out/jp/index.d.ts +4 -3
- package/out/jp/index.d.ts.map +1 -1
- package/out/jp/index.js +4 -3
- package/out/jp/index.js.map +1 -1
- package/out/jp/municipality-register.d.ts +48 -0
- package/out/jp/municipality-register.d.ts.map +1 -0
- package/out/jp/municipality-register.js +41 -0
- package/out/jp/municipality-register.js.map +1 -0
- package/out/jp/postal-code.d.ts.map +1 -1
- package/out/jp/postal-code.js.map +1 -1
- package/out/jp/prefecture.d.ts +4 -1
- package/out/jp/prefecture.d.ts.map +1 -1
- package/out/jp/prefecture.js +6 -5
- package/out/jp/prefecture.js.map +1 -1
- package/out/kr/index.d.ts +10 -0
- package/out/kr/index.d.ts.map +1 -0
- package/out/kr/index.js +10 -0
- package/out/kr/index.js.map +1 -0
- package/out/kr/sigungu-register.d.ts +37 -0
- package/out/kr/sigungu-register.d.ts.map +1 -0
- package/out/kr/sigungu-register.js +283 -0
- package/out/kr/sigungu-register.js.map +1 -0
- package/out/level-semantics.d.ts.map +1 -1
- package/out/level-semantics.js.map +1 -1
- package/out/normalize.d.ts +8 -0
- package/out/normalize.d.ts.map +1 -1
- package/out/normalize.js +14 -1
- package/out/normalize.js.map +1 -1
- package/out/nz/delivery-service.d.ts +1 -1
- package/out/nz/delivery-service.d.ts.map +1 -1
- package/out/nz/delivery-service.js +1 -1
- package/out/nz/delivery-service.js.map +1 -1
- package/out/nz/index.d.ts +2 -2
- package/out/nz/index.d.ts.map +1 -1
- package/out/nz/index.js +2 -2
- package/out/nz/index.js.map +1 -1
- package/out/nz/postcode.d.ts.map +1 -1
- package/out/nz/postcode.js.map +1 -1
- package/out/postcode-systems.d.ts +26 -15
- package/out/postcode-systems.d.ts.map +1 -1
- package/out/postcode-systems.js +38 -23
- package/out/postcode-systems.js.map +1 -1
- package/out/register-completion.d.ts +14 -0
- package/out/register-completion.d.ts.map +1 -0
- package/out/register-completion.js +23 -0
- package/out/register-completion.js.map +1 -0
- package/out/tools/build-country-surface-lexicon.d.ts +1 -1
- package/out/tools/build-country-surface-lexicon.d.ts.map +1 -1
- package/out/tools/build-country-surface-lexicon.js +10 -9
- package/out/tools/build-country-surface-lexicon.js.map +1 -1
- package/out/tools/export-country-surfaces.d.ts +1 -1
- package/out/tools/export-country-surfaces.d.ts.map +1 -1
- package/out/tools/export-country-surfaces.js +7 -7
- package/out/tools/export-country-surfaces.js.map +1 -1
- package/out/tools/generate-country-population.d.ts.map +1 -1
- package/out/tools/generate-country-population.js +4 -4
- package/out/tools/generate-country-population.js.map +1 -1
- package/out/tools/generate-country-reference.d.ts.map +1 -1
- package/out/tools/generate-country-reference.js +4 -4
- package/out/tools/generate-country-reference.js.map +1 -1
- package/out/tools/generate-official-languages.d.ts.map +1 -1
- package/out/tools/generate-official-languages.js +7 -7
- package/out/tools/generate-official-languages.js.map +1 -1
- package/out/tools/index.d.ts +3 -3
- package/out/tools/index.d.ts.map +1 -1
- package/out/tools/index.js +3 -3
- package/out/tools/index.js.map +1 -1
- package/out/us/floor-designator.d.ts.map +1 -1
- package/out/us/floor-designator.js.map +1 -1
- package/out/us/index.d.ts +8 -8
- package/out/us/index.d.ts.map +1 -1
- package/out/us/index.js +8 -8
- package/out/us/index.js.map +1 -1
- package/out/us/military-address.d.ts.map +1 -1
- package/out/us/military-address.js.map +1 -1
- package/out/us/po-box.d.ts +1 -1
- package/out/us/po-box.d.ts.map +1 -1
- package/out/us/po-box.js +1 -1
- package/out/us/po-box.js.map +1 -1
- package/out/us/state.d.ts.map +1 -1
- package/out/us/state.js.map +1 -1
- package/out/us/street-directional.d.ts.map +1 -1
- package/out/us/street-directional.js +2 -2
- package/out/us/street-directional.js.map +1 -1
- package/out/us/street-suffix.d.ts +1 -1
- package/out/us/street-suffix.d.ts.map +1 -1
- package/out/us/street-suffix.js +1 -1
- package/out/us/street-suffix.js.map +1 -1
- package/out/us/unit-designator.d.ts +1 -1
- package/out/us/unit-designator.d.ts.map +1 -1
- package/out/us/unit-designator.js +1 -1
- package/out/us/unit-designator.js.map +1 -1
- package/out/us/zipcode.d.ts +1 -1
- package/out/us/zipcode.d.ts.map +1 -1
- package/out/us/zipcode.js +1 -1
- package/out/us/zipcode.js.map +1 -1
- package/package.json +78 -267
- package/country/index.ts +0 -17
- /package/{au → lib/au}/delivery-service.ts +0 -0
- /package/{au → lib/au}/level-designator.ts +0 -0
- /package/{au → lib/au}/postcode.ts +0 -0
- /package/{au → lib/au}/state.ts +0 -0
- /package/{country → lib/country}/display-names.ts +0 -0
- /package/{country → lib/country}/names.ts +0 -0
- /package/{country → lib/country}/official-languages.ts +0 -0
- /package/{country → lib/country}/population.ts +0 -0
- /package/{country → lib/country}/reference-data.ts +0 -0
- /package/{de → lib/de}/bundesland.ts +0 -0
- /package/{de → lib/de}/postleitzahl.ts +0 -0
- /package/{de → lib/de}/street-type.ts +0 -0
- /package/{gb → lib/gb}/postcode.ts +0 -0
- /package/{jp → lib/jp}/address-unit.ts +0 -0
- /package/{jp → lib/jp}/postal-code.ts +0 -0
- /package/{level-semantics.ts → lib/level-semantics.ts} +0 -0
- /package/{nz → lib/nz}/postcode.ts +0 -0
- /package/{us → lib/us}/floor-designator.ts +0 -0
- /package/{us → lib/us}/military-address.ts +0 -0
- /package/{us → lib/us}/state.ts +0 -0
- /package/{us → lib/us}/street-suffix.json +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mailwoman/codex",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.4.0",
|
|
4
4
|
"description": "Per-address-system postal reference data + branded types (USPS street suffixes, US ZIP codes). Pure, zero-runtime-dep — the shared canonical home for postal-system primitives the parser, resolver, and synthesis layers all reach for.",
|
|
5
5
|
"license": "AGPL-3.0-only OR LicenseRef-Commercial",
|
|
6
6
|
"repository": {
|
|
@@ -21,224 +21,129 @@
|
|
|
21
21
|
"!*.test.tsx",
|
|
22
22
|
"!**/*.test.ts",
|
|
23
23
|
"!**/*.test.tsx",
|
|
24
|
-
"us/street-suffix.json",
|
|
24
|
+
"lib/us/street-suffix.json",
|
|
25
25
|
"out/us/street-suffix.json",
|
|
26
26
|
"!test/**"
|
|
27
27
|
],
|
|
28
28
|
"type": "module",
|
|
29
|
+
"imports": {
|
|
30
|
+
"#*": {
|
|
31
|
+
"types": "./out/*.d.ts",
|
|
32
|
+
"node": "./out/*.js",
|
|
33
|
+
"default": "./out/*.js"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
29
36
|
"exports": {
|
|
30
37
|
"./package.json": "./package.json",
|
|
31
38
|
".": {
|
|
32
39
|
"types": "./out/index.d.ts",
|
|
40
|
+
"node": "./out/index.js",
|
|
33
41
|
"default": "./out/index.js"
|
|
34
42
|
},
|
|
35
43
|
"./country": {
|
|
36
44
|
"types": "./out/country/index.d.ts",
|
|
45
|
+
"node": "./out/country/index.js",
|
|
37
46
|
"default": "./out/country/index.js"
|
|
38
47
|
},
|
|
39
48
|
"./us": {
|
|
40
49
|
"types": "./out/us/index.d.ts",
|
|
50
|
+
"node": "./out/us/index.js",
|
|
41
51
|
"default": "./out/us/index.js"
|
|
42
52
|
},
|
|
43
53
|
"./de": {
|
|
44
54
|
"types": "./out/de/index.d.ts",
|
|
55
|
+
"node": "./out/de/index.js",
|
|
45
56
|
"default": "./out/de/index.js"
|
|
46
57
|
},
|
|
47
58
|
"./fr": {
|
|
48
59
|
"types": "./out/fr/index.d.ts",
|
|
60
|
+
"node": "./out/fr/index.js",
|
|
49
61
|
"default": "./out/fr/index.js"
|
|
50
62
|
},
|
|
51
63
|
"./ca": {
|
|
52
64
|
"types": "./out/ca/index.d.ts",
|
|
65
|
+
"node": "./out/ca/index.js",
|
|
53
66
|
"default": "./out/ca/index.js"
|
|
54
67
|
},
|
|
55
68
|
"./gb": {
|
|
56
69
|
"types": "./out/gb/index.d.ts",
|
|
70
|
+
"node": "./out/gb/index.js",
|
|
57
71
|
"default": "./out/gb/index.js"
|
|
58
72
|
},
|
|
59
73
|
"./jp": {
|
|
60
74
|
"types": "./out/jp/index.d.ts",
|
|
75
|
+
"node": "./out/jp/index.js",
|
|
61
76
|
"default": "./out/jp/index.js"
|
|
62
77
|
},
|
|
63
78
|
"./au": {
|
|
64
79
|
"types": "./out/au/index.d.ts",
|
|
80
|
+
"node": "./out/au/index.js",
|
|
65
81
|
"default": "./out/au/index.js"
|
|
66
82
|
},
|
|
67
83
|
"./nz": {
|
|
68
84
|
"types": "./out/nz/index.d.ts",
|
|
85
|
+
"node": "./out/nz/index.js",
|
|
69
86
|
"default": "./out/nz/index.js"
|
|
70
87
|
},
|
|
71
88
|
"./tools": {
|
|
72
89
|
"types": "./out/tools/index.d.ts",
|
|
90
|
+
"node": "./out/tools/index.js",
|
|
73
91
|
"default": "./out/tools/index.js"
|
|
74
92
|
},
|
|
93
|
+
"./normalize": {
|
|
94
|
+
"types": "./out/normalize.d.ts",
|
|
95
|
+
"node": "./out/normalize.js",
|
|
96
|
+
"default": "./out/normalize.js"
|
|
97
|
+
},
|
|
75
98
|
"./es": {
|
|
76
99
|
"types": "./out/es/index.d.ts",
|
|
100
|
+
"node": "./out/es/index.js",
|
|
77
101
|
"default": "./out/es/index.js"
|
|
78
102
|
},
|
|
79
103
|
"./it": {
|
|
80
104
|
"types": "./out/it/index.d.ts",
|
|
105
|
+
"node": "./out/it/index.js",
|
|
81
106
|
"default": "./out/it/index.js"
|
|
82
107
|
},
|
|
83
108
|
"./address-system-conventions": {
|
|
84
109
|
"types": "./out/address-system-conventions.d.ts",
|
|
110
|
+
"node": "./out/address-system-conventions.js",
|
|
85
111
|
"default": "./out/address-system-conventions.js"
|
|
86
112
|
},
|
|
87
|
-
"./gb/postcode": {
|
|
88
|
-
"types": "./out/gb/postcode.d.ts",
|
|
89
|
-
"default": "./out/gb/postcode.js"
|
|
90
|
-
},
|
|
91
113
|
"./level-semantics": {
|
|
92
114
|
"types": "./out/level-semantics.d.ts",
|
|
115
|
+
"node": "./out/level-semantics.js",
|
|
93
116
|
"default": "./out/level-semantics.js"
|
|
94
117
|
},
|
|
95
118
|
"./postcode-systems": {
|
|
96
119
|
"types": "./out/postcode-systems.d.ts",
|
|
120
|
+
"node": "./out/postcode-systems.js",
|
|
97
121
|
"default": "./out/postcode-systems.js"
|
|
98
122
|
},
|
|
99
|
-
"./au/delivery-service": {
|
|
100
|
-
"types": "./out/au/delivery-service.d.ts",
|
|
101
|
-
"default": "./out/au/delivery-service.js"
|
|
102
|
-
},
|
|
103
|
-
"./au/level-designator": {
|
|
104
|
-
"types": "./out/au/level-designator.d.ts",
|
|
105
|
-
"default": "./out/au/level-designator.js"
|
|
106
|
-
},
|
|
107
|
-
"./au/postcode": {
|
|
108
|
-
"types": "./out/au/postcode.d.ts",
|
|
109
|
-
"default": "./out/au/postcode.js"
|
|
110
|
-
},
|
|
111
|
-
"./au/state": {
|
|
112
|
-
"types": "./out/au/state.d.ts",
|
|
113
|
-
"default": "./out/au/state.js"
|
|
114
|
-
},
|
|
115
|
-
"./ca/postal-code": {
|
|
116
|
-
"types": "./out/ca/postal-code.d.ts",
|
|
117
|
-
"default": "./out/ca/postal-code.js"
|
|
118
|
-
},
|
|
119
|
-
"./ca/province": {
|
|
120
|
-
"types": "./out/ca/province.d.ts",
|
|
121
|
-
"default": "./out/ca/province.js"
|
|
122
|
-
},
|
|
123
|
-
"./ca/street-type": {
|
|
124
|
-
"types": "./out/ca/street-type.d.ts",
|
|
125
|
-
"default": "./out/ca/street-type.js"
|
|
126
|
-
},
|
|
127
|
-
"./country/country": {
|
|
128
|
-
"types": "./out/country/country.d.ts",
|
|
129
|
-
"default": "./out/country/country.js"
|
|
130
|
-
},
|
|
131
|
-
"./country/display-names": {
|
|
132
|
-
"types": "./out/country/display-names.d.ts",
|
|
133
|
-
"default": "./out/country/display-names.js"
|
|
134
|
-
},
|
|
135
|
-
"./country/official-languages": {
|
|
136
|
-
"types": "./out/country/official-languages.d.ts",
|
|
137
|
-
"default": "./out/country/official-languages.js"
|
|
138
|
-
},
|
|
139
|
-
"./country/reference": {
|
|
140
|
-
"types": "./out/country/reference.d.ts",
|
|
141
|
-
"default": "./out/country/reference.js"
|
|
142
|
-
},
|
|
143
|
-
"./country/subdivision": {
|
|
144
|
-
"types": "./out/country/subdivision.d.ts",
|
|
145
|
-
"default": "./out/country/subdivision.js"
|
|
146
|
-
},
|
|
147
|
-
"./de/bundesland": {
|
|
148
|
-
"types": "./out/de/bundesland.d.ts",
|
|
149
|
-
"default": "./out/de/bundesland.js"
|
|
150
|
-
},
|
|
151
|
-
"./de/postleitzahl": {
|
|
152
|
-
"types": "./out/de/postleitzahl.d.ts",
|
|
153
|
-
"default": "./out/de/postleitzahl.js"
|
|
154
|
-
},
|
|
155
|
-
"./de/street-type": {
|
|
156
|
-
"types": "./out/de/street-type.d.ts",
|
|
157
|
-
"default": "./out/de/street-type.js"
|
|
158
|
-
},
|
|
159
|
-
"./fr/cedex": {
|
|
160
|
-
"types": "./out/fr/cedex.d.ts",
|
|
161
|
-
"default": "./out/fr/cedex.js"
|
|
162
|
-
},
|
|
163
|
-
"./fr/code-postal": {
|
|
164
|
-
"types": "./out/fr/code-postal.d.ts",
|
|
165
|
-
"default": "./out/fr/code-postal.js"
|
|
166
|
-
},
|
|
167
|
-
"./fr/departement": {
|
|
168
|
-
"types": "./out/fr/departement.d.ts",
|
|
169
|
-
"default": "./out/fr/departement.js"
|
|
170
|
-
},
|
|
171
|
-
"./fr/region": {
|
|
172
|
-
"types": "./out/fr/region.d.ts",
|
|
173
|
-
"default": "./out/fr/region.js"
|
|
174
|
-
},
|
|
175
|
-
"./fr/voie": {
|
|
176
|
-
"types": "./out/fr/voie.d.ts",
|
|
177
|
-
"default": "./out/fr/voie.js"
|
|
178
|
-
},
|
|
179
|
-
"./gb/country": {
|
|
180
|
-
"types": "./out/gb/country.d.ts",
|
|
181
|
-
"default": "./out/gb/country.js"
|
|
182
|
-
},
|
|
183
|
-
"./gb/postcode-area": {
|
|
184
|
-
"types": "./out/gb/postcode-area.d.ts",
|
|
185
|
-
"default": "./out/gb/postcode-area.js"
|
|
186
|
-
},
|
|
187
|
-
"./gb/street-type": {
|
|
188
|
-
"types": "./out/gb/street-type.d.ts",
|
|
189
|
-
"default": "./out/gb/street-type.js"
|
|
190
|
-
},
|
|
191
|
-
"./jp/address-unit": {
|
|
192
|
-
"types": "./out/jp/address-unit.d.ts",
|
|
193
|
-
"default": "./out/jp/address-unit.js"
|
|
194
|
-
},
|
|
195
|
-
"./jp/postal-code": {
|
|
196
|
-
"types": "./out/jp/postal-code.d.ts",
|
|
197
|
-
"default": "./out/jp/postal-code.js"
|
|
198
|
-
},
|
|
199
|
-
"./jp/prefecture": {
|
|
200
|
-
"types": "./out/jp/prefecture.d.ts",
|
|
201
|
-
"default": "./out/jp/prefecture.js"
|
|
202
|
-
},
|
|
203
|
-
"./nz/delivery-service": {
|
|
204
|
-
"types": "./out/nz/delivery-service.d.ts",
|
|
205
|
-
"default": "./out/nz/delivery-service.js"
|
|
206
|
-
},
|
|
207
|
-
"./nz/postcode": {
|
|
208
|
-
"types": "./out/nz/postcode.d.ts",
|
|
209
|
-
"default": "./out/nz/postcode.js"
|
|
210
|
-
},
|
|
211
123
|
"./us/floor-designator": {
|
|
212
124
|
"types": "./out/us/floor-designator.d.ts",
|
|
125
|
+
"node": "./out/us/floor-designator.js",
|
|
213
126
|
"default": "./out/us/floor-designator.js"
|
|
214
127
|
},
|
|
215
|
-
"./us/military-address": {
|
|
216
|
-
"types": "./out/us/military-address.d.ts",
|
|
217
|
-
"default": "./out/us/military-address.js"
|
|
218
|
-
},
|
|
219
|
-
"./us/po-box": {
|
|
220
|
-
"types": "./out/us/po-box.d.ts",
|
|
221
|
-
"default": "./out/us/po-box.js"
|
|
222
|
-
},
|
|
223
128
|
"./us/state": {
|
|
224
129
|
"types": "./out/us/state.d.ts",
|
|
130
|
+
"node": "./out/us/state.js",
|
|
225
131
|
"default": "./out/us/state.js"
|
|
226
132
|
},
|
|
227
|
-
"./us/street-directional": {
|
|
228
|
-
"types": "./out/us/street-directional.d.ts",
|
|
229
|
-
"default": "./out/us/street-directional.js"
|
|
230
|
-
},
|
|
231
133
|
"./us/street-suffix": {
|
|
232
134
|
"types": "./out/us/street-suffix.d.ts",
|
|
135
|
+
"node": "./out/us/street-suffix.js",
|
|
233
136
|
"default": "./out/us/street-suffix.js"
|
|
234
137
|
},
|
|
235
138
|
"./us/unit-designator": {
|
|
236
139
|
"types": "./out/us/unit-designator.d.ts",
|
|
140
|
+
"node": "./out/us/unit-designator.js",
|
|
237
141
|
"default": "./out/us/unit-designator.js"
|
|
238
142
|
},
|
|
239
|
-
"./
|
|
240
|
-
"types": "./out/
|
|
241
|
-
"
|
|
143
|
+
"./kr": {
|
|
144
|
+
"types": "./out/kr/index.d.ts",
|
|
145
|
+
"node": "./out/kr/index.js",
|
|
146
|
+
"default": "./out/kr/index.js"
|
|
242
147
|
}
|
|
243
148
|
},
|
|
244
149
|
"publishConfig": {
|
|
@@ -247,223 +152,129 @@
|
|
|
247
152
|
"./package.json": "./package.json",
|
|
248
153
|
".": {
|
|
249
154
|
"types": "./out/index.d.ts",
|
|
155
|
+
"node": "./out/index.js",
|
|
250
156
|
"default": "./out/index.js"
|
|
251
157
|
},
|
|
252
158
|
"./country": {
|
|
253
159
|
"types": "./out/country/index.d.ts",
|
|
160
|
+
"node": "./out/country/index.js",
|
|
254
161
|
"default": "./out/country/index.js"
|
|
255
162
|
},
|
|
256
163
|
"./us": {
|
|
257
164
|
"types": "./out/us/index.d.ts",
|
|
165
|
+
"node": "./out/us/index.js",
|
|
258
166
|
"default": "./out/us/index.js"
|
|
259
167
|
},
|
|
260
168
|
"./de": {
|
|
261
169
|
"types": "./out/de/index.d.ts",
|
|
170
|
+
"node": "./out/de/index.js",
|
|
262
171
|
"default": "./out/de/index.js"
|
|
263
172
|
},
|
|
264
173
|
"./fr": {
|
|
265
174
|
"types": "./out/fr/index.d.ts",
|
|
175
|
+
"node": "./out/fr/index.js",
|
|
266
176
|
"default": "./out/fr/index.js"
|
|
267
177
|
},
|
|
268
178
|
"./ca": {
|
|
269
179
|
"types": "./out/ca/index.d.ts",
|
|
180
|
+
"node": "./out/ca/index.js",
|
|
270
181
|
"default": "./out/ca/index.js"
|
|
271
182
|
},
|
|
272
183
|
"./gb": {
|
|
273
184
|
"types": "./out/gb/index.d.ts",
|
|
185
|
+
"node": "./out/gb/index.js",
|
|
274
186
|
"default": "./out/gb/index.js"
|
|
275
187
|
},
|
|
276
188
|
"./jp": {
|
|
277
189
|
"types": "./out/jp/index.d.ts",
|
|
190
|
+
"node": "./out/jp/index.js",
|
|
278
191
|
"default": "./out/jp/index.js"
|
|
279
192
|
},
|
|
280
193
|
"./au": {
|
|
281
194
|
"types": "./out/au/index.d.ts",
|
|
195
|
+
"node": "./out/au/index.js",
|
|
282
196
|
"default": "./out/au/index.js"
|
|
283
197
|
},
|
|
284
198
|
"./nz": {
|
|
285
199
|
"types": "./out/nz/index.d.ts",
|
|
200
|
+
"node": "./out/nz/index.js",
|
|
286
201
|
"default": "./out/nz/index.js"
|
|
287
202
|
},
|
|
288
203
|
"./tools": {
|
|
289
204
|
"types": "./out/tools/index.d.ts",
|
|
205
|
+
"node": "./out/tools/index.js",
|
|
290
206
|
"default": "./out/tools/index.js"
|
|
291
207
|
},
|
|
208
|
+
"./normalize": {
|
|
209
|
+
"types": "./out/normalize.d.ts",
|
|
210
|
+
"node": "./out/normalize.js",
|
|
211
|
+
"default": "./out/normalize.js"
|
|
212
|
+
},
|
|
292
213
|
"./es": {
|
|
293
214
|
"types": "./out/es/index.d.ts",
|
|
215
|
+
"node": "./out/es/index.js",
|
|
294
216
|
"default": "./out/es/index.js"
|
|
295
217
|
},
|
|
296
218
|
"./it": {
|
|
297
219
|
"types": "./out/it/index.d.ts",
|
|
220
|
+
"node": "./out/it/index.js",
|
|
298
221
|
"default": "./out/it/index.js"
|
|
299
222
|
},
|
|
300
223
|
"./address-system-conventions": {
|
|
301
224
|
"types": "./out/address-system-conventions.d.ts",
|
|
225
|
+
"node": "./out/address-system-conventions.js",
|
|
302
226
|
"default": "./out/address-system-conventions.js"
|
|
303
227
|
},
|
|
304
|
-
"./gb/postcode": {
|
|
305
|
-
"types": "./out/gb/postcode.d.ts",
|
|
306
|
-
"default": "./out/gb/postcode.js"
|
|
307
|
-
},
|
|
308
228
|
"./level-semantics": {
|
|
309
229
|
"types": "./out/level-semantics.d.ts",
|
|
230
|
+
"node": "./out/level-semantics.js",
|
|
310
231
|
"default": "./out/level-semantics.js"
|
|
311
232
|
},
|
|
312
233
|
"./postcode-systems": {
|
|
313
234
|
"types": "./out/postcode-systems.d.ts",
|
|
235
|
+
"node": "./out/postcode-systems.js",
|
|
314
236
|
"default": "./out/postcode-systems.js"
|
|
315
237
|
},
|
|
316
|
-
"./au/delivery-service": {
|
|
317
|
-
"types": "./out/au/delivery-service.d.ts",
|
|
318
|
-
"default": "./out/au/delivery-service.js"
|
|
319
|
-
},
|
|
320
|
-
"./au/level-designator": {
|
|
321
|
-
"types": "./out/au/level-designator.d.ts",
|
|
322
|
-
"default": "./out/au/level-designator.js"
|
|
323
|
-
},
|
|
324
|
-
"./au/postcode": {
|
|
325
|
-
"types": "./out/au/postcode.d.ts",
|
|
326
|
-
"default": "./out/au/postcode.js"
|
|
327
|
-
},
|
|
328
|
-
"./au/state": {
|
|
329
|
-
"types": "./out/au/state.d.ts",
|
|
330
|
-
"default": "./out/au/state.js"
|
|
331
|
-
},
|
|
332
|
-
"./ca/postal-code": {
|
|
333
|
-
"types": "./out/ca/postal-code.d.ts",
|
|
334
|
-
"default": "./out/ca/postal-code.js"
|
|
335
|
-
},
|
|
336
|
-
"./ca/province": {
|
|
337
|
-
"types": "./out/ca/province.d.ts",
|
|
338
|
-
"default": "./out/ca/province.js"
|
|
339
|
-
},
|
|
340
|
-
"./ca/street-type": {
|
|
341
|
-
"types": "./out/ca/street-type.d.ts",
|
|
342
|
-
"default": "./out/ca/street-type.js"
|
|
343
|
-
},
|
|
344
|
-
"./country/country": {
|
|
345
|
-
"types": "./out/country/country.d.ts",
|
|
346
|
-
"default": "./out/country/country.js"
|
|
347
|
-
},
|
|
348
|
-
"./country/display-names": {
|
|
349
|
-
"types": "./out/country/display-names.d.ts",
|
|
350
|
-
"default": "./out/country/display-names.js"
|
|
351
|
-
},
|
|
352
|
-
"./country/official-languages": {
|
|
353
|
-
"types": "./out/country/official-languages.d.ts",
|
|
354
|
-
"default": "./out/country/official-languages.js"
|
|
355
|
-
},
|
|
356
|
-
"./country/reference": {
|
|
357
|
-
"types": "./out/country/reference.d.ts",
|
|
358
|
-
"default": "./out/country/reference.js"
|
|
359
|
-
},
|
|
360
|
-
"./country/subdivision": {
|
|
361
|
-
"types": "./out/country/subdivision.d.ts",
|
|
362
|
-
"default": "./out/country/subdivision.js"
|
|
363
|
-
},
|
|
364
|
-
"./de/bundesland": {
|
|
365
|
-
"types": "./out/de/bundesland.d.ts",
|
|
366
|
-
"default": "./out/de/bundesland.js"
|
|
367
|
-
},
|
|
368
|
-
"./de/postleitzahl": {
|
|
369
|
-
"types": "./out/de/postleitzahl.d.ts",
|
|
370
|
-
"default": "./out/de/postleitzahl.js"
|
|
371
|
-
},
|
|
372
|
-
"./de/street-type": {
|
|
373
|
-
"types": "./out/de/street-type.d.ts",
|
|
374
|
-
"default": "./out/de/street-type.js"
|
|
375
|
-
},
|
|
376
|
-
"./fr/cedex": {
|
|
377
|
-
"types": "./out/fr/cedex.d.ts",
|
|
378
|
-
"default": "./out/fr/cedex.js"
|
|
379
|
-
},
|
|
380
|
-
"./fr/code-postal": {
|
|
381
|
-
"types": "./out/fr/code-postal.d.ts",
|
|
382
|
-
"default": "./out/fr/code-postal.js"
|
|
383
|
-
},
|
|
384
|
-
"./fr/departement": {
|
|
385
|
-
"types": "./out/fr/departement.d.ts",
|
|
386
|
-
"default": "./out/fr/departement.js"
|
|
387
|
-
},
|
|
388
|
-
"./fr/region": {
|
|
389
|
-
"types": "./out/fr/region.d.ts",
|
|
390
|
-
"default": "./out/fr/region.js"
|
|
391
|
-
},
|
|
392
|
-
"./fr/voie": {
|
|
393
|
-
"types": "./out/fr/voie.d.ts",
|
|
394
|
-
"default": "./out/fr/voie.js"
|
|
395
|
-
},
|
|
396
|
-
"./gb/country": {
|
|
397
|
-
"types": "./out/gb/country.d.ts",
|
|
398
|
-
"default": "./out/gb/country.js"
|
|
399
|
-
},
|
|
400
|
-
"./gb/postcode-area": {
|
|
401
|
-
"types": "./out/gb/postcode-area.d.ts",
|
|
402
|
-
"default": "./out/gb/postcode-area.js"
|
|
403
|
-
},
|
|
404
|
-
"./gb/street-type": {
|
|
405
|
-
"types": "./out/gb/street-type.d.ts",
|
|
406
|
-
"default": "./out/gb/street-type.js"
|
|
407
|
-
},
|
|
408
|
-
"./jp/address-unit": {
|
|
409
|
-
"types": "./out/jp/address-unit.d.ts",
|
|
410
|
-
"default": "./out/jp/address-unit.js"
|
|
411
|
-
},
|
|
412
|
-
"./jp/postal-code": {
|
|
413
|
-
"types": "./out/jp/postal-code.d.ts",
|
|
414
|
-
"default": "./out/jp/postal-code.js"
|
|
415
|
-
},
|
|
416
|
-
"./jp/prefecture": {
|
|
417
|
-
"types": "./out/jp/prefecture.d.ts",
|
|
418
|
-
"default": "./out/jp/prefecture.js"
|
|
419
|
-
},
|
|
420
|
-
"./nz/delivery-service": {
|
|
421
|
-
"types": "./out/nz/delivery-service.d.ts",
|
|
422
|
-
"default": "./out/nz/delivery-service.js"
|
|
423
|
-
},
|
|
424
|
-
"./nz/postcode": {
|
|
425
|
-
"types": "./out/nz/postcode.d.ts",
|
|
426
|
-
"default": "./out/nz/postcode.js"
|
|
427
|
-
},
|
|
428
238
|
"./us/floor-designator": {
|
|
429
239
|
"types": "./out/us/floor-designator.d.ts",
|
|
240
|
+
"node": "./out/us/floor-designator.js",
|
|
430
241
|
"default": "./out/us/floor-designator.js"
|
|
431
242
|
},
|
|
432
|
-
"./us/military-address": {
|
|
433
|
-
"types": "./out/us/military-address.d.ts",
|
|
434
|
-
"default": "./out/us/military-address.js"
|
|
435
|
-
},
|
|
436
|
-
"./us/po-box": {
|
|
437
|
-
"types": "./out/us/po-box.d.ts",
|
|
438
|
-
"default": "./out/us/po-box.js"
|
|
439
|
-
},
|
|
440
243
|
"./us/state": {
|
|
441
244
|
"types": "./out/us/state.d.ts",
|
|
245
|
+
"node": "./out/us/state.js",
|
|
442
246
|
"default": "./out/us/state.js"
|
|
443
247
|
},
|
|
444
|
-
"./us/street-directional": {
|
|
445
|
-
"types": "./out/us/street-directional.d.ts",
|
|
446
|
-
"default": "./out/us/street-directional.js"
|
|
447
|
-
},
|
|
448
248
|
"./us/street-suffix": {
|
|
449
249
|
"types": "./out/us/street-suffix.d.ts",
|
|
250
|
+
"node": "./out/us/street-suffix.js",
|
|
450
251
|
"default": "./out/us/street-suffix.js"
|
|
451
252
|
},
|
|
452
253
|
"./us/unit-designator": {
|
|
453
254
|
"types": "./out/us/unit-designator.d.ts",
|
|
255
|
+
"node": "./out/us/unit-designator.js",
|
|
454
256
|
"default": "./out/us/unit-designator.js"
|
|
455
257
|
},
|
|
456
|
-
"./
|
|
457
|
-
"types": "./out/
|
|
458
|
-
"
|
|
258
|
+
"./kr": {
|
|
259
|
+
"types": "./out/kr/index.d.ts",
|
|
260
|
+
"node": "./out/kr/index.js",
|
|
261
|
+
"default": "./out/kr/index.js"
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"imports": {
|
|
265
|
+
"#*": {
|
|
266
|
+
"types": "./out/*.d.ts",
|
|
267
|
+
"node": "./out/*.js",
|
|
268
|
+
"default": "./out/*.js"
|
|
459
269
|
}
|
|
460
270
|
}
|
|
461
271
|
},
|
|
462
272
|
"dependencies": {
|
|
463
|
-
"type-fest": "^5.
|
|
273
|
+
"type-fest": "^5.9.0"
|
|
464
274
|
},
|
|
465
275
|
"devDependencies": {
|
|
466
|
-
"@mailwoman/annotations": "9.
|
|
467
|
-
"@mailwoman/core": "9.
|
|
276
|
+
"@mailwoman/annotations": "9.4.0",
|
|
277
|
+
"@mailwoman/core": "9.4.0",
|
|
278
|
+
"path-ts": "^2.3.0"
|
|
468
279
|
}
|
|
469
280
|
}
|
package/country/index.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @copyright Sister Software
|
|
3
|
-
* @license AGPL-3.0
|
|
4
|
-
* @author Teffen Ellis, et al.
|
|
5
|
-
*
|
|
6
|
-
* ISO 3166-1 country reference + surface-form recognition (the `country` parity lever).
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
export * from "./codes.ts"
|
|
10
|
-
export * from "./country.ts"
|
|
11
|
-
export * from "./display-names.ts"
|
|
12
|
-
export * from "./names.ts"
|
|
13
|
-
export * from "./official-languages.ts"
|
|
14
|
-
export * from "./population.ts"
|
|
15
|
-
export * from "./reference-data.ts"
|
|
16
|
-
export * from "./reference.ts"
|
|
17
|
-
export * from "./subdivision.ts"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{au → lib/au}/state.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{us → lib/us}/state.ts
RENAMED
|
File without changes
|
|
File without changes
|