country-list-js
Advanced tools
Comparing version 3.1.1 to 3.1.2
{ | ||
"name": "country-list-js", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "Country list with ISO2, ISO3 code, continent, capital, dialing code", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/i-rocky/country-list-js.git", |
@@ -23,5 +23,3 @@ 'use strict'; | ||
.filter(o => o.provinces.filter( | ||
o => o.name == name || (o.alias || []).indexOf(name) > -1, | ||
).length > 0, | ||
) | ||
o => o.name == name || (o.alias || []).indexOf(name) > -1).length > 0) | ||
.map(o => x(o)) | ||
@@ -28,0 +26,0 @@ .unpack(undefined); |
719479
3087