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.27 to 0.1.1

7

dist/CallingCode.js

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

"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; } });
import { Alpha2 } from "./Alpha2";
import { Alpha3 } from "./Alpha3";
import * as Name from "./Name";
import { Numeric } from "./Numeric";
export { Alpha2, Alpha3, Name, Numeric };
//# sourceMappingURL=index.js.map

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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;
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";
function parse(country) {

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

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

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

}
exports.from = from;
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, };
//# sourceMappingURL=index.js.map

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

"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));
import { Alpha2 } from "../Alpha2";
export function from(country) {
return names[country] || from(Alpha2.from(country));
}
exports.from = from;
function parse(country) {
export 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 = {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@@ -36,3 +33,3 @@ function is(value) {

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

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

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

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

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

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

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

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

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

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

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

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

}
exports.Iso88591 = Iso88591;
const iso88591ToUtf8 = [

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

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

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

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

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

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

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

@@ -1,41 +0,11 @@

"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.Date = exports.CurrencyCode = exports.Currency = exports.CountryCode = exports.CallingCode = void 0;
const CallingCode_1 = require("./CallingCode");
Object.defineProperty(exports, "CallingCode", { enumerable: true, get: function () { return CallingCode_1.CallingCode; } });
const CountryCode = __importStar(require("./CountryCode"));
exports.CountryCode = CountryCode;
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 Date_1 = require("./Date");
Object.defineProperty(exports, "Date", { enumerable: true, get: function () { return Date_1.IsoDate; } });
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; } });
import { CallingCode } from "./CallingCode";
import * as CountryCode from "./CountryCode";
import { Currency } from "./Currency";
import { CurrencyCode } from "./CurrencyCode";
import { IsoDate as Date } from "./Date";
import { DateTime } from "./DateTime";
import { Encoding } from "./Encoding";
import { Language } from "./Language";
import { Locale } from "./Locale";
export { CallingCode, CountryCode, Currency, CurrencyCode, Date, DateTime, Encoding, Language, Locale };
//# sourceMappingURL=index.js.map

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

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

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

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

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

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

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

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

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

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

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

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

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

{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"module": "es6",
"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

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