Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@billogram/countries

Package Overview
Dependencies
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@billogram/countries - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

22

CHANGELOG.md

@@ -6,2 +6,24 @@ # Change Log

## [1.0.1](https://github.com/billogram/frontend-foundation/compare/dbf5a8709119374207dd2d28f6ffeffac17d5871...@billogram/countries@1.0.1) (2021-01-10)
### Bug Fixes
* Fix linting in countries ([1430ddc0](https://github.com/billogram/frontend-foundation/commit/1430ddc0))
* Prefer record type ([78ef5921](https://github.com/billogram/frontend-foundation/commit/78ef5921))
* Always export all types from types ([fd5dfa91](https://github.com/billogram/frontend-foundation/commit/fd5dfa91))
* Use dependencies instead of peer dependencies ([ec2497fa](https://github.com/billogram/frontend-foundation/commit/ec2497fa))
### Features
* Implement country code utility functions ([1f1c9b61](https://github.com/billogram/frontend-foundation/commit/1f1c9b61))
* Scaffold out @billogram/countries ([25ed8d1c](https://github.com/billogram/frontend-foundation/commit/25ed8d1c))
### BREAKING CHANGES
* Force the first release to start from 1.0.0.
## [1.0.0](https://github.com/billogram/frontend-foundation/compare/dbf5a8709119374207dd2d28f6ffeffac17d5871...@billogram/countries@1.0.0) (2020-01-20)

@@ -8,0 +30,0 @@

504

dist/countries.d.ts
declare const _default: {
'ad': string;
'ae': string;
'af': string;
'ag': string;
'ai': string;
'al': string;
'am': string;
'an': string;
'ao': string;
'aq': string;
'ar': string;
'as': string;
'at': string;
'au': string;
'aw': string;
'ax': string;
'az': string;
'ba': string;
'bb': string;
'bd': string;
'be': string;
'bf': string;
'bg': string;
'bh': string;
'bi': string;
'bl': string;
'bj': string;
'bm': string;
'bn': string;
'bo': string;
'bq': string;
'br': string;
'bs': string;
'bt': string;
'bv': string;
'bw': string;
'by': string;
'bz': string;
'ca': string;
'cc': string;
'cd': string;
'cf': string;
'cg': string;
'ch': string;
'ci': string;
'ck': string;
'cl': string;
'cm': string;
'cn': string;
'co': string;
'cr': string;
'cu': string;
'cv': string;
'cw': string;
'cx': string;
'cy': string;
'cz': string;
'de': string;
'dj': string;
'dk': string;
'dm': string;
'do': string;
'dz': string;
'ec': string;
'ee': string;
'eg': string;
'eh': string;
'er': string;
'es': string;
'et': string;
'fi': string;
'fj': string;
'fk': string;
'fm': string;
'fo': string;
'fr': string;
'fx': string;
'ga': string;
'gb': string;
'gd': string;
'ge': string;
'gf': string;
'gg': string;
'gh': string;
'gi': string;
'gl': string;
'gm': string;
'gn': string;
'gp': string;
'gq': string;
'gr': string;
'gs': string;
'gt': string;
'gu': string;
'gw': string;
'gy': string;
'hk': string;
'hm': string;
'hn': string;
'hr': string;
'ht': string;
'hu': string;
'id': string;
'ie': string;
'il': string;
'im': string;
'in': string;
'io': string;
'iq': string;
'ir': string;
'is': string;
'it': string;
'je': string;
'jm': string;
'jo': string;
'jp': string;
'ke': string;
'kg': string;
'kh': string;
'ki': string;
'km': string;
'kn': string;
'kp': string;
'kr': string;
'kw': string;
'ky': string;
'kz': string;
'la': string;
'lb': string;
'lc': string;
'li': string;
'lk': string;
'lr': string;
'ls': string;
'lt': string;
'lu': string;
'lv': string;
'ly': string;
'ma': string;
'mc': string;
'md': string;
'me': string;
'mf': string;
'mg': string;
'mh': string;
'mk': string;
'ml': string;
'mn': string;
'mm': string;
'mo': string;
'mp': string;
'mq': string;
'mr': string;
'ms': string;
'mt': string;
'mu': string;
'mv': string;
'mw': string;
'mx': string;
'my': string;
'mz': string;
'na': string;
'nc': string;
'ne': string;
'nf': string;
'ng': string;
'ni': string;
'nl': string;
'no': string;
'np': string;
'nr': string;
'nu': string;
'nz': string;
'om': string;
'pa': string;
'pe': string;
'pf': string;
'pg': string;
'ph': string;
'pk': string;
'pl': string;
'pm': string;
'pn': string;
'pr': string;
'ps': string;
'pt': string;
'pw': string;
'py': string;
'qa': string;
're': string;
'ro': string;
'rs': string;
'ru': string;
'rw': string;
'sa': string;
'sb': string;
'sc': string;
'sd': string;
'se': string;
'sg': string;
'sh': string;
'si': string;
'sj': string;
'sk': string;
'sl': string;
'sm': string;
'sn': string;
'so': string;
'sr': string;
'ss': string;
'st': string;
'sv': string;
'sx': string;
'sy': string;
'sz': string;
'tc': string;
'td': string;
'tf': string;
'tg': string;
'th': string;
'tj': string;
'tk': string;
'tl': string;
'tm': string;
'tn': string;
'to': string;
'tr': string;
'tt': string;
'tv': string;
'tw': string;
'tz': string;
'ua': string;
'ug': string;
'uk': string;
'um': string;
'us': string;
'uy': string;
'uz': string;
'va': string;
'vc': string;
've': string;
'vg': string;
'vi': string;
'vn': string;
'vu': string;
'wf': string;
'ws': string;
'ye': string;
'yt': string;
'za': string;
'zm': string;
'zw': string;
ad: string;
ae: string;
af: string;
ag: string;
ai: string;
al: string;
am: string;
an: string;
ao: string;
aq: string;
ar: string;
as: string;
at: string;
au: string;
aw: string;
ax: string;
az: string;
ba: string;
bb: string;
bd: string;
be: string;
bf: string;
bg: string;
bh: string;
bi: string;
bl: string;
bj: string;
bm: string;
bn: string;
bo: string;
bq: string;
br: string;
bs: string;
bt: string;
bv: string;
bw: string;
by: string;
bz: string;
ca: string;
cc: string;
cd: string;
cf: string;
cg: string;
ch: string;
ci: string;
ck: string;
cl: string;
cm: string;
cn: string;
co: string;
cr: string;
cu: string;
cv: string;
cw: string;
cx: string;
cy: string;
cz: string;
de: string;
dj: string;
dk: string;
dm: string;
do: string;
dz: string;
ec: string;
ee: string;
eg: string;
eh: string;
er: string;
es: string;
et: string;
fi: string;
fj: string;
fk: string;
fm: string;
fo: string;
fr: string;
fx: string;
ga: string;
gb: string;
gd: string;
ge: string;
gf: string;
gg: string;
gh: string;
gi: string;
gl: string;
gm: string;
gn: string;
gp: string;
gq: string;
gr: string;
gs: string;
gt: string;
gu: string;
gw: string;
gy: string;
hk: string;
hm: string;
hn: string;
hr: string;
ht: string;
hu: string;
id: string;
ie: string;
il: string;
im: string;
in: string;
io: string;
iq: string;
ir: string;
is: string;
it: string;
je: string;
jm: string;
jo: string;
jp: string;
ke: string;
kg: string;
kh: string;
ki: string;
km: string;
kn: string;
kp: string;
kr: string;
kw: string;
ky: string;
kz: string;
la: string;
lb: string;
lc: string;
li: string;
lk: string;
lr: string;
ls: string;
lt: string;
lu: string;
lv: string;
ly: string;
ma: string;
mc: string;
md: string;
me: string;
mf: string;
mg: string;
mh: string;
mk: string;
ml: string;
mn: string;
mm: string;
mo: string;
mp: string;
mq: string;
mr: string;
ms: string;
mt: string;
mu: string;
mv: string;
mw: string;
mx: string;
my: string;
mz: string;
na: string;
nc: string;
ne: string;
nf: string;
ng: string;
ni: string;
nl: string;
no: string;
np: string;
nr: string;
nu: string;
nz: string;
om: string;
pa: string;
pe: string;
pf: string;
pg: string;
ph: string;
pk: string;
pl: string;
pm: string;
pn: string;
pr: string;
ps: string;
pt: string;
pw: string;
py: string;
qa: string;
re: string;
ro: string;
rs: string;
ru: string;
rw: string;
sa: string;
sb: string;
sc: string;
sd: string;
se: string;
sg: string;
sh: string;
si: string;
sj: string;
sk: string;
sl: string;
sm: string;
sn: string;
so: string;
sr: string;
ss: string;
st: string;
sv: string;
sx: string;
sy: string;
sz: string;
tc: string;
td: string;
tf: string;
tg: string;
th: string;
tj: string;
tk: string;
tl: string;
tm: string;
tn: string;
to: string;
tr: string;
tt: string;
tv: string;
tw: string;
tz: string;
ua: string;
ug: string;
uk: string;
um: string;
us: string;
uy: string;
uz: string;
va: string;
vc: string;
ve: string;
vg: string;
vi: string;
vn: string;
vu: string;
wf: string;
ws: string;
ye: string;
yt: string;
za: string;
zm: string;
zw: string;
};
export default _default;

@@ -1,2 +0,2 @@

import { GetCountriesResult } from './types';
import type { GetCountriesResult } from './types';
export default function getCountries(): GetCountriesResult;

@@ -14,2 +14,4 @@ import { gettext } from '@billogram/lang';

}).sort(function (a, b) {
// I think that is some environments might not define `localCompare`.
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
if (a.name.localeCompare !== void 0) {

@@ -16,0 +18,0 @@ return a.name.localeCompare(b.name);

@@ -1,2 +0,2 @@

import { CountryCodeOrEmpty } from './types';
import type { CountryCodeOrEmpty } from './types';
export default function getCountry(code: CountryCodeOrEmpty): string;

@@ -1,2 +0,2 @@

import countries from './countries';
import type countries from './countries';
export interface KeyValueCountry {

@@ -8,5 +8,5 @@ code: CountryCode;

countries: Record<string, string>;
getSorted(): KeyValueCountry[];
getSorted: () => KeyValueCountry[];
}
export declare type CountryCode = keyof typeof countries;
export declare type CountryCodeOrEmpty = CountryCode | '';
{
"name": "@billogram/countries",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",

@@ -15,3 +15,3 @@ "main": "dist/index.js",

"@billogram/babel-config-frontend": "^2.0.0",
"@billogram/billo-scripts-frontend": "^2.0.0",
"@billogram/billo-scripts-frontend": "^3.0.0",
"@billogram/eslint-config-frontend": "^2.0.0",

@@ -18,0 +18,0 @@ "@billogram/typescript-config-frontend": "^1.0.0"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc