New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

isoly

Package Overview
Dependencies
Maintainers
2
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

isoly - npm Package Compare versions

Comparing version 0.0.22 to 0.0.23

7

dist/CallingCode.js

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

export var CallingCode;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CallingCode = void 0;
var CallingCode;
(function (CallingCode) {

@@ -272,3 +275,3 @@ function is(value) {

CallingCode.seperate = seperate;
})(CallingCode || (CallingCode = {}));
})(CallingCode = exports.CallingCode || (exports.CallingCode = {}));
const callingCodetoAlpha2 = {

@@ -275,0 +278,0 @@ "+93": "AF",

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

export var Alpha2;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Alpha2 = void 0;
var Alpha2;
(function (Alpha2) {

@@ -261,3 +264,3 @@ function is(value) {

Alpha2.from = from;
})(Alpha2 || (Alpha2 = {}));
})(Alpha2 = exports.Alpha2 || (exports.Alpha2 = {}));
const numericToAlpha2 = {

@@ -264,0 +267,0 @@ "4": "AF",

@@ -1,3 +0,6 @@

import { Alpha2 } from "./Alpha2";
export var Alpha3;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Alpha3 = void 0;
const Alpha2_1 = require("./Alpha2");
var Alpha3;
(function (Alpha3) {

@@ -259,6 +262,6 @@ function is(value) {

function from(country) {
return typeof country == "number" ? from(Alpha2.from(country)) : alpha2ToAlpha3[country];
return typeof country == "number" ? from(Alpha2_1.Alpha2.from(country)) : alpha2ToAlpha3[country];
}
Alpha3.from = from;
})(Alpha3 || (Alpha3 = {}));
})(Alpha3 = exports.Alpha3 || (exports.Alpha3 = {}));
const alpha2ToAlpha3 = {

@@ -265,0 +268,0 @@ AF: "AFG",

@@ -1,6 +0,31 @@

import { Alpha2 } from "./Alpha2";
import { Alpha3 } from "./Alpha3";
import * as Name from "./Name";
import { Numeric } from "./Numeric";
export { Alpha2, Alpha3, Name, Numeric };
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Numeric = exports.Name = exports.Alpha3 = exports.Alpha2 = void 0;
const Alpha2_1 = require("./Alpha2");
Object.defineProperty(exports, "Alpha2", { enumerable: true, get: function () { return Alpha2_1.Alpha2; } });
const Alpha3_1 = require("./Alpha3");
Object.defineProperty(exports, "Alpha3", { enumerable: true, get: function () { return Alpha3_1.Alpha3; } });
const Name = __importStar(require("./Name"));
exports.Name = Name;
const Numeric_1 = require("./Numeric");
Object.defineProperty(exports, "Numeric", { enumerable: true, get: function () { return Numeric_1.Numeric; } });
//# sourceMappingURL=index.js.map

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AF: " أفغانستان",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AD: "Andorra",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AD: "Андора",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AD: "Андора",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AD: "Andora",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AF: "Afganistan",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AF: "Afghánistán",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AF: "Afghanistan",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AF: "Afghanistan",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AF: "Αφγανιστάν",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AF: "Afghanistan",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AF: "Afganistán",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AF: "Afganistan",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AD: "آندورا",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AF: "Afganistan",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AF: "Afghanistan",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AF: "אפגניסטן",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AD: "Andora",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AF: "Afganisztán",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AD: "Անդորրա",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AF: "Afghanistan",

@@ -1,47 +0,115 @@

import * as ar from "./ar";
import * as az from "./az";
import * as be from "./be";
import * as bg from "./bg";
import * as bs from "./bs";
import * as ca from "./ca";
import * as cs from "./cs";
import * as da from "./da";
import * as de from "./de";
import * as el from "./el";
import * as en from "./en";
import * as es from "./es";
import * as et from "./et";
import * as fa from "./fa";
import * as fi from "./fi";
import * as fr from "./fr";
import * as he from "./he";
import * as hr from "./hr";
import * as hu from "./hu";
import * as hy from "./hy";
import * as id from "./id";
import * as it from "./it";
import * as ja from "./ja";
import * as ka from "./ka";
import * as kk from "./kk";
import * as ko from "./ko";
import * as ky from "./ky";
import * as lt from "./lt";
import * as lv from "./lv";
import * as mk from "./mk";
import * as mn from "./mn";
import * as nb from "./nb";
import * as nl from "./nl";
import * as nn from "./nn";
import * as pl from "./pl";
import * as pt from "./pt";
import * as ro from "./ro";
import * as ru from "./ru";
import * as sk from "./sk";
import * as sl from "./sl";
import * as sr from "./sr";
import * as sv from "./sv";
import * as tr from "./tr";
import * as uk from "./uk";
import * as uz from "./uz";
import * as zh from "./zh";
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = exports.zh = exports.uz = exports.uk = exports.tr = exports.sv = exports.sr = exports.sl = exports.sk = exports.ru = exports.ro = exports.pt = exports.pl = exports.nn = exports.nl = exports.nb = exports.mn = exports.mk = exports.lv = exports.lt = exports.ky = exports.ko = exports.kk = exports.ka = exports.ja = exports.it = exports.id = exports.hy = exports.hu = exports.hr = exports.he = exports.fr = exports.fi = exports.fa = exports.et = exports.es = exports.en = exports.el = exports.de = exports.da = exports.cs = exports.ca = exports.bs = exports.bg = exports.be = exports.az = exports.ar = void 0;
const ar = __importStar(require("./ar"));
exports.ar = ar;
const az = __importStar(require("./az"));
exports.az = az;
const be = __importStar(require("./be"));
exports.be = be;
const bg = __importStar(require("./bg"));
exports.bg = bg;
const bs = __importStar(require("./bs"));
exports.bs = bs;
const ca = __importStar(require("./ca"));
exports.ca = ca;
const cs = __importStar(require("./cs"));
exports.cs = cs;
const da = __importStar(require("./da"));
exports.da = da;
const de = __importStar(require("./de"));
exports.de = de;
const el = __importStar(require("./el"));
exports.el = el;
const en = __importStar(require("./en"));
exports.en = en;
const es = __importStar(require("./es"));
exports.es = es;
const et = __importStar(require("./et"));
exports.et = et;
const fa = __importStar(require("./fa"));
exports.fa = fa;
const fi = __importStar(require("./fi"));
exports.fi = fi;
const fr = __importStar(require("./fr"));
exports.fr = fr;
const he = __importStar(require("./he"));
exports.he = he;
const hr = __importStar(require("./hr"));
exports.hr = hr;
const hu = __importStar(require("./hu"));
exports.hu = hu;
const hy = __importStar(require("./hy"));
exports.hy = hy;
const id = __importStar(require("./id"));
exports.id = id;
const it = __importStar(require("./it"));
exports.it = it;
const ja = __importStar(require("./ja"));
exports.ja = ja;
const ka = __importStar(require("./ka"));
exports.ka = ka;
const kk = __importStar(require("./kk"));
exports.kk = kk;
const ko = __importStar(require("./ko"));
exports.ko = ko;
const ky = __importStar(require("./ky"));
exports.ky = ky;
const lt = __importStar(require("./lt"));
exports.lt = lt;
const lv = __importStar(require("./lv"));
exports.lv = lv;
const mk = __importStar(require("./mk"));
exports.mk = mk;
const mn = __importStar(require("./mn"));
exports.mn = mn;
const nb = __importStar(require("./nb"));
exports.nb = nb;
const nl = __importStar(require("./nl"));
exports.nl = nl;
const nn = __importStar(require("./nn"));
exports.nn = nn;
const pl = __importStar(require("./pl"));
exports.pl = pl;
const pt = __importStar(require("./pt"));
exports.pt = pt;
const ro = __importStar(require("./ro"));
exports.ro = ro;
const ru = __importStar(require("./ru"));
exports.ru = ru;
const sk = __importStar(require("./sk"));
exports.sk = sk;
const sl = __importStar(require("./sl"));
exports.sl = sl;
const sr = __importStar(require("./sr"));
exports.sr = sr;
const sv = __importStar(require("./sv"));
exports.sv = sv;
const tr = __importStar(require("./tr"));
exports.tr = tr;
const uk = __importStar(require("./uk"));
exports.uk = uk;
const uz = __importStar(require("./uz"));
exports.uz = uz;
const zh = __importStar(require("./zh"));
exports.zh = zh;
function parse(country) {

@@ -95,2 +163,3 @@ return (ar.parse(country) ||

}
exports.parse = parse;
function from(language, country) {

@@ -241,3 +310,3 @@ let result;

}
export { ar, az, be, bg, bs, ca, cs, da, de, el, en, es, et, fa, fi, fr, he, hr, hu, hy, id, it, ja, ka, kk, ko, ky, lt, lv, mk, mn, nb, nl, nn, pl, pt, ro, ru, sk, sl, sr, sv, tr, uk, uz, zh, from, parse, };
exports.from = from;
//# sourceMappingURL=index.js.map

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AD: "Andorra",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AF: "アフガニスタン",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AD: "ანდორა",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AD: "Андорра",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AF: "아프가니스탄",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AD: "Андорра",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AD: "Andora",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AD: "Andora",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AD: "Андора",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AD: "Андорра",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AD: "Andorra",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AF: "Afghanistan",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AD: "Andorra",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AF: "Afganistan",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AF: "Afeganistão",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AD: "Andorra",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AU: "Австралия",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AD: "Andorra",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AD: "Andora",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AD: "Андора",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AD: "Andorra",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AD: "Andorra",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AU: "Австралія",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AD: "Andorra",

@@ -1,9 +0,14 @@

import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.from = void 0;
const Alpha2_1 = require("../Alpha2");
function from(country) {
return names[country] || from(Alpha2_1.Alpha2.from(country));
}
export function parse(country) {
exports.from = from;
function parse(country) {
const result = Object.entries(names).find(entry => (entry[1] && entry[1].toLowerCase()) == country.toLowerCase());
return result && result[0];
}
exports.parse = parse;
const names = {

@@ -10,0 +15,0 @@ AD: "安道尔",

@@ -1,3 +0,6 @@

import { Alpha2 } from "./Alpha2";
export var Numeric;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Numeric = void 0;
const Alpha2_1 = require("./Alpha2");
var Numeric;
(function (Numeric) {

@@ -261,6 +264,6 @@ function is(value) {

function from(country) {
return country.length == 3 ? from(Alpha2.from(country)) : alpha2ToNumeric[country];
return country.length == 3 ? from(Alpha2_1.Alpha2.from(country)) : alpha2ToNumeric[country];
}
Numeric.from = from;
})(Numeric || (Numeric = {}));
})(Numeric = exports.Numeric || (exports.Numeric = {}));
const alpha2ToNumeric = {

@@ -267,0 +270,0 @@ AF: 4,

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

export var Currency;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Currency = void 0;
var Currency;
(function (Currency) {

@@ -554,3 +557,3 @@ function is(currency) {

Currency.decimalDigits = decimalDigits;
})(Currency || (Currency = {}));
})(Currency = exports.Currency || (exports.Currency = {}));
//# sourceMappingURL=Currency.js.map

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

export var CurrencyCode;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CurrencyCode = void 0;
var CurrencyCode;
(function (CurrencyCode) {

@@ -554,3 +557,3 @@ function is(value) {

CurrencyCode.decimalDigits = decimalDigits;
})(CurrencyCode || (CurrencyCode = {}));
})(CurrencyCode = exports.CurrencyCode || (exports.CurrencyCode = {}));
//# sourceMappingURL=CurrencyCode.js.map

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

export var DateTime;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DateTime = void 0;
var DateTime;
(function (DateTime) {

@@ -34,3 +37,3 @@ function is(value) {

DateTime.localize = localize;
})(DateTime || (DateTime = {}));
})(DateTime = exports.DateTime || (exports.DateTime = {}));
//# sourceMappingURL=DateTime.js.map

@@ -1,4 +0,7 @@

import { Utf8 } from "./Utf8";
import { Iso88591 } from "./Iso88591";
export var Encoding;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Encoding = void 0;
const Utf8_1 = require("./Utf8");
const Iso88591_1 = require("./Iso88591");
var Encoding;
(function (Encoding) {

@@ -323,6 +326,6 @@ Encoding.values = [

const transcoders = {
"ISO-8859-1": new Iso88591(),
"UTF-8": new Utf8(),
"ISO-8859-1": new Iso88591_1.Iso88591(),
"UTF-8": new Utf8_1.Utf8(),
};
})(Encoding || (Encoding = {}));
})(Encoding = exports.Encoding || (exports.Encoding = {}));
//# sourceMappingURL=index.js.map

