Skip to content

Replace country-regex with i18n-iso-countries #7366

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Update additional test mock
  • Loading branch information
camdecoster committed Aug 6, 2025
commit d33e9c9e39f97fcbc176e5bbd5711ae0e7e80c8a
72 changes: 32 additions & 40 deletions test/image/mocks/geo_country-names-text-chart.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"locationmode": "country names",
"locations": [
"Belarus",
"Moldova",
"Moldova, Republic of",
"Lithuania",
"Russia",
"Romania",
Expand Down Expand Up @@ -74,7 +74,7 @@
"Georgia",
"Uruguay",
"Angola",
"Laos",
"Lao People's Democratic Republic",
"Japan",
"Mexico",
"Ecuador",
Expand All @@ -94,7 +94,7 @@
"Italy",
"Trinidad and Tobago",
"China",
"Macedonia",
"The Republic of North Macedonia",
"Saint Vincent and the Grenadines",
"Equatorial Guinea",
"Suriname",
Expand All @@ -105,12 +105,11 @@
"Colombia",
"Ivory Coast",
"Bolivia",
"Swaziland",
"Eswatini",
"Zimbabwe",
"Seychelles",
"Cambodia",
"Puerto Rico",
"Netherlands Antilles",
"Philippines",
"Costa Rica",
"Armenia",
Expand Down Expand Up @@ -140,7 +139,7 @@
"Democratic Republic of the Congo",
"Nauru",
"Gambia",
"Federated States of Micronesia",
"Micronesia, Federated States of",
"El Salvador",
"Fiji",
"Papua New Guinea",
Expand All @@ -154,7 +153,7 @@
"Mozambique",
"Togo",
"Nepal",
"Brunei",
"Brunei Darussalam",
"Benin",
"Singapore",
"Turkey",
Expand All @@ -167,19 +166,18 @@
"Vanuatu",
"Djibouti",
"Malaysia",
"Syria",
"Syrian Arab Republic",
"Maldives",
"Mali",
"Eritrea",
"Algeria",
"Iran",
"Oman",
"Brunei",
"Morocco",
"Jordan",
"Bhutan",
"Guinea",
"Burma",
"Myanmar",
"Afghanistan",
"Senegal",
"Indonesia",
Expand All @@ -199,7 +197,7 @@
],
"text": [
"Belarus",
"Moldova",
"Moldova, Republic of",
"Lithuania",
"Russia",
"Romania",
Expand Down Expand Up @@ -267,7 +265,7 @@
"Georgia",
"Uruguay",
"Angola",
"Laos",
"Lao People's Democratic Republic",
"Japan",
"Mexico",
"Ecuador",
Expand All @@ -287,7 +285,7 @@
"Italy",
"Trinidad and Tobago",
"China",
"Macedonia",
"The Republic of North Macedonia",
"Saint Vincent and the Grenadines",
"Equatorial Guinea",
"Suriname",
Expand All @@ -298,12 +296,11 @@
"Colombia",
"Ivory Coast",
"Bolivia",
"Swaziland",
"Eswatini",
"Zimbabwe",
"Seychelles",
"Cambodia",
"Puerto Rico",
"Netherlands Antilles",
"Philippines",
"Costa Rica",
"Armenia",
Expand Down Expand Up @@ -333,7 +330,7 @@
"Democratic Republic of the Congo",
"Nauru",
"Gambia",
"Federated States of Micronesia",
"Micronesia, Federated States of",
"El Salvador",
"Fiji",
"Papua New Guinea",
Expand All @@ -347,7 +344,7 @@
"Mozambique",
"Togo",
"Nepal",
"Brunei",
"Brunei Darussalam",
"Benin",
"Singapore",
"Turkey",
Expand All @@ -360,19 +357,18 @@
"Vanuatu",
"Djibouti",
"Malaysia",
"Syria",
"Syrian Arab Republic",
"Maldives",
"Mali",
"Eritrea",
"Algeria",
"Iran",
"Oman",
"Brunei",
"Morocco",
"Jordan",
"Bhutan",
"Guinea",
"Burma",
"Myanmar",
"Afghanistan",
"Senegal",
"Indonesia",
Expand All @@ -397,7 +393,7 @@
"locationmode": "country names",
"locations": [
"Belarus",
"Moldova",
"Moldova, Republic of",
"Lithuania",
"Russia",
"Romania",
Expand Down Expand Up @@ -465,7 +461,7 @@
"Georgia",
"Uruguay",
"Angola",
"Laos",
"Lao People's Democratic Republic",
"Japan",
"Mexico",
"Ecuador",
Expand All @@ -485,7 +481,7 @@
"Italy",
"Trinidad and Tobago",
"China",
"Macedonia",
"The Republic of North Macedonia",
"Saint Vincent and the Grenadines",
"Equatorial Guinea",
"Suriname",
Expand All @@ -496,12 +492,11 @@
"Colombia",
"Ivory Coast",
"Bolivia",
"Swaziland",
"Eswatini",
"Zimbabwe",
"Seychelles",
"Cambodia",
"Puerto Rico",
"Netherlands Antilles",
"Philippines",
"Costa Rica",
"Armenia",
Expand Down Expand Up @@ -531,7 +526,7 @@
"Democratic Republic of the Congo",
"Nauru",
"Gambia",
"Federated States of Micronesia",
"Micronesia, Federated States of",
"El Salvador",
"Fiji",
"Papua New Guinea",
Expand All @@ -545,7 +540,7 @@
"Mozambique",
"Togo",
"Nepal",
"Brunei",
"Brunei Darussalam",
"Benin",
"Singapore",
"Turkey",
Expand All @@ -558,19 +553,18 @@
"Vanuatu",
"Djibouti",
"Malaysia",
"Syria",
"Syrian Arab Republic",
"Maldives",
"Mali",
"Eritrea",
"Algeria",
"Iran",
"Oman",
"Brunei",
"Morocco",
"Jordan",
"Bhutan",
"Guinea",
"Burma",
"Myanmar",
"Afghanistan",
"Senegal",
"Indonesia",
Expand All @@ -590,7 +584,7 @@
],
"text": [
"Belarus",
"Moldova",
"Moldova, Republic of",
"Lithuania",
"Russia",
"Romania",
Expand Down Expand Up @@ -658,7 +652,7 @@
"Georgia",
"Uruguay",
"Angola",
"Laos",
"Lao People's Democratic Republic",
"Japan",
"Mexico",
"Ecuador",
Expand All @@ -678,7 +672,7 @@
"Italy",
"Trinidad and Tobago",
"China",
"Macedonia",
"The Republic of North Macedonia",
"Saint Vincent and the Grenadines",
"Equatorial Guinea",
"Suriname",
Expand All @@ -689,12 +683,11 @@
"Colombia",
"Ivory Coast",
"Bolivia",
"Swaziland",
"Eswatini",
"Zimbabwe",
"Seychelles",
"Cambodia",
"Puerto Rico",
"Netherlands Antilles",
"Philippines",
"Costa Rica",
"Armenia",
Expand Down Expand Up @@ -724,7 +717,7 @@
"Democratic Republic of the Congo",
"Nauru",
"Gambia",
"Federated States of Micronesia",
"Micronesia, Federated States of",
"El Salvador",
"Fiji",
"Papua New Guinea",
Expand All @@ -738,7 +731,7 @@
"Mozambique",
"Togo",
"Nepal",
"Brunei",
"Brunei Darussalam",
"Benin",
"Singapore",
"Turkey",
Expand All @@ -751,19 +744,18 @@
"Vanuatu",
"Djibouti",
"Malaysia",
"Syria",
"Syrian Arab Republic",
"Maldives",
"Mali",
"Eritrea",
"Algeria",
"Iran",
"Oman",
"Brunei",
"Morocco",
"Jordan",
"Bhutan",
"Guinea",
"Burma",
"Myanmar",
"Afghanistan",
"Senegal",
"Indonesia",
Expand Down