Skip to content
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

V2.0.0 #50

Merged
merged 30 commits into from
Sep 4, 2024
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
3a58b57
Add 'US' as an alternative name for the US
alpn Aug 12, 2023
02bec89
Create node.js.yml
BrodaNoel May 7, 2024
4127007
bring codebase to the modern era
meeDamian Aug 26, 2024
7ccb22a
Add and use xo parser able to handle import attributes
meeDamian Aug 26, 2024
74295a4
Make xo happy
meeDamian Aug 26, 2024
ebcd665
Make sure countries.json always maps string->array[1+]. Closes #47
meeDamian Aug 29, 2024
9651c9d
Add Python port. Close #40
meeDamian Aug 29, 2024
fc426dc
sort out README badges
meeDamian Aug 29, 2024
549a42e
Add modules example to README
meeDamian Aug 29, 2024
eacc294
first batch of countries.json necessary updates
meeDamian Aug 29, 2024
562f4be
Merge branch 'brodanoel/run-tests-on-each-new-pr' into v2.0.0
meeDamian Aug 29, 2024
05f68ef
Move CI to GH Actions
meeDamian Aug 29, 2024
e21eef1
only test on node 20+
meeDamian Aug 29, 2024
9061d45
Add .nvmrc = 20 as per #46
meeDamian Aug 29, 2024
4442dc9
Add name normalisation, as I can't imagine when "Virgin Islands, Brit…
meeDamian Aug 29, 2024
258646f
Handle & in country names as per #45
meeDamian Aug 29, 2024
721e516
Return Türkiye by default
meeDamian Aug 29, 2024
f49158c
Limit extent of output normalisation
meeDamian Aug 29, 2024
2872589
Replace test example
meeDamian Aug 29, 2024
47c5d4d
Make sure South Sudan is handled correctly. Closes #49
meeDamian Aug 29, 2024
cee9bab
Update .gitignore
meeDamian Aug 29, 2024
a25a1b1
pedantic space is pedantic
meeDamian Aug 29, 2024
c4ae409
Make xo happy
meeDamian Aug 29, 2024
0fec536
Fix coverage
meeDamian Aug 29, 2024
279038a
CI on push to selected branches only
meeDamian Aug 29, 2024
e0d8605
automate GH Release publishing to npm
meeDamian Aug 29, 2024
8ed8553
2.0.0-alpha.1
meeDamian Aug 29, 2024
b7c52e2
rid of GH actions complaining
meeDamian Aug 29, 2024
4bd7db8
2.0.0-alpha.2
meeDamian Aug 29, 2024
ea4638f
update README
meeDamian Aug 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
first batch of countries.json necessary updates
meeDamian committed Aug 29, 2024
commit eacc29483914c6ac049894c1705274726e656f6c
16 changes: 8 additions & 8 deletions countries.json
Original file line number Diff line number Diff line change
@@ -126,7 +126,7 @@
"KW": ["Kuwait", "Kuwaiti"],
"KY": ["Cayman Islands", "Caymanian"],
"KZ": ["Kazakhstan", "Kazakhstani"],
"LA": ["Lao People's Democratic Republic", "Laotian"],
"LA": ["Lao People's Democratic Republic", "Laos", "Laotian"],
"LB": ["Lebanon", "Lebanese"],
"LC": ["Saint Lucia", "Saint Lucian"],
"LI": ["Liechtenstein", "Liechtensteiner"],
@@ -136,7 +136,7 @@
"LT": ["Lithuania", "Lithuanian"],
"LU": ["Luxembourg", "Luxembourger"],
"LV": ["Latvia", "Latvian"],
"LY": ["Libyan Arab Jamahiriya", "Libyan"],
"LY": ["Libyan Arab Jamahiriya", "Libya", "Libyan"],
"MA": ["Morocco", "Moroccan"],
"MC": ["Monaco", "Monegasque"],
"MD": ["Moldova, Republic of", "Moldovan"],
@@ -181,17 +181,17 @@
"PK": ["Pakistan", "Pakistani"],
"PL": ["Poland", "Polish"],
"PM": ["Saint Pierre and Miquelon"],
"PN": ["Pitcairn", "Pitcairn Islander"],
"PN": ["Pitcairn", "Pitcairn Islands", "Pitcairn Islander"],
"PR": ["Puerto Rico", "Puerto Rican"],
"PS": ["Palestinian Territory, Occupied", "Palestine", "Palestinian"],
"PT": ["Portugal", "Portuguese"],
"PW": ["Palau", "Palauan"],
"PY": ["Paraguay", "Paraguayan"],
"QA": ["Qatar", "Qatari"],
"RE": ["Reunion"],
"RE": ["Reunion", "Réunion"],
"RO": ["Romania", "Romanian"],
"RS": ["Serbia", "Serbian"],
"RU": ["Russian Federation", "Russian"],
"RU": ["Russian Federation", "Russia", "Russian"],
"RW": ["Rwanda", "Rwandan"],
"SA": ["Saudi Arabia", "Saudi Arabian"],
"SB": ["Solomon Islands", "Solomon Islander"],
@@ -209,11 +209,11 @@
"SO": ["Somalia", "Somali"],
"SR": ["Suriname", "Surinamer"],
"SS": ["Republic of South Sudan", "South Sudan", "South Sudanese"],
"ST": ["Sao Tome and Principe", "Sao Tomean"],
"ST": ["Sao Tome and Principe", "São Tomé and Príncipe", "Sao Tomean"],
"SV": ["El Salvador", "Salvadoran"],
"SX": ["Sint Maarten", "Sint Maartener"],
"SY": ["Syrian Arab Republic", "Syrian"],
"SZ": ["Swaziland", "Swazi"],
"SY": ["Syrian Arab Republic", "Syria", "Syrian"],
"SZ": ["Eswatini", "Swaziland", "Swazi"],
"TC": ["Turks and Caicos Islands", "Turks and Caicos Islander"],
"TD": ["Chad", "Chadian"],
"TF": ["French Southern Territories"],