@@ -1,3 +0,6 @@

import { Transcoder } from "./Transcoder";
export class Iso88591 extends Transcoder {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Iso88591 = void 0;
const Transcoder_1 = require("./Transcoder");
class Iso88591 extends Transcoder_1.Transcoder {
encode(data) {

@@ -12,2 +15,3 @@ return Uint8Array.from(data.split(""), c => utf8ToIso88591[c]);

}
exports.Iso88591 = Iso88591;
const iso88591ToUtf8 = [

@@ -14,0 +18,0 @@ "\u0000",

@@ -1,3 +0,7 @@

export class Transcoder {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Transcoder = void 0;
class Transcoder {
}
exports.Transcoder = Transcoder;
//# sourceMappingURL=Transcoder.js.map

@@ -1,3 +0,6 @@

import { Transcoder } from "./Transcoder";
export class Utf8 extends Transcoder {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Utf8 = void 0;
const Transcoder_1 = require("./Transcoder");
class Utf8 extends Transcoder_1.Transcoder {
encode(data) {

@@ -12,2 +15,3 @@ return Uint8Array.from(unescape(encodeURIComponent(data)).split(""), c => c.charCodeAt(0));

}
exports.Utf8 = Utf8;
//# sourceMappingURL=Utf8.js.map

@@ -1,10 +0,39 @@

import * as CountryCode from "./CountryCode";
import { CallingCode } from "./CallingCode";
import { Currency } from "./Currency";
import { CurrencyCode } from "./CurrencyCode";
import { DateTime } from "./DateTime";
import { Encoding } from "./Encoding";
import { Language } from "./Language";
import { Locale } from "./Locale";
export { CallingCode, CountryCode, Currency, CurrencyCode, DateTime, Encoding, Language, Locale };
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Locale = exports.Language = exports.Encoding = exports.DateTime = exports.CurrencyCode = exports.Currency = exports.CountryCode = exports.CallingCode = void 0;
const CountryCode = __importStar(require("./CountryCode"));
exports.CountryCode = CountryCode;
const CallingCode_1 = require("./CallingCode");
Object.defineProperty(exports, "CallingCode", { enumerable: true, get: function () { return CallingCode_1.CallingCode; } });
const Currency_1 = require("./Currency");
Object.defineProperty(exports, "Currency", { enumerable: true, get: function () { return Currency_1.Currency; } });
const CurrencyCode_1 = require("./CurrencyCode");
Object.defineProperty(exports, "CurrencyCode", { enumerable: true, get: function () { return CurrencyCode_1.CurrencyCode; } });
const DateTime_1 = require("./DateTime");
Object.defineProperty(exports, "DateTime", { enumerable: true, get: function () { return DateTime_1.DateTime; } });
const Encoding_1 = require("./Encoding");
Object.defineProperty(exports, "Encoding", { enumerable: true, get: function () { return Encoding_1.Encoding; } });
const Language_1 = require("./Language");
Object.defineProperty(exports, "Language", { enumerable: true, get: function () { return Language_1.Language; } });
const Locale_1 = require("./Locale");
Object.defineProperty(exports, "Locale", { enumerable: true, get: function () { return Locale_1.Locale; } });
//# sourceMappingURL=index.js.map

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

export var Language;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Language = void 0;
var Language;
(function (Language) {

@@ -569,3 +572,3 @@ function is(value) {

Language.toNativeName = toNativeName;
})(Language || (Language = {}));
})(Language = exports.Language || (exports.Language = {}));
//# sourceMappingURL=Language.js.map

@@ -1,4 +0,7 @@

import { Language } from "./Language";
import { Alpha2 } from "./CountryCode";
export var Locale;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Locale = void 0;
const Language_1 = require("./Language");
const CountryCode_1 = require("./CountryCode");
var Locale;
(function (Locale) {

@@ -229,3 +232,3 @@ function is(value) {

const result = locale.split("-").shift();
return Language.is(result) ? result : undefined;
return Language_1.Language.is(result) ? result : undefined;
}

@@ -235,3 +238,3 @@ Locale.toLanguage = toLanguage;

const result = locale.split("-").pop();
return Alpha2.is(result) ? result : undefined;
return CountryCode_1.Alpha2.is(result) ? result : undefined;
}

@@ -244,3 +247,3 @@ Locale.toAlpha2 = toAlpha2;

Locale.toLocale = toLocale;
})(Locale || (Locale = {}));
})(Locale = exports.Locale || (exports.Locale = {}));
//# sourceMappingURL=Locale.js.map
{
"name": "isoly",
"version": "0.0.22",
"version": "0.0.23",
"description": "Datatypes and functions specified by ISO-standards.",

@@ -5,0 +5,0 @@ "author": "PayFunc",

{
"compilerOptions": {
"target": "es6",
"module": "es6",
"module": "commonjs",
"noImplicitAny": true,

@@ -6,0 +6,0 @@ "removeComments": true,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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