From fd4250e8e11f628dfd290f1ca4fe11f3a0cccf34 Mon Sep 17 00:00:00 2001 From: Sergei Panfilov Date: Mon, 21 Dec 2020 20:42:53 +0100 Subject: [PATCH] Release/2.5.0 (#112) * bumped version * update deps * checkstyle * build --- lib/amd/index.js | 73 +- lib/amd/lib/countries/andorra.js | 1 + lib/amd/lib/countries/austria.js | 1 + lib/amd/lib/countries/belgium.js | 1 + lib/amd/lib/countries/brazil.js | 14 +- lib/amd/lib/countries/bulgaria.js | 1 + lib/amd/lib/countries/croatiat.js | 1 + lib/amd/lib/countries/cyprus.js | 1 + lib/amd/lib/countries/czechRepublic.js | 1 + lib/amd/lib/countries/denmark.js | 1 + lib/amd/lib/countries/estonia.js | 1 + lib/amd/lib/countries/europe.js | 1 + lib/amd/lib/countries/finland.js | 1 + lib/amd/lib/countries/france.js | 1 + lib/amd/lib/countries/germany.js | 1 + lib/amd/lib/countries/greece.js | 1 + lib/amd/lib/countries/hungary.js | 1 + lib/amd/lib/countries/index.js | 71 +- lib/amd/lib/countries/ireland.js | 1 + lib/amd/lib/countries/italy.js | 1 + lib/amd/lib/countries/latvia.js | 1 + lib/amd/lib/countries/lithuania.js | 1 + lib/amd/lib/countries/luxembourg.js | 1 + lib/amd/lib/countries/malta.js | 1 + lib/amd/lib/countries/netherlands.js | 1 + lib/amd/lib/countries/norway.js | 1 + lib/amd/lib/countries/poland.js | 1 + lib/amd/lib/countries/portugal.js | 1 + lib/amd/lib/countries/romania.js | 1 + lib/amd/lib/countries/russia.js | 1 + lib/amd/lib/countries/serbia.js | 1 + lib/amd/lib/countries/slovakiaRepublic.js | 1 + lib/amd/lib/countries/slovenia.js | 1 + lib/amd/lib/countries/spain.js | 1 + lib/amd/lib/countries/sweden.js | 1 + lib/amd/lib/countries/switzerland.js | 1 + lib/amd/lib/countries/unitedKingdom.js | 1 + lib/amd/lib/jsvat.js | 1 + lib/commonjs/index.js | 73 +- lib/commonjs/lib/countries/andorra.js | 1 + lib/commonjs/lib/countries/austria.js | 1 + lib/commonjs/lib/countries/belgium.js | 1 + lib/commonjs/lib/countries/brazil.js | 18 +- lib/commonjs/lib/countries/bulgaria.js | 1 + lib/commonjs/lib/countries/croatiat.js | 1 + lib/commonjs/lib/countries/cyprus.js | 1 + lib/commonjs/lib/countries/czechRepublic.js | 1 + lib/commonjs/lib/countries/denmark.js | 1 + lib/commonjs/lib/countries/estonia.js | 1 + lib/commonjs/lib/countries/europe.js | 1 + lib/commonjs/lib/countries/finland.js | 1 + lib/commonjs/lib/countries/france.js | 1 + lib/commonjs/lib/countries/germany.js | 1 + lib/commonjs/lib/countries/greece.js | 1 + lib/commonjs/lib/countries/hungary.js | 1 + lib/commonjs/lib/countries/index.js | 71 +- lib/commonjs/lib/countries/ireland.js | 1 + lib/commonjs/lib/countries/italy.js | 1 + lib/commonjs/lib/countries/latvia.js | 1 + lib/commonjs/lib/countries/lithuania.js | 1 + lib/commonjs/lib/countries/luxembourg.js | 1 + lib/commonjs/lib/countries/malta.js | 1 + lib/commonjs/lib/countries/netherlands.js | 1 + lib/commonjs/lib/countries/norway.js | 1 + lib/commonjs/lib/countries/poland.js | 1 + lib/commonjs/lib/countries/portugal.js | 1 + lib/commonjs/lib/countries/romania.js | 1 + lib/commonjs/lib/countries/russia.js | 1 + lib/commonjs/lib/countries/serbia.js | 1 + .../lib/countries/slovakiaRepublic.js | 1 + lib/commonjs/lib/countries/slovenia.js | 1 + lib/commonjs/lib/countries/spain.js | 1 + lib/commonjs/lib/countries/sweden.js | 1 + lib/commonjs/lib/countries/switzerland.js | 1 + lib/commonjs/lib/countries/unitedKingdom.js | 1 + lib/commonjs/lib/jsvat.js | 1 + lib/es6/lib/countries/brazil.js | 13 +- lib/system/lib/countries/brazil.js | 13 +- lib/umd/index.js | 73 +- lib/umd/lib/countries/andorra.js | 1 + lib/umd/lib/countries/austria.js | 1 + lib/umd/lib/countries/belgium.js | 1 + lib/umd/lib/countries/brazil.js | 14 +- lib/umd/lib/countries/bulgaria.js | 1 + lib/umd/lib/countries/croatiat.js | 1 + lib/umd/lib/countries/cyprus.js | 1 + lib/umd/lib/countries/czechRepublic.js | 1 + lib/umd/lib/countries/denmark.js | 1 + lib/umd/lib/countries/estonia.js | 1 + lib/umd/lib/countries/europe.js | 1 + lib/umd/lib/countries/finland.js | 1 + lib/umd/lib/countries/france.js | 1 + lib/umd/lib/countries/germany.js | 1 + lib/umd/lib/countries/greece.js | 1 + lib/umd/lib/countries/hungary.js | 1 + lib/umd/lib/countries/index.js | 71 +- lib/umd/lib/countries/ireland.js | 1 + lib/umd/lib/countries/italy.js | 1 + lib/umd/lib/countries/latvia.js | 1 + lib/umd/lib/countries/lithuania.js | 1 + lib/umd/lib/countries/luxembourg.js | 1 + lib/umd/lib/countries/malta.js | 1 + lib/umd/lib/countries/netherlands.js | 1 + lib/umd/lib/countries/norway.js | 1 + lib/umd/lib/countries/poland.js | 1 + lib/umd/lib/countries/portugal.js | 1 + lib/umd/lib/countries/romania.js | 1 + lib/umd/lib/countries/russia.js | 1 + lib/umd/lib/countries/serbia.js | 1 + lib/umd/lib/countries/slovakiaRepublic.js | 1 + lib/umd/lib/countries/slovenia.js | 1 + lib/umd/lib/countries/spain.js | 1 + lib/umd/lib/countries/sweden.js | 1 + lib/umd/lib/countries/switzerland.js | 1 + lib/umd/lib/countries/unitedKingdom.js | 1 + lib/umd/lib/jsvat.js | 1 + package.json | 18 +- src/lib/jsvat.ts | 1 + test/austria.spec.js | 36 +- test/belgium.spec.js | 34 +- test/bulgaria.spec.js | 34 +- test/countries_vat_lists/austria.vat.js | 16 +- test/countries_vat_lists/belgium.vat.js | 15 +- test/countries_vat_lists/bulgaria.vat.js | 15 +- test/countries_vat_lists/croatia.vat.js | 19 +- test/countries_vat_lists/cyprus.vat.js | 20 +- test/countries_vat_lists/czechRepublic.vat.js | 21 +- test/countries_vat_lists/denmark.vat.js | 23 +- test/countries_vat_lists/estonia.vat.js | 18 +- test/countries_vat_lists/europe.vat.js | 23 +- test/countries_vat_lists/finland.vat.js | 22 +- test/countries_vat_lists/france.vat.js | 15 +- test/countries_vat_lists/germany.vat.js | 15 +- test/countries_vat_lists/greece.vat.js | 15 +- test/countries_vat_lists/hungary.vat.js | 18 +- test/countries_vat_lists/ireland.vat.js | 15 +- test/countries_vat_lists/italy.vat.js | 15 +- test/countries_vat_lists/latvia.vat.js | 20 +- test/countries_vat_lists/lithuania.vat.js | 20 +- test/countries_vat_lists/luxembourg.vat.js | 15 +- test/countries_vat_lists/malta.vat.js | 18 +- test/countries_vat_lists/netherlands.vat.js | 15 +- test/countries_vat_lists/norway.vat.js | 18 +- test/countries_vat_lists/poland.vat.js | 18 +- test/countries_vat_lists/portugal.vat.js | 22 +- test/countries_vat_lists/romania.vat.js | 15 +- test/countries_vat_lists/russia.vat.js | 19 +- test/countries_vat_lists/serbia.vat.js | 19 +- .../slovakiaRepublic.vat.js | 18 +- test/countries_vat_lists/slovenia.vat.js | 17 +- test/countries_vat_lists/spain.vat.js | 15 +- test/countries_vat_lists/sweden.vat.js | 21 +- test/countries_vat_lists/switzerland.vat.js | 21 +- test/countries_vat_lists/unitedKingdom.vat.js | 15 +- test/croatia.spec.js | 36 +- test/cyprus.spec.js | 36 +- test/czechRepublic.spec.js | 34 +- test/denmark.spec.js | 34 +- test/estonia.spec.js | 34 +- test/europe.spec.js | 30 +- test/finland.spec.js | 34 +- test/france.spec.js | 34 +- test/germany.spec.js | 34 +- test/greece.spec.js | 34 +- test/hungary.spec.js | 34 +- test/ireland.spec.js | 36 +- test/italy.spec.js | 34 +- test/latvia.spec.js | 34 +- test/lithuania.spec.js | 34 +- test/luxembourg.spec.js | 34 +- test/malta.spec.js | 34 +- test/netherlands.spec.js | 34 +- test/norway.spec.js | 34 +- test/poland.spec.js | 34 +- test/portugal.spec.js | 34 +- test/romania.spec.js | 34 +- test/russia.spec.js | 34 +- test/serbia.spec.js | 34 +- test/slovakiaRepublic.spec.js | 34 +- test/slovenia.spec.js | 34 +- test/spain.spec.js | 34 +- test/sweden.spec.js | 34 +- test/switzerland.spec.js | 34 +- test/unitedKingdom.spec.js | 34 +- test/utils.js | 40 +- yarn.lock | 2686 ++++++++++------- 186 files changed, 2539 insertions(+), 2532 deletions(-) diff --git a/lib/amd/index.js b/lib/amd/index.js index 13dd000..99e70e6 100644 --- a/lib/amd/index.js +++ b/lib/amd/index.js @@ -1,6 +1,7 @@ define(["require", "exports", "./lib/countries", "./lib/countries", "./lib/jsvat"], function (require, exports, countries_1, countries_2, jsvat_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.checkVAT = exports.unitedKingdom = exports.switzerland = exports.sweden = exports.spain = exports.slovenia = exports.slovakiaRepublic = exports.serbia = exports.russia = exports.romania = exports.portugal = exports.poland = exports.norway = exports.netherlands = exports.malta = exports.luxembourg = exports.lithuania = exports.latvia = exports.italy = exports.ireland = exports.hungary = exports.greece = exports.germany = exports.france = exports.finland = exports.europe = exports.estonia = exports.denmark = exports.czechRepublic = exports.cyprus = exports.croatia = exports.bulgaria = exports.brazil = exports.belgium = exports.austria = exports.andorra = exports.countries = void 0; exports.countries = [ countries_1.andorra, countries_1.austria, @@ -38,40 +39,40 @@ define(["require", "exports", "./lib/countries", "./lib/countries", "./lib/jsvat countries_1.switzerland, countries_1.unitedKingdom ]; - exports.andorra = countries_2.andorra; - exports.austria = countries_2.austria; - exports.belgium = countries_2.belgium; - exports.brazil = countries_2.brazil; - exports.bulgaria = countries_2.bulgaria; - exports.croatia = countries_2.croatia; - exports.cyprus = countries_2.cyprus; - exports.czechRepublic = countries_2.czechRepublic; - exports.denmark = countries_2.denmark; - exports.estonia = countries_2.estonia; - exports.europe = countries_2.europe; - exports.finland = countries_2.finland; - exports.france = countries_2.france; - exports.germany = countries_2.germany; - exports.greece = countries_2.greece; - exports.hungary = countries_2.hungary; - exports.ireland = countries_2.ireland; - exports.italy = countries_2.italy; - exports.latvia = countries_2.latvia; - exports.lithuania = countries_2.lithuania; - exports.luxembourg = countries_2.luxembourg; - exports.malta = countries_2.malta; - exports.netherlands = countries_2.netherlands; - exports.norway = countries_2.norway; - exports.poland = countries_2.poland; - exports.portugal = countries_2.portugal; - exports.romania = countries_2.romania; - exports.russia = countries_2.russia; - exports.serbia = countries_2.serbia; - exports.slovakiaRepublic = countries_2.slovakiaRepublic; - exports.slovenia = countries_2.slovenia; - exports.spain = countries_2.spain; - exports.sweden = countries_2.sweden; - exports.switzerland = countries_2.switzerland; - exports.unitedKingdom = countries_2.unitedKingdom; - exports.checkVAT = jsvat_1.checkVAT; + Object.defineProperty(exports, "andorra", { enumerable: true, get: function () { return countries_2.andorra; } }); + Object.defineProperty(exports, "austria", { enumerable: true, get: function () { return countries_2.austria; } }); + Object.defineProperty(exports, "belgium", { enumerable: true, get: function () { return countries_2.belgium; } }); + Object.defineProperty(exports, "brazil", { enumerable: true, get: function () { return countries_2.brazil; } }); + Object.defineProperty(exports, "bulgaria", { enumerable: true, get: function () { return countries_2.bulgaria; } }); + Object.defineProperty(exports, "croatia", { enumerable: true, get: function () { return countries_2.croatia; } }); + Object.defineProperty(exports, "cyprus", { enumerable: true, get: function () { return countries_2.cyprus; } }); + Object.defineProperty(exports, "czechRepublic", { enumerable: true, get: function () { return countries_2.czechRepublic; } }); + Object.defineProperty(exports, "denmark", { enumerable: true, get: function () { return countries_2.denmark; } }); + Object.defineProperty(exports, "estonia", { enumerable: true, get: function () { return countries_2.estonia; } }); + Object.defineProperty(exports, "europe", { enumerable: true, get: function () { return countries_2.europe; } }); + Object.defineProperty(exports, "finland", { enumerable: true, get: function () { return countries_2.finland; } }); + Object.defineProperty(exports, "france", { enumerable: true, get: function () { return countries_2.france; } }); + Object.defineProperty(exports, "germany", { enumerable: true, get: function () { return countries_2.germany; } }); + Object.defineProperty(exports, "greece", { enumerable: true, get: function () { return countries_2.greece; } }); + Object.defineProperty(exports, "hungary", { enumerable: true, get: function () { return countries_2.hungary; } }); + Object.defineProperty(exports, "ireland", { enumerable: true, get: function () { return countries_2.ireland; } }); + Object.defineProperty(exports, "italy", { enumerable: true, get: function () { return countries_2.italy; } }); + Object.defineProperty(exports, "latvia", { enumerable: true, get: function () { return countries_2.latvia; } }); + Object.defineProperty(exports, "lithuania", { enumerable: true, get: function () { return countries_2.lithuania; } }); + Object.defineProperty(exports, "luxembourg", { enumerable: true, get: function () { return countries_2.luxembourg; } }); + Object.defineProperty(exports, "malta", { enumerable: true, get: function () { return countries_2.malta; } }); + Object.defineProperty(exports, "netherlands", { enumerable: true, get: function () { return countries_2.netherlands; } }); + Object.defineProperty(exports, "norway", { enumerable: true, get: function () { return countries_2.norway; } }); + Object.defineProperty(exports, "poland", { enumerable: true, get: function () { return countries_2.poland; } }); + Object.defineProperty(exports, "portugal", { enumerable: true, get: function () { return countries_2.portugal; } }); + Object.defineProperty(exports, "romania", { enumerable: true, get: function () { return countries_2.romania; } }); + Object.defineProperty(exports, "russia", { enumerable: true, get: function () { return countries_2.russia; } }); + Object.defineProperty(exports, "serbia", { enumerable: true, get: function () { return countries_2.serbia; } }); + Object.defineProperty(exports, "slovakiaRepublic", { enumerable: true, get: function () { return countries_2.slovakiaRepublic; } }); + Object.defineProperty(exports, "slovenia", { enumerable: true, get: function () { return countries_2.slovenia; } }); + Object.defineProperty(exports, "spain", { enumerable: true, get: function () { return countries_2.spain; } }); + Object.defineProperty(exports, "sweden", { enumerable: true, get: function () { return countries_2.sweden; } }); + Object.defineProperty(exports, "switzerland", { enumerable: true, get: function () { return countries_2.switzerland; } }); + Object.defineProperty(exports, "unitedKingdom", { enumerable: true, get: function () { return countries_2.unitedKingdom; } }); + Object.defineProperty(exports, "checkVAT", { enumerable: true, get: function () { return jsvat_1.checkVAT; } }); }); diff --git a/lib/amd/lib/countries/andorra.js b/lib/amd/lib/countries/andorra.js index abaf7df..dadd8e6 100644 --- a/lib/amd/lib/countries/andorra.js +++ b/lib/amd/lib/countries/andorra.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.andorra = void 0; exports.andorra = { name: 'Andorra', codes: ['AD', 'AND', '020'], diff --git a/lib/amd/lib/countries/austria.js b/lib/amd/lib/countries/austria.js index 698cb2d..7c11717 100644 --- a/lib/amd/lib/countries/austria.js +++ b/lib/amd/lib/countries/austria.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.austria = void 0; exports.austria = { name: 'Austria', codes: ['AT', 'AUT', '040'], diff --git a/lib/amd/lib/countries/belgium.js b/lib/amd/lib/countries/belgium.js index c6d1618..a10aefd 100644 --- a/lib/amd/lib/countries/belgium.js +++ b/lib/amd/lib/countries/belgium.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.belgium = void 0; exports.belgium = { name: 'Belgium', codes: ['BE', 'BEL', '056'], diff --git a/lib/amd/lib/countries/brazil.js b/lib/amd/lib/countries/brazil.js index 52ebc74..cfeb12b 100644 --- a/lib/amd/lib/countries/brazil.js +++ b/lib/amd/lib/countries/brazil.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.brazil = void 0; /** * Generate check sums. Multiply numbers to validators and sum them to generate * check sums, they're used to check if numbers are valid. @@ -9,28 +10,25 @@ define(["require", "exports"], function (require, exports) { */ const generateCheckSums = (numbers, validators) => { const initialCheckSums = [0, 0]; - return validators.reduce(([checkerA, checkerB], validator, index) => [ - (index === 0) ? 0 : (checkerA + numbers[index - 1] * validator), - checkerB + numbers[index] * validator - ], initialCheckSums); + return validators.reduce(([checkerA, checkerB], validator, index) => [index === 0 ? 0 : checkerA + numbers[index - 1] * validator, checkerB + numbers[index] * validator], initialCheckSums); }; const isRepeatedArray = (varNumbers) => varNumbers.every((varNumber) => varNumbers[0] === varNumber); /** * Get remaining of 11 or `0` if lower than 2. * @param value - Value used remaining. */ - const getRemaining = (value) => (value % 11) < 2 ? 0 : 11 - (value % 11); + const getRemaining = (value) => (value % 11 < 2 ? 0 : 11 - (value % 11)); exports.brazil = { name: 'Brazil', codes: ['BR', 'BRA', '076'], calcFn: (vat) => { const numbers = vat.split('').map(Number); - if (isRepeatedArray(numbers)) + if (isRepeatedArray(numbers)) { return false; + } const validators = [6, 5, 4, 3, 2, 9, 8, 7, 6, 5, 4, 3, 2]; const checkers = generateCheckSums(numbers, validators); - return (numbers[12] === getRemaining(checkers[0]) && - numbers[13] === getRemaining(checkers[1])); + return numbers[12] === getRemaining(checkers[0]) && numbers[13] === getRemaining(checkers[1]); }, rules: { multipliers: {}, diff --git a/lib/amd/lib/countries/bulgaria.js b/lib/amd/lib/countries/bulgaria.js index 749da45..53a7885 100644 --- a/lib/amd/lib/countries/bulgaria.js +++ b/lib/amd/lib/countries/bulgaria.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.bulgaria = void 0; exports.bulgaria = { name: 'Bulgaria', codes: ['BG', 'BGR', '100'], diff --git a/lib/amd/lib/countries/croatiat.js b/lib/amd/lib/countries/croatiat.js index f08e3e2..80bb335 100644 --- a/lib/amd/lib/countries/croatiat.js +++ b/lib/amd/lib/countries/croatiat.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.croatia = void 0; exports.croatia = { name: 'Croatia', codes: ['HR', 'HRV', '191'], diff --git a/lib/amd/lib/countries/cyprus.js b/lib/amd/lib/countries/cyprus.js index a891086..610e9a3 100644 --- a/lib/amd/lib/countries/cyprus.js +++ b/lib/amd/lib/countries/cyprus.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.cyprus = void 0; exports.cyprus = { name: 'Cyprus', codes: ['CY', 'CYP', '196'], diff --git a/lib/amd/lib/countries/czechRepublic.js b/lib/amd/lib/countries/czechRepublic.js index 2e4c751..6f019ce 100644 --- a/lib/amd/lib/countries/czechRepublic.js +++ b/lib/amd/lib/countries/czechRepublic.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.czechRepublic = void 0; exports.czechRepublic = { name: 'Czech Republic', codes: ['CZ', 'CZE', '203'], diff --git a/lib/amd/lib/countries/denmark.js b/lib/amd/lib/countries/denmark.js index 6f4d2ce..ff5e516 100644 --- a/lib/amd/lib/countries/denmark.js +++ b/lib/amd/lib/countries/denmark.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.denmark = void 0; exports.denmark = { name: 'Denmark', codes: ['DK', 'DNK', '208'], diff --git a/lib/amd/lib/countries/estonia.js b/lib/amd/lib/countries/estonia.js index 3d2e5a4..eb0db06 100644 --- a/lib/amd/lib/countries/estonia.js +++ b/lib/amd/lib/countries/estonia.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.estonia = void 0; exports.estonia = { name: 'Estonia', codes: ['EE', 'EST', '233'], diff --git a/lib/amd/lib/countries/europe.js b/lib/amd/lib/countries/europe.js index 58ebf7d..803a748 100644 --- a/lib/amd/lib/countries/europe.js +++ b/lib/amd/lib/countries/europe.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.europe = void 0; exports.europe = { name: 'Europe', codes: ['EU', 'EUR', '000'], diff --git a/lib/amd/lib/countries/finland.js b/lib/amd/lib/countries/finland.js index 0939845..3330a4b 100644 --- a/lib/amd/lib/countries/finland.js +++ b/lib/amd/lib/countries/finland.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.finland = void 0; exports.finland = { name: 'Finland', codes: ['FI', 'FIN', '246'], diff --git a/lib/amd/lib/countries/france.js b/lib/amd/lib/countries/france.js index f048d52..9f8c8fe 100644 --- a/lib/amd/lib/countries/france.js +++ b/lib/amd/lib/countries/france.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.france = void 0; exports.france = { name: 'France', codes: ['FR', 'FRA', '250'], diff --git a/lib/amd/lib/countries/germany.js b/lib/amd/lib/countries/germany.js index 5d91d53..e6dccde 100644 --- a/lib/amd/lib/countries/germany.js +++ b/lib/amd/lib/countries/germany.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.germany = void 0; exports.germany = { name: 'Germany', codes: ['DE', 'DEU', '276'], diff --git a/lib/amd/lib/countries/greece.js b/lib/amd/lib/countries/greece.js index ee583d9..1e3d59d 100644 --- a/lib/amd/lib/countries/greece.js +++ b/lib/amd/lib/countries/greece.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.greece = void 0; exports.greece = { name: 'Greece', codes: ['GR', 'GRC', '300'], diff --git a/lib/amd/lib/countries/hungary.js b/lib/amd/lib/countries/hungary.js index caacae1..492d050 100644 --- a/lib/amd/lib/countries/hungary.js +++ b/lib/amd/lib/countries/hungary.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.hungary = void 0; exports.hungary = { name: 'Hungary', codes: ['HU', 'HUN', '348'], diff --git a/lib/amd/lib/countries/index.js b/lib/amd/lib/countries/index.js index ac0c919..a66c672 100644 --- a/lib/amd/lib/countries/index.js +++ b/lib/amd/lib/countries/index.js @@ -1,39 +1,40 @@ define(["require", "exports", "./andorra", "./austria", "./belgium", "./brazil", "./bulgaria", "./croatiat", "./cyprus", "./czechRepublic", "./denmark", "./estonia", "./europe", "./finland", "./france", "./germany", "./greece", "./hungary", "./ireland", "./italy", "./latvia", "./lithuania", "./luxembourg", "./malta", "./netherlands", "./norway", "./poland", "./portugal", "./romania", "./russia", "./serbia", "./slovakiaRepublic", "./slovenia", "./spain", "./sweden", "./switzerland", "./unitedKingdom"], function (require, exports, andorra_1, austria_1, belgium_1, brazil_1, bulgaria_1, croatiat_1, cyprus_1, czechRepublic_1, denmark_1, estonia_1, europe_1, finland_1, france_1, germany_1, greece_1, hungary_1, ireland_1, italy_1, latvia_1, lithuania_1, luxembourg_1, malta_1, netherlands_1, norway_1, poland_1, portugal_1, romania_1, russia_1, serbia_1, slovakiaRepublic_1, slovenia_1, spain_1, sweden_1, switzerland_1, unitedKingdom_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - exports.andorra = andorra_1.andorra; - exports.austria = austria_1.austria; - exports.belgium = belgium_1.belgium; - exports.brazil = brazil_1.brazil; - exports.bulgaria = bulgaria_1.bulgaria; - exports.croatia = croatiat_1.croatia; - exports.cyprus = cyprus_1.cyprus; - exports.czechRepublic = czechRepublic_1.czechRepublic; - exports.denmark = denmark_1.denmark; - exports.estonia = estonia_1.estonia; - exports.europe = europe_1.europe; - exports.finland = finland_1.finland; - exports.france = france_1.france; - exports.germany = germany_1.germany; - exports.greece = greece_1.greece; - exports.hungary = hungary_1.hungary; - exports.ireland = ireland_1.ireland; - exports.italy = italy_1.italy; - exports.latvia = latvia_1.latvia; - exports.lithuania = lithuania_1.lithuania; - exports.luxembourg = luxembourg_1.luxembourg; - exports.malta = malta_1.malta; - exports.netherlands = netherlands_1.netherlands; - exports.norway = norway_1.norway; - exports.poland = poland_1.poland; - exports.portugal = portugal_1.portugal; - exports.romania = romania_1.romania; - exports.russia = russia_1.russia; - exports.serbia = serbia_1.serbia; - exports.slovakiaRepublic = slovakiaRepublic_1.slovakiaRepublic; - exports.slovenia = slovenia_1.slovenia; - exports.spain = spain_1.spain; - exports.sweden = sweden_1.sweden; - exports.switzerland = switzerland_1.switzerland; - exports.unitedKingdom = unitedKingdom_1.unitedKingdom; + exports.unitedKingdom = exports.switzerland = exports.sweden = exports.spain = exports.slovenia = exports.slovakiaRepublic = exports.serbia = exports.russia = exports.romania = exports.portugal = exports.poland = exports.norway = exports.netherlands = exports.malta = exports.luxembourg = exports.lithuania = exports.latvia = exports.italy = exports.ireland = exports.hungary = exports.greece = exports.germany = exports.france = exports.finland = exports.europe = exports.estonia = exports.denmark = exports.czechRepublic = exports.cyprus = exports.croatia = exports.bulgaria = exports.brazil = exports.belgium = exports.austria = exports.andorra = void 0; + Object.defineProperty(exports, "andorra", { enumerable: true, get: function () { return andorra_1.andorra; } }); + Object.defineProperty(exports, "austria", { enumerable: true, get: function () { return austria_1.austria; } }); + Object.defineProperty(exports, "belgium", { enumerable: true, get: function () { return belgium_1.belgium; } }); + Object.defineProperty(exports, "brazil", { enumerable: true, get: function () { return brazil_1.brazil; } }); + Object.defineProperty(exports, "bulgaria", { enumerable: true, get: function () { return bulgaria_1.bulgaria; } }); + Object.defineProperty(exports, "croatia", { enumerable: true, get: function () { return croatiat_1.croatia; } }); + Object.defineProperty(exports, "cyprus", { enumerable: true, get: function () { return cyprus_1.cyprus; } }); + Object.defineProperty(exports, "czechRepublic", { enumerable: true, get: function () { return czechRepublic_1.czechRepublic; } }); + Object.defineProperty(exports, "denmark", { enumerable: true, get: function () { return denmark_1.denmark; } }); + Object.defineProperty(exports, "estonia", { enumerable: true, get: function () { return estonia_1.estonia; } }); + Object.defineProperty(exports, "europe", { enumerable: true, get: function () { return europe_1.europe; } }); + Object.defineProperty(exports, "finland", { enumerable: true, get: function () { return finland_1.finland; } }); + Object.defineProperty(exports, "france", { enumerable: true, get: function () { return france_1.france; } }); + Object.defineProperty(exports, "germany", { enumerable: true, get: function () { return germany_1.germany; } }); + Object.defineProperty(exports, "greece", { enumerable: true, get: function () { return greece_1.greece; } }); + Object.defineProperty(exports, "hungary", { enumerable: true, get: function () { return hungary_1.hungary; } }); + Object.defineProperty(exports, "ireland", { enumerable: true, get: function () { return ireland_1.ireland; } }); + Object.defineProperty(exports, "italy", { enumerable: true, get: function () { return italy_1.italy; } }); + Object.defineProperty(exports, "latvia", { enumerable: true, get: function () { return latvia_1.latvia; } }); + Object.defineProperty(exports, "lithuania", { enumerable: true, get: function () { return lithuania_1.lithuania; } }); + Object.defineProperty(exports, "luxembourg", { enumerable: true, get: function () { return luxembourg_1.luxembourg; } }); + Object.defineProperty(exports, "malta", { enumerable: true, get: function () { return malta_1.malta; } }); + Object.defineProperty(exports, "netherlands", { enumerable: true, get: function () { return netherlands_1.netherlands; } }); + Object.defineProperty(exports, "norway", { enumerable: true, get: function () { return norway_1.norway; } }); + Object.defineProperty(exports, "poland", { enumerable: true, get: function () { return poland_1.poland; } }); + Object.defineProperty(exports, "portugal", { enumerable: true, get: function () { return portugal_1.portugal; } }); + Object.defineProperty(exports, "romania", { enumerable: true, get: function () { return romania_1.romania; } }); + Object.defineProperty(exports, "russia", { enumerable: true, get: function () { return russia_1.russia; } }); + Object.defineProperty(exports, "serbia", { enumerable: true, get: function () { return serbia_1.serbia; } }); + Object.defineProperty(exports, "slovakiaRepublic", { enumerable: true, get: function () { return slovakiaRepublic_1.slovakiaRepublic; } }); + Object.defineProperty(exports, "slovenia", { enumerable: true, get: function () { return slovenia_1.slovenia; } }); + Object.defineProperty(exports, "spain", { enumerable: true, get: function () { return spain_1.spain; } }); + Object.defineProperty(exports, "sweden", { enumerable: true, get: function () { return sweden_1.sweden; } }); + Object.defineProperty(exports, "switzerland", { enumerable: true, get: function () { return switzerland_1.switzerland; } }); + Object.defineProperty(exports, "unitedKingdom", { enumerable: true, get: function () { return unitedKingdom_1.unitedKingdom; } }); }); diff --git a/lib/amd/lib/countries/ireland.js b/lib/amd/lib/countries/ireland.js index 0f3bdea..c0f4b16 100644 --- a/lib/amd/lib/countries/ireland.js +++ b/lib/amd/lib/countries/ireland.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.ireland = void 0; exports.ireland = { name: 'Ireland', codes: ['IE', 'IRL', '372'], diff --git a/lib/amd/lib/countries/italy.js b/lib/amd/lib/countries/italy.js index a84f725..01d6195 100644 --- a/lib/amd/lib/countries/italy.js +++ b/lib/amd/lib/countries/italy.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.italy = void 0; exports.italy = { name: 'Italy', codes: ['IT', 'ITA', '380'], diff --git a/lib/amd/lib/countries/latvia.js b/lib/amd/lib/countries/latvia.js index f70ed67..ce1d921 100644 --- a/lib/amd/lib/countries/latvia.js +++ b/lib/amd/lib/countries/latvia.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.latvia = void 0; exports.latvia = { name: 'Latvia', codes: ['LV', 'LVA', '428'], diff --git a/lib/amd/lib/countries/lithuania.js b/lib/amd/lib/countries/lithuania.js index fa20862..ff8aad2 100644 --- a/lib/amd/lib/countries/lithuania.js +++ b/lib/amd/lib/countries/lithuania.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.lithuania = void 0; exports.lithuania = { name: 'Lithuania', codes: ['LT', 'LTU', '440'], diff --git a/lib/amd/lib/countries/luxembourg.js b/lib/amd/lib/countries/luxembourg.js index 8c41a9c..2da6336 100644 --- a/lib/amd/lib/countries/luxembourg.js +++ b/lib/amd/lib/countries/luxembourg.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.luxembourg = void 0; exports.luxembourg = { name: 'Luxembourg', codes: ['LU', 'LUX', '442'], diff --git a/lib/amd/lib/countries/malta.js b/lib/amd/lib/countries/malta.js index 8a1e3dc..3abef5c 100644 --- a/lib/amd/lib/countries/malta.js +++ b/lib/amd/lib/countries/malta.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.malta = void 0; exports.malta = { name: 'Malta', codes: ['MT', 'MLT', '470'], diff --git a/lib/amd/lib/countries/netherlands.js b/lib/amd/lib/countries/netherlands.js index 779221d..17d7bd7 100644 --- a/lib/amd/lib/countries/netherlands.js +++ b/lib/amd/lib/countries/netherlands.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.netherlands = void 0; exports.netherlands = { name: 'Netherlands', codes: ['NL', 'NLD', '528'], diff --git a/lib/amd/lib/countries/norway.js b/lib/amd/lib/countries/norway.js index c0d974b..8c31334 100644 --- a/lib/amd/lib/countries/norway.js +++ b/lib/amd/lib/countries/norway.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.norway = void 0; exports.norway = { name: 'Norway', codes: ['NO', 'NOR', '578'], diff --git a/lib/amd/lib/countries/poland.js b/lib/amd/lib/countries/poland.js index 50a5bb5..6aa8268 100644 --- a/lib/amd/lib/countries/poland.js +++ b/lib/amd/lib/countries/poland.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.poland = void 0; exports.poland = { name: 'Poland', codes: ['PL', 'POL', '616'], diff --git a/lib/amd/lib/countries/portugal.js b/lib/amd/lib/countries/portugal.js index 2da3b35..265d964 100644 --- a/lib/amd/lib/countries/portugal.js +++ b/lib/amd/lib/countries/portugal.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.portugal = void 0; exports.portugal = { name: 'Portugal', codes: ['PT', 'PRT', '620'], diff --git a/lib/amd/lib/countries/romania.js b/lib/amd/lib/countries/romania.js index c39c104..2043ba4 100644 --- a/lib/amd/lib/countries/romania.js +++ b/lib/amd/lib/countries/romania.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.romania = void 0; exports.romania = { name: 'Romania', codes: ['RO', 'ROU', '642'], diff --git a/lib/amd/lib/countries/russia.js b/lib/amd/lib/countries/russia.js index c45f850..a54cb3b 100644 --- a/lib/amd/lib/countries/russia.js +++ b/lib/amd/lib/countries/russia.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.russia = void 0; exports.russia = { name: 'Russian Federation', codes: ['RU', 'RUS', '643'], diff --git a/lib/amd/lib/countries/serbia.js b/lib/amd/lib/countries/serbia.js index 1449133..5634d2e 100644 --- a/lib/amd/lib/countries/serbia.js +++ b/lib/amd/lib/countries/serbia.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.serbia = void 0; exports.serbia = { name: 'Serbia', codes: ['RS', 'SRB', '688'], diff --git a/lib/amd/lib/countries/slovakiaRepublic.js b/lib/amd/lib/countries/slovakiaRepublic.js index 2afb216..b71e47c 100644 --- a/lib/amd/lib/countries/slovakiaRepublic.js +++ b/lib/amd/lib/countries/slovakiaRepublic.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.slovakiaRepublic = void 0; exports.slovakiaRepublic = { name: 'Slovakia Republic', codes: ['SK', 'SVK', '703'], diff --git a/lib/amd/lib/countries/slovenia.js b/lib/amd/lib/countries/slovenia.js index 424f83e..75e3f28 100644 --- a/lib/amd/lib/countries/slovenia.js +++ b/lib/amd/lib/countries/slovenia.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.slovenia = void 0; exports.slovenia = { name: 'Slovenia', codes: ['SI', 'SVN', '705'], diff --git a/lib/amd/lib/countries/spain.js b/lib/amd/lib/countries/spain.js index cd3a8c9..ed510f1 100644 --- a/lib/amd/lib/countries/spain.js +++ b/lib/amd/lib/countries/spain.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.spain = void 0; exports.spain = { name: 'Spain', codes: ['ES', 'ESP', '724'], diff --git a/lib/amd/lib/countries/sweden.js b/lib/amd/lib/countries/sweden.js index a419634..10cbd3c 100644 --- a/lib/amd/lib/countries/sweden.js +++ b/lib/amd/lib/countries/sweden.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.sweden = void 0; exports.sweden = { name: 'Sweden', codes: ['SE', 'SWE', '752'], diff --git a/lib/amd/lib/countries/switzerland.js b/lib/amd/lib/countries/switzerland.js index 57b9db6..2c17ee4 100644 --- a/lib/amd/lib/countries/switzerland.js +++ b/lib/amd/lib/countries/switzerland.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.switzerland = void 0; exports.switzerland = { name: 'Switzerland', codes: ['CH', 'CHE', '756'], diff --git a/lib/amd/lib/countries/unitedKingdom.js b/lib/amd/lib/countries/unitedKingdom.js index d1b96a9..4e3761f 100644 --- a/lib/amd/lib/countries/unitedKingdom.js +++ b/lib/amd/lib/countries/unitedKingdom.js @@ -1,6 +1,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.unitedKingdom = void 0; exports.unitedKingdom = { name: 'United Kingdom', codes: ['GB', 'GBR', '826'], diff --git a/lib/amd/lib/jsvat.js b/lib/amd/lib/jsvat.js index 8614f87..c657de5 100644 --- a/lib/amd/lib/jsvat.js +++ b/lib/amd/lib/jsvat.js @@ -1,6 +1,7 @@ define(["require", "exports", "./countries"], function (require, exports, countries_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.checkVAT = void 0; function makeResult(vat, isValid, country) { return { value: vat || undefined, diff --git a/lib/commonjs/index.js b/lib/commonjs/index.js index 2de225a..b1f6a80 100644 --- a/lib/commonjs/index.js +++ b/lib/commonjs/index.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.checkVAT = exports.unitedKingdom = exports.switzerland = exports.sweden = exports.spain = exports.slovenia = exports.slovakiaRepublic = exports.serbia = exports.russia = exports.romania = exports.portugal = exports.poland = exports.norway = exports.netherlands = exports.malta = exports.luxembourg = exports.lithuania = exports.latvia = exports.italy = exports.ireland = exports.hungary = exports.greece = exports.germany = exports.france = exports.finland = exports.europe = exports.estonia = exports.denmark = exports.czechRepublic = exports.cyprus = exports.croatia = exports.bulgaria = exports.brazil = exports.belgium = exports.austria = exports.andorra = exports.countries = void 0; var countries_1 = require("./lib/countries"); exports.countries = [ countries_1.andorra, @@ -39,40 +40,40 @@ exports.countries = [ countries_1.unitedKingdom ]; var countries_2 = require("./lib/countries"); -exports.andorra = countries_2.andorra; -exports.austria = countries_2.austria; -exports.belgium = countries_2.belgium; -exports.brazil = countries_2.brazil; -exports.bulgaria = countries_2.bulgaria; -exports.croatia = countries_2.croatia; -exports.cyprus = countries_2.cyprus; -exports.czechRepublic = countries_2.czechRepublic; -exports.denmark = countries_2.denmark; -exports.estonia = countries_2.estonia; -exports.europe = countries_2.europe; -exports.finland = countries_2.finland; -exports.france = countries_2.france; -exports.germany = countries_2.germany; -exports.greece = countries_2.greece; -exports.hungary = countries_2.hungary; -exports.ireland = countries_2.ireland; -exports.italy = countries_2.italy; -exports.latvia = countries_2.latvia; -exports.lithuania = countries_2.lithuania; -exports.luxembourg = countries_2.luxembourg; -exports.malta = countries_2.malta; -exports.netherlands = countries_2.netherlands; -exports.norway = countries_2.norway; -exports.poland = countries_2.poland; -exports.portugal = countries_2.portugal; -exports.romania = countries_2.romania; -exports.russia = countries_2.russia; -exports.serbia = countries_2.serbia; -exports.slovakiaRepublic = countries_2.slovakiaRepublic; -exports.slovenia = countries_2.slovenia; -exports.spain = countries_2.spain; -exports.sweden = countries_2.sweden; -exports.switzerland = countries_2.switzerland; -exports.unitedKingdom = countries_2.unitedKingdom; +Object.defineProperty(exports, "andorra", { enumerable: true, get: function () { return countries_2.andorra; } }); +Object.defineProperty(exports, "austria", { enumerable: true, get: function () { return countries_2.austria; } }); +Object.defineProperty(exports, "belgium", { enumerable: true, get: function () { return countries_2.belgium; } }); +Object.defineProperty(exports, "brazil", { enumerable: true, get: function () { return countries_2.brazil; } }); +Object.defineProperty(exports, "bulgaria", { enumerable: true, get: function () { return countries_2.bulgaria; } }); +Object.defineProperty(exports, "croatia", { enumerable: true, get: function () { return countries_2.croatia; } }); +Object.defineProperty(exports, "cyprus", { enumerable: true, get: function () { return countries_2.cyprus; } }); +Object.defineProperty(exports, "czechRepublic", { enumerable: true, get: function () { return countries_2.czechRepublic; } }); +Object.defineProperty(exports, "denmark", { enumerable: true, get: function () { return countries_2.denmark; } }); +Object.defineProperty(exports, "estonia", { enumerable: true, get: function () { return countries_2.estonia; } }); +Object.defineProperty(exports, "europe", { enumerable: true, get: function () { return countries_2.europe; } }); +Object.defineProperty(exports, "finland", { enumerable: true, get: function () { return countries_2.finland; } }); +Object.defineProperty(exports, "france", { enumerable: true, get: function () { return countries_2.france; } }); +Object.defineProperty(exports, "germany", { enumerable: true, get: function () { return countries_2.germany; } }); +Object.defineProperty(exports, "greece", { enumerable: true, get: function () { return countries_2.greece; } }); +Object.defineProperty(exports, "hungary", { enumerable: true, get: function () { return countries_2.hungary; } }); +Object.defineProperty(exports, "ireland", { enumerable: true, get: function () { return countries_2.ireland; } }); +Object.defineProperty(exports, "italy", { enumerable: true, get: function () { return countries_2.italy; } }); +Object.defineProperty(exports, "latvia", { enumerable: true, get: function () { return countries_2.latvia; } }); +Object.defineProperty(exports, "lithuania", { enumerable: true, get: function () { return countries_2.lithuania; } }); +Object.defineProperty(exports, "luxembourg", { enumerable: true, get: function () { return countries_2.luxembourg; } }); +Object.defineProperty(exports, "malta", { enumerable: true, get: function () { return countries_2.malta; } }); +Object.defineProperty(exports, "netherlands", { enumerable: true, get: function () { return countries_2.netherlands; } }); +Object.defineProperty(exports, "norway", { enumerable: true, get: function () { return countries_2.norway; } }); +Object.defineProperty(exports, "poland", { enumerable: true, get: function () { return countries_2.poland; } }); +Object.defineProperty(exports, "portugal", { enumerable: true, get: function () { return countries_2.portugal; } }); +Object.defineProperty(exports, "romania", { enumerable: true, get: function () { return countries_2.romania; } }); +Object.defineProperty(exports, "russia", { enumerable: true, get: function () { return countries_2.russia; } }); +Object.defineProperty(exports, "serbia", { enumerable: true, get: function () { return countries_2.serbia; } }); +Object.defineProperty(exports, "slovakiaRepublic", { enumerable: true, get: function () { return countries_2.slovakiaRepublic; } }); +Object.defineProperty(exports, "slovenia", { enumerable: true, get: function () { return countries_2.slovenia; } }); +Object.defineProperty(exports, "spain", { enumerable: true, get: function () { return countries_2.spain; } }); +Object.defineProperty(exports, "sweden", { enumerable: true, get: function () { return countries_2.sweden; } }); +Object.defineProperty(exports, "switzerland", { enumerable: true, get: function () { return countries_2.switzerland; } }); +Object.defineProperty(exports, "unitedKingdom", { enumerable: true, get: function () { return countries_2.unitedKingdom; } }); var jsvat_1 = require("./lib/jsvat"); -exports.checkVAT = jsvat_1.checkVAT; +Object.defineProperty(exports, "checkVAT", { enumerable: true, get: function () { return jsvat_1.checkVAT; } }); diff --git a/lib/commonjs/lib/countries/andorra.js b/lib/commonjs/lib/countries/andorra.js index 381516d..1fe72f7 100644 --- a/lib/commonjs/lib/countries/andorra.js +++ b/lib/commonjs/lib/countries/andorra.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.andorra = void 0; exports.andorra = { name: 'Andorra', codes: ['AD', 'AND', '020'], diff --git a/lib/commonjs/lib/countries/austria.js b/lib/commonjs/lib/countries/austria.js index a281c02..c6763e6 100644 --- a/lib/commonjs/lib/countries/austria.js +++ b/lib/commonjs/lib/countries/austria.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.austria = void 0; exports.austria = { name: 'Austria', codes: ['AT', 'AUT', '040'], diff --git a/lib/commonjs/lib/countries/belgium.js b/lib/commonjs/lib/countries/belgium.js index 0f944ca..54ea802 100644 --- a/lib/commonjs/lib/countries/belgium.js +++ b/lib/commonjs/lib/countries/belgium.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.belgium = void 0; exports.belgium = { name: 'Belgium', codes: ['BE', 'BEL', '056'], diff --git a/lib/commonjs/lib/countries/brazil.js b/lib/commonjs/lib/countries/brazil.js index 18b13cf..e4bf60f 100644 --- a/lib/commonjs/lib/countries/brazil.js +++ b/lib/commonjs/lib/countries/brazil.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.brazil = void 0; /** * Generate check sums. Multiply numbers to validators and sum them to generate * check sums, they're used to check if numbers are valid. @@ -10,29 +11,28 @@ var generateCheckSums = function (numbers, validators) { var initialCheckSums = [0, 0]; return validators.reduce(function (_a, validator, index) { var checkerA = _a[0], checkerB = _a[1]; - return [ - (index === 0) ? 0 : (checkerA + numbers[index - 1] * validator), - checkerB + numbers[index] * validator - ]; + return [index === 0 ? 0 : checkerA + numbers[index - 1] * validator, checkerB + numbers[index] * validator]; }, initialCheckSums); }; -var isRepeatedArray = function (varNumbers) { return varNumbers.every(function (varNumber) { return varNumbers[0] === varNumber; }); }; +var isRepeatedArray = function (varNumbers) { + return varNumbers.every(function (varNumber) { return varNumbers[0] === varNumber; }); +}; /** * Get remaining of 11 or `0` if lower than 2. * @param value - Value used remaining. */ -var getRemaining = function (value) { return (value % 11) < 2 ? 0 : 11 - (value % 11); }; +var getRemaining = function (value) { return (value % 11 < 2 ? 0 : 11 - (value % 11)); }; exports.brazil = { name: 'Brazil', codes: ['BR', 'BRA', '076'], calcFn: function (vat) { var numbers = vat.split('').map(Number); - if (isRepeatedArray(numbers)) + if (isRepeatedArray(numbers)) { return false; + } var validators = [6, 5, 4, 3, 2, 9, 8, 7, 6, 5, 4, 3, 2]; var checkers = generateCheckSums(numbers, validators); - return (numbers[12] === getRemaining(checkers[0]) && - numbers[13] === getRemaining(checkers[1])); + return numbers[12] === getRemaining(checkers[0]) && numbers[13] === getRemaining(checkers[1]); }, rules: { multipliers: {}, diff --git a/lib/commonjs/lib/countries/bulgaria.js b/lib/commonjs/lib/countries/bulgaria.js index f7e6378..ed35c1f 100644 --- a/lib/commonjs/lib/countries/bulgaria.js +++ b/lib/commonjs/lib/countries/bulgaria.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.bulgaria = void 0; exports.bulgaria = { name: 'Bulgaria', codes: ['BG', 'BGR', '100'], diff --git a/lib/commonjs/lib/countries/croatiat.js b/lib/commonjs/lib/countries/croatiat.js index 3d234df..0173fb6 100644 --- a/lib/commonjs/lib/countries/croatiat.js +++ b/lib/commonjs/lib/countries/croatiat.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.croatia = void 0; exports.croatia = { name: 'Croatia', codes: ['HR', 'HRV', '191'], diff --git a/lib/commonjs/lib/countries/cyprus.js b/lib/commonjs/lib/countries/cyprus.js index 9ba05d1..4bb168d 100644 --- a/lib/commonjs/lib/countries/cyprus.js +++ b/lib/commonjs/lib/countries/cyprus.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.cyprus = void 0; exports.cyprus = { name: 'Cyprus', codes: ['CY', 'CYP', '196'], diff --git a/lib/commonjs/lib/countries/czechRepublic.js b/lib/commonjs/lib/countries/czechRepublic.js index bd3a520..7ae989d 100644 --- a/lib/commonjs/lib/countries/czechRepublic.js +++ b/lib/commonjs/lib/countries/czechRepublic.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.czechRepublic = void 0; exports.czechRepublic = { name: 'Czech Republic', codes: ['CZ', 'CZE', '203'], diff --git a/lib/commonjs/lib/countries/denmark.js b/lib/commonjs/lib/countries/denmark.js index 4599ebe..5a2f880 100644 --- a/lib/commonjs/lib/countries/denmark.js +++ b/lib/commonjs/lib/countries/denmark.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.denmark = void 0; exports.denmark = { name: 'Denmark', codes: ['DK', 'DNK', '208'], diff --git a/lib/commonjs/lib/countries/estonia.js b/lib/commonjs/lib/countries/estonia.js index 2d17ed1..e0fed41 100644 --- a/lib/commonjs/lib/countries/estonia.js +++ b/lib/commonjs/lib/countries/estonia.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.estonia = void 0; exports.estonia = { name: 'Estonia', codes: ['EE', 'EST', '233'], diff --git a/lib/commonjs/lib/countries/europe.js b/lib/commonjs/lib/countries/europe.js index c6529b5..83b03aa 100644 --- a/lib/commonjs/lib/countries/europe.js +++ b/lib/commonjs/lib/countries/europe.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.europe = void 0; exports.europe = { name: 'Europe', codes: ['EU', 'EUR', '000'], diff --git a/lib/commonjs/lib/countries/finland.js b/lib/commonjs/lib/countries/finland.js index 71cc46e..4193a93 100644 --- a/lib/commonjs/lib/countries/finland.js +++ b/lib/commonjs/lib/countries/finland.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.finland = void 0; exports.finland = { name: 'Finland', codes: ['FI', 'FIN', '246'], diff --git a/lib/commonjs/lib/countries/france.js b/lib/commonjs/lib/countries/france.js index f331d71..cd07e47 100644 --- a/lib/commonjs/lib/countries/france.js +++ b/lib/commonjs/lib/countries/france.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.france = void 0; exports.france = { name: 'France', codes: ['FR', 'FRA', '250'], diff --git a/lib/commonjs/lib/countries/germany.js b/lib/commonjs/lib/countries/germany.js index b1c93aa..f2912c1 100644 --- a/lib/commonjs/lib/countries/germany.js +++ b/lib/commonjs/lib/countries/germany.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.germany = void 0; exports.germany = { name: 'Germany', codes: ['DE', 'DEU', '276'], diff --git a/lib/commonjs/lib/countries/greece.js b/lib/commonjs/lib/countries/greece.js index b9200fd..8eb7a3c 100644 --- a/lib/commonjs/lib/countries/greece.js +++ b/lib/commonjs/lib/countries/greece.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.greece = void 0; exports.greece = { name: 'Greece', codes: ['GR', 'GRC', '300'], diff --git a/lib/commonjs/lib/countries/hungary.js b/lib/commonjs/lib/countries/hungary.js index 9b4c5a4..91b78ab 100644 --- a/lib/commonjs/lib/countries/hungary.js +++ b/lib/commonjs/lib/countries/hungary.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.hungary = void 0; exports.hungary = { name: 'Hungary', codes: ['HU', 'HUN', '348'], diff --git a/lib/commonjs/lib/countries/index.js b/lib/commonjs/lib/countries/index.js index 72b56d0..c7d3031 100644 --- a/lib/commonjs/lib/countries/index.js +++ b/lib/commonjs/lib/countries/index.js @@ -1,72 +1,73 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.unitedKingdom = exports.switzerland = exports.sweden = exports.spain = exports.slovenia = exports.slovakiaRepublic = exports.serbia = exports.russia = exports.romania = exports.portugal = exports.poland = exports.norway = exports.netherlands = exports.malta = exports.luxembourg = exports.lithuania = exports.latvia = exports.italy = exports.ireland = exports.hungary = exports.greece = exports.germany = exports.france = exports.finland = exports.europe = exports.estonia = exports.denmark = exports.czechRepublic = exports.cyprus = exports.croatia = exports.bulgaria = exports.brazil = exports.belgium = exports.austria = exports.andorra = void 0; var andorra_1 = require("./andorra"); -exports.andorra = andorra_1.andorra; +Object.defineProperty(exports, "andorra", { enumerable: true, get: function () { return andorra_1.andorra; } }); var austria_1 = require("./austria"); -exports.austria = austria_1.austria; +Object.defineProperty(exports, "austria", { enumerable: true, get: function () { return austria_1.austria; } }); var belgium_1 = require("./belgium"); -exports.belgium = belgium_1.belgium; +Object.defineProperty(exports, "belgium", { enumerable: true, get: function () { return belgium_1.belgium; } }); var brazil_1 = require("./brazil"); -exports.brazil = brazil_1.brazil; +Object.defineProperty(exports, "brazil", { enumerable: true, get: function () { return brazil_1.brazil; } }); var bulgaria_1 = require("./bulgaria"); -exports.bulgaria = bulgaria_1.bulgaria; +Object.defineProperty(exports, "bulgaria", { enumerable: true, get: function () { return bulgaria_1.bulgaria; } }); var croatiat_1 = require("./croatiat"); -exports.croatia = croatiat_1.croatia; +Object.defineProperty(exports, "croatia", { enumerable: true, get: function () { return croatiat_1.croatia; } }); var cyprus_1 = require("./cyprus"); -exports.cyprus = cyprus_1.cyprus; +Object.defineProperty(exports, "cyprus", { enumerable: true, get: function () { return cyprus_1.cyprus; } }); var czechRepublic_1 = require("./czechRepublic"); -exports.czechRepublic = czechRepublic_1.czechRepublic; +Object.defineProperty(exports, "czechRepublic", { enumerable: true, get: function () { return czechRepublic_1.czechRepublic; } }); var denmark_1 = require("./denmark"); -exports.denmark = denmark_1.denmark; +Object.defineProperty(exports, "denmark", { enumerable: true, get: function () { return denmark_1.denmark; } }); var estonia_1 = require("./estonia"); -exports.estonia = estonia_1.estonia; +Object.defineProperty(exports, "estonia", { enumerable: true, get: function () { return estonia_1.estonia; } }); var europe_1 = require("./europe"); -exports.europe = europe_1.europe; +Object.defineProperty(exports, "europe", { enumerable: true, get: function () { return europe_1.europe; } }); var finland_1 = require("./finland"); -exports.finland = finland_1.finland; +Object.defineProperty(exports, "finland", { enumerable: true, get: function () { return finland_1.finland; } }); var france_1 = require("./france"); -exports.france = france_1.france; +Object.defineProperty(exports, "france", { enumerable: true, get: function () { return france_1.france; } }); var germany_1 = require("./germany"); -exports.germany = germany_1.germany; +Object.defineProperty(exports, "germany", { enumerable: true, get: function () { return germany_1.germany; } }); var greece_1 = require("./greece"); -exports.greece = greece_1.greece; +Object.defineProperty(exports, "greece", { enumerable: true, get: function () { return greece_1.greece; } }); var hungary_1 = require("./hungary"); -exports.hungary = hungary_1.hungary; +Object.defineProperty(exports, "hungary", { enumerable: true, get: function () { return hungary_1.hungary; } }); var ireland_1 = require("./ireland"); -exports.ireland = ireland_1.ireland; +Object.defineProperty(exports, "ireland", { enumerable: true, get: function () { return ireland_1.ireland; } }); var italy_1 = require("./italy"); -exports.italy = italy_1.italy; +Object.defineProperty(exports, "italy", { enumerable: true, get: function () { return italy_1.italy; } }); var latvia_1 = require("./latvia"); -exports.latvia = latvia_1.latvia; +Object.defineProperty(exports, "latvia", { enumerable: true, get: function () { return latvia_1.latvia; } }); var lithuania_1 = require("./lithuania"); -exports.lithuania = lithuania_1.lithuania; +Object.defineProperty(exports, "lithuania", { enumerable: true, get: function () { return lithuania_1.lithuania; } }); var luxembourg_1 = require("./luxembourg"); -exports.luxembourg = luxembourg_1.luxembourg; +Object.defineProperty(exports, "luxembourg", { enumerable: true, get: function () { return luxembourg_1.luxembourg; } }); var malta_1 = require("./malta"); -exports.malta = malta_1.malta; +Object.defineProperty(exports, "malta", { enumerable: true, get: function () { return malta_1.malta; } }); var netherlands_1 = require("./netherlands"); -exports.netherlands = netherlands_1.netherlands; +Object.defineProperty(exports, "netherlands", { enumerable: true, get: function () { return netherlands_1.netherlands; } }); var norway_1 = require("./norway"); -exports.norway = norway_1.norway; +Object.defineProperty(exports, "norway", { enumerable: true, get: function () { return norway_1.norway; } }); var poland_1 = require("./poland"); -exports.poland = poland_1.poland; +Object.defineProperty(exports, "poland", { enumerable: true, get: function () { return poland_1.poland; } }); var portugal_1 = require("./portugal"); -exports.portugal = portugal_1.portugal; +Object.defineProperty(exports, "portugal", { enumerable: true, get: function () { return portugal_1.portugal; } }); var romania_1 = require("./romania"); -exports.romania = romania_1.romania; +Object.defineProperty(exports, "romania", { enumerable: true, get: function () { return romania_1.romania; } }); var russia_1 = require("./russia"); -exports.russia = russia_1.russia; +Object.defineProperty(exports, "russia", { enumerable: true, get: function () { return russia_1.russia; } }); var serbia_1 = require("./serbia"); -exports.serbia = serbia_1.serbia; +Object.defineProperty(exports, "serbia", { enumerable: true, get: function () { return serbia_1.serbia; } }); var slovakiaRepublic_1 = require("./slovakiaRepublic"); -exports.slovakiaRepublic = slovakiaRepublic_1.slovakiaRepublic; +Object.defineProperty(exports, "slovakiaRepublic", { enumerable: true, get: function () { return slovakiaRepublic_1.slovakiaRepublic; } }); var slovenia_1 = require("./slovenia"); -exports.slovenia = slovenia_1.slovenia; +Object.defineProperty(exports, "slovenia", { enumerable: true, get: function () { return slovenia_1.slovenia; } }); var spain_1 = require("./spain"); -exports.spain = spain_1.spain; +Object.defineProperty(exports, "spain", { enumerable: true, get: function () { return spain_1.spain; } }); var sweden_1 = require("./sweden"); -exports.sweden = sweden_1.sweden; +Object.defineProperty(exports, "sweden", { enumerable: true, get: function () { return sweden_1.sweden; } }); var switzerland_1 = require("./switzerland"); -exports.switzerland = switzerland_1.switzerland; +Object.defineProperty(exports, "switzerland", { enumerable: true, get: function () { return switzerland_1.switzerland; } }); var unitedKingdom_1 = require("./unitedKingdom"); -exports.unitedKingdom = unitedKingdom_1.unitedKingdom; +Object.defineProperty(exports, "unitedKingdom", { enumerable: true, get: function () { return unitedKingdom_1.unitedKingdom; } }); diff --git a/lib/commonjs/lib/countries/ireland.js b/lib/commonjs/lib/countries/ireland.js index e01911f..2497314 100644 --- a/lib/commonjs/lib/countries/ireland.js +++ b/lib/commonjs/lib/countries/ireland.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.ireland = void 0; exports.ireland = { name: 'Ireland', codes: ['IE', 'IRL', '372'], diff --git a/lib/commonjs/lib/countries/italy.js b/lib/commonjs/lib/countries/italy.js index 04c28a4..e486799 100644 --- a/lib/commonjs/lib/countries/italy.js +++ b/lib/commonjs/lib/countries/italy.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.italy = void 0; exports.italy = { name: 'Italy', codes: ['IT', 'ITA', '380'], diff --git a/lib/commonjs/lib/countries/latvia.js b/lib/commonjs/lib/countries/latvia.js index 9733802..66f3e37 100644 --- a/lib/commonjs/lib/countries/latvia.js +++ b/lib/commonjs/lib/countries/latvia.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.latvia = void 0; exports.latvia = { name: 'Latvia', codes: ['LV', 'LVA', '428'], diff --git a/lib/commonjs/lib/countries/lithuania.js b/lib/commonjs/lib/countries/lithuania.js index a89c6c8..aaacf90 100644 --- a/lib/commonjs/lib/countries/lithuania.js +++ b/lib/commonjs/lib/countries/lithuania.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.lithuania = void 0; exports.lithuania = { name: 'Lithuania', codes: ['LT', 'LTU', '440'], diff --git a/lib/commonjs/lib/countries/luxembourg.js b/lib/commonjs/lib/countries/luxembourg.js index 55d0bb2..a3d8bac 100644 --- a/lib/commonjs/lib/countries/luxembourg.js +++ b/lib/commonjs/lib/countries/luxembourg.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.luxembourg = void 0; exports.luxembourg = { name: 'Luxembourg', codes: ['LU', 'LUX', '442'], diff --git a/lib/commonjs/lib/countries/malta.js b/lib/commonjs/lib/countries/malta.js index cc98b99..494cba8 100644 --- a/lib/commonjs/lib/countries/malta.js +++ b/lib/commonjs/lib/countries/malta.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.malta = void 0; exports.malta = { name: 'Malta', codes: ['MT', 'MLT', '470'], diff --git a/lib/commonjs/lib/countries/netherlands.js b/lib/commonjs/lib/countries/netherlands.js index 7f484c1..1b5d637 100644 --- a/lib/commonjs/lib/countries/netherlands.js +++ b/lib/commonjs/lib/countries/netherlands.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.netherlands = void 0; exports.netherlands = { name: 'Netherlands', codes: ['NL', 'NLD', '528'], diff --git a/lib/commonjs/lib/countries/norway.js b/lib/commonjs/lib/countries/norway.js index 03eaeec..c58cf71 100644 --- a/lib/commonjs/lib/countries/norway.js +++ b/lib/commonjs/lib/countries/norway.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.norway = void 0; exports.norway = { name: 'Norway', codes: ['NO', 'NOR', '578'], diff --git a/lib/commonjs/lib/countries/poland.js b/lib/commonjs/lib/countries/poland.js index 94c81c4..0be57bf 100644 --- a/lib/commonjs/lib/countries/poland.js +++ b/lib/commonjs/lib/countries/poland.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.poland = void 0; exports.poland = { name: 'Poland', codes: ['PL', 'POL', '616'], diff --git a/lib/commonjs/lib/countries/portugal.js b/lib/commonjs/lib/countries/portugal.js index 9972127..5219081 100644 --- a/lib/commonjs/lib/countries/portugal.js +++ b/lib/commonjs/lib/countries/portugal.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.portugal = void 0; exports.portugal = { name: 'Portugal', codes: ['PT', 'PRT', '620'], diff --git a/lib/commonjs/lib/countries/romania.js b/lib/commonjs/lib/countries/romania.js index 8d51b6f..08828cf 100644 --- a/lib/commonjs/lib/countries/romania.js +++ b/lib/commonjs/lib/countries/romania.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.romania = void 0; exports.romania = { name: 'Romania', codes: ['RO', 'ROU', '642'], diff --git a/lib/commonjs/lib/countries/russia.js b/lib/commonjs/lib/countries/russia.js index e9cd309..510ed07 100644 --- a/lib/commonjs/lib/countries/russia.js +++ b/lib/commonjs/lib/countries/russia.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.russia = void 0; exports.russia = { name: 'Russian Federation', codes: ['RU', 'RUS', '643'], diff --git a/lib/commonjs/lib/countries/serbia.js b/lib/commonjs/lib/countries/serbia.js index 124ca78..2be5990 100644 --- a/lib/commonjs/lib/countries/serbia.js +++ b/lib/commonjs/lib/countries/serbia.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.serbia = void 0; exports.serbia = { name: 'Serbia', codes: ['RS', 'SRB', '688'], diff --git a/lib/commonjs/lib/countries/slovakiaRepublic.js b/lib/commonjs/lib/countries/slovakiaRepublic.js index 9aa8a19..6c1b49f 100644 --- a/lib/commonjs/lib/countries/slovakiaRepublic.js +++ b/lib/commonjs/lib/countries/slovakiaRepublic.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.slovakiaRepublic = void 0; exports.slovakiaRepublic = { name: 'Slovakia Republic', codes: ['SK', 'SVK', '703'], diff --git a/lib/commonjs/lib/countries/slovenia.js b/lib/commonjs/lib/countries/slovenia.js index b335c80..4cd848a 100644 --- a/lib/commonjs/lib/countries/slovenia.js +++ b/lib/commonjs/lib/countries/slovenia.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.slovenia = void 0; exports.slovenia = { name: 'Slovenia', codes: ['SI', 'SVN', '705'], diff --git a/lib/commonjs/lib/countries/spain.js b/lib/commonjs/lib/countries/spain.js index fdd813d..5d25fb6 100644 --- a/lib/commonjs/lib/countries/spain.js +++ b/lib/commonjs/lib/countries/spain.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.spain = void 0; exports.spain = { name: 'Spain', codes: ['ES', 'ESP', '724'], diff --git a/lib/commonjs/lib/countries/sweden.js b/lib/commonjs/lib/countries/sweden.js index bf62805..65ce9af 100644 --- a/lib/commonjs/lib/countries/sweden.js +++ b/lib/commonjs/lib/countries/sweden.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.sweden = void 0; exports.sweden = { name: 'Sweden', codes: ['SE', 'SWE', '752'], diff --git a/lib/commonjs/lib/countries/switzerland.js b/lib/commonjs/lib/countries/switzerland.js index 79043e8..6046f85 100644 --- a/lib/commonjs/lib/countries/switzerland.js +++ b/lib/commonjs/lib/countries/switzerland.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.switzerland = void 0; exports.switzerland = { name: 'Switzerland', codes: ['CH', 'CHE', '756'], diff --git a/lib/commonjs/lib/countries/unitedKingdom.js b/lib/commonjs/lib/countries/unitedKingdom.js index 8f3a2e8..69a4626 100644 --- a/lib/commonjs/lib/countries/unitedKingdom.js +++ b/lib/commonjs/lib/countries/unitedKingdom.js @@ -1,5 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +exports.unitedKingdom = void 0; exports.unitedKingdom = { name: 'United Kingdom', codes: ['GB', 'GBR', '826'], diff --git a/lib/commonjs/lib/jsvat.js b/lib/commonjs/lib/jsvat.js index 6184f7c..19b4af9 100644 --- a/lib/commonjs/lib/jsvat.js +++ b/lib/commonjs/lib/jsvat.js @@ -18,6 +18,7 @@ var __spreadArrays = (this && this.__spreadArrays) || function () { return r; }; Object.defineProperty(exports, "__esModule", { value: true }); +exports.checkVAT = void 0; var countries_1 = require("./countries"); function makeResult(vat, isValid, country) { return { diff --git a/lib/es6/lib/countries/brazil.js b/lib/es6/lib/countries/brazil.js index 66ceeca..a25bb7e 100644 --- a/lib/es6/lib/countries/brazil.js +++ b/lib/es6/lib/countries/brazil.js @@ -6,28 +6,25 @@ */ const generateCheckSums = (numbers, validators) => { const initialCheckSums = [0, 0]; - return validators.reduce(([checkerA, checkerB], validator, index) => [ - (index === 0) ? 0 : (checkerA + numbers[index - 1] * validator), - checkerB + numbers[index] * validator - ], initialCheckSums); + return validators.reduce(([checkerA, checkerB], validator, index) => [index === 0 ? 0 : checkerA + numbers[index - 1] * validator, checkerB + numbers[index] * validator], initialCheckSums); }; const isRepeatedArray = (varNumbers) => varNumbers.every((varNumber) => varNumbers[0] === varNumber); /** * Get remaining of 11 or `0` if lower than 2. * @param value - Value used remaining. */ -const getRemaining = (value) => (value % 11) < 2 ? 0 : 11 - (value % 11); +const getRemaining = (value) => (value % 11 < 2 ? 0 : 11 - (value % 11)); export const brazil = { name: 'Brazil', codes: ['BR', 'BRA', '076'], calcFn: (vat) => { const numbers = vat.split('').map(Number); - if (isRepeatedArray(numbers)) + if (isRepeatedArray(numbers)) { return false; + } const validators = [6, 5, 4, 3, 2, 9, 8, 7, 6, 5, 4, 3, 2]; const checkers = generateCheckSums(numbers, validators); - return (numbers[12] === getRemaining(checkers[0]) && - numbers[13] === getRemaining(checkers[1])); + return numbers[12] === getRemaining(checkers[0]) && numbers[13] === getRemaining(checkers[1]); }, rules: { multipliers: {}, diff --git a/lib/system/lib/countries/brazil.js b/lib/system/lib/countries/brazil.js index 7384eaa..bfd80f3 100644 --- a/lib/system/lib/countries/brazil.js +++ b/lib/system/lib/countries/brazil.js @@ -13,28 +13,25 @@ System.register([], function (exports_1, context_1) { */ generateCheckSums = (numbers, validators) => { const initialCheckSums = [0, 0]; - return validators.reduce(([checkerA, checkerB], validator, index) => [ - (index === 0) ? 0 : (checkerA + numbers[index - 1] * validator), - checkerB + numbers[index] * validator - ], initialCheckSums); + return validators.reduce(([checkerA, checkerB], validator, index) => [index === 0 ? 0 : checkerA + numbers[index - 1] * validator, checkerB + numbers[index] * validator], initialCheckSums); }; isRepeatedArray = (varNumbers) => varNumbers.every((varNumber) => varNumbers[0] === varNumber); /** * Get remaining of 11 or `0` if lower than 2. * @param value - Value used remaining. */ - getRemaining = (value) => (value % 11) < 2 ? 0 : 11 - (value % 11); + getRemaining = (value) => (value % 11 < 2 ? 0 : 11 - (value % 11)); exports_1("brazil", brazil = { name: 'Brazil', codes: ['BR', 'BRA', '076'], calcFn: (vat) => { const numbers = vat.split('').map(Number); - if (isRepeatedArray(numbers)) + if (isRepeatedArray(numbers)) { return false; + } const validators = [6, 5, 4, 3, 2, 9, 8, 7, 6, 5, 4, 3, 2]; const checkers = generateCheckSums(numbers, validators); - return (numbers[12] === getRemaining(checkers[0]) && - numbers[13] === getRemaining(checkers[1])); + return numbers[12] === getRemaining(checkers[0]) && numbers[13] === getRemaining(checkers[1]); }, rules: { multipliers: {}, diff --git a/lib/umd/index.js b/lib/umd/index.js index f37e45c..f7ec730 100644 --- a/lib/umd/index.js +++ b/lib/umd/index.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.checkVAT = exports.unitedKingdom = exports.switzerland = exports.sweden = exports.spain = exports.slovenia = exports.slovakiaRepublic = exports.serbia = exports.russia = exports.romania = exports.portugal = exports.poland = exports.norway = exports.netherlands = exports.malta = exports.luxembourg = exports.lithuania = exports.latvia = exports.italy = exports.ireland = exports.hungary = exports.greece = exports.germany = exports.france = exports.finland = exports.europe = exports.estonia = exports.denmark = exports.czechRepublic = exports.cyprus = exports.croatia = exports.bulgaria = exports.brazil = exports.belgium = exports.austria = exports.andorra = exports.countries = void 0; const countries_1 = require("./lib/countries"); exports.countries = [ countries_1.andorra, @@ -48,41 +49,41 @@ countries_1.unitedKingdom ]; var countries_2 = require("./lib/countries"); - exports.andorra = countries_2.andorra; - exports.austria = countries_2.austria; - exports.belgium = countries_2.belgium; - exports.brazil = countries_2.brazil; - exports.bulgaria = countries_2.bulgaria; - exports.croatia = countries_2.croatia; - exports.cyprus = countries_2.cyprus; - exports.czechRepublic = countries_2.czechRepublic; - exports.denmark = countries_2.denmark; - exports.estonia = countries_2.estonia; - exports.europe = countries_2.europe; - exports.finland = countries_2.finland; - exports.france = countries_2.france; - exports.germany = countries_2.germany; - exports.greece = countries_2.greece; - exports.hungary = countries_2.hungary; - exports.ireland = countries_2.ireland; - exports.italy = countries_2.italy; - exports.latvia = countries_2.latvia; - exports.lithuania = countries_2.lithuania; - exports.luxembourg = countries_2.luxembourg; - exports.malta = countries_2.malta; - exports.netherlands = countries_2.netherlands; - exports.norway = countries_2.norway; - exports.poland = countries_2.poland; - exports.portugal = countries_2.portugal; - exports.romania = countries_2.romania; - exports.russia = countries_2.russia; - exports.serbia = countries_2.serbia; - exports.slovakiaRepublic = countries_2.slovakiaRepublic; - exports.slovenia = countries_2.slovenia; - exports.spain = countries_2.spain; - exports.sweden = countries_2.sweden; - exports.switzerland = countries_2.switzerland; - exports.unitedKingdom = countries_2.unitedKingdom; + Object.defineProperty(exports, "andorra", { enumerable: true, get: function () { return countries_2.andorra; } }); + Object.defineProperty(exports, "austria", { enumerable: true, get: function () { return countries_2.austria; } }); + Object.defineProperty(exports, "belgium", { enumerable: true, get: function () { return countries_2.belgium; } }); + Object.defineProperty(exports, "brazil", { enumerable: true, get: function () { return countries_2.brazil; } }); + Object.defineProperty(exports, "bulgaria", { enumerable: true, get: function () { return countries_2.bulgaria; } }); + Object.defineProperty(exports, "croatia", { enumerable: true, get: function () { return countries_2.croatia; } }); + Object.defineProperty(exports, "cyprus", { enumerable: true, get: function () { return countries_2.cyprus; } }); + Object.defineProperty(exports, "czechRepublic", { enumerable: true, get: function () { return countries_2.czechRepublic; } }); + Object.defineProperty(exports, "denmark", { enumerable: true, get: function () { return countries_2.denmark; } }); + Object.defineProperty(exports, "estonia", { enumerable: true, get: function () { return countries_2.estonia; } }); + Object.defineProperty(exports, "europe", { enumerable: true, get: function () { return countries_2.europe; } }); + Object.defineProperty(exports, "finland", { enumerable: true, get: function () { return countries_2.finland; } }); + Object.defineProperty(exports, "france", { enumerable: true, get: function () { return countries_2.france; } }); + Object.defineProperty(exports, "germany", { enumerable: true, get: function () { return countries_2.germany; } }); + Object.defineProperty(exports, "greece", { enumerable: true, get: function () { return countries_2.greece; } }); + Object.defineProperty(exports, "hungary", { enumerable: true, get: function () { return countries_2.hungary; } }); + Object.defineProperty(exports, "ireland", { enumerable: true, get: function () { return countries_2.ireland; } }); + Object.defineProperty(exports, "italy", { enumerable: true, get: function () { return countries_2.italy; } }); + Object.defineProperty(exports, "latvia", { enumerable: true, get: function () { return countries_2.latvia; } }); + Object.defineProperty(exports, "lithuania", { enumerable: true, get: function () { return countries_2.lithuania; } }); + Object.defineProperty(exports, "luxembourg", { enumerable: true, get: function () { return countries_2.luxembourg; } }); + Object.defineProperty(exports, "malta", { enumerable: true, get: function () { return countries_2.malta; } }); + Object.defineProperty(exports, "netherlands", { enumerable: true, get: function () { return countries_2.netherlands; } }); + Object.defineProperty(exports, "norway", { enumerable: true, get: function () { return countries_2.norway; } }); + Object.defineProperty(exports, "poland", { enumerable: true, get: function () { return countries_2.poland; } }); + Object.defineProperty(exports, "portugal", { enumerable: true, get: function () { return countries_2.portugal; } }); + Object.defineProperty(exports, "romania", { enumerable: true, get: function () { return countries_2.romania; } }); + Object.defineProperty(exports, "russia", { enumerable: true, get: function () { return countries_2.russia; } }); + Object.defineProperty(exports, "serbia", { enumerable: true, get: function () { return countries_2.serbia; } }); + Object.defineProperty(exports, "slovakiaRepublic", { enumerable: true, get: function () { return countries_2.slovakiaRepublic; } }); + Object.defineProperty(exports, "slovenia", { enumerable: true, get: function () { return countries_2.slovenia; } }); + Object.defineProperty(exports, "spain", { enumerable: true, get: function () { return countries_2.spain; } }); + Object.defineProperty(exports, "sweden", { enumerable: true, get: function () { return countries_2.sweden; } }); + Object.defineProperty(exports, "switzerland", { enumerable: true, get: function () { return countries_2.switzerland; } }); + Object.defineProperty(exports, "unitedKingdom", { enumerable: true, get: function () { return countries_2.unitedKingdom; } }); var jsvat_1 = require("./lib/jsvat"); - exports.checkVAT = jsvat_1.checkVAT; + Object.defineProperty(exports, "checkVAT", { enumerable: true, get: function () { return jsvat_1.checkVAT; } }); }); diff --git a/lib/umd/lib/countries/andorra.js b/lib/umd/lib/countries/andorra.js index 55d2f35..d7b9684 100644 --- a/lib/umd/lib/countries/andorra.js +++ b/lib/umd/lib/countries/andorra.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.andorra = void 0; exports.andorra = { name: 'Andorra', codes: ['AD', 'AND', '020'], diff --git a/lib/umd/lib/countries/austria.js b/lib/umd/lib/countries/austria.js index acbe158..92c1a58 100644 --- a/lib/umd/lib/countries/austria.js +++ b/lib/umd/lib/countries/austria.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.austria = void 0; exports.austria = { name: 'Austria', codes: ['AT', 'AUT', '040'], diff --git a/lib/umd/lib/countries/belgium.js b/lib/umd/lib/countries/belgium.js index df6c77f..1de0ff5 100644 --- a/lib/umd/lib/countries/belgium.js +++ b/lib/umd/lib/countries/belgium.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.belgium = void 0; exports.belgium = { name: 'Belgium', codes: ['BE', 'BEL', '056'], diff --git a/lib/umd/lib/countries/brazil.js b/lib/umd/lib/countries/brazil.js index 68644b5..74430a7 100644 --- a/lib/umd/lib/countries/brazil.js +++ b/lib/umd/lib/countries/brazil.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.brazil = void 0; /** * Generate check sums. Multiply numbers to validators and sum them to generate * check sums, they're used to check if numbers are valid. @@ -17,28 +18,25 @@ */ const generateCheckSums = (numbers, validators) => { const initialCheckSums = [0, 0]; - return validators.reduce(([checkerA, checkerB], validator, index) => [ - (index === 0) ? 0 : (checkerA + numbers[index - 1] * validator), - checkerB + numbers[index] * validator - ], initialCheckSums); + return validators.reduce(([checkerA, checkerB], validator, index) => [index === 0 ? 0 : checkerA + numbers[index - 1] * validator, checkerB + numbers[index] * validator], initialCheckSums); }; const isRepeatedArray = (varNumbers) => varNumbers.every((varNumber) => varNumbers[0] === varNumber); /** * Get remaining of 11 or `0` if lower than 2. * @param value - Value used remaining. */ - const getRemaining = (value) => (value % 11) < 2 ? 0 : 11 - (value % 11); + const getRemaining = (value) => (value % 11 < 2 ? 0 : 11 - (value % 11)); exports.brazil = { name: 'Brazil', codes: ['BR', 'BRA', '076'], calcFn: (vat) => { const numbers = vat.split('').map(Number); - if (isRepeatedArray(numbers)) + if (isRepeatedArray(numbers)) { return false; + } const validators = [6, 5, 4, 3, 2, 9, 8, 7, 6, 5, 4, 3, 2]; const checkers = generateCheckSums(numbers, validators); - return (numbers[12] === getRemaining(checkers[0]) && - numbers[13] === getRemaining(checkers[1])); + return numbers[12] === getRemaining(checkers[0]) && numbers[13] === getRemaining(checkers[1]); }, rules: { multipliers: {}, diff --git a/lib/umd/lib/countries/bulgaria.js b/lib/umd/lib/countries/bulgaria.js index d704c74..23b1eca 100644 --- a/lib/umd/lib/countries/bulgaria.js +++ b/lib/umd/lib/countries/bulgaria.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.bulgaria = void 0; exports.bulgaria = { name: 'Bulgaria', codes: ['BG', 'BGR', '100'], diff --git a/lib/umd/lib/countries/croatiat.js b/lib/umd/lib/countries/croatiat.js index 0c17a83..cf19743 100644 --- a/lib/umd/lib/countries/croatiat.js +++ b/lib/umd/lib/countries/croatiat.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.croatia = void 0; exports.croatia = { name: 'Croatia', codes: ['HR', 'HRV', '191'], diff --git a/lib/umd/lib/countries/cyprus.js b/lib/umd/lib/countries/cyprus.js index adceaaf..622a302 100644 --- a/lib/umd/lib/countries/cyprus.js +++ b/lib/umd/lib/countries/cyprus.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.cyprus = void 0; exports.cyprus = { name: 'Cyprus', codes: ['CY', 'CYP', '196'], diff --git a/lib/umd/lib/countries/czechRepublic.js b/lib/umd/lib/countries/czechRepublic.js index 88d1fa8..03e7e7f 100644 --- a/lib/umd/lib/countries/czechRepublic.js +++ b/lib/umd/lib/countries/czechRepublic.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.czechRepublic = void 0; exports.czechRepublic = { name: 'Czech Republic', codes: ['CZ', 'CZE', '203'], diff --git a/lib/umd/lib/countries/denmark.js b/lib/umd/lib/countries/denmark.js index acf0cf9..add64b1 100644 --- a/lib/umd/lib/countries/denmark.js +++ b/lib/umd/lib/countries/denmark.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.denmark = void 0; exports.denmark = { name: 'Denmark', codes: ['DK', 'DNK', '208'], diff --git a/lib/umd/lib/countries/estonia.js b/lib/umd/lib/countries/estonia.js index edc7601..af8e086 100644 --- a/lib/umd/lib/countries/estonia.js +++ b/lib/umd/lib/countries/estonia.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.estonia = void 0; exports.estonia = { name: 'Estonia', codes: ['EE', 'EST', '233'], diff --git a/lib/umd/lib/countries/europe.js b/lib/umd/lib/countries/europe.js index 1b5d163..472f571 100644 --- a/lib/umd/lib/countries/europe.js +++ b/lib/umd/lib/countries/europe.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.europe = void 0; exports.europe = { name: 'Europe', codes: ['EU', 'EUR', '000'], diff --git a/lib/umd/lib/countries/finland.js b/lib/umd/lib/countries/finland.js index 30fb1de..e38707f 100644 --- a/lib/umd/lib/countries/finland.js +++ b/lib/umd/lib/countries/finland.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.finland = void 0; exports.finland = { name: 'Finland', codes: ['FI', 'FIN', '246'], diff --git a/lib/umd/lib/countries/france.js b/lib/umd/lib/countries/france.js index af88eef..1de84b7 100644 --- a/lib/umd/lib/countries/france.js +++ b/lib/umd/lib/countries/france.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.france = void 0; exports.france = { name: 'France', codes: ['FR', 'FRA', '250'], diff --git a/lib/umd/lib/countries/germany.js b/lib/umd/lib/countries/germany.js index 3149467..fd68ce6 100644 --- a/lib/umd/lib/countries/germany.js +++ b/lib/umd/lib/countries/germany.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.germany = void 0; exports.germany = { name: 'Germany', codes: ['DE', 'DEU', '276'], diff --git a/lib/umd/lib/countries/greece.js b/lib/umd/lib/countries/greece.js index 158c354..d947ac1 100644 --- a/lib/umd/lib/countries/greece.js +++ b/lib/umd/lib/countries/greece.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.greece = void 0; exports.greece = { name: 'Greece', codes: ['GR', 'GRC', '300'], diff --git a/lib/umd/lib/countries/hungary.js b/lib/umd/lib/countries/hungary.js index e2a29d0..f6796d8 100644 --- a/lib/umd/lib/countries/hungary.js +++ b/lib/umd/lib/countries/hungary.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.hungary = void 0; exports.hungary = { name: 'Hungary', codes: ['HU', 'HUN', '348'], diff --git a/lib/umd/lib/countries/index.js b/lib/umd/lib/countries/index.js index a93b599..5d1ae80 100644 --- a/lib/umd/lib/countries/index.js +++ b/lib/umd/lib/countries/index.js @@ -9,74 +9,75 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.unitedKingdom = exports.switzerland = exports.sweden = exports.spain = exports.slovenia = exports.slovakiaRepublic = exports.serbia = exports.russia = exports.romania = exports.portugal = exports.poland = exports.norway = exports.netherlands = exports.malta = exports.luxembourg = exports.lithuania = exports.latvia = exports.italy = exports.ireland = exports.hungary = exports.greece = exports.germany = exports.france = exports.finland = exports.europe = exports.estonia = exports.denmark = exports.czechRepublic = exports.cyprus = exports.croatia = exports.bulgaria = exports.brazil = exports.belgium = exports.austria = exports.andorra = void 0; var andorra_1 = require("./andorra"); - exports.andorra = andorra_1.andorra; + Object.defineProperty(exports, "andorra", { enumerable: true, get: function () { return andorra_1.andorra; } }); var austria_1 = require("./austria"); - exports.austria = austria_1.austria; + Object.defineProperty(exports, "austria", { enumerable: true, get: function () { return austria_1.austria; } }); var belgium_1 = require("./belgium"); - exports.belgium = belgium_1.belgium; + Object.defineProperty(exports, "belgium", { enumerable: true, get: function () { return belgium_1.belgium; } }); var brazil_1 = require("./brazil"); - exports.brazil = brazil_1.brazil; + Object.defineProperty(exports, "brazil", { enumerable: true, get: function () { return brazil_1.brazil; } }); var bulgaria_1 = require("./bulgaria"); - exports.bulgaria = bulgaria_1.bulgaria; + Object.defineProperty(exports, "bulgaria", { enumerable: true, get: function () { return bulgaria_1.bulgaria; } }); var croatiat_1 = require("./croatiat"); - exports.croatia = croatiat_1.croatia; + Object.defineProperty(exports, "croatia", { enumerable: true, get: function () { return croatiat_1.croatia; } }); var cyprus_1 = require("./cyprus"); - exports.cyprus = cyprus_1.cyprus; + Object.defineProperty(exports, "cyprus", { enumerable: true, get: function () { return cyprus_1.cyprus; } }); var czechRepublic_1 = require("./czechRepublic"); - exports.czechRepublic = czechRepublic_1.czechRepublic; + Object.defineProperty(exports, "czechRepublic", { enumerable: true, get: function () { return czechRepublic_1.czechRepublic; } }); var denmark_1 = require("./denmark"); - exports.denmark = denmark_1.denmark; + Object.defineProperty(exports, "denmark", { enumerable: true, get: function () { return denmark_1.denmark; } }); var estonia_1 = require("./estonia"); - exports.estonia = estonia_1.estonia; + Object.defineProperty(exports, "estonia", { enumerable: true, get: function () { return estonia_1.estonia; } }); var europe_1 = require("./europe"); - exports.europe = europe_1.europe; + Object.defineProperty(exports, "europe", { enumerable: true, get: function () { return europe_1.europe; } }); var finland_1 = require("./finland"); - exports.finland = finland_1.finland; + Object.defineProperty(exports, "finland", { enumerable: true, get: function () { return finland_1.finland; } }); var france_1 = require("./france"); - exports.france = france_1.france; + Object.defineProperty(exports, "france", { enumerable: true, get: function () { return france_1.france; } }); var germany_1 = require("./germany"); - exports.germany = germany_1.germany; + Object.defineProperty(exports, "germany", { enumerable: true, get: function () { return germany_1.germany; } }); var greece_1 = require("./greece"); - exports.greece = greece_1.greece; + Object.defineProperty(exports, "greece", { enumerable: true, get: function () { return greece_1.greece; } }); var hungary_1 = require("./hungary"); - exports.hungary = hungary_1.hungary; + Object.defineProperty(exports, "hungary", { enumerable: true, get: function () { return hungary_1.hungary; } }); var ireland_1 = require("./ireland"); - exports.ireland = ireland_1.ireland; + Object.defineProperty(exports, "ireland", { enumerable: true, get: function () { return ireland_1.ireland; } }); var italy_1 = require("./italy"); - exports.italy = italy_1.italy; + Object.defineProperty(exports, "italy", { enumerable: true, get: function () { return italy_1.italy; } }); var latvia_1 = require("./latvia"); - exports.latvia = latvia_1.latvia; + Object.defineProperty(exports, "latvia", { enumerable: true, get: function () { return latvia_1.latvia; } }); var lithuania_1 = require("./lithuania"); - exports.lithuania = lithuania_1.lithuania; + Object.defineProperty(exports, "lithuania", { enumerable: true, get: function () { return lithuania_1.lithuania; } }); var luxembourg_1 = require("./luxembourg"); - exports.luxembourg = luxembourg_1.luxembourg; + Object.defineProperty(exports, "luxembourg", { enumerable: true, get: function () { return luxembourg_1.luxembourg; } }); var malta_1 = require("./malta"); - exports.malta = malta_1.malta; + Object.defineProperty(exports, "malta", { enumerable: true, get: function () { return malta_1.malta; } }); var netherlands_1 = require("./netherlands"); - exports.netherlands = netherlands_1.netherlands; + Object.defineProperty(exports, "netherlands", { enumerable: true, get: function () { return netherlands_1.netherlands; } }); var norway_1 = require("./norway"); - exports.norway = norway_1.norway; + Object.defineProperty(exports, "norway", { enumerable: true, get: function () { return norway_1.norway; } }); var poland_1 = require("./poland"); - exports.poland = poland_1.poland; + Object.defineProperty(exports, "poland", { enumerable: true, get: function () { return poland_1.poland; } }); var portugal_1 = require("./portugal"); - exports.portugal = portugal_1.portugal; + Object.defineProperty(exports, "portugal", { enumerable: true, get: function () { return portugal_1.portugal; } }); var romania_1 = require("./romania"); - exports.romania = romania_1.romania; + Object.defineProperty(exports, "romania", { enumerable: true, get: function () { return romania_1.romania; } }); var russia_1 = require("./russia"); - exports.russia = russia_1.russia; + Object.defineProperty(exports, "russia", { enumerable: true, get: function () { return russia_1.russia; } }); var serbia_1 = require("./serbia"); - exports.serbia = serbia_1.serbia; + Object.defineProperty(exports, "serbia", { enumerable: true, get: function () { return serbia_1.serbia; } }); var slovakiaRepublic_1 = require("./slovakiaRepublic"); - exports.slovakiaRepublic = slovakiaRepublic_1.slovakiaRepublic; + Object.defineProperty(exports, "slovakiaRepublic", { enumerable: true, get: function () { return slovakiaRepublic_1.slovakiaRepublic; } }); var slovenia_1 = require("./slovenia"); - exports.slovenia = slovenia_1.slovenia; + Object.defineProperty(exports, "slovenia", { enumerable: true, get: function () { return slovenia_1.slovenia; } }); var spain_1 = require("./spain"); - exports.spain = spain_1.spain; + Object.defineProperty(exports, "spain", { enumerable: true, get: function () { return spain_1.spain; } }); var sweden_1 = require("./sweden"); - exports.sweden = sweden_1.sweden; + Object.defineProperty(exports, "sweden", { enumerable: true, get: function () { return sweden_1.sweden; } }); var switzerland_1 = require("./switzerland"); - exports.switzerland = switzerland_1.switzerland; + Object.defineProperty(exports, "switzerland", { enumerable: true, get: function () { return switzerland_1.switzerland; } }); var unitedKingdom_1 = require("./unitedKingdom"); - exports.unitedKingdom = unitedKingdom_1.unitedKingdom; + Object.defineProperty(exports, "unitedKingdom", { enumerable: true, get: function () { return unitedKingdom_1.unitedKingdom; } }); }); diff --git a/lib/umd/lib/countries/ireland.js b/lib/umd/lib/countries/ireland.js index 9fbdb6e..eb4c96c 100644 --- a/lib/umd/lib/countries/ireland.js +++ b/lib/umd/lib/countries/ireland.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.ireland = void 0; exports.ireland = { name: 'Ireland', codes: ['IE', 'IRL', '372'], diff --git a/lib/umd/lib/countries/italy.js b/lib/umd/lib/countries/italy.js index ebae42c..b8d0248 100644 --- a/lib/umd/lib/countries/italy.js +++ b/lib/umd/lib/countries/italy.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.italy = void 0; exports.italy = { name: 'Italy', codes: ['IT', 'ITA', '380'], diff --git a/lib/umd/lib/countries/latvia.js b/lib/umd/lib/countries/latvia.js index 127bda2..79791f3 100644 --- a/lib/umd/lib/countries/latvia.js +++ b/lib/umd/lib/countries/latvia.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.latvia = void 0; exports.latvia = { name: 'Latvia', codes: ['LV', 'LVA', '428'], diff --git a/lib/umd/lib/countries/lithuania.js b/lib/umd/lib/countries/lithuania.js index ccd4db2..6c3ae56 100644 --- a/lib/umd/lib/countries/lithuania.js +++ b/lib/umd/lib/countries/lithuania.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.lithuania = void 0; exports.lithuania = { name: 'Lithuania', codes: ['LT', 'LTU', '440'], diff --git a/lib/umd/lib/countries/luxembourg.js b/lib/umd/lib/countries/luxembourg.js index 012ace5..df028a2 100644 --- a/lib/umd/lib/countries/luxembourg.js +++ b/lib/umd/lib/countries/luxembourg.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.luxembourg = void 0; exports.luxembourg = { name: 'Luxembourg', codes: ['LU', 'LUX', '442'], diff --git a/lib/umd/lib/countries/malta.js b/lib/umd/lib/countries/malta.js index 4987e2e..19fb96e 100644 --- a/lib/umd/lib/countries/malta.js +++ b/lib/umd/lib/countries/malta.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.malta = void 0; exports.malta = { name: 'Malta', codes: ['MT', 'MLT', '470'], diff --git a/lib/umd/lib/countries/netherlands.js b/lib/umd/lib/countries/netherlands.js index 455d207..a02f6eb 100644 --- a/lib/umd/lib/countries/netherlands.js +++ b/lib/umd/lib/countries/netherlands.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.netherlands = void 0; exports.netherlands = { name: 'Netherlands', codes: ['NL', 'NLD', '528'], diff --git a/lib/umd/lib/countries/norway.js b/lib/umd/lib/countries/norway.js index 175f6ec..fa79aea 100644 --- a/lib/umd/lib/countries/norway.js +++ b/lib/umd/lib/countries/norway.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.norway = void 0; exports.norway = { name: 'Norway', codes: ['NO', 'NOR', '578'], diff --git a/lib/umd/lib/countries/poland.js b/lib/umd/lib/countries/poland.js index 58dcbaf..dbc6f42 100644 --- a/lib/umd/lib/countries/poland.js +++ b/lib/umd/lib/countries/poland.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.poland = void 0; exports.poland = { name: 'Poland', codes: ['PL', 'POL', '616'], diff --git a/lib/umd/lib/countries/portugal.js b/lib/umd/lib/countries/portugal.js index 9e20259..96c99a6 100644 --- a/lib/umd/lib/countries/portugal.js +++ b/lib/umd/lib/countries/portugal.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.portugal = void 0; exports.portugal = { name: 'Portugal', codes: ['PT', 'PRT', '620'], diff --git a/lib/umd/lib/countries/romania.js b/lib/umd/lib/countries/romania.js index 448dcd9..39579b2 100644 --- a/lib/umd/lib/countries/romania.js +++ b/lib/umd/lib/countries/romania.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.romania = void 0; exports.romania = { name: 'Romania', codes: ['RO', 'ROU', '642'], diff --git a/lib/umd/lib/countries/russia.js b/lib/umd/lib/countries/russia.js index 480a91e..d3251aa 100644 --- a/lib/umd/lib/countries/russia.js +++ b/lib/umd/lib/countries/russia.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.russia = void 0; exports.russia = { name: 'Russian Federation', codes: ['RU', 'RUS', '643'], diff --git a/lib/umd/lib/countries/serbia.js b/lib/umd/lib/countries/serbia.js index ddf4c87..fc1c132 100644 --- a/lib/umd/lib/countries/serbia.js +++ b/lib/umd/lib/countries/serbia.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.serbia = void 0; exports.serbia = { name: 'Serbia', codes: ['RS', 'SRB', '688'], diff --git a/lib/umd/lib/countries/slovakiaRepublic.js b/lib/umd/lib/countries/slovakiaRepublic.js index 919b32b..e9ec9c6 100644 --- a/lib/umd/lib/countries/slovakiaRepublic.js +++ b/lib/umd/lib/countries/slovakiaRepublic.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.slovakiaRepublic = void 0; exports.slovakiaRepublic = { name: 'Slovakia Republic', codes: ['SK', 'SVK', '703'], diff --git a/lib/umd/lib/countries/slovenia.js b/lib/umd/lib/countries/slovenia.js index 6ea5a4e..5260cc8 100644 --- a/lib/umd/lib/countries/slovenia.js +++ b/lib/umd/lib/countries/slovenia.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.slovenia = void 0; exports.slovenia = { name: 'Slovenia', codes: ['SI', 'SVN', '705'], diff --git a/lib/umd/lib/countries/spain.js b/lib/umd/lib/countries/spain.js index b6a3100..0e429b5 100644 --- a/lib/umd/lib/countries/spain.js +++ b/lib/umd/lib/countries/spain.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.spain = void 0; exports.spain = { name: 'Spain', codes: ['ES', 'ESP', '724'], diff --git a/lib/umd/lib/countries/sweden.js b/lib/umd/lib/countries/sweden.js index b021da3..0de0f08 100644 --- a/lib/umd/lib/countries/sweden.js +++ b/lib/umd/lib/countries/sweden.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.sweden = void 0; exports.sweden = { name: 'Sweden', codes: ['SE', 'SWE', '752'], diff --git a/lib/umd/lib/countries/switzerland.js b/lib/umd/lib/countries/switzerland.js index 829adb6..6615f9f 100644 --- a/lib/umd/lib/countries/switzerland.js +++ b/lib/umd/lib/countries/switzerland.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.switzerland = void 0; exports.switzerland = { name: 'Switzerland', codes: ['CH', 'CHE', '756'], diff --git a/lib/umd/lib/countries/unitedKingdom.js b/lib/umd/lib/countries/unitedKingdom.js index 729e822..43eca22 100644 --- a/lib/umd/lib/countries/unitedKingdom.js +++ b/lib/umd/lib/countries/unitedKingdom.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.unitedKingdom = void 0; exports.unitedKingdom = { name: 'United Kingdom', codes: ['GB', 'GBR', '826'], diff --git a/lib/umd/lib/jsvat.js b/lib/umd/lib/jsvat.js index a72cd49..012a24d 100644 --- a/lib/umd/lib/jsvat.js +++ b/lib/umd/lib/jsvat.js @@ -9,6 +9,7 @@ })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); + exports.checkVAT = void 0; const countries_1 = require("./countries"); function makeResult(vat, isValid, country) { return { diff --git a/package.json b/package.json index f718161..342fe27 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jsvat", - "version": "2.4.0", + "version": "2.5.0", "description": "Check the validity of the format of an EU VAT number", "main": "./lib/commonjs/index.js", "module": "./lib/es6/index.js", @@ -54,19 +54,19 @@ "private": false, "dependencies": {}, "devDependencies": { - "@babel/preset-env": "7.9.5", + "@babel/preset-env": "7.12.11", "babel": "6.23.0", "babel-plugin-transform-es2015-modules-commonjs": "6.26.2", - "husky": "4.2.5", - "jest": "25.4.0", - "prettier": "2.0.5", - "pretty-quick": "2.0.1", + "husky": "4.3.6", + "jest": "26.6.3", + "prettier": "2.2.1", + "pretty-quick": "3.1.0", "rimraf": "3.0.2", - "ts-loader": "7.0.1", - "tslint": "6.1.1", + "ts-loader": "8.0.12", + "tslint": "6.1.3", "tslint-config-prettier": "1.18.0", "tslint-immutable": "6.0.1", - "typescript": "3.8.3" + "typescript": "4.1.3" }, "husky": { "hooks": { diff --git a/src/lib/jsvat.ts b/src/lib/jsvat.ts index 7096f43..740d070 100644 --- a/src/lib/jsvat.ts +++ b/src/lib/jsvat.ts @@ -62,6 +62,7 @@ function getCountryCodes(country: Country): ReadonlyArray { } const countriesVATDoesNotStartWithCountryCode: ReadonlyArray = [brazil.name]; + function isVATStartWithCountryCode(countryName: string): boolean { return !countriesVATDoesNotStartWithCountryCode.includes(countryName); } diff --git a/test/austria.spec.js b/test/austria.spec.js index f42fafe..246dab9 100644 --- a/test/austria.spec.js +++ b/test/austria.spec.js @@ -1,31 +1,25 @@ -import { austria } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/austria.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { austria } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/austria.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Austria', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [austria], codes, name)) - }) - + valid.forEach((vat) => checkValidVat(vat, [austria], codes, name)); + }); + it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [austria], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [austria], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [austria], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [austria], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [austria], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [austria], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [austria])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [austria])); + }); +}); diff --git a/test/belgium.spec.js b/test/belgium.spec.js index 4999931..5c891ee 100644 --- a/test/belgium.spec.js +++ b/test/belgium.spec.js @@ -1,31 +1,25 @@ -import { belgium } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/belgium.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { belgium } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/belgium.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Belgium', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [belgium], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [belgium], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [belgium], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [belgium], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [belgium], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [belgium], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [belgium], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [belgium], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [belgium])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [belgium])); + }); +}); diff --git a/test/bulgaria.spec.js b/test/bulgaria.spec.js index 5fac539..4153ba8 100644 --- a/test/bulgaria.spec.js +++ b/test/bulgaria.spec.js @@ -1,31 +1,25 @@ -import { bulgaria } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/bulgaria.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { bulgaria } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/bulgaria.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Bulgaria', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [bulgaria], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [bulgaria], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [bulgaria], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [bulgaria], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [bulgaria], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [bulgaria], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [bulgaria], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [bulgaria], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [bulgaria])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [bulgaria])); + }); +}); diff --git a/test/countries_vat_lists/austria.vat.js b/test/countries_vat_lists/austria.vat.js index db49734..2799493 100644 --- a/test/countries_vat_lists/austria.vat.js +++ b/test/countries_vat_lists/austria.vat.js @@ -1,6 +1,6 @@ -export const name = 'Austria' +export const name = 'Austria'; -export const codes = ['AT', 'AUT', '040'] +export const codes = ['AT', 'AUT', '040']; export const valid = [ 'ATU00000024', @@ -64,14 +64,9 @@ export const valid = [ 'ATU64938189', 'ATU66664013', 'ATU66889218' -] +]; -export const validOnlyByFormat = [ - 'ATU00000000', - 'ATU00000001', - 'ATU00000002', - 'ATU00000003' -] +export const validOnlyByFormat = ['ATU00000000', 'ATU00000001', 'ATU00000002', 'ATU00000003']; export const invalid = [ 'ATV66889218', @@ -81,5 +76,4 @@ export const invalid = [ 'ATU10223004', 'ATU10223005', 'ATU10223007' -] - +]; diff --git a/test/countries_vat_lists/belgium.vat.js b/test/countries_vat_lists/belgium.vat.js index c5f42df..0ab61a7 100644 --- a/test/countries_vat_lists/belgium.vat.js +++ b/test/countries_vat_lists/belgium.vat.js @@ -1,6 +1,6 @@ -export const name = 'Belgium' +export const name = 'Belgium'; -export const codes = ['BE', 'BEL', '056'] +export const codes = ['BE', 'BEL', '056']; export const valid = [ 'BE0411905847', @@ -209,14 +209,9 @@ export const valid = [ 'BE897231786', 'BE897231885', 'BE897231984' -] +]; -export const validOnlyByFormat = [ - 'BE000000000', - 'BE000000001', - 'BE000000002', - 'BE000000003' -] +export const validOnlyByFormat = ['BE000000000', 'BE000000001', 'BE000000002', 'BE000000003']; export const invalid = [ 'BE897221791', @@ -248,4 +243,4 @@ export const invalid = [ 'BE0603601206', 'BE603601206', 'BE60260262' -] +]; diff --git a/test/countries_vat_lists/bulgaria.vat.js b/test/countries_vat_lists/bulgaria.vat.js index 457086c..83dc5a8 100644 --- a/test/countries_vat_lists/bulgaria.vat.js +++ b/test/countries_vat_lists/bulgaria.vat.js @@ -1,6 +1,6 @@ -export const name = 'Bulgaria' +export const name = 'Bulgaria'; -export const codes = ['BG', 'BGR', '100'] +export const codes = ['BG', 'BGR', '100']; export const valid = [ 'BG0000100153', @@ -56,14 +56,9 @@ export const valid = [ 'BG831144533', 'BG837107196', 'BG9902280002' -] +]; -export const validOnlyByFormat = [ - 'BG800000000', - 'BG800000001', - 'BG800000002', - 'BG800000003' -] +export const validOnlyByFormat = ['BG800000000', 'BG800000001', 'BG800000002', 'BG800000003']; export const invalid = [ 'BG101004509', @@ -96,4 +91,4 @@ export const invalid = [ 'BG4234567895', 'BG4234567897', 'BG4234567898' -] +]; diff --git a/test/countries_vat_lists/croatia.vat.js b/test/countries_vat_lists/croatia.vat.js index c11e2b1..a0e66ad 100644 --- a/test/countries_vat_lists/croatia.vat.js +++ b/test/countries_vat_lists/croatia.vat.js @@ -1,6 +1,6 @@ -export const name = 'Croatia' +export const name = 'Croatia'; -export const codes = ['HR', 'HRV', '191'] +export const codes = ['HR', 'HRV', '191']; export const valid = [ 'HR02574432339', @@ -46,17 +46,8 @@ export const valid = [ 'HR95976200516', 'HR96151551854', 'HR97405527203' -] +]; -export const validOnlyByFormat = [ - 'HR90000000000', - 'HR90000000001', - 'HR90000000003', - 'HR90000000004' -] +export const validOnlyByFormat = ['HR90000000000', 'HR90000000001', 'HR90000000003', 'HR90000000004']; -export const invalid = [ - 'HR9363442948', - 'HR93634429488', - 'HR936344294871' -] +export const invalid = ['HR9363442948', 'HR93634429488', 'HR936344294871']; diff --git a/test/countries_vat_lists/cyprus.vat.js b/test/countries_vat_lists/cyprus.vat.js index c8e07cf..d248062 100644 --- a/test/countries_vat_lists/cyprus.vat.js +++ b/test/countries_vat_lists/cyprus.vat.js @@ -1,6 +1,6 @@ -export const name = 'Cyprus' +export const name = 'Cyprus'; -export const codes = ['CY', 'CYP', '196'] +export const codes = ['CY', 'CYP', '196']; export const valid = [ 'CY00001067Y', @@ -43,18 +43,8 @@ export const valid = [ 'CY90002066W', 'CY99000027S', 'CY99200002N' -] +]; -export const validOnlyByFormat = [ - 'CY12000000C', - 'CY12000001C', - 'CY12000002C', - 'CY12000003C' -] +export const validOnlyByFormat = ['CY12000000C', 'CY12000001C', 'CY12000002C', 'CY12000003C']; -export const invalid = [ - 'CY0', - 'CY00000000W', - 'CY12000000C', - 'CY12000139V' -] +export const invalid = ['CY0', 'CY00000000W', 'CY12000000C', 'CY12000139V']; diff --git a/test/countries_vat_lists/czechRepublic.vat.js b/test/countries_vat_lists/czechRepublic.vat.js index 86e0d38..268a080 100644 --- a/test/countries_vat_lists/czechRepublic.vat.js +++ b/test/countries_vat_lists/czechRepublic.vat.js @@ -1,6 +1,6 @@ -export const name = 'Czech Republic' +export const name = 'Czech Republic'; -export const codes = ['CZ', 'CZE', '203'] +export const codes = ['CZ', 'CZE', '203']; export const valid = [ 'CZ00008702', @@ -103,19 +103,8 @@ export const valid = [ 'CZ6803150277', 'CZ8654200005', 'CZ6353050473' -] +]; -export const validOnlyByFormat = [ - 'CZ0000000001', - 'CZ0000000002', - 'CZ0000000003', - 'CZ0000000004' -] +export const validOnlyByFormat = ['CZ0000000001', 'CZ0000000002', 'CZ0000000003', 'CZ0000000004']; -export const invalid = [ - 'CZ699001237', - 'CZ2758975', - 'CZ600001234', - 'CZ60000123456', - 'CZ0123' -] +export const invalid = ['CZ699001237', 'CZ2758975', 'CZ600001234', 'CZ60000123456', 'CZ0123']; diff --git a/test/countries_vat_lists/denmark.vat.js b/test/countries_vat_lists/denmark.vat.js index 49bc920..c3fcf98 100644 --- a/test/countries_vat_lists/denmark.vat.js +++ b/test/countries_vat_lists/denmark.vat.js @@ -1,8 +1,6 @@ -export const name = 'Denmark' +export const name = 'Denmark'; -export const codes = ['DK', 'DNK', '208' - -] +export const codes = ['DK', 'DNK', '208']; export const valid = [ 'DK10000009', @@ -50,19 +48,8 @@ export const valid = [ 'DK71186911', 'DK75142412', 'DK78805218' -] +]; -export const validOnlyByFormat = [ - 'DK10000000', - 'DK10000001', - 'DK10000002', - 'DK10000003' -] +export const validOnlyByFormat = ['DK10000000', 'DK10000001', 'DK10000002', 'DK10000003']; -export const invalid = [ - 'DK10000000', - 'DK10000010', - 'DK10000020', - 'DK10000150', - 'DK10000030' -] +export const invalid = ['DK10000000', 'DK10000010', 'DK10000020', 'DK10000150', 'DK10000030']; diff --git a/test/countries_vat_lists/estonia.vat.js b/test/countries_vat_lists/estonia.vat.js index e2eae46..4c71de6 100644 --- a/test/countries_vat_lists/estonia.vat.js +++ b/test/countries_vat_lists/estonia.vat.js @@ -1,6 +1,6 @@ -export const name = 'Estonia' +export const name = 'Estonia'; -export const codes = ['EE', 'EST', '233'] +export const codes = ['EE', 'EST', '233']; export const valid = [ 'EE100007796', @@ -50,16 +50,8 @@ export const valid = [ 'EE101482239', 'EE101560290', 'EE101589064' -] +]; -export const validOnlyByFormat = [ - 'EE100000000', - 'EE100000001', - 'EE100000002', - 'EE100000003' -] +export const validOnlyByFormat = ['EE100000000', 'EE100000001', 'EE100000002', 'EE100000003']; -export const invalid = [ - 'EE000207418', - 'EE110207418' -] +export const invalid = ['EE000207418', 'EE110207418']; diff --git a/test/countries_vat_lists/europe.vat.js b/test/countries_vat_lists/europe.vat.js index d124cd0..7a44a64 100644 --- a/test/countries_vat_lists/europe.vat.js +++ b/test/countries_vat_lists/europe.vat.js @@ -1,23 +1,10 @@ -export const name = 'Europe' +export const name = 'Europe'; -export const codes = ['EU', 'EUR', '000'] +export const codes = ['EU', 'EUR', '000']; // TODO (S.Panfilov) that's not a real codes -export const valid = [ - 'EU372000052', - 'EU826001142' -] +export const valid = ['EU372000052', 'EU826001142']; -export const validOnlyByFormat = [ - 'EU000000000', - 'EU000000001', - 'EU000000002', - 'EU000000003' -] +export const validOnlyByFormat = ['EU000000000', 'EU000000001', 'EU000000002', 'EU000000003']; -export const invalid = [ - 'EU123456', - 'EU1234567', - 'EU826001142123', - 'EU0123' -] +export const invalid = ['EU123456', 'EU1234567', 'EU826001142123', 'EU0123']; diff --git a/test/countries_vat_lists/finland.vat.js b/test/countries_vat_lists/finland.vat.js index bb725db..b76379d 100644 --- a/test/countries_vat_lists/finland.vat.js +++ b/test/countries_vat_lists/finland.vat.js @@ -1,6 +1,6 @@ -export const name = 'Finland' +export const name = 'Finland'; -export const codes = ['FI', 'FIN', '246'] +export const codes = ['FI', 'FIN', '246']; export const valid = [ 'FI09853608', @@ -47,20 +47,8 @@ export const valid = [ 'FI22975669', 'FI24498085', 'FI24710461' -] +]; -export const validOnlyByFormat = [ - 'FI00000023', - 'FI00000024', - 'FI00000025', - 'FI00000026' -] +export const validOnlyByFormat = ['FI00000023', 'FI00000024', 'FI00000025', 'FI00000026']; -export const invalid = [ - 'FI09853601', - 'FI00000023', - 'FI00000036', - 'FI00000048', - 'FI00000173', - 'FI00000071' -] +export const invalid = ['FI09853601', 'FI00000023', 'FI00000036', 'FI00000048', 'FI00000173', 'FI00000071']; diff --git a/test/countries_vat_lists/france.vat.js b/test/countries_vat_lists/france.vat.js index 9d43093..583136d 100644 --- a/test/countries_vat_lists/france.vat.js +++ b/test/countries_vat_lists/france.vat.js @@ -1,6 +1,6 @@ -export const name = 'France' +export const name = 'France'; -export const codes = ['FR', 'FRA', '250'] +export const codes = ['FR', 'FRA', '250']; export const valid = [ 'FR00000000190', @@ -71,14 +71,9 @@ export const valid = [ 'FRA0123456789', 'FR0A012345678', 'FRAB012345678' -] +]; -export const validOnlyByFormat = [ - 'FR00000000000', - 'FR00000000001', - 'FR00000000002', - 'FR00000000003' -] +export const validOnlyByFormat = ['FR00000000000', 'FR00000000001', 'FR00000000002', 'FR00000000003']; export const invalid = [ 'FR00300076967', @@ -87,4 +82,4 @@ export const invalid = [ 'FR41000000047', 'FR01000000157', 'FR19000000068' -] +]; diff --git a/test/countries_vat_lists/germany.vat.js b/test/countries_vat_lists/germany.vat.js index 175bd12..8aa5306 100644 --- a/test/countries_vat_lists/germany.vat.js +++ b/test/countries_vat_lists/germany.vat.js @@ -1,6 +1,6 @@ -export const name = 'Germany' +export const name = 'Germany'; -export const codes = ['DE', 'DEU', '276'] +export const codes = ['DE', 'DEU', '276']; export const valid = [ 'DE111111125', @@ -43,14 +43,9 @@ export const valid = [ 'DE813232162', 'DE813261484', 'DE813495425' -] +]; -export const validOnlyByFormat = [ - 'DE200000001', - 'DE200000002', - 'DE200000003', - 'DE200000004' -] +export const validOnlyByFormat = ['DE200000001', 'DE200000002', 'DE200000003', 'DE200000004']; export const invalid = [ 'DE111111126', @@ -75,4 +70,4 @@ export const invalid = [ 'DE000000183', 'DE000000191', 'DE000000206' -] +]; diff --git a/test/countries_vat_lists/greece.vat.js b/test/countries_vat_lists/greece.vat.js index 2c8aafa..c0fa44b 100644 --- a/test/countries_vat_lists/greece.vat.js +++ b/test/countries_vat_lists/greece.vat.js @@ -1,6 +1,6 @@ -export const name = 'Greece' +export const name = 'Greece'; -export const codes = ['GR', 'GRC', '300'] +export const codes = ['GR', 'GRC', '300']; export const valid = [ 'EL000000024', @@ -49,14 +49,9 @@ export const valid = [ 'EL998180212', 'EL998789236', 'EL998920231' -] +]; -export const validOnlyByFormat = [ - 'EL000000022', - 'EL000000023', - 'EL000000026', - 'EL000000025' -] +export const validOnlyByFormat = ['EL000000022', 'EL000000023', 'EL000000026', 'EL000000025']; export const invalid = [ 'EL000000022', @@ -66,4 +61,4 @@ export const invalid = [ 'EL000000062', 'EL000000072', 'EL000000082' -] +]; diff --git a/test/countries_vat_lists/hungary.vat.js b/test/countries_vat_lists/hungary.vat.js index 66e8f3c..c60a806 100644 --- a/test/countries_vat_lists/hungary.vat.js +++ b/test/countries_vat_lists/hungary.vat.js @@ -1,6 +1,6 @@ -export const name = 'Hungary' +export const name = 'Hungary'; -export const codes = ['HU', 'HUN', '348'] +export const codes = ['HU', 'HUN', '348']; export const valid = [ 'HU10672101', @@ -53,16 +53,8 @@ export const valid = [ 'HU23474178', 'HU63731758', 'HU65730980' -] +]; -export const validOnlyByFormat = [ - 'HU00000001', - 'HU00000002', - 'HU00000003', - 'HU00000004' -] +export const validOnlyByFormat = ['HU00000001', 'HU00000002', 'HU00000003', 'HU00000004']; -export const invalid = [ - 'HU65730981', - 'HU65731980' -] +export const invalid = ['HU65730981', 'HU65731980']; diff --git a/test/countries_vat_lists/ireland.vat.js b/test/countries_vat_lists/ireland.vat.js index 576b340..d9b5395 100644 --- a/test/countries_vat_lists/ireland.vat.js +++ b/test/countries_vat_lists/ireland.vat.js @@ -1,6 +1,6 @@ -export const name = 'Ireland' +export const name = 'Ireland'; -export const codes = ['IE', 'IRL', '372'] +export const codes = ['IE', 'IRL', '372']; export const valid = [ 'IE0000002D', @@ -76,14 +76,9 @@ export const valid = [ 'IE3206791MH', 'IE3208913KH', 'IE3214048CH' -] +]; -export const validOnlyByFormat = [ - 'IE0000000H', - 'IE0000001H', - 'IE0000002H', - 'IE0000003H' -] +export const validOnlyByFormat = ['IE0000000H', 'IE0000001H', 'IE0000002H', 'IE0000003H']; export const invalid = [ 'IE87654321SA', @@ -94,4 +89,4 @@ export const invalid = [ 'IE0000020A', 'IE0000006A', 'IE0000007A' -] +]; diff --git a/test/countries_vat_lists/italy.vat.js b/test/countries_vat_lists/italy.vat.js index e166992..42b455f 100644 --- a/test/countries_vat_lists/italy.vat.js +++ b/test/countries_vat_lists/italy.vat.js @@ -1,6 +1,6 @@ -export const name = 'Italy' +export const name = 'Italy'; -export const codes = ['IT', 'ITA', '380'] +export const codes = ['IT', 'ITA', '380']; export const valid = [ 'IT00000010215', @@ -61,14 +61,9 @@ export const valid = [ 'IT13378520152', 'IT05142860484', 'IT01709820995' -] +]; -export const validOnlyByFormat = [ - 'IT00000000000', - 'IT00000000001', - 'IT00000000002', - 'IT00000000003' -] +export const validOnlyByFormat = ['IT00000000000', 'IT00000000001', 'IT00000000002', 'IT00000000003']; export const invalid = [ 'IT00000010210', @@ -82,4 +77,4 @@ export const invalid = [ 'IT10001701202', 'IT10001701216', 'IT10001709997' -] +]; diff --git a/test/countries_vat_lists/latvia.vat.js b/test/countries_vat_lists/latvia.vat.js index af6f117..622eaa0 100644 --- a/test/countries_vat_lists/latvia.vat.js +++ b/test/countries_vat_lists/latvia.vat.js @@ -1,6 +1,6 @@ -export const name = 'Latvia' +export const name = 'Latvia'; -export const codes = ['LV', 'LVA', '428'] +export const codes = ['LV', 'LVA', '428']; export const valid = [ 'LV07091910933', @@ -50,18 +50,8 @@ export const valid = [ 'LV90000022399', 'LV90000136794', 'LV90002573483' -] +]; -export const validOnlyByFormat = [ - 'LV50000000000', - 'LV50000000001', - 'LV50000000003', - 'LV50000000004' -] +export const validOnlyByFormat = ['LV50000000000', 'LV50000000001', 'LV50000000003', 'LV50000000004']; -export const invalid = [ - 'LV90001234567', - 'LV12345234567', - 'LV123452345672', - 'LV0123' -] +export const invalid = ['LV90001234567', 'LV12345234567', 'LV123452345672', 'LV0123']; diff --git a/test/countries_vat_lists/lithuania.vat.js b/test/countries_vat_lists/lithuania.vat.js index 2d1b0fa..9faae8e 100644 --- a/test/countries_vat_lists/lithuania.vat.js +++ b/test/countries_vat_lists/lithuania.vat.js @@ -1,6 +1,6 @@ -export const name = 'Lithuania' +export const name = 'Lithuania'; -export const codes = ['LT', 'LTU', '440'] +export const codes = ['LT', 'LTU', '440']; export const valid = [ 'LT100000009017', @@ -60,18 +60,8 @@ export const valid = [ 'LT530091413', 'LT852320917', 'LT907560811' -] +]; -export const validOnlyByFormat = [ - 'LT000000000', - 'LT000000001', - 'LT000000002', - 'LT000000003' -] +export const validOnlyByFormat = ['LT000000000', 'LT000000001', 'LT000000002', 'LT000000003']; -export const invalid = [ - 'LT123456789', - 'LT1234567890', - 'LT530091413111', - 'LT0123' -] +export const invalid = ['LT123456789', 'LT1234567890', 'LT530091413111', 'LT0123']; diff --git a/test/countries_vat_lists/luxembourg.vat.js b/test/countries_vat_lists/luxembourg.vat.js index c75e500..7fb242c 100644 --- a/test/countries_vat_lists/luxembourg.vat.js +++ b/test/countries_vat_lists/luxembourg.vat.js @@ -1,6 +1,6 @@ -export const name = 'Luxembourg' +export const name = 'Luxembourg'; -export const codes = ['LU', 'LUX', '442'] +export const codes = ['LU', 'LUX', '442']; export const valid = [ 'LU00000000', @@ -48,14 +48,9 @@ export const valid = [ 'LU24184936', 'LU24496840', 'LU25318872' -] +]; -export const validOnlyByFormat = [ - 'LU20000000', - 'LU20000001', - 'LU20000002', - 'LU20000003' -] +export const validOnlyByFormat = ['LU20000000', 'LU20000001', 'LU20000002', 'LU20000003']; export const invalid = [ 'LU10000350', @@ -66,4 +61,4 @@ export const invalid = [ 'LU00000600', 'LU00000700', 'LU00000800' -] +]; diff --git a/test/countries_vat_lists/malta.vat.js b/test/countries_vat_lists/malta.vat.js index 2f38d84..316c555 100644 --- a/test/countries_vat_lists/malta.vat.js +++ b/test/countries_vat_lists/malta.vat.js @@ -1,6 +1,6 @@ -export const name = 'Malta' +export const name = 'Malta'; -export const codes = ['MT', 'MLT', '470'] +export const codes = ['MT', 'MLT', '470']; export const valid = [ 'MT10126313', @@ -47,16 +47,8 @@ export const valid = [ 'MT20250021', 'MT20390516', 'MT20973507' -] +]; -export const validOnlyByFormat = [ - 'MT10000001', - 'MT10000002', - 'MT10000003', - 'MT20000004' -] +export const validOnlyByFormat = ['MT10000001', 'MT10000002', 'MT10000003', 'MT20000004']; -export const invalid = [ - 'MT2039051', - 'MT20390515' -] +export const invalid = ['MT2039051', 'MT20390515']; diff --git a/test/countries_vat_lists/netherlands.vat.js b/test/countries_vat_lists/netherlands.vat.js index 2605a54..897f804 100644 --- a/test/countries_vat_lists/netherlands.vat.js +++ b/test/countries_vat_lists/netherlands.vat.js @@ -1,6 +1,6 @@ -export const name = 'Netherlands' +export const name = 'Netherlands'; -export const codes = ['NL', 'NLD', '528'] +export const codes = ['NL', 'NLD', '528']; export const valid = [ 'NL010000446B01', @@ -50,14 +50,9 @@ export const valid = [ 'NL822754812B01', 'NL823363247B01', 'NL123456789B13' -] +]; -export const validOnlyByFormat = [ - 'NL010000445B01', - 'NL010000445B02', - 'NL010000445B03', - 'NL010000445B04' -] +export const validOnlyByFormat = ['NL010000445B01', 'NL010000445B02', 'NL010000445B03', 'NL010000445B04']; export const invalid = [ 'NL010000445B01', @@ -66,4 +61,4 @@ export const invalid = [ 'NL000000045B01', 'NL000000205B01', 'NL123456789B14' -] +]; diff --git a/test/countries_vat_lists/norway.vat.js b/test/countries_vat_lists/norway.vat.js index 8307bff..864f317 100644 --- a/test/countries_vat_lists/norway.vat.js +++ b/test/countries_vat_lists/norway.vat.js @@ -1,6 +1,6 @@ -export const name = 'Norway' +export const name = 'Norway'; -export const codes = ['NO', 'NOR', '578'] +export const codes = ['NO', 'NOR', '578']; export const valid = [ 'NO864234232', @@ -52,16 +52,8 @@ export const valid = [ 'NO996707415', 'NO996840506', 'NO999600476' -] +]; -export const validOnlyByFormat = [ - 'NO962209011', - 'NO962209012', - 'NO962209013', - 'NO962209014' -] +export const validOnlyByFormat = ['NO962209011', 'NO962209012', 'NO962209013', 'NO962209014']; -export const invalid = [ - 'NO96220901', - 'NO962209018' -] +export const invalid = ['NO96220901', 'NO962209018']; diff --git a/test/countries_vat_lists/poland.vat.js b/test/countries_vat_lists/poland.vat.js index 16c4a45..cfc9199 100644 --- a/test/countries_vat_lists/poland.vat.js +++ b/test/countries_vat_lists/poland.vat.js @@ -1,6 +1,6 @@ -export const name = 'Poland' +export const name = 'Poland'; -export const codes = ['PL', 'POL', '616'] +export const codes = ['PL', 'POL', '616']; export const valid = [ 'PL1132191233', @@ -47,16 +47,8 @@ export const valid = [ 'PL9512293636', 'PL9562180153', 'PL9691068493' -] +]; -export const validOnlyByFormat = [ - 'PL7000000000', - 'PL7000000001', - 'PL7000000002', - 'PL7000000003' -] +export const validOnlyByFormat = ['PL7000000000', 'PL7000000001', 'PL7000000002', 'PL7000000003']; -export const invalid = [ - 'PL7122913628', - 'PL7122913427' -] +export const invalid = ['PL7122913628', 'PL7122913427']; diff --git a/test/countries_vat_lists/portugal.vat.js b/test/countries_vat_lists/portugal.vat.js index b43b924..2de88a5 100644 --- a/test/countries_vat_lists/portugal.vat.js +++ b/test/countries_vat_lists/portugal.vat.js @@ -1,6 +1,6 @@ -export const name = 'Portugal' +export const name = 'Portugal'; -export const codes = ['PT', 'PRT', '620'] +export const codes = ['PT', 'PRT', '620']; export const valid = [ 'PT100000010', @@ -49,20 +49,8 @@ export const valid = [ 'PT509626416', 'PT510765009', 'PT980405319' -] +]; -export const validOnlyByFormat = [ - 'PT100000012', - 'PT100000013', - 'PT100000014', - 'PT100000015' -] +export const validOnlyByFormat = ['PT100000012', 'PT100000013', 'PT100000014', 'PT100000015']; -export const invalid = [ - 'PT502757192', - 'PT100000012', - 'PT100000022', - 'PT100000032', - 'PT100000192', - 'PT100000052' -] +export const invalid = ['PT502757192', 'PT100000012', 'PT100000022', 'PT100000032', 'PT100000192', 'PT100000052']; diff --git a/test/countries_vat_lists/romania.vat.js b/test/countries_vat_lists/romania.vat.js index b638956..ff2b4ab 100644 --- a/test/countries_vat_lists/romania.vat.js +++ b/test/countries_vat_lists/romania.vat.js @@ -1,6 +1,6 @@ -export const name = 'Romania' +export const name = 'Romania'; -export const codes = ['RO', 'ROU', '642'] +export const codes = ['RO', 'ROU', '642']; export const valid = [ 'RO11198699', @@ -61,14 +61,9 @@ export const valid = [ 'RO6727475', 'RO4594917', 'RO13499400' -] +]; -export const validOnlyByFormat = [ - 'RO1000000', - 'RO1000001', - 'RO1000002', - 'RO1000003' -] +export const validOnlyByFormat = ['RO1000000', 'RO1000001', 'RO1000002', 'RO1000003']; export const invalid = [ 'RO11198698', @@ -85,4 +80,4 @@ export const invalid = [ 'RO00099908', 'RO000099908', 'RO0000099908' -] +]; diff --git a/test/countries_vat_lists/russia.vat.js b/test/countries_vat_lists/russia.vat.js index 199bebd..25630fd 100644 --- a/test/countries_vat_lists/russia.vat.js +++ b/test/countries_vat_lists/russia.vat.js @@ -1,6 +1,6 @@ -export const name = 'Russian Federation' +export const name = 'Russian Federation'; -export const codes = ['RU', 'RUS', '643'] +export const codes = ['RU', 'RUS', '643']; export const valid = [ 'RU0274051582', @@ -33,17 +33,8 @@ export const valid = [ 'RU9909161308', 'RU9909235581', 'RU9909310782' -] +]; -export const validOnlyByFormat = [ - 'RU7700000001', - 'RU7700000002', - 'RU7700000003', - 'RU7700000004' -] +export const validOnlyByFormat = ['RU7700000001', 'RU7700000002', 'RU7700000003', 'RU7700000004']; -export const invalid = [ - 'RU5027187067', - 'RU524911659', - 'RU77013692931' -] +export const invalid = ['RU5027187067', 'RU524911659', 'RU77013692931']; diff --git a/test/countries_vat_lists/serbia.vat.js b/test/countries_vat_lists/serbia.vat.js index 75ba428..a6a3b9d 100644 --- a/test/countries_vat_lists/serbia.vat.js +++ b/test/countries_vat_lists/serbia.vat.js @@ -1,6 +1,6 @@ -export const name = 'Serbia' +export const name = 'Serbia'; -export const codes = ['RS', 'SRB', '688'] +export const codes = ['RS', 'SRB', '688']; export const valid = [ 'RS100010812', @@ -24,17 +24,8 @@ export const valid = [ 'RS106963932', 'RS107382147', 'RS129391320' -] +]; -export const validOnlyByFormat = [ - 'RS100000000', - 'RS100000001', - 'RS100000002', - 'RS100000003' -] +export const validOnlyByFormat = ['RS100000000', 'RS100000001', 'RS100000002', 'RS100000003']; -export const invalid = [ - 'RS12939132', - 'RS1293913201', - 'RS129391321' -] +export const invalid = ['RS12939132', 'RS1293913201', 'RS129391321']; diff --git a/test/countries_vat_lists/slovakiaRepublic.vat.js b/test/countries_vat_lists/slovakiaRepublic.vat.js index fff652b..a4d1bbd 100644 --- a/test/countries_vat_lists/slovakiaRepublic.vat.js +++ b/test/countries_vat_lists/slovakiaRepublic.vat.js @@ -1,6 +1,6 @@ -export const name = 'Slovakia Republic' +export const name = 'Slovakia Republic'; -export const codes = ['SK', 'SVK', '703'] +export const codes = ['SK', 'SVK', '703']; export const valid = [ 'SK1025529197', @@ -48,16 +48,8 @@ export const valid = [ 'SK7020000317', 'SK7020000427', 'SK7020000680' -] +]; -export const validOnlyByFormat = [ - 'SK7020000681', - 'SK7020000682', - 'SK7020000683', - 'SK7020000684' -] +export const validOnlyByFormat = ['SK7020000681', 'SK7020000682', 'SK7020000683', 'SK7020000684']; -export const invalid = [ - 'SK5407062531', - 'SK7020001680' -] +export const invalid = ['SK5407062531', 'SK7020001680']; diff --git a/test/countries_vat_lists/slovenia.vat.js b/test/countries_vat_lists/slovenia.vat.js index bc2bf7a..4958ea9 100644 --- a/test/countries_vat_lists/slovenia.vat.js +++ b/test/countries_vat_lists/slovenia.vat.js @@ -1,6 +1,6 @@ -export const name = 'Slovenia' +export const name = 'Slovenia'; -export const codes = ['SI', 'SVN', '705'] +export const codes = ['SI', 'SVN', '705']; export const valid = [ 'SI10693661', @@ -46,15 +46,8 @@ export const valid = [ 'SI92351069', 'SI94314527', 'SI98511734' -] +]; -export const validOnlyByFormat = [ - 'SI90000000', - 'SI90000001', - 'SI90000002', - 'SI90000003' -] +export const validOnlyByFormat = ['SI90000000', 'SI90000001', 'SI90000002', 'SI90000003']; -export const invalid = [ - 'SI05936241' -] +export const invalid = ['SI05936241']; diff --git a/test/countries_vat_lists/spain.vat.js b/test/countries_vat_lists/spain.vat.js index 7e971ad..6104eb2 100644 --- a/test/countries_vat_lists/spain.vat.js +++ b/test/countries_vat_lists/spain.vat.js @@ -1,6 +1,6 @@ -export const name = 'Spain' +export const name = 'Spain'; -export const codes = ['ES', 'ESP', '724'] +export const codes = ['ES', 'ESP', '724']; export const valid = [ 'ESA0011012B', @@ -67,14 +67,9 @@ export const valid = [ 'ESB61979175', 'ESN8261290D', 'ESA81626905' -] +]; -export const validOnlyByFormat = [ - 'ESA0000002A', - 'ESA0000003A', - 'ESA0000004A', - 'ESA0000005A' -] +export const validOnlyByFormat = ['ESA0000002A', 'ESA0000003A', 'ESA0000004A', 'ESA0000005A']; export const invalid = [ 'ESA0011012A', @@ -98,4 +93,4 @@ export const invalid = [ 'ES00000002E', 'ES00000003F', 'ES00000019G' -] +]; diff --git a/test/countries_vat_lists/sweden.vat.js b/test/countries_vat_lists/sweden.vat.js index e4e6e53..0a03f8d 100644 --- a/test/countries_vat_lists/sweden.vat.js +++ b/test/countries_vat_lists/sweden.vat.js @@ -1,6 +1,6 @@ -export const name = 'Sweden' +export const name = 'Sweden'; -export const codes = ['SE', 'SWE', '752'] +export const codes = ['SE', 'SWE', '752']; export const valid = [ 'SE000000002601', @@ -47,19 +47,8 @@ export const valid = [ 'SE556576895801', 'SE556654042201', 'SE556785615701' -] +]; -export const validOnlyByFormat = [ - 'SE000000002301', - 'SE000000022301', - 'SE000000052301', - 'SE000000042301' -] +export const validOnlyByFormat = ['SE000000002301', 'SE000000022301', 'SE000000052301', 'SE000000042301']; -export const invalid = [ - 'SE556188840301', - 'SE000000002301', - 'SE000000003301', - 'SE000000004301', - 'SE000000006301' -] +export const invalid = ['SE556188840301', 'SE000000002301', 'SE000000003301', 'SE000000004301', 'SE000000006301']; diff --git a/test/countries_vat_lists/switzerland.vat.js b/test/countries_vat_lists/switzerland.vat.js index ca7286a..ef6e27a 100644 --- a/test/countries_vat_lists/switzerland.vat.js +++ b/test/countries_vat_lists/switzerland.vat.js @@ -1,6 +1,6 @@ -export const name = 'Switzerland' +export const name = 'Switzerland'; -export const codes = ['CH', 'CHE', '756'] +export const codes = ['CH', 'CHE', '756']; export const valid = [ 'CHE100416306MWST', @@ -72,18 +72,9 @@ export const valid = [ 'CHE432825998IVA', 'CHE-432.825.998 MWST', 'CHE-432.825.998 TVA', - 'CHE-432.825.998 IVA', -] + 'CHE-432.825.998 IVA' +]; -export const validOnlyByFormat = [ - 'CHE000000001MWST', - 'CHE000000002MWST', - 'CHE000000003MWST', - 'CHE000000004MWST' -] +export const validOnlyByFormat = ['CHE000000001MWST', 'CHE000000002MWST', 'CHE000000003MWST', 'CHE000000004MWST']; -export const invalid = [ - 'CHE-432.825.99-MWST', - 'CHE-432.825.9980-MWST', - 'CH-432.825.999-MWST' -] +export const invalid = ['CHE-432.825.99-MWST', 'CHE-432.825.9980-MWST', 'CH-432.825.999-MWST']; diff --git a/test/countries_vat_lists/unitedKingdom.vat.js b/test/countries_vat_lists/unitedKingdom.vat.js index d1328d6..4d204bb 100644 --- a/test/countries_vat_lists/unitedKingdom.vat.js +++ b/test/countries_vat_lists/unitedKingdom.vat.js @@ -1,6 +1,6 @@ -export const name = 'United Kingdom' +export const name = 'United Kingdom'; -export const codes = ['GB', 'GBR', '826'] +export const codes = ['GB', 'GBR', '826']; export const valid = [ 'GB000472631', @@ -62,14 +62,9 @@ export const valid = [ 'GB999000005', 'GB999000047', 'GBGD103' -] +]; -export const validOnlyByFormat = [ - 'GB000000000', - 'GB000000001', - 'GB000000002', - 'GB000000003' -] +export const validOnlyByFormat = ['GB000000000', 'GB000000001', 'GB000000002', 'GB000000003']; export const invalid = [ 'GB999000103', @@ -124,4 +119,4 @@ export const invalid = [ 'GB999999973', 'GB000000140', 'GB100000034' -] +]; diff --git a/test/croatia.spec.js b/test/croatia.spec.js index eacdcf3..bfd050a 100644 --- a/test/croatia.spec.js +++ b/test/croatia.spec.js @@ -1,31 +1,25 @@ -import { croatia } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/croatia.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { croatia } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/croatia.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Croatia', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [croatia], codes, name)) - }) - + valid.forEach((vat) => checkValidVat(vat, [croatia], codes, name)); + }); + it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [croatia], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [croatia], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [croatia], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [croatia], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [croatia], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [croatia], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [croatia])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [croatia])); + }); +}); diff --git a/test/cyprus.spec.js b/test/cyprus.spec.js index 282f8f1..0866ed7 100644 --- a/test/cyprus.spec.js +++ b/test/cyprus.spec.js @@ -1,31 +1,25 @@ -import { cyprus } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/cyprus.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { cyprus } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/cyprus.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Cyprus', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [cyprus], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [cyprus], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [cyprus], codes, name)) - }) - + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [cyprus], codes, name)); + }); + it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [cyprus], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [cyprus], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [cyprus], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [cyprus], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [cyprus])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [cyprus])); + }); +}); diff --git a/test/czechRepublic.spec.js b/test/czechRepublic.spec.js index 13217ec..cf7a2e3 100644 --- a/test/czechRepublic.spec.js +++ b/test/czechRepublic.spec.js @@ -1,31 +1,25 @@ -import { czechRepublic } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/czechRepublic.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { czechRepublic } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/czechRepublic.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Czech Republic', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [czechRepublic], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [czechRepublic], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [czechRepublic], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [czechRepublic], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [czechRepublic], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [czechRepublic], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [czechRepublic], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [czechRepublic], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [czechRepublic])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [czechRepublic])); + }); +}); diff --git a/test/denmark.spec.js b/test/denmark.spec.js index 4758bf0..af7387e 100644 --- a/test/denmark.spec.js +++ b/test/denmark.spec.js @@ -1,31 +1,25 @@ -import { denmark } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/denmark.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { denmark } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/denmark.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Denmark', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [denmark], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [denmark], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [denmark], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [denmark], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [denmark], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [denmark], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [denmark], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [denmark], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [denmark])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [denmark])); + }); +}); diff --git a/test/estonia.spec.js b/test/estonia.spec.js index 00f0487..89dee87 100644 --- a/test/estonia.spec.js +++ b/test/estonia.spec.js @@ -1,31 +1,25 @@ -import { estonia } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/estonia.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { estonia } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/estonia.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Estonia', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [estonia], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [estonia], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [estonia], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [estonia], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [estonia], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [estonia], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [estonia], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [estonia], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [estonia])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [estonia])); + }); +}); diff --git a/test/europe.spec.js b/test/europe.spec.js index 56ee38a..a8daced 100644 --- a/test/europe.spec.js +++ b/test/europe.spec.js @@ -1,12 +1,11 @@ -import { europe } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/europe.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { europe } from '../index'; +import { codes, invalid, name, valid } from './countries_vat_lists/europe.vat'; +import { addCharsToString, checkInvalidVat, checkValidVat } from './utils'; describe('Europe', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [europe], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [europe], codes, name)); + }); // we can't check this for EU vat's cause isValid always true if regxp is true // it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { @@ -14,19 +13,14 @@ describe('Europe', () => { // }) it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [europe], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [europe], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [europe], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [europe], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [europe])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [europe])); + }); +}); diff --git a/test/finland.spec.js b/test/finland.spec.js index 098afe8..c5202a4 100644 --- a/test/finland.spec.js +++ b/test/finland.spec.js @@ -1,31 +1,25 @@ -import { finland } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/finland.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { finland } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/finland.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Finland', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [finland], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [finland], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [finland], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [finland], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [finland], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [finland], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [finland], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [finland], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [finland])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [finland])); + }); +}); diff --git a/test/france.spec.js b/test/france.spec.js index 65e717d..5d818d2 100644 --- a/test/france.spec.js +++ b/test/france.spec.js @@ -1,31 +1,25 @@ -import { france } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/france.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { france } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/france.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('France', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [france], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [france], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [france], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [france], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [france], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [france], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [france], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [france], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [france])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [france])); + }); +}); diff --git a/test/germany.spec.js b/test/germany.spec.js index ce5d957..273322e 100644 --- a/test/germany.spec.js +++ b/test/germany.spec.js @@ -1,31 +1,25 @@ -import { germany } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/germany.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { germany } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/germany.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Germany', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [germany], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [germany], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [germany], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [germany], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [germany], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [germany], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [germany], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [germany], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [germany])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [germany])); + }); +}); diff --git a/test/greece.spec.js b/test/greece.spec.js index e181271..ea4c383 100644 --- a/test/greece.spec.js +++ b/test/greece.spec.js @@ -1,31 +1,25 @@ -import { greece } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/greece.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { greece } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/greece.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Greece', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [greece], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [greece], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [greece], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [greece], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [greece], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [greece], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [greece], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [greece], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [greece])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [greece])); + }); +}); diff --git a/test/hungary.spec.js b/test/hungary.spec.js index ab4ba8f..4cdc118 100644 --- a/test/hungary.spec.js +++ b/test/hungary.spec.js @@ -1,31 +1,25 @@ -import { hungary } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/hungary.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { hungary } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/hungary.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Hungary', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [hungary], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [hungary], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [hungary], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [hungary], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [hungary], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [hungary], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [hungary], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [hungary], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [hungary])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [hungary])); + }); +}); diff --git a/test/ireland.spec.js b/test/ireland.spec.js index e126648..3cb9972 100644 --- a/test/ireland.spec.js +++ b/test/ireland.spec.js @@ -1,31 +1,25 @@ -import { ireland } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/ireland.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { ireland } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/ireland.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Ireland', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [ireland], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [ireland], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [ireland], codes, name)) - }) - + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [ireland], codes, name)); + }); + it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [ireland], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [ireland], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [ireland], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [ireland], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [ireland])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [ireland])); + }); +}); diff --git a/test/italy.spec.js b/test/italy.spec.js index 963733e..a421b23 100644 --- a/test/italy.spec.js +++ b/test/italy.spec.js @@ -1,31 +1,25 @@ -import { italy } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/italy.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { italy } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/italy.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Italy', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [italy], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [italy], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [italy], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [italy], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [italy], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [italy], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [italy], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [italy], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [italy])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [italy])); + }); +}); diff --git a/test/latvia.spec.js b/test/latvia.spec.js index 65d3ebf..3fcbd80 100644 --- a/test/latvia.spec.js +++ b/test/latvia.spec.js @@ -1,31 +1,25 @@ -import { latvia } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/latvia.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { latvia } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/latvia.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Latvia', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [latvia], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [latvia], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [latvia], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [latvia], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [latvia], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [latvia], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [latvia], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [latvia], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [latvia])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [latvia])); + }); +}); diff --git a/test/lithuania.spec.js b/test/lithuania.spec.js index 043f4a4..afde2d2 100644 --- a/test/lithuania.spec.js +++ b/test/lithuania.spec.js @@ -1,31 +1,25 @@ -import { lithuania } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/lithuania.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { lithuania } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/lithuania.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Lithuania', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [lithuania], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [lithuania], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [lithuania], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [lithuania], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [lithuania], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [lithuania], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [lithuania], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [lithuania], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [lithuania])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [lithuania])); + }); +}); diff --git a/test/luxembourg.spec.js b/test/luxembourg.spec.js index 8c3911e..50502b1 100644 --- a/test/luxembourg.spec.js +++ b/test/luxembourg.spec.js @@ -1,31 +1,25 @@ -import { luxembourg } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/luxembourg.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { luxembourg } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/luxembourg.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Luxembourg', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [luxembourg], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [luxembourg], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [luxembourg], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [luxembourg], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [luxembourg], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [luxembourg], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [luxembourg], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [luxembourg], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [luxembourg])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [luxembourg])); + }); +}); diff --git a/test/malta.spec.js b/test/malta.spec.js index 48361ee..c18c1de 100644 --- a/test/malta.spec.js +++ b/test/malta.spec.js @@ -1,31 +1,25 @@ -import { malta } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/malta.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { malta } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/malta.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Malta', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [malta], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [malta], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [malta], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [malta], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [malta], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [malta], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [malta], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [malta], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [malta])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [malta])); + }); +}); diff --git a/test/netherlands.spec.js b/test/netherlands.spec.js index 2b2f1c9..8815a07 100644 --- a/test/netherlands.spec.js +++ b/test/netherlands.spec.js @@ -1,31 +1,25 @@ -import { netherlands } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/netherlands.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { netherlands } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/netherlands.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Netherlands', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [netherlands], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [netherlands], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [netherlands], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [netherlands], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [netherlands], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [netherlands], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [netherlands], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [netherlands], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [netherlands])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [netherlands])); + }); +}); diff --git a/test/norway.spec.js b/test/norway.spec.js index eb6982c..94e9903 100644 --- a/test/norway.spec.js +++ b/test/norway.spec.js @@ -1,31 +1,25 @@ -import { norway } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/norway.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { norway } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/norway.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Norway', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [norway], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [norway], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [norway], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [norway], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [norway], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [norway], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [norway], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [norway], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [norway])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [norway])); + }); +}); diff --git a/test/poland.spec.js b/test/poland.spec.js index 089f3c9..b9f3b6e 100644 --- a/test/poland.spec.js +++ b/test/poland.spec.js @@ -1,31 +1,25 @@ -import { poland } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/poland.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { poland } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/poland.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Poland', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [poland], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [poland], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [poland], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [poland], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [poland], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [poland], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [poland], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [poland], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [poland])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [poland])); + }); +}); diff --git a/test/portugal.spec.js b/test/portugal.spec.js index f912f11..6d7f818 100644 --- a/test/portugal.spec.js +++ b/test/portugal.spec.js @@ -1,31 +1,25 @@ -import { portugal } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/portugal.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { portugal } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/portugal.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Portugal', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [portugal], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [portugal], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [portugal], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [portugal], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [portugal], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [portugal], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [portugal], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [portugal], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [portugal])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [portugal])); + }); +}); diff --git a/test/romania.spec.js b/test/romania.spec.js index 971181c..c23af6c 100644 --- a/test/romania.spec.js +++ b/test/romania.spec.js @@ -1,31 +1,25 @@ -import { romania } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/romania.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { romania } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/romania.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Romania', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [romania], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [romania], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [romania], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [romania], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [romania], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [romania], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [romania], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [romania], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [romania])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [romania])); + }); +}); diff --git a/test/russia.spec.js b/test/russia.spec.js index 0d47d56..7901a8a 100644 --- a/test/russia.spec.js +++ b/test/russia.spec.js @@ -1,31 +1,25 @@ -import { russia } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/russia.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { russia } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/russia.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Russia', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [russia], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [russia], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [russia], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [russia], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [russia], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [russia], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [russia], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [russia], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [russia])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [russia])); + }); +}); diff --git a/test/serbia.spec.js b/test/serbia.spec.js index a39c900..ffb30d0 100644 --- a/test/serbia.spec.js +++ b/test/serbia.spec.js @@ -1,31 +1,25 @@ -import { serbia } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/serbia.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { serbia } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/serbia.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Serbia', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [serbia], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [serbia], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [serbia], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [serbia], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [serbia], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [serbia], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [serbia], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [serbia], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [serbia])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [serbia])); + }); +}); diff --git a/test/slovakiaRepublic.spec.js b/test/slovakiaRepublic.spec.js index 61472cc..d0be5f8 100644 --- a/test/slovakiaRepublic.spec.js +++ b/test/slovakiaRepublic.spec.js @@ -1,31 +1,29 @@ -import { slovakiaRepublic } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/slovakiaRepublic.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { slovakiaRepublic } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/slovakiaRepublic.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Slovakia Republic', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [slovakiaRepublic], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [slovakiaRepublic], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [slovakiaRepublic], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [slovakiaRepublic], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [slovakiaRepublic], codes, name)) - }) + .map((vat) => addCharsToString(vat, '-')) + .forEach((vat) => checkValidVat(vat, [slovakiaRepublic], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [slovakiaRepublic], codes, name)) - }) + .map((vat) => addCharsToString(vat, ' ')) + .forEach((vat) => checkValidVat(vat, [slovakiaRepublic], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [slovakiaRepublic])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [slovakiaRepublic])); + }); +}); diff --git a/test/slovenia.spec.js b/test/slovenia.spec.js index 707fad4..9588088 100644 --- a/test/slovenia.spec.js +++ b/test/slovenia.spec.js @@ -1,31 +1,25 @@ -import { slovenia } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/slovenia.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { slovenia } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/slovenia.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Slovenia', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [slovenia], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [slovenia], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [slovenia], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [slovenia], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [slovenia], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [slovenia], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [slovenia], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [slovenia], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [slovenia])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [slovenia])); + }); +}); diff --git a/test/spain.spec.js b/test/spain.spec.js index a91dd77..f6a47c5 100644 --- a/test/spain.spec.js +++ b/test/spain.spec.js @@ -1,31 +1,25 @@ -import { spain } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/spain.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { spain } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/spain.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Spain', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [spain], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [spain], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [spain], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [spain], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [spain], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [spain], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [spain], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [spain], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [spain])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [spain])); + }); +}); diff --git a/test/sweden.spec.js b/test/sweden.spec.js index 3b5008c..57c19bb 100644 --- a/test/sweden.spec.js +++ b/test/sweden.spec.js @@ -1,31 +1,25 @@ -import { sweden } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/sweden.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { sweden } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/sweden.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Sweden', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [sweden], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [sweden], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [sweden], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [sweden], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [sweden], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [sweden], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [sweden], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [sweden], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [sweden])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [sweden])); + }); +}); diff --git a/test/switzerland.spec.js b/test/switzerland.spec.js index 62f14e3..d61c280 100644 --- a/test/switzerland.spec.js +++ b/test/switzerland.spec.js @@ -1,31 +1,25 @@ -import { switzerland } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/switzerland.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { switzerland } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/switzerland.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('Switzerland', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [switzerland], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [switzerland], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [switzerland], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [switzerland], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [switzerland], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [switzerland], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [switzerland], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [switzerland], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [switzerland])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [switzerland])); + }); +}); diff --git a/test/unitedKingdom.spec.js b/test/unitedKingdom.spec.js index dade85d..ca3f08d 100644 --- a/test/unitedKingdom.spec.js +++ b/test/unitedKingdom.spec.js @@ -1,31 +1,25 @@ -import { unitedKingdom } from '../index' -import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/unitedKingdom.vat' -import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils' +import { unitedKingdom } from '../index'; +import { codes, invalid, name, valid, validOnlyByFormat } from './countries_vat_lists/unitedKingdom.vat'; +import { addCharsToString, checkInvalidVat, checkOnlyValidFormatVat, checkValidVat } from './utils'; describe('United Kingdom', () => { - it('should return "true" result for valid VATs', () => { - valid.forEach(vat => checkValidVat(vat, [unitedKingdom], codes, name)) - }) + valid.forEach((vat) => checkValidVat(vat, [unitedKingdom], codes, name)); + }); it('should return "true" for "isSupportedCountry" and "isValidFormat" fields, but "false" for "isValid" for VATs that match format but still invalid', () => { - validOnlyByFormat.forEach(vat => checkOnlyValidFormatVat(vat, [unitedKingdom], codes, name)) - }) + validOnlyByFormat.forEach((vat) => checkOnlyValidFormatVat(vat, [unitedKingdom], codes, name)); + }); it('should return "true" result for valid VATs with extra dash characters', () => { - valid - .map(vat => addCharsToString(vat, '-')) - .forEach(vat => checkValidVat(vat, [unitedKingdom], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, '-')).forEach((vat) => checkValidVat(vat, [unitedKingdom], codes, name)); + }); it('should return "true" result for valid VATs with extra space characters', () => { - valid - .map(vat => addCharsToString(vat, ' ')) - .forEach(vat => checkValidVat(vat, [unitedKingdom], codes, name)) - }) + valid.map((vat) => addCharsToString(vat, ' ')).forEach((vat) => checkValidVat(vat, [unitedKingdom], codes, name)); + }); it('should return "false" result for invalid VATs', () => { - invalid.forEach(vat => checkInvalidVat(vat, [unitedKingdom])) - }) - -}) + invalid.forEach((vat) => checkInvalidVat(vat, [unitedKingdom])); + }); +}); diff --git a/test/utils.js b/test/utils.js index f3ada89..a35c3e5 100644 --- a/test/utils.js +++ b/test/utils.js @@ -1,40 +1,38 @@ -import { checkVAT } from '../index' +import { checkVAT } from '../index'; export function checkValidVat(vat, countriesList, codes, name) { - const result = checkVAT(vat, countriesList) + const result = checkVAT(vat, countriesList); if (!result.isValid) console.info('Invalid VAT:', vat); - expect(result.isValid).toBe(true) - expect(result.isSupportedCountry).toBe(true) - expect(result.isValidFormat).toBe(true) - expect(result.country.name).toBe(name) - expect(result.country.isoCode.short).toBe(codes[0]) - expect(result.country.isoCode.long).toBe(codes[1]) - expect(result.country.isoCode.numeric).toBe(codes[2]) + expect(result.isValid).toBe(true); + expect(result.isSupportedCountry).toBe(true); + expect(result.isValidFormat).toBe(true); + expect(result.country.name).toBe(name); + expect(result.country.isoCode.short).toBe(codes[0]); + expect(result.country.isoCode.long).toBe(codes[1]); + expect(result.country.isoCode.numeric).toBe(codes[2]); } export function checkInvalidVat(vat, countriesList) { - const result = checkVAT(vat, countriesList) + const result = checkVAT(vat, countriesList); if (result.isValid) console.info('Following VAT should be invalid:', vat); - expect(result.isValid).toBe(false) + expect(result.isValid).toBe(false); } - export function checkOnlyValidFormatVat(vat, countriesList) { - const result = checkVAT(vat, countriesList) + const result = checkVAT(vat, countriesList); if (!result.isValid) console.info('Invalid VAT:', vat); - expect(result.isValid).toBe(false) - expect(result.isSupportedCountry).toBe(true) - expect(result.isValidFormat).toBe(true) + expect(result.isValid).toBe(false); + expect(result.isSupportedCountry).toBe(true); + expect(result.isValidFormat).toBe(true); } export function addCharsToString(item, char) { - const val = item.split('') - val.splice(3, 0, char) - val.splice(7, 0, char) - return val.join('') + const val = item.split(''); + val.splice(3, 0, char); + val.splice(7, 0, char); + return val.join(''); } - diff --git a/yarn.lock b/yarn.lock index feaa595..62fad20 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8,6 +8,13 @@ dependencies: "@babel/highlight" "^7.0.0" +"@babel/code-frame@^7.10.4": + version "7.12.11" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f" + integrity sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw== + dependencies: + "@babel/highlight" "^7.10.4" + "@babel/code-frame@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e" @@ -15,14 +22,10 @@ dependencies: "@babel/highlight" "^7.8.3" -"@babel/compat-data@^7.8.6", "@babel/compat-data@^7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.9.0.tgz#04815556fc90b0c174abd2c0c1bb966faa036a6c" - integrity sha512-zeFQrr+284Ekvd9e7KAX954LkapWiOmQtsfHirhxqfdlX6MEC32iRE+pqUGlYIBchdevaCwvzxWGSy/YBNI85g== - dependencies: - browserslist "^4.9.1" - invariant "^2.2.4" - semver "^5.5.0" +"@babel/compat-data@^7.12.5", "@babel/compat-data@^7.12.7": + version "7.12.7" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.12.7.tgz#9329b4782a7d6bbd7eef57e11addf91ee3ef1e41" + integrity sha512-YaxPMGs/XIWtYqrdEOZOCPsVWfEoriXopnsz3/i7apYPXQ3698UFhS6dVT1KN5qOsWmVgw/FOrmQgpRaZayGsw== "@babel/core@^7.1.0": version "7.4.5" @@ -65,6 +68,15 @@ semver "^5.4.1" source-map "^0.5.0" +"@babel/generator@^7.12.10": + version "7.12.11" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.12.11.tgz#98a7df7b8c358c9a37ab07a24056853016aba3af" + integrity sha512-Ggg6WPOJtSi8yYQvLVjG8F/TlpWDlKx0OpS4Kt+xMQPs5OaGYWy+v1A+1TvxI6sAMGZpKWWoAQ1DaeQbImlItA== + dependencies: + "@babel/types" "^7.12.11" + jsesc "^2.5.1" + source-map "^0.5.0" + "@babel/generator@^7.4.4": version "7.4.4" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.4.4.tgz#174a215eb843fc392c7edcaabeaa873de6e8f041" @@ -85,6 +97,13 @@ lodash "^4.17.13" source-map "^0.5.0" +"@babel/helper-annotate-as-pure@^7.10.4": + version "7.12.10" + resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.12.10.tgz#54ab9b000e60a93644ce17b3f37d313aaf1d115d" + integrity sha512-XplmVbC1n+KY6jL8/fgLVXXUauDIB+lD5+GsQEh6F6GBF1dq1qy4DP4yXWzDKcoqXB3X58t61e85Fitoww4JVQ== + dependencies: + "@babel/types" "^7.12.10" + "@babel/helper-annotate-as-pure@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.8.3.tgz#60bc0bc657f63a0924ff9a4b4a0b24a13cf4deee" @@ -92,25 +111,43 @@ dependencies: "@babel/types" "^7.8.3" -"@babel/helper-builder-binary-assignment-operator-visitor@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.8.3.tgz#c84097a427a061ac56a1c30ebf54b7b22d241503" - integrity sha512-5eFOm2SyFPK4Rh3XMMRDjN7lBH0orh3ss0g3rTYZnBQ+r6YPj7lgDyCvPphynHvUrobJmeMignBr6Acw9mAPlw== +"@babel/helper-builder-binary-assignment-operator-visitor@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.10.4.tgz#bb0b75f31bf98cbf9ff143c1ae578b87274ae1a3" + integrity sha512-L0zGlFrGWZK4PbT8AszSfLTM5sDU1+Az/En9VrdT8/LmEiJt4zXt+Jve9DCAnQcbqDhCI+29y/L93mrDzddCcg== dependencies: - "@babel/helper-explode-assignable-expression" "^7.8.3" - "@babel/types" "^7.8.3" + "@babel/helper-explode-assignable-expression" "^7.10.4" + "@babel/types" "^7.10.4" -"@babel/helper-compilation-targets@^7.8.7": - version "7.8.7" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.8.7.tgz#dac1eea159c0e4bd46e309b5a1b04a66b53c1dde" - integrity sha512-4mWm8DCK2LugIS+p1yArqvG1Pf162upsIsjE7cNBjez+NjliQpVhj20obE520nao0o14DaTnFJv+Fw5a0JpoUw== +"@babel/helper-compilation-targets@^7.12.5": + version "7.12.5" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.12.5.tgz#cb470c76198db6a24e9dbc8987275631e5d29831" + integrity sha512-+qH6NrscMolUlzOYngSBMIOQpKUGPPsc61Bu5W10mg84LxZ7cmvnBHzARKbDoFxVvqqAbj6Tg6N7bSrWSPXMyw== dependencies: - "@babel/compat-data" "^7.8.6" - browserslist "^4.9.1" - invariant "^2.2.4" - levenary "^1.1.1" + "@babel/compat-data" "^7.12.5" + "@babel/helper-validator-option" "^7.12.1" + browserslist "^4.14.5" semver "^5.5.0" +"@babel/helper-create-class-features-plugin@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.12.1.tgz#3c45998f431edd4a9214c5f1d3ad1448a6137f6e" + integrity sha512-hkL++rWeta/OVOBTRJc9a5Azh5mt5WgZUGAKMD8JM141YsE08K//bp1unBBieO6rUKkIPyUE0USQ30jAy3Sk1w== + dependencies: + "@babel/helper-function-name" "^7.10.4" + "@babel/helper-member-expression-to-functions" "^7.12.1" + "@babel/helper-optimise-call-expression" "^7.10.4" + "@babel/helper-replace-supers" "^7.12.1" + "@babel/helper-split-export-declaration" "^7.10.4" + +"@babel/helper-create-regexp-features-plugin@^7.12.1": + version "7.12.7" + resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.12.7.tgz#2084172e95443fa0a09214ba1bb328f9aea1278f" + integrity sha512-idnutvQPdpbduutvi3JVfEgcVIHooQnhvhx0Nk9isOINOIGYkZea1Pk2JlJRiUnMefrlvr0vkByATBY/mB4vjQ== + dependencies: + "@babel/helper-annotate-as-pure" "^7.10.4" + regexpu-core "^4.7.1" + "@babel/helper-create-regexp-features-plugin@^7.8.3", "@babel/helper-create-regexp-features-plugin@^7.8.8": version "7.8.8" resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.8.8.tgz#5d84180b588f560b7864efaeea89243e58312087" @@ -120,22 +157,21 @@ "@babel/helper-regex" "^7.8.3" regexpu-core "^4.7.0" -"@babel/helper-define-map@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-define-map/-/helper-define-map-7.8.3.tgz#a0655cad5451c3760b726eba875f1cd8faa02c15" - integrity sha512-PoeBYtxoZGtct3md6xZOCWPcKuMuk3IHhgxsRRNtnNShebf4C8YonTSblsK4tvDbm+eJAw2HAPOfCr+Q/YRG/g== +"@babel/helper-define-map@^7.10.4": + version "7.10.5" + resolved "https://registry.yarnpkg.com/@babel/helper-define-map/-/helper-define-map-7.10.5.tgz#b53c10db78a640800152692b13393147acb9bb30" + integrity sha512-fMw4kgFB720aQFXSVaXr79pjjcW5puTCM16+rECJ/plGS+zByelE8l9nCpV1GibxTnFVmUuYG9U8wYfQHdzOEQ== dependencies: - "@babel/helper-function-name" "^7.8.3" - "@babel/types" "^7.8.3" - lodash "^4.17.13" + "@babel/helper-function-name" "^7.10.4" + "@babel/types" "^7.10.5" + lodash "^4.17.19" -"@babel/helper-explode-assignable-expression@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.8.3.tgz#a728dc5b4e89e30fc2dfc7d04fa28a930653f982" - integrity sha512-N+8eW86/Kj147bO9G2uclsg5pwfs/fqqY5rwgIL7eTBklgXjcOJ3btzS5iM6AitJcftnY7pm2lGsrJVYLGjzIw== +"@babel/helper-explode-assignable-expression@^7.10.4": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.12.1.tgz#8006a466695c4ad86a2a5f2fb15b5f2c31ad5633" + integrity sha512-dmUwH8XmlrUpVqgtZ737tK88v07l840z9j3OEhCLwKTkjlvKpfqXVIZ0wpK3aeOxspwGrf/5AP5qLx4rO3w5rA== dependencies: - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" + "@babel/types" "^7.12.1" "@babel/helper-function-name@^7.1.0": version "7.1.0" @@ -145,7 +181,16 @@ "@babel/template" "^7.1.0" "@babel/types" "^7.0.0" -"@babel/helper-function-name@^7.8.3", "@babel/helper-function-name@^7.9.5": +"@babel/helper-function-name@^7.10.4": + version "7.12.11" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.12.11.tgz#1fd7738aee5dcf53c3ecff24f1da9c511ec47b42" + integrity sha512-AtQKjtYNolKNi6nNNVLQ27CP6D9oFR6bq/HPYSizlzbp7uC1M59XJe8L+0uXjbIaZaUJF99ruHqVGiKXU/7ybA== + dependencies: + "@babel/helper-get-function-arity" "^7.12.10" + "@babel/template" "^7.12.7" + "@babel/types" "^7.12.11" + +"@babel/helper-function-name@^7.9.5": version "7.9.5" resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.9.5.tgz#2b53820d35275120e1874a82e5aabe1376920a5c" integrity sha512-JVcQZeXM59Cd1qanDUxv9fgJpt3NeKUaqBqUEvfmQ+BCOKq2xUgaWZW2hr0dkbyJgezYuplEoh5knmrnS68efw== @@ -160,6 +205,13 @@ dependencies: "@babel/types" "^7.0.0" +"@babel/helper-get-function-arity@^7.12.10": + version "7.12.10" + resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.12.10.tgz#b158817a3165b5faa2047825dfa61970ddcc16cf" + integrity sha512-mm0n5BPjR06wh9mPQaDdXWDoll/j5UpCAPl1x8fS71GHm7HA6Ua2V4ylG1Ju8lvcTOietbPNNPaSilKj+pj+Ag== + dependencies: + "@babel/types" "^7.12.10" + "@babel/helper-get-function-arity@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz#b894b947bd004381ce63ea1db9f08547e920abd5" @@ -167,12 +219,19 @@ dependencies: "@babel/types" "^7.8.3" -"@babel/helper-hoist-variables@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.8.3.tgz#1dbe9b6b55d78c9b4183fc8cdc6e30ceb83b7134" - integrity sha512-ky1JLOjcDUtSc+xkt0xhYff7Z6ILTAHKmZLHPxAhOP0Nd77O+3nCsd6uSVYur6nJnCI029CrNbYlc0LoPfAPQg== +"@babel/helper-hoist-variables@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.10.4.tgz#d49b001d1d5a68ca5e6604dda01a6297f7c9381e" + integrity sha512-wljroF5PgCk2juF69kanHVs6vrLwIPNp6DLD+Lrl3hoQ3PpPPikaDRNFA+0t81NOoMt2DL6WW/mdU8k4k6ZzuA== dependencies: - "@babel/types" "^7.8.3" + "@babel/types" "^7.10.4" + +"@babel/helper-member-expression-to-functions@^7.12.1", "@babel/helper-member-expression-to-functions@^7.12.7": + version "7.12.7" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.12.7.tgz#aa77bd0396ec8114e5e30787efa78599d874a855" + integrity sha512-DCsuPyeWxeHgh1Dus7APn7iza42i/qXqiFPWyBDdOFtvS581JQePsc1F/nD+fHrcswhLlRc2UpYS1NwERxZhHw== + dependencies: + "@babel/types" "^7.12.7" "@babel/helper-member-expression-to-functions@^7.8.3": version "7.8.3" @@ -181,6 +240,13 @@ dependencies: "@babel/types" "^7.8.3" +"@babel/helper-module-imports@^7.12.1", "@babel/helper-module-imports@^7.12.5": + version "7.12.5" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.12.5.tgz#1bfc0229f794988f76ed0a4d4e90860850b54dfb" + integrity sha512-SR713Ogqg6++uexFRORf/+nPXMmWIn80TALu0uaFb+iQIUoR7bOC7zBWyzBs5b3tBBJXuyD0cRu1F15GyzjOWA== + dependencies: + "@babel/types" "^7.12.5" + "@babel/helper-module-imports@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.8.3.tgz#7fe39589b39c016331b6b8c3f441e8f0b1419498" @@ -188,6 +254,21 @@ dependencies: "@babel/types" "^7.8.3" +"@babel/helper-module-transforms@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.12.1.tgz#7954fec71f5b32c48e4b303b437c34453fd7247c" + integrity sha512-QQzehgFAZ2bbISiCpmVGfiGux8YVFXQ0abBic2Envhej22DVXV9nCFaS5hIQbkyo1AdGb+gNME2TSh3hYJVV/w== + dependencies: + "@babel/helper-module-imports" "^7.12.1" + "@babel/helper-replace-supers" "^7.12.1" + "@babel/helper-simple-access" "^7.12.1" + "@babel/helper-split-export-declaration" "^7.11.0" + "@babel/helper-validator-identifier" "^7.10.4" + "@babel/template" "^7.10.4" + "@babel/traverse" "^7.12.1" + "@babel/types" "^7.12.1" + lodash "^4.17.19" + "@babel/helper-module-transforms@^7.9.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.9.0.tgz#43b34dfe15961918707d247327431388e9fe96e5" @@ -201,6 +282,13 @@ "@babel/types" "^7.9.0" lodash "^4.17.13" +"@babel/helper-optimise-call-expression@^7.10.4", "@babel/helper-optimise-call-expression@^7.12.10": + version "7.12.10" + resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.12.10.tgz#94ca4e306ee11a7dd6e9f42823e2ac6b49881e2d" + integrity sha512-4tpbU0SrSTjjt65UMWSrUOPZTsgvPgGG4S8QSTNHacKzpS51IVWGDj0yCwyeZND/i+LSN2g/O63jEXEWm49sYQ== + dependencies: + "@babel/types" "^7.12.10" + "@babel/helper-optimise-call-expression@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.8.3.tgz#7ed071813d09c75298ef4f208956006b6111ecb9" @@ -212,6 +300,11 @@ version "7.0.0" resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz#bbb3fbee98661c569034237cc03967ba99b4f250" +"@babel/helper-plugin-utils@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.4.tgz#2f75a831269d4f677de49986dff59927533cf375" + integrity sha512-O4KCvQA6lLiMU9l2eawBPMf1xPP8xPfB3iEQw150hOVTqj/rfXz0ThTb4HEzqQfs2Bmo5Ay8BzxfzVtBrr9dVg== + "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz#9ea293be19babc0f52ff8ca88b34c3611b208670" @@ -224,18 +317,26 @@ dependencies: lodash "^4.17.13" -"@babel/helper-remap-async-to-generator@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.8.3.tgz#273c600d8b9bf5006142c1e35887d555c12edd86" - integrity sha512-kgwDmw4fCg7AVgS4DukQR/roGp+jP+XluJE5hsRZwxCYGg+Rv9wSGErDWhlI90FODdYfd4xG4AQRiMDjjN0GzA== +"@babel/helper-remap-async-to-generator@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.12.1.tgz#8c4dbbf916314f6047dc05e6a2217074238347fd" + integrity sha512-9d0KQCRM8clMPcDwo8SevNs+/9a8yWVVmaE80FGJcEP8N1qToREmWEGnBn8BUlJhYRFz6fqxeRL1sl5Ogsed7A== dependencies: - "@babel/helper-annotate-as-pure" "^7.8.3" - "@babel/helper-wrap-function" "^7.8.3" - "@babel/template" "^7.8.3" - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" + "@babel/helper-annotate-as-pure" "^7.10.4" + "@babel/helper-wrap-function" "^7.10.4" + "@babel/types" "^7.12.1" -"@babel/helper-replace-supers@^7.8.3", "@babel/helper-replace-supers@^7.8.6": +"@babel/helper-replace-supers@^7.12.1": + version "7.12.11" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.12.11.tgz#ea511658fc66c7908f923106dd88e08d1997d60d" + integrity sha512-q+w1cqmhL7R0FNzth/PLLp2N+scXEK/L2AHbXUyydxp828F4FEa5WcVoqui9vFRiHDQErj9Zof8azP32uGVTRA== + dependencies: + "@babel/helper-member-expression-to-functions" "^7.12.7" + "@babel/helper-optimise-call-expression" "^7.12.10" + "@babel/traverse" "^7.12.10" + "@babel/types" "^7.12.11" + +"@babel/helper-replace-supers@^7.8.6": version "7.8.6" resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.8.6.tgz#5ada744fd5ad73203bf1d67459a27dcba67effc8" integrity sha512-PeMArdA4Sv/Wf4zXwBKPqVj7n9UF/xg6slNRtZW84FM7JpE1CbG8B612FyM4cxrf4fMAMGO0kR7voy1ForHHFA== @@ -245,6 +346,13 @@ "@babel/traverse" "^7.8.6" "@babel/types" "^7.8.6" +"@babel/helper-simple-access@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.12.1.tgz#32427e5aa61547d38eb1e6eaf5fd1426fdad9136" + integrity sha512-OxBp7pMrjVewSSC8fXDFrHrBcJATOOFssZwv16F3/6Xtc138GHybBfPbm9kfiqQHKhYQrlamWILwlDCeyMFEaA== + dependencies: + "@babel/types" "^7.12.1" + "@babel/helper-simple-access@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.8.3.tgz#7f8109928b4dab4654076986af575231deb639ae" @@ -253,6 +361,20 @@ "@babel/template" "^7.8.3" "@babel/types" "^7.8.3" +"@babel/helper-skip-transparent-expression-wrappers@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.12.1.tgz#462dc63a7e435ade8468385c63d2b84cce4b3cbf" + integrity sha512-Mf5AUuhG1/OCChOJ/HcADmvcHM42WJockombn8ATJG3OnyiSxBK/Mm5x78BQWvmtXZKHgbjdGL2kin/HOLlZGA== + dependencies: + "@babel/types" "^7.12.1" + +"@babel/helper-split-export-declaration@^7.10.4", "@babel/helper-split-export-declaration@^7.11.0": + version "7.12.11" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.12.11.tgz#1b4cc424458643c47d37022223da33d76ea4603a" + integrity sha512-LsIVN8j48gHgwzfocYUSkO/hjYAOJqlpJEc7tGXcIm4cubjVUf8LGW6eWRyxEu7gA25q02p0rQUWoCI33HNS5g== + dependencies: + "@babel/types" "^7.12.11" + "@babel/helper-split-export-declaration@^7.4.4": version "7.4.4" resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.4.4.tgz#ff94894a340be78f53f06af038b205c49d993677" @@ -266,20 +388,30 @@ dependencies: "@babel/types" "^7.8.3" +"@babel/helper-validator-identifier@^7.10.4", "@babel/helper-validator-identifier@^7.12.11": + version "7.12.11" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz#c9a1f021917dcb5ccf0d4e453e399022981fc9ed" + integrity sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw== + "@babel/helper-validator-identifier@^7.9.0", "@babel/helper-validator-identifier@^7.9.5": version "7.9.5" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz#90977a8e6fbf6b431a7dc31752eee233bf052d80" integrity sha512-/8arLKUFq882w4tWGj9JYzRpAlZgiWUJ+dtteNTDqrRBz9Iguck9Rn3ykuBDoUwh2TO4tSAJlrxDUOXWklJe4g== -"@babel/helper-wrap-function@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.8.3.tgz#9dbdb2bb55ef14aaa01fe8c99b629bd5352d8610" - integrity sha512-LACJrbUET9cQDzb6kG7EeD7+7doC3JNvUgTEQOx2qaO1fKlzE/Bf05qs9w1oXQMmXlPO65lC3Tq9S6gZpTErEQ== +"@babel/helper-validator-option@^7.12.1", "@babel/helper-validator-option@^7.12.11": + version "7.12.11" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.12.11.tgz#d66cb8b7a3e7fe4c6962b32020a131ecf0847f4f" + integrity sha512-TBFCyj939mFSdeX7U7DDj32WtzYY7fDcalgq8v3fBZMNOJQNn7nOYzMaUCiPxPYfCup69mtIpqlKgMZLvQ8Xhw== + +"@babel/helper-wrap-function@^7.10.4": + version "7.12.3" + resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.12.3.tgz#3332339fc4d1fbbf1c27d7958c27d34708e990d9" + integrity sha512-Cvb8IuJDln3rs6tzjW3Y8UeelAOdnpB8xtQ4sme2MSZ9wOxrbThporC0y/EtE16VAtoyEfLM404Xr1e0OOp+ow== dependencies: - "@babel/helper-function-name" "^7.8.3" - "@babel/template" "^7.8.3" - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" + "@babel/helper-function-name" "^7.10.4" + "@babel/template" "^7.10.4" + "@babel/traverse" "^7.10.4" + "@babel/types" "^7.10.4" "@babel/helpers@^7.4.4": version "7.4.4" @@ -306,6 +438,15 @@ esutils "^2.0.2" js-tokens "^4.0.0" +"@babel/highlight@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.10.4.tgz#7d1bdfd65753538fabe6c38596cdb76d9ac60143" + integrity sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA== + dependencies: + "@babel/helper-validator-identifier" "^7.10.4" + chalk "^2.0.0" + js-tokens "^4.0.0" + "@babel/highlight@^7.8.3": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.9.0.tgz#4e9b45ccb82b79607271b2979ad82c7b68163079" @@ -319,78 +460,124 @@ version "7.4.5" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.4.5.tgz#04af8d5d5a2b044a2a1bffacc1e5e6673544e872" +"@babel/parser@^7.12.10", "@babel/parser@^7.12.7": + version "7.12.11" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.12.11.tgz#9ce3595bcd74bc5c466905e86c535b8b25011e79" + integrity sha512-N3UxG+uuF4CMYoNj8AhnbAcJF0PiuJ9KHuy1lQmkYsxTer/MAH9UBNHsBoAX/4s6NvlDD047No8mYVGGzLL4hg== + "@babel/parser@^7.7.5", "@babel/parser@^7.8.6", "@babel/parser@^7.9.0": version "7.9.4" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.9.4.tgz#68a35e6b0319bbc014465be43828300113f2f2e8" integrity sha512-bC49otXX6N0/VYhgOMh4gnP26E9xnDZK3TmbNpxYzzz9BQLBosQwfyOe9/cXUU3txYhTzLCbcqd5c8y/OmCjHA== -"@babel/plugin-proposal-async-generator-functions@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.8.3.tgz#bad329c670b382589721b27540c7d288601c6e6f" - integrity sha512-NZ9zLv848JsV3hs8ryEh7Uaz/0KsmPLqv0+PdkDJL1cJy0K4kOCFa8zc1E3mp+RHPQcpdfb/6GovEsW4VDrOMw== +"@babel/plugin-proposal-async-generator-functions@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.12.1.tgz#dc6c1170e27d8aca99ff65f4925bd06b1c90550e" + integrity sha512-d+/o30tJxFxrA1lhzJqiUcEJdI6jKlNregCv5bASeGf2Q4MXmnwH7viDo7nhx1/ohf09oaH8j1GVYG/e3Yqk6A== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-remap-async-to-generator" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/helper-remap-async-to-generator" "^7.12.1" "@babel/plugin-syntax-async-generators" "^7.8.0" -"@babel/plugin-proposal-dynamic-import@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.8.3.tgz#38c4fe555744826e97e2ae930b0fb4cc07e66054" - integrity sha512-NyaBbyLFXFLT9FP+zk0kYlUlA8XtCUbehs67F0nnEg7KICgMc2mNkIeu9TYhKzyXMkrapZFwAhXLdnt4IYHy1w== +"@babel/plugin-proposal-class-properties@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.12.1.tgz#a082ff541f2a29a4821065b8add9346c0c16e5de" + integrity sha512-cKp3dlQsFsEs5CWKnN7BnSHOd0EOW8EKpEjkoz1pO2E5KzIDNV9Ros1b0CnmbVgAGXJubOYVBOGCT1OmJwOI7w== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-create-class-features-plugin" "^7.12.1" + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-proposal-dynamic-import@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.12.1.tgz#43eb5c2a3487ecd98c5c8ea8b5fdb69a2749b2dc" + integrity sha512-a4rhUSZFuq5W8/OO8H7BL5zspjnc1FLd9hlOxIK/f7qG4a0qsqk8uvF/ywgBA8/OmjsapjpvaEOYItfGG1qIvQ== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-dynamic-import" "^7.8.0" -"@babel/plugin-proposal-json-strings@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.8.3.tgz#da5216b238a98b58a1e05d6852104b10f9a70d6b" - integrity sha512-KGhQNZ3TVCQG/MjRbAUwuH+14y9q0tpxs1nWWs3pbSleRdDro9SAMMDyye8HhY1gqZ7/NqIc8SKhya0wRDgP1Q== +"@babel/plugin-proposal-export-namespace-from@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.12.1.tgz#8b9b8f376b2d88f5dd774e4d24a5cc2e3679b6d4" + integrity sha512-6CThGf0irEkzujYS5LQcjBx8j/4aQGiVv7J9+2f7pGfxqyKh3WnmVJYW3hdrQjyksErMGBPQrCnHfOtna+WLbw== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-export-namespace-from" "^7.8.3" + +"@babel/plugin-proposal-json-strings@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.12.1.tgz#d45423b517714eedd5621a9dfdc03fa9f4eb241c" + integrity sha512-GoLDUi6U9ZLzlSda2Df++VSqDJg3CG+dR0+iWsv6XRw1rEq+zwt4DirM9yrxW6XWaTpmai1cWJLMfM8qQJf+yw== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-json-strings" "^7.8.0" -"@babel/plugin-proposal-nullish-coalescing-operator@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.8.3.tgz#e4572253fdeed65cddeecfdab3f928afeb2fd5d2" - integrity sha512-TS9MlfzXpXKt6YYomudb/KU7nQI6/xnapG6in1uZxoxDghuSMZsPb6D2fyUwNYSAp4l1iR7QtFOjkqcRYcUsfw== +"@babel/plugin-proposal-logical-assignment-operators@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.12.1.tgz#f2c490d36e1b3c9659241034a5d2cd50263a2751" + integrity sha512-k8ZmVv0JU+4gcUGeCDZOGd0lCIamU/sMtIiX3UWnUc5yzgq6YUGyEolNYD+MLYKfSzgECPcqetVcJP9Afe/aCA== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" + +"@babel/plugin-proposal-nullish-coalescing-operator@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.12.1.tgz#3ed4fff31c015e7f3f1467f190dbe545cd7b046c" + integrity sha512-nZY0ESiaQDI1y96+jk6VxMOaL4LPo/QDHBqL+SF3/vl6dHkTwHlOI8L4ZwuRBHgakRBw5zsVylel7QPbbGuYgg== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0" -"@babel/plugin-proposal-numeric-separator@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.8.3.tgz#5d6769409699ec9b3b68684cd8116cedff93bad8" - integrity sha512-jWioO1s6R/R+wEHizfaScNsAx+xKgwTLNXSh7tTC4Usj3ItsPEhYkEpU4h+lpnBwq7NBVOJXfO6cRFYcX69JUQ== +"@babel/plugin-proposal-numeric-separator@^7.12.7": + version "7.12.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.12.7.tgz#8bf253de8139099fea193b297d23a9d406ef056b" + integrity sha512-8c+uy0qmnRTeukiGsjLGy6uVs/TFjJchGXUeBqlG4VWYOdJWkhhVPdQ3uHwbmalfJwv2JsV0qffXP4asRfL2SQ== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-numeric-separator" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" -"@babel/plugin-proposal-object-rest-spread@^7.9.5": - version "7.9.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.9.5.tgz#3fd65911306d8746014ec0d0cf78f0e39a149116" - integrity sha512-VP2oXvAf7KCYTthbUHwBlewbl1Iq059f6seJGsxMizaCdgHIeczOr7FBqELhSqfkIl04Fi8okzWzl63UKbQmmg== +"@babel/plugin-proposal-object-rest-spread@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.12.1.tgz#def9bd03cea0f9b72283dac0ec22d289c7691069" + integrity sha512-s6SowJIjzlhx8o7lsFx5zmY4At6CTtDvgNQDdPzkBQucle58A6b/TTeEBYtyDgmcXjUTM+vE8YOGHZzzbc/ioA== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-object-rest-spread" "^7.8.0" - "@babel/plugin-transform-parameters" "^7.9.5" + "@babel/plugin-transform-parameters" "^7.12.1" -"@babel/plugin-proposal-optional-catch-binding@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.8.3.tgz#9dee96ab1650eed88646ae9734ca167ac4a9c5c9" - integrity sha512-0gkX7J7E+AtAw9fcwlVQj8peP61qhdg/89D5swOkjYbkboA2CVckn3kiyum1DE0wskGb7KJJxBdyEBApDLLVdw== +"@babel/plugin-proposal-optional-catch-binding@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.12.1.tgz#ccc2421af64d3aae50b558a71cede929a5ab2942" + integrity sha512-hFvIjgprh9mMw5v42sJWLI1lzU5L2sznP805zeT6rySVRA0Y18StRhDqhSxlap0oVgItRsB6WSROp4YnJTJz0g== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-optional-catch-binding" "^7.8.0" -"@babel/plugin-proposal-optional-chaining@^7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.9.0.tgz#31db16b154c39d6b8a645292472b98394c292a58" - integrity sha512-NDn5tu3tcv4W30jNhmc2hyD5c56G6cXx4TesJubhxrJeCvuuMpttxr0OnNCqbZGhFjLrg+NIhxxC+BK5F6yS3w== +"@babel/plugin-proposal-optional-chaining@^7.12.7": + version "7.12.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.12.7.tgz#e02f0ea1b5dc59d401ec16fb824679f683d3303c" + integrity sha512-4ovylXZ0PWmwoOvhU2vhnzVNnm88/Sm9nx7V8BPgMvAzn5zDou3/Awy0EjglyubVHasJj+XCEkr/r1X3P5elCA== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/helper-skip-transparent-expression-wrappers" "^7.12.1" "@babel/plugin-syntax-optional-chaining" "^7.8.0" -"@babel/plugin-proposal-unicode-property-regex@^7.4.4", "@babel/plugin-proposal-unicode-property-regex@^7.8.3": +"@babel/plugin-proposal-private-methods@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.12.1.tgz#86814f6e7a21374c980c10d38b4493e703f4a389" + integrity sha512-mwZ1phvH7/NHK6Kf8LP7MYDogGV+DKB1mryFOEwx5EBNQrosvIczzZFTUmWaeujd5xT6G1ELYWUz3CutMhjE1w== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.12.1" + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-proposal-unicode-property-regex@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.12.1.tgz#2a183958d417765b9eae334f47758e5d6a82e072" + integrity sha512-MYq+l+PvHuw/rKUz1at/vb6nCnQ2gmJBNaM62z0OgH7B2W1D9pvkpYtlti9bGtizNIU1K3zm4bZF9F91efVY0w== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.12.1" + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-proposal-unicode-property-regex@^7.4.4": version "7.8.8" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.8.8.tgz#ee3a95e90cdc04fe8cd92ec3279fa017d68a0d1d" integrity sha512-EVhjVsMpbhLw9ZfHWSx2iy13Q8Z/eg8e8ccVWt23sWQK5l1UdkoLJPN5w69UA4uITGBnEZD2JOe4QOHycYKv8A== @@ -412,6 +599,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" +"@babel/plugin-syntax-class-properties@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.1.tgz#bcb297c5366e79bebadef509549cd93b04f19978" + integrity sha512-U40A76x5gTwmESz+qiqssqmeEsKvcSyvtgktrm0uzcARAmM9I1jR221f6Oq+GmHrcD+LvZDag1UTOTe2fL3TeA== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-class-properties@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.8.3.tgz#6cb933a8872c8d359bfde69bbeaae5162fd1e8f7" @@ -426,6 +620,20 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" +"@babel/plugin-syntax-export-namespace-from@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz#028964a9ba80dbc094c915c487ad7c4e7a66465a" + integrity sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q== + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + +"@babel/plugin-syntax-import-meta@^7.8.3": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51" + integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-json-strings@^7.8.0", "@babel/plugin-syntax-json-strings@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" @@ -433,6 +641,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" +"@babel/plugin-syntax-logical-assignment-operators@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" + integrity sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-logical-assignment-operators@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.8.3.tgz#3995d7d7ffff432f6ddc742b47e730c054599897" @@ -447,7 +662,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-numeric-separator@^7.8.0", "@babel/plugin-syntax-numeric-separator@^7.8.3": +"@babel/plugin-syntax-numeric-separator@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz#b9b070b3e33570cd9fd07ba7fa91c0dd37b9af97" + integrity sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-syntax-numeric-separator@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.8.3.tgz#0e3fb63e09bea1b11e96467271c8308007e7c41f" integrity sha512-H7dCMAdN83PcCmqmkHB5dtp+Xa9a6LKSvA2hiFBC/5alSHxM5VgWZXFqDi0YFe8XNGT6iCa+z4V4zSt/PdZ7Dw== @@ -475,6 +697,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" +"@babel/plugin-syntax-top-level-await@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.12.1.tgz#dd6c0b357ac1bb142d98537450a319625d13d2a0" + integrity sha512-i7ooMZFS+a/Om0crxZodrTzNEPJHZrlMVGMTEpFAj6rYY/bKCddB0Dk/YxfPuYXOopuhKk/e1jV6h+WUU9XN3A== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-top-level-await@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.8.3.tgz#3acdece695e6b13aaf57fc291d1a800950c71391" @@ -482,66 +711,73 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-arrow-functions@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.8.3.tgz#82776c2ed0cd9e1a49956daeb896024c9473b8b6" - integrity sha512-0MRF+KC8EqH4dbuITCWwPSzsyO3HIWWlm30v8BbbpOrS1B++isGxPnnuq/IZvOX5J2D/p7DQalQm+/2PnlKGxg== +"@babel/plugin-transform-arrow-functions@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.12.1.tgz#8083ffc86ac8e777fbe24b5967c4b2521f3cb2b3" + integrity sha512-5QB50qyN44fzzz4/qxDPQMBCTHgxg3n0xRBLJUmBlLoU/sFvxVWGZF/ZUfMVDQuJUKXaBhbupxIzIfZ6Fwk/0A== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-async-to-generator@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.8.3.tgz#4308fad0d9409d71eafb9b1a6ee35f9d64b64086" - integrity sha512-imt9tFLD9ogt56Dd5CI/6XgpukMwd/fLGSrix2httihVe7LOGVPhyhMh1BU5kDM7iHD08i8uUtmV2sWaBFlHVQ== +"@babel/plugin-transform-async-to-generator@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.12.1.tgz#3849a49cc2a22e9743cbd6b52926d30337229af1" + integrity sha512-SDtqoEcarK1DFlRJ1hHRY5HvJUj5kX4qmtpMAm2QnhOlyuMC4TMdCRgW6WXpv93rZeYNeLP22y8Aq2dbcDRM1A== dependencies: - "@babel/helper-module-imports" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-remap-async-to-generator" "^7.8.3" + "@babel/helper-module-imports" "^7.12.1" + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/helper-remap-async-to-generator" "^7.12.1" -"@babel/plugin-transform-block-scoped-functions@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.8.3.tgz#437eec5b799b5852072084b3ae5ef66e8349e8a3" - integrity sha512-vo4F2OewqjbB1+yaJ7k2EJFHlTP3jR634Z9Cj9itpqNjuLXvhlVxgnjsHsdRgASR8xYDrx6onw4vW5H6We0Jmg== +"@babel/plugin-transform-block-scoped-functions@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.12.1.tgz#f2a1a365bde2b7112e0a6ded9067fdd7c07905d9" + integrity sha512-5OpxfuYnSgPalRpo8EWGPzIYf0lHBWORCkj5M0oLBwHdlux9Ri36QqGW3/LR13RSVOAoUUMzoPI/jpE4ABcHoA== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-block-scoping@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.8.3.tgz#97d35dab66857a437c166358b91d09050c868f3a" - integrity sha512-pGnYfm7RNRgYRi7bids5bHluENHqJhrV4bCZRwc5GamaWIIs07N4rZECcmJL6ZClwjDz1GbdMZFtPs27hTB06w== +"@babel/plugin-transform-block-scoping@^7.12.11": + version "7.12.11" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.12.11.tgz#83ae92a104dbb93a7d6c6dd1844f351083c46b4f" + integrity sha512-atR1Rxc3hM+VPg/NvNvfYw0npQEAcHuJ+MGZnFn6h3bo+1U3BWXMdFMlvVRApBTWKQMX7SOwRJZA5FBF/JQbvA== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - lodash "^4.17.13" + "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-classes@^7.9.5": - version "7.9.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.9.5.tgz#800597ddb8aefc2c293ed27459c1fcc935a26c2c" - integrity sha512-x2kZoIuLC//O5iA7PEvecB105o7TLzZo8ofBVhP79N+DO3jaX+KYfww9TQcfBEZD0nikNyYcGB1IKtRq36rdmg== +"@babel/plugin-transform-classes@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.12.1.tgz#65e650fcaddd3d88ddce67c0f834a3d436a32db6" + integrity sha512-/74xkA7bVdzQTBeSUhLLJgYIcxw/dpEpCdRDiHgPJ3Mv6uC11UhjpOhl72CgqbBCmt1qtssCyB2xnJm1+PFjog== dependencies: - "@babel/helper-annotate-as-pure" "^7.8.3" - "@babel/helper-define-map" "^7.8.3" - "@babel/helper-function-name" "^7.9.5" - "@babel/helper-optimise-call-expression" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-replace-supers" "^7.8.6" - "@babel/helper-split-export-declaration" "^7.8.3" + "@babel/helper-annotate-as-pure" "^7.10.4" + "@babel/helper-define-map" "^7.10.4" + "@babel/helper-function-name" "^7.10.4" + "@babel/helper-optimise-call-expression" "^7.10.4" + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/helper-replace-supers" "^7.12.1" + "@babel/helper-split-export-declaration" "^7.10.4" globals "^11.1.0" -"@babel/plugin-transform-computed-properties@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.8.3.tgz#96d0d28b7f7ce4eb5b120bb2e0e943343c86f81b" - integrity sha512-O5hiIpSyOGdrQZRQ2ccwtTVkgUDBBiCuK//4RJ6UfePllUTCENOzKxfh6ulckXKc0DixTFLCfb2HVkNA7aDpzA== +"@babel/plugin-transform-computed-properties@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.12.1.tgz#d68cf6c9b7f838a8a4144badbe97541ea0904852" + integrity sha512-vVUOYpPWB7BkgUWPo4C44mUQHpTZXakEqFjbv8rQMg7TC6S6ZhGZ3otQcRH6u7+adSlE5i0sp63eMC/XGffrzg== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-destructuring@^7.9.5": - version "7.9.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.9.5.tgz#72c97cf5f38604aea3abf3b935b0e17b1db76a50" - integrity sha512-j3OEsGel8nHL/iusv/mRd5fYZ3DrOxWC82x0ogmdN/vHfAP4MYw+AFKYanzWlktNwikKvlzUV//afBW5FTp17Q== +"@babel/plugin-transform-destructuring@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.12.1.tgz#b9a570fe0d0a8d460116413cb4f97e8e08b2f847" + integrity sha512-fRMYFKuzi/rSiYb2uRLiUENJOKq4Gnl+6qOv5f8z0TZXg3llUwUhsNNwrwaT/6dUhJTzNpBr+CUvEWBtfNY1cw== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-dotall-regex@^7.4.4", "@babel/plugin-transform-dotall-regex@^7.8.3": +"@babel/plugin-transform-dotall-regex@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.12.1.tgz#a1d16c14862817b6409c0a678d6f9373ca9cd975" + integrity sha512-B2pXeRKoLszfEW7J4Hg9LoFaWEbr/kzo3teWHmtFCszjRNa/b40f9mfeqZsIDLLt/FjwQ6pz/Gdlwy85xNckBA== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.12.1" + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-transform-dotall-regex@^7.4.4": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.8.3.tgz#c3c6ec5ee6125c6993c5cbca20dc8621a9ea7a6e" integrity sha512-kLs1j9Nn4MQoBYdRXH6AeaXMbEJFaFu/v1nQkvib6QzTj8MZI5OQzqmD83/2jEM1z0DLilra5aWO5YpyC0ALIw== @@ -549,247 +785,259 @@ "@babel/helper-create-regexp-features-plugin" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-duplicate-keys@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.8.3.tgz#8d12df309aa537f272899c565ea1768e286e21f1" - integrity sha512-s8dHiBUbcbSgipS4SMFuWGqCvyge5V2ZeAWzR6INTVC3Ltjig/Vw1G2Gztv0vU/hRG9X8IvKvYdoksnUfgXOEQ== +"@babel/plugin-transform-duplicate-keys@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.12.1.tgz#745661baba295ac06e686822797a69fbaa2ca228" + integrity sha512-iRght0T0HztAb/CazveUpUQrZY+aGKKaWXMJ4uf9YJtqxSUe09j3wteztCUDRHs+SRAL7yMuFqUsLoAKKzgXjw== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-exponentiation-operator@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.8.3.tgz#581a6d7f56970e06bf51560cd64f5e947b70d7b7" - integrity sha512-zwIpuIymb3ACcInbksHaNcR12S++0MDLKkiqXHl3AzpgdKlFNhog+z/K0+TGW+b0w5pgTq4H6IwV/WhxbGYSjQ== +"@babel/plugin-transform-exponentiation-operator@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.12.1.tgz#b0f2ed356ba1be1428ecaf128ff8a24f02830ae0" + integrity sha512-7tqwy2bv48q+c1EHbXK0Zx3KXd2RVQp6OC7PbwFNt/dPTAV3Lu5sWtWuAj8owr5wqtWnqHfl2/mJlUmqkChKug== dependencies: - "@babel/helper-builder-binary-assignment-operator-visitor" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-builder-binary-assignment-operator-visitor" "^7.10.4" + "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-for-of@^7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.9.0.tgz#0f260e27d3e29cd1bb3128da5e76c761aa6c108e" - integrity sha512-lTAnWOpMwOXpyDx06N+ywmF3jNbafZEqZ96CGYabxHrxNX8l5ny7dt4bK/rGwAh9utyP2b2Hv7PlZh1AAS54FQ== +"@babel/plugin-transform-for-of@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.12.1.tgz#07640f28867ed16f9511c99c888291f560921cfa" + integrity sha512-Zaeq10naAsuHo7heQvyV0ptj4dlZJwZgNAtBYBnu5nNKJoW62m0zKcIEyVECrUKErkUkg6ajMy4ZfnVZciSBhg== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-function-name@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.8.3.tgz#279373cb27322aaad67c2683e776dfc47196ed8b" - integrity sha512-rO/OnDS78Eifbjn5Py9v8y0aR+aSYhDhqAwVfsTl0ERuMZyr05L1aFSCJnbv2mmsLkit/4ReeQ9N2BgLnOcPCQ== +"@babel/plugin-transform-function-name@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.12.1.tgz#2ec76258c70fe08c6d7da154003a480620eba667" + integrity sha512-JF3UgJUILoFrFMEnOJLJkRHSk6LUSXLmEFsA23aR2O5CSLUxbeUX1IZ1YQ7Sn0aXb601Ncwjx73a+FVqgcljVw== dependencies: - "@babel/helper-function-name" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-function-name" "^7.10.4" + "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-literals@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.8.3.tgz#aef239823d91994ec7b68e55193525d76dbd5dc1" - integrity sha512-3Tqf8JJ/qB7TeldGl+TT55+uQei9JfYaregDcEAyBZ7akutriFrt6C/wLYIer6OYhleVQvH/ntEhjE/xMmy10A== +"@babel/plugin-transform-literals@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.12.1.tgz#d73b803a26b37017ddf9d3bb8f4dc58bfb806f57" + integrity sha512-+PxVGA+2Ag6uGgL0A5f+9rklOnnMccwEBzwYFL3EUaKuiyVnUipyXncFcfjSkbimLrODoqki1U9XxZzTvfN7IQ== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-member-expression-literals@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.8.3.tgz#963fed4b620ac7cbf6029c755424029fa3a40410" - integrity sha512-3Wk2EXhnw+rP+IDkK6BdtPKsUE5IeZ6QOGrPYvw52NwBStw9V1ZVzxgK6fSKSxqUvH9eQPR3tm3cOq79HlsKYA== +"@babel/plugin-transform-member-expression-literals@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.12.1.tgz#496038602daf1514a64d43d8e17cbb2755e0c3ad" + integrity sha512-1sxePl6z9ad0gFMB9KqmYofk34flq62aqMt9NqliS/7hPEpURUCMbyHXrMPlo282iY7nAvUB1aQd5mg79UD9Jg== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-modules-amd@^7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.9.0.tgz#19755ee721912cf5bb04c07d50280af3484efef4" - integrity sha512-vZgDDF003B14O8zJy0XXLnPH4sg+9X5hFBBGN1V+B2rgrB+J2xIypSN6Rk9imB2hSTHQi5OHLrFWsZab1GMk+Q== +"@babel/plugin-transform-modules-amd@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.12.1.tgz#3154300b026185666eebb0c0ed7f8415fefcf6f9" + integrity sha512-tDW8hMkzad5oDtzsB70HIQQRBiTKrhfgwC/KkJeGsaNFTdWhKNt/BiE8c5yj19XiGyrxpbkOfH87qkNg1YGlOQ== dependencies: - "@babel/helper-module-transforms" "^7.9.0" - "@babel/helper-plugin-utils" "^7.8.3" - babel-plugin-dynamic-import-node "^2.3.0" + "@babel/helper-module-transforms" "^7.12.1" + "@babel/helper-plugin-utils" "^7.10.4" + babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-commonjs@^7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.9.0.tgz#e3e72f4cbc9b4a260e30be0ea59bdf5a39748940" - integrity sha512-qzlCrLnKqio4SlgJ6FMMLBe4bySNis8DFn1VkGmOcxG9gqEyPIOzeQrA//u0HAKrWpJlpZbZMPB1n/OPa4+n8g== +"@babel/plugin-transform-modules-commonjs@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.12.1.tgz#fa403124542636c786cf9b460a0ffbb48a86e648" + integrity sha512-dY789wq6l0uLY8py9c1B48V8mVL5gZh/+PQ5ZPrylPYsnAvnEMjqsUXkuoDVPeVK+0VyGar+D08107LzDQ6pag== dependencies: - "@babel/helper-module-transforms" "^7.9.0" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-simple-access" "^7.8.3" - babel-plugin-dynamic-import-node "^2.3.0" + "@babel/helper-module-transforms" "^7.12.1" + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/helper-simple-access" "^7.12.1" + babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-systemjs@^7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.9.0.tgz#e9fd46a296fc91e009b64e07ddaa86d6f0edeb90" - integrity sha512-FsiAv/nao/ud2ZWy4wFacoLOm5uxl0ExSQ7ErvP7jpoihLR6Cq90ilOFyX9UXct3rbtKsAiZ9kFt5XGfPe/5SQ== +"@babel/plugin-transform-modules-systemjs@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.12.1.tgz#663fea620d593c93f214a464cd399bf6dc683086" + integrity sha512-Hn7cVvOavVh8yvW6fLwveFqSnd7rbQN3zJvoPNyNaQSvgfKmDBO9U1YL9+PCXGRlZD9tNdWTy5ACKqMuzyn32Q== dependencies: - "@babel/helper-hoist-variables" "^7.8.3" - "@babel/helper-module-transforms" "^7.9.0" - "@babel/helper-plugin-utils" "^7.8.3" - babel-plugin-dynamic-import-node "^2.3.0" + "@babel/helper-hoist-variables" "^7.10.4" + "@babel/helper-module-transforms" "^7.12.1" + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/helper-validator-identifier" "^7.10.4" + babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-umd@^7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.9.0.tgz#e909acae276fec280f9b821a5f38e1f08b480697" - integrity sha512-uTWkXkIVtg/JGRSIABdBoMsoIeoHQHPTL0Y2E7xf5Oj7sLqwVsNXOkNk0VJc7vF0IMBsPeikHxFjGe+qmwPtTQ== +"@babel/plugin-transform-modules-umd@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.12.1.tgz#eb5a218d6b1c68f3d6217b8fa2cc82fec6547902" + integrity sha512-aEIubCS0KHKM0zUos5fIoQm+AZUMt1ZvMpqz0/H5qAQ7vWylr9+PLYurT+Ic7ID/bKLd4q8hDovaG3Zch2uz5Q== dependencies: - "@babel/helper-module-transforms" "^7.9.0" - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-module-transforms" "^7.12.1" + "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-named-capturing-groups-regex@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.8.3.tgz#a2a72bffa202ac0e2d0506afd0939c5ecbc48c6c" - integrity sha512-f+tF/8UVPU86TrCb06JoPWIdDpTNSGGcAtaD9mLP0aYGA0OS0j7j7DHJR0GTFrUZPUU6loZhbsVZgTh0N+Qdnw== +"@babel/plugin-transform-named-capturing-groups-regex@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.12.1.tgz#b407f5c96be0d9f5f88467497fa82b30ac3e8753" + integrity sha512-tB43uQ62RHcoDp9v2Nsf+dSM8sbNodbEicbQNA53zHz8pWUhsgHSJCGpt7daXxRydjb0KnfmB+ChXOv3oADp1Q== dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.8.3" + "@babel/helper-create-regexp-features-plugin" "^7.12.1" -"@babel/plugin-transform-new-target@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.8.3.tgz#60cc2ae66d85c95ab540eb34babb6434d4c70c43" - integrity sha512-QuSGysibQpyxexRyui2vca+Cmbljo8bcRckgzYV4kRIsHpVeyeC3JDO63pY+xFZ6bWOBn7pfKZTqV4o/ix9sFw== +"@babel/plugin-transform-new-target@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.12.1.tgz#80073f02ee1bb2d365c3416490e085c95759dec0" + integrity sha512-+eW/VLcUL5L9IvJH7rT1sT0CzkdUTvPrXC2PXTn/7z7tXLBuKvezYbGdxD5WMRoyvyaujOq2fWoKl869heKjhw== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-object-super@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.8.3.tgz#ebb6a1e7a86ffa96858bd6ac0102d65944261725" - integrity sha512-57FXk+gItG/GejofIyLIgBKTas4+pEU47IXKDBWFTxdPd7F80H8zybyAY7UoblVfBhBGs2EKM+bJUu2+iUYPDQ== +"@babel/plugin-transform-object-super@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.12.1.tgz#4ea08696b8d2e65841d0c7706482b048bed1066e" + integrity sha512-AvypiGJH9hsquNUn+RXVcBdeE3KHPZexWRdimhuV59cSoOt5kFBmqlByorAeUlGG2CJWd0U+4ZtNKga/TB0cAw== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-replace-supers" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/helper-replace-supers" "^7.12.1" -"@babel/plugin-transform-parameters@^7.9.5": - version "7.9.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.9.5.tgz#173b265746f5e15b2afe527eeda65b73623a0795" - integrity sha512-0+1FhHnMfj6lIIhVvS4KGQJeuhe1GI//h5uptK4PvLt+BGBxsoUJbd3/IW002yk//6sZPlFgsG1hY6OHLcy6kA== +"@babel/plugin-transform-parameters@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.12.1.tgz#d2e963b038771650c922eff593799c96d853255d" + integrity sha512-xq9C5EQhdPK23ZeCdMxl8bbRnAgHFrw5EOC3KJUsSylZqdkCaFEXxGSBuTSObOpiiHHNyb82es8M1QYgfQGfNg== dependencies: - "@babel/helper-get-function-arity" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-property-literals@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.8.3.tgz#33194300d8539c1ed28c62ad5087ba3807b98263" - integrity sha512-uGiiXAZMqEoQhRWMK17VospMZh5sXWg+dlh2soffpkAl96KAm+WZuJfa6lcELotSRmooLqg0MWdH6UUq85nmmg== +"@babel/plugin-transform-property-literals@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.12.1.tgz#41bc81200d730abb4456ab8b3fbd5537b59adecd" + integrity sha512-6MTCR/mZ1MQS+AwZLplX4cEySjCpnIF26ToWo942nqn8hXSm7McaHQNeGx/pt7suI1TWOWMfa/NgBhiqSnX0cQ== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-regenerator@^7.8.7": - version "7.8.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.8.7.tgz#5e46a0dca2bee1ad8285eb0527e6abc9c37672f8" - integrity sha512-TIg+gAl4Z0a3WmD3mbYSk+J9ZUH6n/Yc57rtKRnlA/7rcCvpekHXe0CMZHP1gYp7/KLe9GHTuIba0vXmls6drA== +"@babel/plugin-transform-regenerator@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.12.1.tgz#5f0a28d842f6462281f06a964e88ba8d7ab49753" + integrity sha512-gYrHqs5itw6i4PflFX3OdBPMQdPbF4bj2REIUxlMRUFk0/ZOAIpDFuViuxPjUL7YC8UPnf+XG7/utJvqXdPKng== dependencies: regenerator-transform "^0.14.2" -"@babel/plugin-transform-reserved-words@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.8.3.tgz#9a0635ac4e665d29b162837dd3cc50745dfdf1f5" - integrity sha512-mwMxcycN3omKFDjDQUl+8zyMsBfjRFr0Zn/64I41pmjv4NJuqcYlEtezwYtw9TFd9WR1vN5kiM+O0gMZzO6L0A== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-shorthand-properties@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.8.3.tgz#28545216e023a832d4d3a1185ed492bcfeac08c8" - integrity sha512-I9DI6Odg0JJwxCHzbzW08ggMdCezoWcuQRz3ptdudgwaHxTjxw5HgdFJmZIkIMlRymL6YiZcped4TTCB0JcC8w== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-spread@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.8.3.tgz#9c8ffe8170fdfb88b114ecb920b82fb6e95fe5e8" - integrity sha512-CkuTU9mbmAoFOI1tklFWYYbzX5qCIZVXPVy0jpXgGwkplCndQAa58s2jr66fTeQnA64bDox0HL4U56CFYoyC7g== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-sticky-regex@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.8.3.tgz#be7a1290f81dae767475452199e1f76d6175b100" - integrity sha512-9Spq0vGCD5Bb4Z/ZXXSK5wbbLFMG085qd2vhL1JYu1WcQ5bXqZBAYRzU1d+p79GcHs2szYv5pVQCX13QgldaWw== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-regex" "^7.8.3" - -"@babel/plugin-transform-template-literals@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.8.3.tgz#7bfa4732b455ea6a43130adc0ba767ec0e402a80" - integrity sha512-820QBtykIQOLFT8NZOcTRJ1UNuztIELe4p9DCgvj4NK+PwluSJ49we7s9FB1HIGNIYT7wFUJ0ar2QpCDj0escQ== - dependencies: - "@babel/helper-annotate-as-pure" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-typeof-symbol@^7.8.4": - version "7.8.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.8.4.tgz#ede4062315ce0aaf8a657a920858f1a2f35fc412" - integrity sha512-2QKyfjGdvuNfHsb7qnBBlKclbD4CfshH2KvDabiijLMGXPHJXGxtDzwIF7bQP+T0ysw8fYTtxPafgfs/c1Lrqg== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-unicode-regex@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.8.3.tgz#0cef36e3ba73e5c57273effb182f46b91a1ecaad" - integrity sha512-+ufgJjYdmWfSQ+6NS9VGUR2ns8cjJjYbrbi11mZBTaWm+Fui/ncTLFF28Ei1okavY+xkojGr1eJxNsWYeA5aZw== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/preset-env@7.9.5": - version "7.9.5" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.9.5.tgz#8ddc76039bc45b774b19e2fc548f6807d8a8919f" - integrity sha512-eWGYeADTlPJH+wq1F0wNfPbVS1w1wtmMJiYk55Td5Yu28AsdR9AsC97sZ0Qq8fHqQuslVSIYSGJMcblr345GfQ== - dependencies: - "@babel/compat-data" "^7.9.0" - "@babel/helper-compilation-targets" "^7.8.7" - "@babel/helper-module-imports" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-proposal-async-generator-functions" "^7.8.3" - "@babel/plugin-proposal-dynamic-import" "^7.8.3" - "@babel/plugin-proposal-json-strings" "^7.8.3" - "@babel/plugin-proposal-nullish-coalescing-operator" "^7.8.3" - "@babel/plugin-proposal-numeric-separator" "^7.8.3" - "@babel/plugin-proposal-object-rest-spread" "^7.9.5" - "@babel/plugin-proposal-optional-catch-binding" "^7.8.3" - "@babel/plugin-proposal-optional-chaining" "^7.9.0" - "@babel/plugin-proposal-unicode-property-regex" "^7.8.3" +"@babel/plugin-transform-reserved-words@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.12.1.tgz#6fdfc8cc7edcc42b36a7c12188c6787c873adcd8" + integrity sha512-pOnUfhyPKvZpVyBHhSBoX8vfA09b7r00Pmm1sH+29ae2hMTKVmSp4Ztsr8KBKjLjx17H0eJqaRC3bR2iThM54A== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-transform-shorthand-properties@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.12.1.tgz#0bf9cac5550fce0cfdf043420f661d645fdc75e3" + integrity sha512-GFZS3c/MhX1OusqB1MZ1ct2xRzX5ppQh2JU1h2Pnfk88HtFTM+TWQqJNfwkmxtPQtb/s1tk87oENfXJlx7rSDw== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-transform-spread@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.12.1.tgz#527f9f311be4ec7fdc2b79bb89f7bf884b3e1e1e" + integrity sha512-vuLp8CP0BE18zVYjsEBZ5xoCecMK6LBMMxYzJnh01rxQRvhNhH1csMMmBfNo5tGpGO+NhdSNW2mzIvBu3K1fng== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/helper-skip-transparent-expression-wrappers" "^7.12.1" + +"@babel/plugin-transform-sticky-regex@^7.12.7": + version "7.12.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.12.7.tgz#560224613ab23987453948ed21d0b0b193fa7fad" + integrity sha512-VEiqZL5N/QvDbdjfYQBhruN0HYjSPjC4XkeqW4ny/jNtH9gcbgaqBIXYEZCNnESMAGs0/K/R7oFGMhOyu/eIxg== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-transform-template-literals@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.12.1.tgz#b43ece6ed9a79c0c71119f576d299ef09d942843" + integrity sha512-b4Zx3KHi+taXB1dVRBhVJtEPi9h1THCeKmae2qP0YdUHIFhVjtpqqNfxeVAa1xeHVhAy4SbHxEwx5cltAu5apw== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-transform-typeof-symbol@^7.12.10": + version "7.12.10" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.12.10.tgz#de01c4c8f96580bd00f183072b0d0ecdcf0dec4b" + integrity sha512-JQ6H8Rnsogh//ijxspCjc21YPd3VLVoYtAwv3zQmqAt8YGYUtdo5usNhdl4b9/Vir2kPFZl6n1h0PfUz4hJhaA== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-transform-unicode-escapes@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.12.1.tgz#5232b9f81ccb07070b7c3c36c67a1b78f1845709" + integrity sha512-I8gNHJLIc7GdApm7wkVnStWssPNbSRMPtgHdmH3sRM1zopz09UWPS4x5V4n1yz/MIWTVnJ9sp6IkuXdWM4w+2Q== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-transform-unicode-regex@^7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.12.1.tgz#cc9661f61390db5c65e3febaccefd5c6ac3faecb" + integrity sha512-SqH4ClNngh/zGwHZOOQMTD+e8FGWexILV+ePMyiDJttAWRh5dhDL8rcl5lSgU3Huiq6Zn6pWTMvdPAb21Dwdyg== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.12.1" + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/preset-env@7.12.11": + version "7.12.11" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.12.11.tgz#55d5f7981487365c93dbbc84507b1c7215e857f9" + integrity sha512-j8Tb+KKIXKYlDBQyIOy4BLxzv1NUOwlHfZ74rvW+Z0Gp4/cI2IMDPBWAgWceGcE7aep9oL/0K9mlzlMGxA8yNw== + dependencies: + "@babel/compat-data" "^7.12.7" + "@babel/helper-compilation-targets" "^7.12.5" + "@babel/helper-module-imports" "^7.12.5" + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/helper-validator-option" "^7.12.11" + "@babel/plugin-proposal-async-generator-functions" "^7.12.1" + "@babel/plugin-proposal-class-properties" "^7.12.1" + "@babel/plugin-proposal-dynamic-import" "^7.12.1" + "@babel/plugin-proposal-export-namespace-from" "^7.12.1" + "@babel/plugin-proposal-json-strings" "^7.12.1" + "@babel/plugin-proposal-logical-assignment-operators" "^7.12.1" + "@babel/plugin-proposal-nullish-coalescing-operator" "^7.12.1" + "@babel/plugin-proposal-numeric-separator" "^7.12.7" + "@babel/plugin-proposal-object-rest-spread" "^7.12.1" + "@babel/plugin-proposal-optional-catch-binding" "^7.12.1" + "@babel/plugin-proposal-optional-chaining" "^7.12.7" + "@babel/plugin-proposal-private-methods" "^7.12.1" + "@babel/plugin-proposal-unicode-property-regex" "^7.12.1" "@babel/plugin-syntax-async-generators" "^7.8.0" + "@babel/plugin-syntax-class-properties" "^7.12.1" "@babel/plugin-syntax-dynamic-import" "^7.8.0" + "@babel/plugin-syntax-export-namespace-from" "^7.8.3" "@babel/plugin-syntax-json-strings" "^7.8.0" + "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0" - "@babel/plugin-syntax-numeric-separator" "^7.8.0" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" "@babel/plugin-syntax-object-rest-spread" "^7.8.0" "@babel/plugin-syntax-optional-catch-binding" "^7.8.0" "@babel/plugin-syntax-optional-chaining" "^7.8.0" - "@babel/plugin-syntax-top-level-await" "^7.8.3" - "@babel/plugin-transform-arrow-functions" "^7.8.3" - "@babel/plugin-transform-async-to-generator" "^7.8.3" - "@babel/plugin-transform-block-scoped-functions" "^7.8.3" - "@babel/plugin-transform-block-scoping" "^7.8.3" - "@babel/plugin-transform-classes" "^7.9.5" - "@babel/plugin-transform-computed-properties" "^7.8.3" - "@babel/plugin-transform-destructuring" "^7.9.5" - "@babel/plugin-transform-dotall-regex" "^7.8.3" - "@babel/plugin-transform-duplicate-keys" "^7.8.3" - "@babel/plugin-transform-exponentiation-operator" "^7.8.3" - "@babel/plugin-transform-for-of" "^7.9.0" - "@babel/plugin-transform-function-name" "^7.8.3" - "@babel/plugin-transform-literals" "^7.8.3" - "@babel/plugin-transform-member-expression-literals" "^7.8.3" - "@babel/plugin-transform-modules-amd" "^7.9.0" - "@babel/plugin-transform-modules-commonjs" "^7.9.0" - "@babel/plugin-transform-modules-systemjs" "^7.9.0" - "@babel/plugin-transform-modules-umd" "^7.9.0" - "@babel/plugin-transform-named-capturing-groups-regex" "^7.8.3" - "@babel/plugin-transform-new-target" "^7.8.3" - "@babel/plugin-transform-object-super" "^7.8.3" - "@babel/plugin-transform-parameters" "^7.9.5" - "@babel/plugin-transform-property-literals" "^7.8.3" - "@babel/plugin-transform-regenerator" "^7.8.7" - "@babel/plugin-transform-reserved-words" "^7.8.3" - "@babel/plugin-transform-shorthand-properties" "^7.8.3" - "@babel/plugin-transform-spread" "^7.8.3" - "@babel/plugin-transform-sticky-regex" "^7.8.3" - "@babel/plugin-transform-template-literals" "^7.8.3" - "@babel/plugin-transform-typeof-symbol" "^7.8.4" - "@babel/plugin-transform-unicode-regex" "^7.8.3" + "@babel/plugin-syntax-top-level-await" "^7.12.1" + "@babel/plugin-transform-arrow-functions" "^7.12.1" + "@babel/plugin-transform-async-to-generator" "^7.12.1" + "@babel/plugin-transform-block-scoped-functions" "^7.12.1" + "@babel/plugin-transform-block-scoping" "^7.12.11" + "@babel/plugin-transform-classes" "^7.12.1" + "@babel/plugin-transform-computed-properties" "^7.12.1" + "@babel/plugin-transform-destructuring" "^7.12.1" + "@babel/plugin-transform-dotall-regex" "^7.12.1" + "@babel/plugin-transform-duplicate-keys" "^7.12.1" + "@babel/plugin-transform-exponentiation-operator" "^7.12.1" + "@babel/plugin-transform-for-of" "^7.12.1" + "@babel/plugin-transform-function-name" "^7.12.1" + "@babel/plugin-transform-literals" "^7.12.1" + "@babel/plugin-transform-member-expression-literals" "^7.12.1" + "@babel/plugin-transform-modules-amd" "^7.12.1" + "@babel/plugin-transform-modules-commonjs" "^7.12.1" + "@babel/plugin-transform-modules-systemjs" "^7.12.1" + "@babel/plugin-transform-modules-umd" "^7.12.1" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.12.1" + "@babel/plugin-transform-new-target" "^7.12.1" + "@babel/plugin-transform-object-super" "^7.12.1" + "@babel/plugin-transform-parameters" "^7.12.1" + "@babel/plugin-transform-property-literals" "^7.12.1" + "@babel/plugin-transform-regenerator" "^7.12.1" + "@babel/plugin-transform-reserved-words" "^7.12.1" + "@babel/plugin-transform-shorthand-properties" "^7.12.1" + "@babel/plugin-transform-spread" "^7.12.1" + "@babel/plugin-transform-sticky-regex" "^7.12.7" + "@babel/plugin-transform-template-literals" "^7.12.1" + "@babel/plugin-transform-typeof-symbol" "^7.12.10" + "@babel/plugin-transform-unicode-escapes" "^7.12.1" + "@babel/plugin-transform-unicode-regex" "^7.12.1" "@babel/preset-modules" "^0.1.3" - "@babel/types" "^7.9.5" - browserslist "^4.9.1" - core-js-compat "^3.6.2" - invariant "^2.2.2" - levenary "^1.1.1" + "@babel/types" "^7.12.11" + core-js-compat "^3.8.0" semver "^5.5.0" "@babel/preset-modules@^0.1.3": @@ -803,7 +1051,7 @@ "@babel/types" "^7.4.4" esutils "^2.0.2" -"@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7": +"@babel/runtime@^7.8.4": version "7.9.2" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.9.2.tgz#d90df0583a3a252f09aaa619665367bae518db06" integrity sha512-NE2DtOdufG7R5vnfQUTehdTfNycfUANEtCa9PssN9O/xmTzP4E08UI797ixaei6hBEVL9BI/PsdJS5x7mWoB9Q== @@ -818,6 +1066,15 @@ "@babel/parser" "^7.4.4" "@babel/types" "^7.4.4" +"@babel/template@^7.10.4", "@babel/template@^7.12.7", "@babel/template@^7.3.3": + version "7.12.7" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.12.7.tgz#c817233696018e39fbb6c491d2fb684e05ed43bc" + integrity sha512-GkDzmHS6GV7ZeXfJZ0tLRBhZcMcY0/Lnb+eEbXDBfCAcZCjrZKe6p3J4we/D24O9Y8enxWAg1cWwof59yLh2ow== + dependencies: + "@babel/code-frame" "^7.10.4" + "@babel/parser" "^7.12.7" + "@babel/types" "^7.12.7" + "@babel/template@^7.7.4", "@babel/template@^7.8.3", "@babel/template@^7.8.6": version "7.8.6" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.8.6.tgz#86b22af15f828dfb086474f964dcc3e39c43ce2b" @@ -841,7 +1098,22 @@ globals "^11.1.0" lodash "^4.17.11" -"@babel/traverse@^7.7.4", "@babel/traverse@^7.8.3", "@babel/traverse@^7.8.6", "@babel/traverse@^7.9.0": +"@babel/traverse@^7.10.4", "@babel/traverse@^7.12.1", "@babel/traverse@^7.12.10": + version "7.12.10" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.12.10.tgz#2d1f4041e8bf42ea099e5b2dc48d6a594c00017a" + integrity sha512-6aEtf0IeRgbYWzta29lePeYSk+YAFIC3kyqESeft8o5CkFlYIMX+EQDDWEiAQ9LHOA3d0oHdgrSsID/CKqXJlg== + dependencies: + "@babel/code-frame" "^7.10.4" + "@babel/generator" "^7.12.10" + "@babel/helper-function-name" "^7.10.4" + "@babel/helper-split-export-declaration" "^7.11.0" + "@babel/parser" "^7.12.10" + "@babel/types" "^7.12.10" + debug "^4.1.0" + globals "^11.1.0" + lodash "^4.17.19" + +"@babel/traverse@^7.7.4", "@babel/traverse@^7.8.6", "@babel/traverse@^7.9.0": version "7.9.5" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.9.5.tgz#6e7c56b44e2ac7011a948c21e283ddd9d9db97a2" integrity sha512-c4gH3jsvSuGUezlP6rzSJ6jf8fYjLj3hsMZRx/nX0h+fmHN0w+ekubRrHPqnMec0meycA2nwCsJ7dC8IPem2FQ== @@ -864,6 +1136,15 @@ lodash "^4.17.11" to-fast-properties "^2.0.0" +"@babel/types@^7.10.4", "@babel/types@^7.10.5", "@babel/types@^7.12.1", "@babel/types@^7.12.10", "@babel/types@^7.12.11", "@babel/types@^7.12.5", "@babel/types@^7.12.7", "@babel/types@^7.3.3": + version "7.12.11" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.12.11.tgz#a86e4d71e30a9b6ee102590446c98662589283ce" + integrity sha512-ukA9SQtKThINm++CX1CwmliMrE54J6nIYB5XTwL5f/CLFW9owfls+YSU8tVW15RQ2w+a3fSbPjC6HdQNtWZkiA== + dependencies: + "@babel/helper-validator-identifier" "^7.12.11" + lodash "^4.17.19" + to-fast-properties "^2.0.0" + "@babel/types@^7.8.3", "@babel/types@^7.8.6", "@babel/types@^7.9.0", "@babel/types@^7.9.5": version "7.9.5" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.9.5.tgz#89231f82915a8a566a703b3b20133f73da6b9444" @@ -900,162 +1181,176 @@ resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.2.tgz#26520bf09abe4a5644cd5414e37125a8954241dd" integrity sha512-tsAQNx32a8CoFhjhijUIhI4kccIAgmGhy8LZMZgGfmXcpMbPRUqn5LWmgRttILi6yeGmBJd2xsPkFMs0PzgPCw== -"@jest/console@^25.4.0": - version "25.4.0" - resolved "https://registry.yarnpkg.com/@jest/console/-/console-25.4.0.tgz#e2760b532701137801ba824dcff6bc822c961bac" - integrity sha512-CfE0erx4hdJ6t7RzAcE1wLG6ZzsHSmybvIBQDoCkDM1QaSeWL9wJMzID/2BbHHa7ll9SsbbK43HjbERbBaFX2A== +"@jest/console@^26.6.2": + version "26.6.2" + resolved "https://registry.yarnpkg.com/@jest/console/-/console-26.6.2.tgz#4e04bc464014358b03ab4937805ee36a0aeb98f2" + integrity sha512-IY1R2i2aLsLr7Id3S6p2BA82GNWryt4oSvEXLAKc+L2zdi89dSkE8xC1C+0kpATG4JhBJREnQOH7/zmccM2B0g== dependencies: - "@jest/types" "^25.4.0" - chalk "^3.0.0" - jest-message-util "^25.4.0" - jest-util "^25.4.0" + "@jest/types" "^26.6.2" + "@types/node" "*" + chalk "^4.0.0" + jest-message-util "^26.6.2" + jest-util "^26.6.2" slash "^3.0.0" -"@jest/core@^25.4.0": - version "25.4.0" - resolved "https://registry.yarnpkg.com/@jest/core/-/core-25.4.0.tgz#cc1fe078df69b8f0fbb023bb0bcee23ef3b89411" - integrity sha512-h1x9WSVV0+TKVtATGjyQIMJENs8aF6eUjnCoi4jyRemYZmekLr8EJOGQqTWEX8W6SbZ6Skesy9pGXrKeAolUJw== - dependencies: - "@jest/console" "^25.4.0" - "@jest/reporters" "^25.4.0" - "@jest/test-result" "^25.4.0" - "@jest/transform" "^25.4.0" - "@jest/types" "^25.4.0" +"@jest/core@^26.6.3": + version "26.6.3" + resolved "https://registry.yarnpkg.com/@jest/core/-/core-26.6.3.tgz#7639fcb3833d748a4656ada54bde193051e45fad" + integrity sha512-xvV1kKbhfUqFVuZ8Cyo+JPpipAHHAV3kcDBftiduK8EICXmTFddryy3P7NfZt8Pv37rA9nEJBKCCkglCPt/Xjw== + dependencies: + "@jest/console" "^26.6.2" + "@jest/reporters" "^26.6.2" + "@jest/test-result" "^26.6.2" + "@jest/transform" "^26.6.2" + "@jest/types" "^26.6.2" + "@types/node" "*" ansi-escapes "^4.2.1" - chalk "^3.0.0" + chalk "^4.0.0" exit "^0.1.2" - graceful-fs "^4.2.3" - jest-changed-files "^25.4.0" - jest-config "^25.4.0" - jest-haste-map "^25.4.0" - jest-message-util "^25.4.0" - jest-regex-util "^25.2.6" - jest-resolve "^25.4.0" - jest-resolve-dependencies "^25.4.0" - jest-runner "^25.4.0" - jest-runtime "^25.4.0" - jest-snapshot "^25.4.0" - jest-util "^25.4.0" - jest-validate "^25.4.0" - jest-watcher "^25.4.0" + graceful-fs "^4.2.4" + jest-changed-files "^26.6.2" + jest-config "^26.6.3" + jest-haste-map "^26.6.2" + jest-message-util "^26.6.2" + jest-regex-util "^26.0.0" + jest-resolve "^26.6.2" + jest-resolve-dependencies "^26.6.3" + jest-runner "^26.6.3" + jest-runtime "^26.6.3" + jest-snapshot "^26.6.2" + jest-util "^26.6.2" + jest-validate "^26.6.2" + jest-watcher "^26.6.2" micromatch "^4.0.2" p-each-series "^2.1.0" - realpath-native "^2.0.0" rimraf "^3.0.0" slash "^3.0.0" strip-ansi "^6.0.0" -"@jest/environment@^25.4.0": - version "25.4.0" - resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-25.4.0.tgz#45071f525f0d8c5a51ed2b04fd42b55a8f0c7cb3" - integrity sha512-KDctiak4mu7b4J6BIoN/+LUL3pscBzoUCP+EtSPd2tK9fqyDY5OF+CmkBywkFWezS9tyH5ACOQNtpjtueEDH6Q== - dependencies: - "@jest/fake-timers" "^25.4.0" - "@jest/types" "^25.4.0" - jest-mock "^25.4.0" - -"@jest/fake-timers@^25.4.0": - version "25.4.0" - resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-25.4.0.tgz#3a9a4289ba836abd084953dca406389a57e00fbd" - integrity sha512-lI9z+VOmVX4dPPFzyj0vm+UtaB8dCJJ852lcDnY0uCPRvZAaVGnMwBBc1wxtf+h7Vz6KszoOvKAt4QijDnHDkg== - dependencies: - "@jest/types" "^25.4.0" - jest-message-util "^25.4.0" - jest-mock "^25.4.0" - jest-util "^25.4.0" - lolex "^5.0.0" - -"@jest/reporters@^25.4.0": - version "25.4.0" - resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-25.4.0.tgz#836093433b32ce4e866298af2d6fcf6ed351b0b0" - integrity sha512-bhx/buYbZgLZm4JWLcRJ/q9Gvmd3oUh7k2V7gA4ZYBx6J28pIuykIouclRdiAC6eGVX1uRZT+GK4CQJLd/PwPg== +"@jest/environment@^26.6.2": + version "26.6.2" + resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-26.6.2.tgz#ba364cc72e221e79cc8f0a99555bf5d7577cf92c" + integrity sha512-nFy+fHl28zUrRsCeMB61VDThV1pVTtlEokBRgqPrcT1JNq4yRNIyTHfyht6PqtUvY9IsuLGTrbG8kPXjSZIZwA== + dependencies: + "@jest/fake-timers" "^26.6.2" + "@jest/types" "^26.6.2" + "@types/node" "*" + jest-mock "^26.6.2" + +"@jest/fake-timers@^26.6.2": + version "26.6.2" + resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-26.6.2.tgz#459c329bcf70cee4af4d7e3f3e67848123535aad" + integrity sha512-14Uleatt7jdzefLPYM3KLcnUl1ZNikaKq34enpb5XG9i81JpppDb5muZvonvKyrl7ftEHkKS5L5/eB/kxJ+bvA== + dependencies: + "@jest/types" "^26.6.2" + "@sinonjs/fake-timers" "^6.0.1" + "@types/node" "*" + jest-message-util "^26.6.2" + jest-mock "^26.6.2" + jest-util "^26.6.2" + +"@jest/globals@^26.6.2": + version "26.6.2" + resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-26.6.2.tgz#5b613b78a1aa2655ae908eba638cc96a20df720a" + integrity sha512-85Ltnm7HlB/KesBUuALwQ68YTU72w9H2xW9FjZ1eL1U3lhtefjjl5c2MiUbpXt/i6LaPRvoOFJ22yCBSfQ0JIA== + dependencies: + "@jest/environment" "^26.6.2" + "@jest/types" "^26.6.2" + expect "^26.6.2" + +"@jest/reporters@^26.6.2": + version "26.6.2" + resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-26.6.2.tgz#1f518b99637a5f18307bd3ecf9275f6882a667f6" + integrity sha512-h2bW53APG4HvkOnVMo8q3QXa6pcaNt1HkwVsOPMBV6LD/q9oSpxNSYZQYkAnjdMjrJ86UuYeLo+aEZClV6opnw== dependencies: "@bcoe/v8-coverage" "^0.2.3" - "@jest/console" "^25.4.0" - "@jest/test-result" "^25.4.0" - "@jest/transform" "^25.4.0" - "@jest/types" "^25.4.0" - chalk "^3.0.0" + "@jest/console" "^26.6.2" + "@jest/test-result" "^26.6.2" + "@jest/transform" "^26.6.2" + "@jest/types" "^26.6.2" + chalk "^4.0.0" collect-v8-coverage "^1.0.0" exit "^0.1.2" glob "^7.1.2" + graceful-fs "^4.2.4" istanbul-lib-coverage "^3.0.0" - istanbul-lib-instrument "^4.0.0" + istanbul-lib-instrument "^4.0.3" istanbul-lib-report "^3.0.0" istanbul-lib-source-maps "^4.0.0" istanbul-reports "^3.0.2" - jest-haste-map "^25.4.0" - jest-resolve "^25.4.0" - jest-util "^25.4.0" - jest-worker "^25.4.0" + jest-haste-map "^26.6.2" + jest-resolve "^26.6.2" + jest-util "^26.6.2" + jest-worker "^26.6.2" slash "^3.0.0" source-map "^0.6.0" - string-length "^3.1.0" + string-length "^4.0.1" terminal-link "^2.0.0" - v8-to-istanbul "^4.1.3" + v8-to-istanbul "^7.0.0" optionalDependencies: - node-notifier "^6.0.0" + node-notifier "^8.0.0" -"@jest/source-map@^25.2.6": - version "25.2.6" - resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-25.2.6.tgz#0ef2209514c6d445ebccea1438c55647f22abb4c" - integrity sha512-VuIRZF8M2zxYFGTEhkNSvQkUKafQro4y+mwUxy5ewRqs5N/ynSFUODYp3fy1zCnbCMy1pz3k+u57uCqx8QRSQQ== +"@jest/source-map@^26.6.2": + version "26.6.2" + resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-26.6.2.tgz#29af5e1e2e324cafccc936f218309f54ab69d535" + integrity sha512-YwYcCwAnNmOVsZ8mr3GfnzdXDAl4LaenZP5z+G0c8bzC9/dugL8zRmxZzdoTl4IaS3CryS1uWnROLPFmb6lVvA== dependencies: callsites "^3.0.0" - graceful-fs "^4.2.3" + graceful-fs "^4.2.4" source-map "^0.6.0" -"@jest/test-result@^25.4.0": - version "25.4.0" - resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-25.4.0.tgz#6f2ec2c8da9981ef013ad8651c1c6f0cb20c6324" - integrity sha512-8BAKPaMCHlL941eyfqhWbmp3MebtzywlxzV+qtngQ3FH+RBqnoSAhNEPj4MG7d2NVUrMOVfrwuzGpVIK+QnMAA== +"@jest/test-result@^26.6.2": + version "26.6.2" + resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-26.6.2.tgz#55da58b62df134576cc95476efa5f7949e3f5f18" + integrity sha512-5O7H5c/7YlojphYNrK02LlDIV2GNPYisKwHm2QTKjNZeEzezCbwYs9swJySv2UfPMyZ0VdsmMv7jIlD/IKYQpQ== dependencies: - "@jest/console" "^25.4.0" - "@jest/types" "^25.4.0" + "@jest/console" "^26.6.2" + "@jest/types" "^26.6.2" "@types/istanbul-lib-coverage" "^2.0.0" collect-v8-coverage "^1.0.0" -"@jest/test-sequencer@^25.4.0": - version "25.4.0" - resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-25.4.0.tgz#2b96f9d37f18dc3336b28e3c8070f97f9f55f43b" - integrity sha512-240cI+nsM3attx2bMp9uGjjHrwrpvxxrZi8Tyqp/cfOzl98oZXVakXBgxODGyBYAy/UGXPKXLvNc2GaqItrsJg== +"@jest/test-sequencer@^26.6.3": + version "26.6.3" + resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-26.6.3.tgz#98e8a45100863886d074205e8ffdc5a7eb582b17" + integrity sha512-YHlVIjP5nfEyjlrSr8t/YdNfU/1XEt7c5b4OxcXCjyRhjzLYu/rO69/WHPuYcbCWkz8kAeZVZp2N2+IOLLEPGw== dependencies: - "@jest/test-result" "^25.4.0" - jest-haste-map "^25.4.0" - jest-runner "^25.4.0" - jest-runtime "^25.4.0" + "@jest/test-result" "^26.6.2" + graceful-fs "^4.2.4" + jest-haste-map "^26.6.2" + jest-runner "^26.6.3" + jest-runtime "^26.6.3" -"@jest/transform@^25.4.0": - version "25.4.0" - resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-25.4.0.tgz#eef36f0367d639e2fd93dccd758550377fbb9962" - integrity sha512-t1w2S6V1sk++1HHsxboWxPEuSpN8pxEvNrZN+Ud/knkROWtf8LeUmz73A4ezE8476a5AM00IZr9a8FO9x1+j3g== +"@jest/transform@^26.6.2": + version "26.6.2" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-26.6.2.tgz#5ac57c5fa1ad17b2aae83e73e45813894dcf2e4b" + integrity sha512-E9JjhUgNzvuQ+vVAL21vlyfy12gP0GhazGgJC4h6qUt1jSdUXGWJ1wfu/X7Sd8etSgxV4ovT1pb9v5D6QW4XgA== dependencies: "@babel/core" "^7.1.0" - "@jest/types" "^25.4.0" + "@jest/types" "^26.6.2" babel-plugin-istanbul "^6.0.0" - chalk "^3.0.0" + chalk "^4.0.0" convert-source-map "^1.4.0" fast-json-stable-stringify "^2.0.0" - graceful-fs "^4.2.3" - jest-haste-map "^25.4.0" - jest-regex-util "^25.2.6" - jest-util "^25.4.0" + graceful-fs "^4.2.4" + jest-haste-map "^26.6.2" + jest-regex-util "^26.0.0" + jest-util "^26.6.2" micromatch "^4.0.2" pirates "^4.0.1" - realpath-native "^2.0.0" slash "^3.0.0" source-map "^0.6.1" write-file-atomic "^3.0.0" -"@jest/types@^25.4.0": - version "25.4.0" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-25.4.0.tgz#5afeb8f7e1cba153a28e5ac3c9fe3eede7206d59" - integrity sha512-XBeaWNzw2PPnGW5aXvZt3+VO60M+34RY3XDsCK5tW7kyj3RK0XClRutCfjqcBuaR2aBQTbluEDME9b5MB9UAPw== +"@jest/types@^26.6.2": + version "26.6.2" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-26.6.2.tgz#bef5a532030e1d88a2f5a6d933f84e97226ed48e" + integrity sha512-fC6QCp7Sc5sX6g8Tvbmj4XUTbyrik0akgRy03yjXbQaBWWNWGE7SGtJk98m0N8nzegD/7SggrUlivxo5ax4KWQ== dependencies: "@types/istanbul-lib-coverage" "^2.0.0" - "@types/istanbul-reports" "^1.1.1" + "@types/istanbul-reports" "^3.0.0" + "@types/node" "*" "@types/yargs" "^15.0.0" - chalk "^3.0.0" + chalk "^4.0.0" "@sinonjs/commons@^1.7.0": version "1.7.2" @@ -1064,6 +1359,24 @@ dependencies: type-detect "4.0.8" +"@sinonjs/fake-timers@^6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-6.0.1.tgz#293674fccb3262ac782c7aadfdeca86b10c75c40" + integrity sha512-MZPUxrmFubI36XS1DI3qmI0YdN1gks62JtFZvxR67ljjSNCeK6U08Zx4msEWOXuofgqUt6zPHSi1H9fbjR/NRA== + dependencies: + "@sinonjs/commons" "^1.7.0" + +"@types/babel__core@^7.0.0": + version "7.1.12" + resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.12.tgz#4d8e9e51eb265552a7e4f1ff2219ab6133bdfb2d" + integrity sha512-wMTHiiTiBAAPebqaPiPDLFA4LYPKr6Ph0Xq/6rq1Ur3v66HXyG+clfR9CNETkD7MQS8ZHvpQOtA53DLws5WAEQ== + dependencies: + "@babel/parser" "^7.1.0" + "@babel/types" "^7.0.0" + "@types/babel__generator" "*" + "@types/babel__template" "*" + "@types/babel__traverse" "*" + "@types/babel__core@^7.1.7": version "7.1.7" resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.7.tgz#1dacad8840364a57c98d0dd4855c6dd3752c6b89" @@ -1094,11 +1407,25 @@ dependencies: "@babel/types" "^7.3.0" +"@types/babel__traverse@^7.0.4": + version "7.11.0" + resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.11.0.tgz#b9a1efa635201ba9bc850323a8793ee2d36c04a0" + integrity sha512-kSjgDMZONiIfSH1Nxcr5JIRMwUetDki63FSQfpTCz8ogF3Ulqm8+mr5f78dUYs6vMiB6gBusQqfQmBvHZj/lwg== + dependencies: + "@babel/types" "^7.3.0" + "@types/color-name@^1.1.1": version "1.1.1" resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0" integrity sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ== +"@types/graceful-fs@^4.1.2": + version "4.1.4" + resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.4.tgz#4ff9f641a7c6d1a3508ff88bc3141b152772e753" + integrity sha512-mWA/4zFQhfvOA8zWkXobwJvBD7vzcxgrOQ0J5CH1votGqdq9m7+FwtGaqyCZqC3NyyBkc9z4m+iry4LlqcMWJg== + dependencies: + "@types/node" "*" + "@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": version "2.0.1" resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.1.tgz#42995b446db9a48a11a07ec083499a860e9138ff" @@ -1109,11 +1436,11 @@ dependencies: "@types/istanbul-lib-coverage" "*" -"@types/istanbul-reports@^1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-1.1.1.tgz#7a8cbf6a406f36c8add871625b278eaf0b0d255a" +"@types/istanbul-reports@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-3.0.0.tgz#508b13aa344fa4976234e75dddcc34925737d821" + integrity sha512-nwKNbvnwJ2/mndE9ItP/zc2TCzw6uuodnF4EHYWD+gCQDVBuRQL5UzbZD0/ezy1iKsFU2ZQiDqg4M9dN4+wZgA== dependencies: - "@types/istanbul-lib-coverage" "*" "@types/istanbul-lib-report" "*" "@types/minimatch@^3.0.3": @@ -1121,6 +1448,11 @@ resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d" integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA== +"@types/node@*": + version "14.14.14" + resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.14.tgz#f7fd5f3cc8521301119f63910f0fb965c7d761ae" + integrity sha512-UHnOPWVWV1z+VV8k6L1HhG7UbGBgIdghqF3l9Ny9ApPghbjICXkUJSd/b9gOgQfjM1r+37cipdw/HJ3F6ICEnQ== + "@types/normalize-package-data@^2.4.0": version "2.4.0" resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e" @@ -1131,14 +1463,15 @@ resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== -"@types/prettier@^1.19.0": - version "1.19.1" - resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-1.19.1.tgz#33509849f8e679e4add158959fdb086440e9553f" - integrity sha512-5qOlnZscTn4xxM5MeGXAMOsIOIKIbh9e85zJWfBRVPlRMEVawzoPhINYbRGkBZCI8LxvBe7tJCdWiarA99OZfQ== +"@types/prettier@^2.0.0": + version "2.1.5" + resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.1.5.tgz#b6ab3bba29e16b821d84e09ecfaded462b816b00" + integrity sha512-UEyp8LwZ4Dg30kVU2Q3amHHyTn1jEdhCIE59ANed76GaT1Vp76DD3ZWSAxgCrw6wJ0TqeoBpqmfUHiUDPs//HQ== -"@types/stack-utils@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-1.0.1.tgz#0a851d3bd96498fa25c33ab7278ed3bd65f06c3e" +"@types/stack-utils@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.0.tgz#7036640b4e21cc2f259ae826ce843d277dad8cff" + integrity sha512-RJJrrySY7A8havqpGObOB4W92QXKJo63/jFLLgpvOtsGUqbQZ9Sbgl35KMm1DjC6j7AvmmU2bIno+3IyEaemaw== "@types/yargs-parser@*": version "13.1.0" @@ -1152,30 +1485,28 @@ dependencies: "@types/yargs-parser" "*" -abab@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.0.tgz#aba0ab4c5eee2d4c79d3487d85450fb2376ebb0f" +abab@^2.0.3: + version "2.0.5" + resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.5.tgz#c0b678fb32d60fc1219c784d6a826fe385aeb79a" + integrity sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6eKfJryPs6Q== -acorn-globals@^4.3.2: - version "4.3.4" - resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-4.3.4.tgz#9fa1926addc11c97308c4e66d7add0d40c3272e7" - integrity sha512-clfQEh21R+D0leSbUdWf3OcfqyaCSAQ8Ryq00bofSekfr9W8u1jyYZo6ir0xu9Gtcf7BjcHJpnbZH7JOCpP60A== +acorn-globals@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-6.0.0.tgz#46cdd39f0f8ff08a876619b55f5ac8a6dc770b45" + integrity sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg== dependencies: - acorn "^6.0.1" - acorn-walk "^6.0.1" + acorn "^7.1.1" + acorn-walk "^7.1.1" -acorn-walk@^6.0.1: - version "6.1.1" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-6.1.1.tgz#d363b66f5fac5f018ff9c3a1e7b6f8e310cc3913" +acorn-walk@^7.1.1: + version "7.2.0" + resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc" + integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA== -acorn@^6.0.1: - version "6.1.1" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.1.1.tgz#7d25ae05bb8ad1f9b699108e1094ecd7884adc1f" - -acorn@^7.1.0: - version "7.1.1" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.1.1.tgz#e35668de0b402f359de515c5482a1ab9f89a69bf" - integrity sha512-add7dgA5ppRPxCFJoAGfMDi7PIBXq1RtGo7BhbLaxwrXPOmw8gq48Y9ozT01hUKy9byMjlR20EJhu5zlkErEkg== +acorn@^7.1.1: + version "7.4.1" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" + integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== ajv@^6.5.5: version "6.10.0" @@ -1197,10 +1528,6 @@ ansi-regex@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" -ansi-regex@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997" - ansi-regex@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75" @@ -1262,10 +1589,6 @@ array-differ@^3.0.0: resolved "https://registry.yarnpkg.com/array-differ/-/array-differ-3.0.0.tgz#3cbb3d0f316810eafcc47624734237d6aee4ae6b" integrity sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg== -array-equal@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/array-equal/-/array-equal-1.0.0.tgz#8c2a5ef2472fd9ea742b04c77a75093ba2757c93" - array-union@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" @@ -1294,10 +1617,6 @@ assign-symbols@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" -astral-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-1.0.0.tgz#6c8c3fb827dd43ee3918f27b82782ab7658a6fd9" - asynckit@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" @@ -1322,17 +1641,18 @@ babel-code-frame@^6.26.0: esutils "^2.0.2" js-tokens "^3.0.2" -babel-jest@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-25.4.0.tgz#409eb3e2ddc2ad9a92afdbb00991f1633f8018d0" - integrity sha512-p+epx4K0ypmHuCnd8BapfyOwWwosNCYhedetQey1awddtfmEX0MmdxctGl956uwUmjwXR5VSS5xJcGX9DvdIog== +babel-jest@^26.6.3: + version "26.6.3" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-26.6.3.tgz#d87d25cb0037577a0c89f82e5755c5d293c01056" + integrity sha512-pl4Q+GAVOHwvjrck6jKjvmGhnO3jHX/xuB9d27f+EJZ/6k+6nMuPjorrYp7s++bKKdANwzElBWnLWaObvTnaZA== dependencies: - "@jest/transform" "^25.4.0" - "@jest/types" "^25.4.0" + "@jest/transform" "^26.6.2" + "@jest/types" "^26.6.2" "@types/babel__core" "^7.1.7" babel-plugin-istanbul "^6.0.0" - babel-preset-jest "^25.4.0" - chalk "^3.0.0" + babel-preset-jest "^26.6.2" + chalk "^4.0.0" + graceful-fs "^4.2.4" slash "^3.0.0" babel-messages@^6.23.0: @@ -1341,10 +1661,10 @@ babel-messages@^6.23.0: dependencies: babel-runtime "^6.22.0" -babel-plugin-dynamic-import-node@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.0.tgz#f00f507bdaa3c3e3ff6e7e5e98d90a7acab96f7f" - integrity sha512-o6qFkpeQEBxcqt0XYlWzAVxNCSCZdUgcR8IRlhD/8DylxjjO4foPcvTW0GGKa/cVt3rvxZ7o5ippJ+/0nvLhlQ== +babel-plugin-dynamic-import-node@^2.3.3: + version "2.3.3" + resolved "https://registry.yarnpkg.com/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz#84fda19c976ec5c6defef57f9427b3def66e17a3" + integrity sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ== dependencies: object.assign "^4.1.0" @@ -1359,11 +1679,14 @@ babel-plugin-istanbul@^6.0.0: istanbul-lib-instrument "^4.0.0" test-exclude "^6.0.0" -babel-plugin-jest-hoist@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-25.4.0.tgz#0c122c1b93fb76f52d2465be2e8069e798e9d442" - integrity sha512-M3a10JCtTyKevb0MjuH6tU+cP/NVQZ82QPADqI1RQYY1OphztsCeIeQmTsHmF/NS6m0E51Zl4QNsI3odXSQF5w== +babel-plugin-jest-hoist@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-26.6.2.tgz#8185bd030348d254c6d7dd974355e6a28b21e62d" + integrity sha512-PO9t0697lNTmcEHH69mdtYiOIkkOlj9fySqfO3K1eCcdISevLAE0xY59VLLUj0SoiPiTX/JU2CYFpILydUa5Lw== dependencies: + "@babel/template" "^7.3.3" + "@babel/types" "^7.3.3" + "@types/babel__core" "^7.0.0" "@types/babel__traverse" "^7.0.6" babel-plugin-transform-es2015-modules-commonjs@6.26.2: @@ -1382,14 +1705,15 @@ babel-plugin-transform-strict-mode@^6.24.1: babel-runtime "^6.22.0" babel-types "^6.24.1" -babel-preset-current-node-syntax@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-0.1.2.tgz#fb4a4c51fe38ca60fede1dc74ab35eb843cb41d6" - integrity sha512-u/8cS+dEiK1SFILbOC8/rUI3ml9lboKuuMvZ/4aQnQmhecQAgPw5ew066C1ObnEAUmlx7dv/s2z52psWEtLNiw== +babel-preset-current-node-syntax@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz#b4399239b89b2a011f9ddbe3e4f401fc40cff73b" + integrity sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ== dependencies: "@babel/plugin-syntax-async-generators" "^7.8.4" "@babel/plugin-syntax-bigint" "^7.8.3" "@babel/plugin-syntax-class-properties" "^7.8.3" + "@babel/plugin-syntax-import-meta" "^7.8.3" "@babel/plugin-syntax-json-strings" "^7.8.3" "@babel/plugin-syntax-logical-assignment-operators" "^7.8.3" "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" @@ -1397,14 +1721,15 @@ babel-preset-current-node-syntax@^0.1.2: "@babel/plugin-syntax-object-rest-spread" "^7.8.3" "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" "@babel/plugin-syntax-optional-chaining" "^7.8.3" + "@babel/plugin-syntax-top-level-await" "^7.8.3" -babel-preset-jest@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-25.4.0.tgz#10037cc32b751b994b260964629e49dc479abf4c" - integrity sha512-PwFiEWflHdu3JCeTr0Pb9NcHHE34qWFnPQRVPvqQITx4CsDCzs6o05923I10XvLvn9nNsRHuiVgB72wG/90ZHQ== +babel-preset-jest@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-26.6.2.tgz#747872b1171df032252426586881d62d31798fee" + integrity sha512-YvdtlVm9t3k777c5NPQIv6cxFFFapys25HiUmuSgHwIZhfifweR5c5Sf5nwE3MAbfu327CYSvps8Yx6ANLyleQ== dependencies: - babel-plugin-jest-hoist "^25.4.0" - babel-preset-current-node-syntax "^0.1.2" + babel-plugin-jest-hoist "^26.6.2" + babel-preset-current-node-syntax "^1.0.0" babel-runtime@^6.22.0, babel-runtime@^6.26.0: version "6.26.0" @@ -1508,25 +1833,21 @@ braces@^3.0.1: dependencies: fill-range "^7.0.1" -browser-process-hrtime@^0.1.2: - version "0.1.3" - resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-0.1.3.tgz#616f00faef1df7ec1b5bf9cfe2bdc3170f26c7b4" - -browser-resolve@^1.11.3: - version "1.11.3" - resolved "https://registry.yarnpkg.com/browser-resolve/-/browser-resolve-1.11.3.tgz#9b7cbb3d0f510e4cb86bdbd796124d28b5890af6" - dependencies: - resolve "1.1.7" +browser-process-hrtime@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626" + integrity sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow== -browserslist@^4.8.3, browserslist@^4.9.1: - version "4.11.1" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.11.1.tgz#92f855ee88d6e050e7e7311d987992014f1a1f1b" - integrity sha512-DCTr3kDrKEYNw6Jb9HFxVLQNaue8z+0ZfRBRjmCunKDEXEBajKDj2Y+Uelg+Pi29OnvaSGwjOsnRyNEkXzHg5g== +browserslist@^4.14.5, browserslist@^4.15.0: + version "4.16.0" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.16.0.tgz#410277627500be3cb28a1bfe037586fbedf9488b" + integrity sha512-/j6k8R0p3nxOC6kx5JGAxsnhc9ixaWJfYc+TNTzxg6+ARaESAvQGV7h0uNOB4t+pLQJZWzcrMxXOxjgsCj3dqQ== dependencies: - caniuse-lite "^1.0.30001038" - electron-to-chromium "^1.3.390" - node-releases "^1.1.53" - pkg-up "^2.0.0" + caniuse-lite "^1.0.30001165" + colorette "^1.2.1" + electron-to-chromium "^1.3.621" + escalade "^3.1.1" + node-releases "^1.1.67" bser@^2.0.0: version "2.0.0" @@ -1564,10 +1885,15 @@ camelcase@^5.0.0, camelcase@^5.3.1: version "5.3.1" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" -caniuse-lite@^1.0.30001038: - version "1.0.30001039" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001039.tgz#b3814a1c38ffeb23567f8323500c09526a577bbe" - integrity sha512-SezbWCTT34eyFoWHgx8UWso7YtvtM7oosmFoXbCkdC6qJzRfBTeTgE9REtKtiuKXuMwWTZEvdnFNGAyVMorv8Q== +camelcase@^6.0.0: + version "6.2.0" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.2.0.tgz#924af881c9d525ac9d87f40d964e5cea982a1809" + integrity sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg== + +caniuse-lite@^1.0.30001165: + version "1.0.30001170" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001170.tgz#0088bfecc6a14694969e391cc29d7eb6362ca6a7" + integrity sha512-Dd4d/+0tsK0UNLrZs3CvNukqalnVTRrxb5mcQm8rHL49t7V5ZaTygwXkrq+FB+dVDf++4ri8eJnFEJAB8332PA== capture-exit@^2.0.0: version "2.0.0" @@ -1589,7 +1915,7 @@ chalk@^1.1.3: strip-ansi "^3.0.0" supports-color "^2.0.0" -chalk@^2.0.0, chalk@^2.3.0, chalk@^2.4.2: +chalk@^2.0.0, chalk@^2.3.0: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" dependencies: @@ -1613,10 +1939,20 @@ chalk@^4.0.0: ansi-styles "^4.1.0" supports-color "^7.1.0" +char-regex@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" + integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw== + ci-info@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" +cjs-module-lexer@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-0.6.0.tgz#4186fcca0eae175970aee870b9fe2d6cf8d5655f" + integrity sha512-uc2Vix1frTfnuzxxu1Hp4ktSvM3QaI4oXl4ZUqL1wjTu/BGki9TrCWoqLTg/drR1KwAEarXuRFCG2Svr1GxPFw== + class-utils@^0.3.5: version "0.3.6" resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" @@ -1673,6 +2009,11 @@ color-name@~1.1.4: resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== +colorette@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.2.1.tgz#4d0b921325c14faf92633086a536db6e89564b1b" + integrity sha512-puCDz0CzydiSYOrnXpz/PKd69zRrribezjtE9yd4zvytoRc8+RY/KJPvtPFKZS3E3wP6neGyMe0vOTlHO5L3Pw== + combined-stream@^1.0.6, combined-stream@~1.0.6: version "1.0.8" resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" @@ -1713,12 +2054,12 @@ copy-descriptor@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" -core-js-compat@^3.6.2: - version "3.6.4" - resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.6.4.tgz#938476569ebb6cda80d339bcf199fae4f16fff17" - integrity sha512-zAa3IZPvsJ0slViBQ2z+vgyyTuhd3MFn1rBQjZSKVEgB0UMYhUkCj9jJUVPgGTGqWvsBVmfnruXgTcNyTlEiSA== +core-js-compat@^3.8.0: + version "3.8.1" + resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.8.1.tgz#8d1ddd341d660ba6194cbe0ce60f4c794c87a36e" + integrity sha512-a16TLmy9NVD1rkjUGbwuyWkiDoN0FDpAwrfLONvHFQx0D9k7J9y0srwMT8QP/Z6HE3MIFaVynEeYwZwPX1o5RQ== dependencies: - browserslist "^4.8.3" + browserslist "^4.15.0" semver "7.0.0" core-js@^2.4.0: @@ -1729,16 +2070,16 @@ core-util-is@1.0.2, core-util-is@~1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" -cosmiconfig@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-6.0.0.tgz#da4fee853c52f6b1e6935f41c1a2fc50bd4a9982" - integrity sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg== +cosmiconfig@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.0.0.tgz#ef9b44d773959cae63ddecd122de23853b60f8d3" + integrity sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA== dependencies: "@types/parse-json" "^4.0.0" - import-fresh "^3.1.0" + import-fresh "^3.2.1" parse-json "^5.0.0" path-type "^4.0.0" - yaml "^1.7.2" + yaml "^1.10.0" cross-spawn@^6.0.0: version "6.0.5" @@ -1759,7 +2100,7 @@ cross-spawn@^7.0.0: shebang-command "^2.0.0" which "^2.0.1" -cssom@^0.4.1: +cssom@^0.4.4: version "0.4.4" resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.4.4.tgz#5a66cf93d2d0b661d80bf6a44fb65f5c2e4e0a10" integrity sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw== @@ -1769,10 +2110,10 @@ cssom@~0.3.6: resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.8.tgz#9f1276f5b2b463f2114d3f2c75250af8c1a36f4a" integrity sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg== -cssstyle@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-2.2.0.tgz#e4c44debccd6b7911ed617a4395e5754bba59992" - integrity sha512-sEb3XFPx3jNnCAMtqrXPDeSgQr+jojtCeNf8cvMNMh1cG970+lljssvQDzPq6lmmJu2Vhqood/gtEomBiHOGnA== +cssstyle@^2.2.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-2.3.0.tgz#ff665a0ddbdc31864b09647f34163443d90b0852" + integrity sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A== dependencies: cssom "~0.3.6" @@ -1782,14 +2123,14 @@ dashdash@^1.12.0: dependencies: assert-plus "^1.0.0" -data-urls@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-1.1.0.tgz#15ee0582baa5e22bb59c77140da8f9c76963bbfe" - integrity sha512-YTWYI9se1P55u58gL5GkQHW4P6VJBJ5iBT+B5a7i2Tjadhv52paJG0qHX4A0OR6/t52odI64KP2YvFpkDOi3eQ== +data-urls@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-2.0.0.tgz#156485a72963a970f5d5821aaf642bef2bf2db9b" + integrity sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ== dependencies: - abab "^2.0.0" - whatwg-mimetype "^2.2.0" - whatwg-url "^7.0.0" + abab "^2.0.3" + whatwg-mimetype "^2.3.0" + whatwg-url "^8.0.0" debug@^2.2.0, debug@^2.3.3, debug@^2.6.8: version "2.6.9" @@ -1807,6 +2148,11 @@ decamelize@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" +decimal.js@^10.2.0: + version "10.2.1" + resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.2.1.tgz#238ae7b0f0c793d3e3cea410108b35a2c01426a3" + integrity sha512-KaL7+6Fw6i5A2XSnsbhm/6B+NuEA7TZ4vqxnd5tXz9sbKtrN9Srj8ab4vKVdK8YAqZO9P1kg45Y6YLoduPf+kw== + decode-uri-component@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" @@ -1854,21 +2200,22 @@ detect-newline@^3.0.0: resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== -diff-sequences@^25.2.6: - version "25.2.6" - resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-25.2.6.tgz#5f467c00edd35352b7bca46d7927d60e687a76dd" - integrity sha512-Hq8o7+6GaZeoFjtpgvRBUknSXNeJiCx7V9Fr94ZMljNiCr9n9L8H8aJqgWOQiDDGdyn29fRNcDdRVJ5fdyihfg== +diff-sequences@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-26.6.2.tgz#48ba99157de1923412eed41db6b6d4aa9ca7c0b1" + integrity sha512-Mv/TDa3nZ9sbc5soK+OoA74BsS3mL37yixCvUAQkiuA4Wz6YtwP/K47n2rv2ovzHZvoiQeA5FTQOschKkEwB0Q== diff@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.1.tgz#0c667cb467ebbb5cea7f14f135cc2dba7780a8ff" integrity sha512-s2+XdvhPCOF01LRQBC8hf4vhbVmI2CGS5aZnxLJlT5FtdhPCDFq80q++zK2KlrVorVDdL5BOGZ/VfLrVtYNF+Q== -domexception@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/domexception/-/domexception-1.0.1.tgz#937442644ca6a31261ef36e3ec677fe805582c90" +domexception@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/domexception/-/domexception-2.0.1.tgz#fb44aefba793e1574b0af6aed2801d057529f304" + integrity sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg== dependencies: - webidl-conversions "^4.0.2" + webidl-conversions "^5.0.0" ecc-jsbn@~0.1.1: version "0.1.2" @@ -1877,10 +2224,15 @@ ecc-jsbn@~0.1.1: jsbn "~0.1.0" safer-buffer "^2.1.0" -electron-to-chromium@^1.3.390: - version "1.3.398" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.398.tgz#4c01e29091bf39e578ac3f66c1f157d92fa5725d" - integrity sha512-BJjxuWLKFbM5axH3vES7HKMQgAknq9PZHBkMK/rEXUQG9i1Iw5R+6hGkm6GtsQSANjSUrh/a6m32nzCNDNo/+w== +electron-to-chromium@^1.3.621: + version "1.3.630" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.630.tgz#102e930466e53ab7fde6009c2d50b8a4574b543e" + integrity sha512-HSTsvqOrR3kWsoekKu0EOQXR/YOncKs3HAys9lysvIS2ec/mlfV1ZoLHSx00semK+PscVJwqcvBN4ayGPs++fA== + +emittery@^0.7.1: + version "0.7.2" + resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.7.2.tgz#25595908e13af0f5674ab419396e2fb394cdfa82" + integrity sha512-A8OG5SR/ij3SsJdWDJdkkSYUjQdCUx6APQXem0SaEePBSRg4eymGYwBkKo1Y6DU+af/Jn2dBQqDBvjnr9Vi8nQ== emoji-regex@^8.0.0: version "8.0.0" @@ -1918,14 +2270,24 @@ error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" +escalade@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" + integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== + escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" -escodegen@^1.11.1: - version "1.14.1" - resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.14.1.tgz#ba01d0c8278b5e95a9a45350142026659027a457" - integrity sha512-Bmt7NcRySdIfNPfU2ZoXDrrXsG9ZjvDxcAlMfDUgRBjLOWTuIACXPBFJH7Z+cLb40JeQco5toikyc9t9P8E9SQ== +escape-string-regexp@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344" + integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== + +escodegen@^1.14.1: + version "1.14.3" + resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.14.3.tgz#4e7b81fba61581dc97582ed78cab7f0e8d63f503" + integrity sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw== dependencies: esprima "^4.0.1" estraverse "^4.2.0" @@ -1962,25 +2324,10 @@ execa@^1.0.0: signal-exit "^3.0.0" strip-eof "^1.0.0" -execa@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-2.1.0.tgz#e5d3ecd837d2a60ec50f3da78fd39767747bbe99" - integrity sha512-Y/URAVapfbYy2Xp/gb6A0E7iR8xeqOCXsuuaoMn7A5PzrXUK84E1gyiEfq0wQd/GHA6GsoHWwhNq8anb0mleIw== - dependencies: - cross-spawn "^7.0.0" - get-stream "^5.0.0" - is-stream "^2.0.0" - merge-stream "^2.0.0" - npm-run-path "^3.0.0" - onetime "^5.1.0" - p-finally "^2.0.0" - signal-exit "^3.0.2" - strip-final-newline "^2.0.0" - -execa@^3.2.0: - version "3.4.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-3.4.0.tgz#c08ed4550ef65d858fac269ffc8572446f37eb89" - integrity sha512-r9vdGQk4bmCuK1yKQu1KTwcT2zwfWdbdaXfCtAh+5nU/4fSX+JAb7vZGvI5naJrQlvONrEB20jeruESI69530g== +execa@^4.0.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/execa/-/execa-4.1.0.tgz#4e5491ad1572f2f17a77d388c6c857135b22847a" + integrity sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA== dependencies: cross-spawn "^7.0.0" get-stream "^5.0.0" @@ -1989,7 +2336,6 @@ execa@^3.2.0: merge-stream "^2.0.0" npm-run-path "^4.0.0" onetime "^5.1.0" - p-finally "^2.0.0" signal-exit "^3.0.2" strip-final-newline "^2.0.0" @@ -2009,17 +2355,17 @@ expand-brackets@^2.1.4: snapdragon "^0.8.1" to-regex "^3.0.1" -expect@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/expect/-/expect-25.4.0.tgz#0b16c17401906d1679d173e59f0d4580b22f8dc8" - integrity sha512-7BDIX99BTi12/sNGJXA9KMRcby4iAmu1xccBOhyKCyEhjcVKS3hPmHdA/4nSI9QGIOkUropKqr3vv7WMDM5lvQ== +expect@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/expect/-/expect-26.6.2.tgz#c6b996bf26bf3fe18b67b2d0f51fc981ba934417" + integrity sha512-9/hlOBkQl2l/PLHJx6JjoDF6xPKcJEsUlWKb23rKE7KzeDqUZKXKNMW27KIue5JMdBV9HgmoJPcc8HtO85t9IA== dependencies: - "@jest/types" "^25.4.0" + "@jest/types" "^26.6.2" ansi-styles "^4.0.0" - jest-get-type "^25.2.6" - jest-matcher-utils "^25.4.0" - jest-message-util "^25.4.0" - jest-regex-util "^25.2.6" + jest-get-type "^26.3.0" + jest-matcher-utils "^26.6.2" + jest-message-util "^26.6.2" + jest-regex-util "^26.0.0" extend-shallow@^2.0.1: version "2.0.1" @@ -2092,13 +2438,6 @@ fill-range@^7.0.1: dependencies: to-regex-range "^5.0.1" -find-up@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" - integrity sha1-RdG35QbHF93UgndaK3eSCjwMV6c= - dependencies: - locate-path "^2.0.0" - find-up@^4.0.0, find-up@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" @@ -2217,10 +2556,10 @@ graceful-fs@^4.1.2: version "4.1.15" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.15.tgz#ffb703e1066e8a0eeaa4c8b80ba9253eeefbfb00" -graceful-fs@^4.2.3: - version "4.2.3" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423" - integrity sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ== +graceful-fs@^4.2.4: + version "4.2.4" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.4.tgz#2256bde14d3632958c465ebc96dc467ca07a29fb" + integrity sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw== growly@^1.3.0: version "1.3.0" @@ -2284,16 +2623,24 @@ has-values@^1.0.0: is-number "^3.0.0" kind-of "^4.0.0" +has@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" + integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== + dependencies: + function-bind "^1.1.1" + hosted-git-info@^2.1.4: version "2.8.8" resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.8.tgz#7539bd4bc1e0e0a895815a2e0262420b12858488" integrity sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg== -html-encoding-sniffer@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-1.0.2.tgz#e70d84b94da53aa375e11fe3a351be6642ca46f8" +html-encoding-sniffer@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz#42a6dc4fd33f00281176e8b23759ca4e4fa185f3" + integrity sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ== dependencies: - whatwg-encoding "^1.0.1" + whatwg-encoding "^1.0.5" html-escaper@^2.0.0: version "2.0.2" @@ -2313,15 +2660,15 @@ human-signals@^1.1.1: resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3" integrity sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw== -husky@4.2.5: - version "4.2.5" - resolved "https://registry.yarnpkg.com/husky/-/husky-4.2.5.tgz#2b4f7622673a71579f901d9885ed448394b5fa36" - integrity sha512-SYZ95AjKcX7goYVZtVZF2i6XiZcHknw50iXvY7b0MiGoj5RwdgRQNEHdb+gPDPCXKlzwrybjFjkL6FOj8uRhZQ== +husky@4.3.6: + version "4.3.6" + resolved "https://registry.yarnpkg.com/husky/-/husky-4.3.6.tgz#ebd9dd8b9324aa851f1587318db4cccb7665a13c" + integrity sha512-o6UjVI8xtlWRL5395iWq9LKDyp/9TE7XMOTvIpEVzW638UcGxTmV5cfel6fsk/jbZSTlvfGVJf2svFtybcIZag== dependencies: chalk "^4.0.0" ci-info "^2.0.0" compare-versions "^3.6.0" - cosmiconfig "^6.0.0" + cosmiconfig "^7.0.0" find-versions "^3.2.0" opencollective-postinstall "^2.0.2" pkg-dir "^4.2.0" @@ -2340,10 +2687,10 @@ ignore@^5.1.4: resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.4.tgz#84b7b3dbe64552b6ef0eca99f6743dbec6d97adf" integrity sha512-MzbUSahkTW1u7JpKKjY7LCARd1fU5W2rLdxlM4kdkayuCwZImjkpluF9CM1aLewYJguPDqewLam18Y6AU69A8A== -import-fresh@^3.1.0: - version "3.2.1" - resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.2.1.tgz#633ff618506e793af5ac91bf48b72677e15cbe66" - integrity sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ== +import-fresh@^3.2.1: + version "3.3.0" + resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" + integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== dependencies: parent-module "^1.0.0" resolve-from "^4.0.0" @@ -2371,7 +2718,7 @@ inherits@2, inherits@~2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" -invariant@^2.2.2, invariant@^2.2.4: +invariant@^2.2.2: version "2.2.4" resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" dependencies: @@ -2409,6 +2756,13 @@ is-ci@^2.0.0: dependencies: ci-info "^2.0.0" +is-core-module@^2.1.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.2.0.tgz#97037ef3d52224d85163f5597b2b63d9afed981a" + integrity sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ== + dependencies: + has "^1.0.3" + is-data-descriptor@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" @@ -2437,6 +2791,11 @@ is-descriptor@^1.0.0, is-descriptor@^1.0.2: is-data-descriptor "^1.0.0" kind-of "^6.0.2" +is-docker@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.1.1.tgz#4125a88e44e450d384e09047ede71adc2d144156" + integrity sha512-ZOoqiXfEwtGknTiuDEy8pN2CfE3TxMHprvNer1mXiqwkOT77Rw3YVrUQ52EqAOU3QAWDQ+bQdx7HJzrv7LS2Hw== + is-extendable@^0.1.0, is-extendable@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" @@ -2472,6 +2831,11 @@ is-plain-object@^2.0.1, is-plain-object@^2.0.3, is-plain-object@^2.0.4: dependencies: isobject "^3.0.1" +is-potential-custom-element-name@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.0.tgz#0c52e54bcca391bb2c494b21e8626d7336c6e397" + integrity sha1-DFLlS8yjkbssSUsh6GJtczbG45c= + is-stream@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" @@ -2490,10 +2854,12 @@ is-windows@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" -is-wsl@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.1.1.tgz#4a1c152d429df3d441669498e2486d3596ebaf1d" - integrity sha512-umZHcSrwlDHo2TGMXv0DZ8dIUGunZ2Iv68YZnrmCiBPkZ4aaOhtv7pXJKeki9k3qJ3RJr0cDyitcl5wEH3AYog== +is-wsl@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" + integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== + dependencies: + is-docker "^2.0.0" isarray@1.0.0, isarray@~1.0.0: version "1.0.0" @@ -2535,6 +2901,16 @@ istanbul-lib-instrument@^4.0.0: istanbul-lib-coverage "^3.0.0" semver "^6.3.0" +istanbul-lib-instrument@^4.0.3: + version "4.0.3" + resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz#873c6fff897450118222774696a3f28902d77c1d" + integrity sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ== + dependencies: + "@babel/core" "^7.7.5" + "@istanbuljs/schema" "^0.1.2" + istanbul-lib-coverage "^3.0.0" + semver "^6.3.0" + istanbul-lib-report@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#7518fe52ea44de372f460a76b5ecda9ffb73d8a6" @@ -2561,358 +2937,378 @@ istanbul-reports@^3.0.2: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0" -jest-changed-files@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-25.4.0.tgz#e573db32c2fd47d2b90357ea2eda0622c5c5cbd6" - integrity sha512-VR/rfJsEs4BVMkwOTuStRyS630fidFVekdw/lBaBQjx9KK3VZFOZ2c0fsom2fRp8pMCrCTP6LGna00o/DXGlqA== +jest-changed-files@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-26.6.2.tgz#f6198479e1cc66f22f9ae1e22acaa0b429c042d0" + integrity sha512-fDS7szLcY9sCtIip8Fjry9oGf3I2ht/QT21bAHm5Dmf0mD4X3ReNUf17y+bO6fR8WgbIZTlbyG1ak/53cbRzKQ== dependencies: - "@jest/types" "^25.4.0" - execa "^3.2.0" + "@jest/types" "^26.6.2" + execa "^4.0.0" throat "^5.0.0" -jest-cli@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-25.4.0.tgz#5dac8be0fece6ce39f0d671395a61d1357322bab" - integrity sha512-usyrj1lzCJZMRN1r3QEdnn8e6E6yCx/QN7+B1sLoA68V7f3WlsxSSQfy0+BAwRiF4Hz2eHauf11GZG3PIfWTXQ== +jest-cli@^26.6.3: + version "26.6.3" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-26.6.3.tgz#43117cfef24bc4cd691a174a8796a532e135e92a" + integrity sha512-GF9noBSa9t08pSyl3CY4frMrqp+aQXFGFkf5hEPbh/pIUFYWMK6ZLTfbmadxJVcJrdRoChlWQsA2VkJcDFK8hg== dependencies: - "@jest/core" "^25.4.0" - "@jest/test-result" "^25.4.0" - "@jest/types" "^25.4.0" - chalk "^3.0.0" + "@jest/core" "^26.6.3" + "@jest/test-result" "^26.6.2" + "@jest/types" "^26.6.2" + chalk "^4.0.0" exit "^0.1.2" + graceful-fs "^4.2.4" import-local "^3.0.2" is-ci "^2.0.0" - jest-config "^25.4.0" - jest-util "^25.4.0" - jest-validate "^25.4.0" + jest-config "^26.6.3" + jest-util "^26.6.2" + jest-validate "^26.6.2" prompts "^2.0.1" - realpath-native "^2.0.0" - yargs "^15.3.1" + yargs "^15.4.1" -jest-config@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-25.4.0.tgz#56e5df3679a96ff132114b44fb147389c8c0a774" - integrity sha512-egT9aKYxMyMSQV1aqTgam0SkI5/I2P9qrKexN5r2uuM2+68ypnc+zPGmfUxK7p1UhE7dYH9SLBS7yb+TtmT1AA== +jest-config@^26.6.3: + version "26.6.3" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-26.6.3.tgz#64f41444eef9eb03dc51d5c53b75c8c71f645349" + integrity sha512-t5qdIj/bCj2j7NFVHb2nFB4aUdfucDn3JRKgrZnplb8nieAirAzRSHP8uDEd+qV6ygzg9Pz4YG7UTJf94LPSyg== dependencies: "@babel/core" "^7.1.0" - "@jest/test-sequencer" "^25.4.0" - "@jest/types" "^25.4.0" - babel-jest "^25.4.0" - chalk "^3.0.0" + "@jest/test-sequencer" "^26.6.3" + "@jest/types" "^26.6.2" + babel-jest "^26.6.3" + chalk "^4.0.0" deepmerge "^4.2.2" glob "^7.1.1" - jest-environment-jsdom "^25.4.0" - jest-environment-node "^25.4.0" - jest-get-type "^25.2.6" - jest-jasmine2 "^25.4.0" - jest-regex-util "^25.2.6" - jest-resolve "^25.4.0" - jest-util "^25.4.0" - jest-validate "^25.4.0" + graceful-fs "^4.2.4" + jest-environment-jsdom "^26.6.2" + jest-environment-node "^26.6.2" + jest-get-type "^26.3.0" + jest-jasmine2 "^26.6.3" + jest-regex-util "^26.0.0" + jest-resolve "^26.6.2" + jest-util "^26.6.2" + jest-validate "^26.6.2" micromatch "^4.0.2" - pretty-format "^25.4.0" - realpath-native "^2.0.0" + pretty-format "^26.6.2" -jest-diff@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-25.4.0.tgz#260b70f19a46c283adcad7f081cae71eb784a634" - integrity sha512-kklLbJVXW0y8UKOWOdYhI6TH5MG6QAxrWiBMgQaPIuhj3dNFGirKCd+/xfplBXICQ7fI+3QcqHm9p9lWu1N6ug== +jest-diff@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-26.6.2.tgz#1aa7468b52c3a68d7d5c5fdcdfcd5e49bd164394" + integrity sha512-6m+9Z3Gv9wN0WFVasqjCL/06+EFCMTqDEUl/b87HYK2rAPTyfz4ZIuSlPhY51PIQRWx5TaxeF1qmXKe9gfN3sA== dependencies: - chalk "^3.0.0" - diff-sequences "^25.2.6" - jest-get-type "^25.2.6" - pretty-format "^25.4.0" + chalk "^4.0.0" + diff-sequences "^26.6.2" + jest-get-type "^26.3.0" + pretty-format "^26.6.2" -jest-docblock@^25.3.0: - version "25.3.0" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-25.3.0.tgz#8b777a27e3477cd77a168c05290c471a575623ef" - integrity sha512-aktF0kCar8+zxRHxQZwxMy70stc9R1mOmrLsT5VO3pIT0uzGRSDAXxSlz4NqQWpuLjPpuMhPRl7H+5FRsvIQAg== +jest-docblock@^26.0.0: + version "26.0.0" + resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-26.0.0.tgz#3e2fa20899fc928cb13bd0ff68bd3711a36889b5" + integrity sha512-RDZ4Iz3QbtRWycd8bUEPxQsTlYazfYn/h5R65Fc6gOfwozFhoImx+affzky/FFBuqISPTqjXomoIGJVKBWoo0w== dependencies: detect-newline "^3.0.0" -jest-each@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-25.4.0.tgz#ad4e46164764e8e77058f169a0076a7f86f6b7d4" - integrity sha512-lwRIJ8/vQU/6vq3nnSSUw1Y3nz5tkYSFIywGCZpUBd6WcRgpn8NmJoQICojbpZmsJOJNHm0BKdyuJ6Xdx+eDQQ== +jest-each@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-26.6.2.tgz#02526438a77a67401c8a6382dfe5999952c167cb" + integrity sha512-Mer/f0KaATbjl8MCJ+0GEpNdqmnVmDYqCTJYTvoo7rqmRiDllmp2AYN+06F93nXcY3ur9ShIjS+CO/uD+BbH4A== dependencies: - "@jest/types" "^25.4.0" - chalk "^3.0.0" - jest-get-type "^25.2.6" - jest-util "^25.4.0" - pretty-format "^25.4.0" - -jest-environment-jsdom@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-25.4.0.tgz#bbfc7f85bb6ade99089062a830c79cb454565cf0" - integrity sha512-KTitVGMDrn2+pt7aZ8/yUTuS333w3pWt1Mf88vMntw7ZSBNDkRS6/4XLbFpWXYfWfp1FjcjQTOKzbK20oIehWQ== - dependencies: - "@jest/environment" "^25.4.0" - "@jest/fake-timers" "^25.4.0" - "@jest/types" "^25.4.0" - jest-mock "^25.4.0" - jest-util "^25.4.0" - jsdom "^15.2.1" - -jest-environment-node@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-25.4.0.tgz#188aef01ae6418e001c03fdd1c299961e1439082" - integrity sha512-wryZ18vsxEAKFH7Z74zi/y/SyI1j6UkVZ6QsllBuT/bWlahNfQjLNwFsgh/5u7O957dYFoXj4yfma4n4X6kU9A== - dependencies: - "@jest/environment" "^25.4.0" - "@jest/fake-timers" "^25.4.0" - "@jest/types" "^25.4.0" - jest-mock "^25.4.0" - jest-util "^25.4.0" - semver "^6.3.0" - -jest-get-type@^25.2.6: - version "25.2.6" - resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-25.2.6.tgz#0b0a32fab8908b44d508be81681487dbabb8d877" - integrity sha512-DxjtyzOHjObRM+sM1knti6or+eOgcGU4xVSb2HNP1TqO4ahsT+rqZg+nyqHWJSvWgKC5cG3QjGFBqxLghiF/Ig== - -jest-haste-map@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-25.4.0.tgz#da7c309dd7071e0a80c953ba10a0ec397efb1ae2" - integrity sha512-5EoCe1gXfGC7jmXbKzqxESrgRcaO3SzWXGCnvp9BcT0CFMyrB1Q6LIsjl9RmvmJGQgW297TCfrdgiy574Rl9HQ== - dependencies: - "@jest/types" "^25.4.0" + "@jest/types" "^26.6.2" + chalk "^4.0.0" + jest-get-type "^26.3.0" + jest-util "^26.6.2" + pretty-format "^26.6.2" + +jest-environment-jsdom@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-26.6.2.tgz#78d09fe9cf019a357009b9b7e1f101d23bd1da3e" + integrity sha512-jgPqCruTlt3Kwqg5/WVFyHIOJHsiAvhcp2qiR2QQstuG9yWox5+iHpU3ZrcBxW14T4fe5Z68jAfLRh7joCSP2Q== + dependencies: + "@jest/environment" "^26.6.2" + "@jest/fake-timers" "^26.6.2" + "@jest/types" "^26.6.2" + "@types/node" "*" + jest-mock "^26.6.2" + jest-util "^26.6.2" + jsdom "^16.4.0" + +jest-environment-node@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-26.6.2.tgz#824e4c7fb4944646356f11ac75b229b0035f2b0c" + integrity sha512-zhtMio3Exty18dy8ee8eJ9kjnRyZC1N4C1Nt/VShN1apyXc8rWGtJ9lI7vqiWcyyXS4BVSEn9lxAM2D+07/Tag== + dependencies: + "@jest/environment" "^26.6.2" + "@jest/fake-timers" "^26.6.2" + "@jest/types" "^26.6.2" + "@types/node" "*" + jest-mock "^26.6.2" + jest-util "^26.6.2" + +jest-get-type@^26.3.0: + version "26.3.0" + resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-26.3.0.tgz#e97dc3c3f53c2b406ca7afaed4493b1d099199e0" + integrity sha512-TpfaviN1R2pQWkIihlfEanwOXK0zcxrKEE4MlU6Tn7keoXdN6/3gK/xl0yEh8DOunn5pOVGKf8hB4R9gVh04ig== + +jest-haste-map@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-26.6.2.tgz#dd7e60fe7dc0e9f911a23d79c5ff7fb5c2cafeaa" + integrity sha512-easWIJXIw71B2RdR8kgqpjQrbMRWQBgiBwXYEhtGUTaX+doCjBheluShdDMeR8IMfJiTqH4+zfhtg29apJf/8w== + dependencies: + "@jest/types" "^26.6.2" + "@types/graceful-fs" "^4.1.2" + "@types/node" "*" anymatch "^3.0.3" fb-watchman "^2.0.0" - graceful-fs "^4.2.3" - jest-serializer "^25.2.6" - jest-util "^25.4.0" - jest-worker "^25.4.0" + graceful-fs "^4.2.4" + jest-regex-util "^26.0.0" + jest-serializer "^26.6.2" + jest-util "^26.6.2" + jest-worker "^26.6.2" micromatch "^4.0.2" sane "^4.0.3" walker "^1.0.7" - which "^2.0.2" optionalDependencies: fsevents "^2.1.2" -jest-jasmine2@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-25.4.0.tgz#3d3d19514022e2326e836c2b66d68b4cb63c5861" - integrity sha512-QccxnozujVKYNEhMQ1vREiz859fPN/XklOzfQjm2j9IGytAkUbSwjFRBtQbHaNZ88cItMpw02JnHGsIdfdpwxQ== +jest-jasmine2@^26.6.3: + version "26.6.3" + resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-26.6.3.tgz#adc3cf915deacb5212c93b9f3547cd12958f2edd" + integrity sha512-kPKUrQtc8aYwBV7CqBg5pu+tmYXlvFlSFYn18ev4gPFtrRzB15N2gW/Roew3187q2w2eHuu0MU9TJz6w0/nPEg== dependencies: "@babel/traverse" "^7.1.0" - "@jest/environment" "^25.4.0" - "@jest/source-map" "^25.2.6" - "@jest/test-result" "^25.4.0" - "@jest/types" "^25.4.0" - chalk "^3.0.0" + "@jest/environment" "^26.6.2" + "@jest/source-map" "^26.6.2" + "@jest/test-result" "^26.6.2" + "@jest/types" "^26.6.2" + "@types/node" "*" + chalk "^4.0.0" co "^4.6.0" - expect "^25.4.0" + expect "^26.6.2" is-generator-fn "^2.0.0" - jest-each "^25.4.0" - jest-matcher-utils "^25.4.0" - jest-message-util "^25.4.0" - jest-runtime "^25.4.0" - jest-snapshot "^25.4.0" - jest-util "^25.4.0" - pretty-format "^25.4.0" + jest-each "^26.6.2" + jest-matcher-utils "^26.6.2" + jest-message-util "^26.6.2" + jest-runtime "^26.6.3" + jest-snapshot "^26.6.2" + jest-util "^26.6.2" + pretty-format "^26.6.2" throat "^5.0.0" -jest-leak-detector@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-25.4.0.tgz#cf94a160c78e53d810e7b2f40b5fd7ee263375b3" - integrity sha512-7Y6Bqfv2xWsB+7w44dvZuLs5SQ//fzhETgOGG7Gq3TTGFdYvAgXGwV8z159RFZ6fXiCPm/szQ90CyfVos9JIFQ== +jest-leak-detector@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-26.6.2.tgz#7717cf118b92238f2eba65054c8a0c9c653a91af" + integrity sha512-i4xlXpsVSMeKvg2cEKdfhh0H39qlJlP5Ex1yQxwF9ubahboQYMgTtz5oML35AVA3B4Eu+YsmwaiKVev9KCvLxg== dependencies: - jest-get-type "^25.2.6" - pretty-format "^25.4.0" + jest-get-type "^26.3.0" + pretty-format "^26.6.2" -jest-matcher-utils@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-25.4.0.tgz#dc3e7aec402a1e567ed80b572b9ad285878895e6" - integrity sha512-yPMdtj7YDgXhnGbc66bowk8AkQ0YwClbbwk3Kzhn5GVDrciiCr27U4NJRbrqXbTdtxjImONITg2LiRIw650k5A== +jest-matcher-utils@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-26.6.2.tgz#8e6fd6e863c8b2d31ac6472eeb237bc595e53e7a" + integrity sha512-llnc8vQgYcNqDrqRDXWwMr9i7rS5XFiCwvh6DTP7Jqa2mqpcCBBlpCbn+trkG0KNhPu/h8rzyBkriOtBstvWhw== dependencies: - chalk "^3.0.0" - jest-diff "^25.4.0" - jest-get-type "^25.2.6" - pretty-format "^25.4.0" + chalk "^4.0.0" + jest-diff "^26.6.2" + jest-get-type "^26.3.0" + pretty-format "^26.6.2" -jest-message-util@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-25.4.0.tgz#2899e8bc43f5317acf8dfdfe89ea237d354fcdab" - integrity sha512-LYY9hRcVGgMeMwmdfh9tTjeux1OjZHMusq/E5f3tJN+dAoVVkJtq5ZUEPIcB7bpxDUt2zjUsrwg0EGgPQ+OhXQ== +jest-message-util@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-26.6.2.tgz#58173744ad6fc0506b5d21150b9be56ef001ca07" + integrity sha512-rGiLePzQ3AzwUshu2+Rn+UMFk0pHN58sOG+IaJbk5Jxuqo3NYO1U2/MIR4S1sKgsoYSXSzdtSa0TgrmtUwEbmA== dependencies: "@babel/code-frame" "^7.0.0" - "@jest/types" "^25.4.0" - "@types/stack-utils" "^1.0.1" - chalk "^3.0.0" + "@jest/types" "^26.6.2" + "@types/stack-utils" "^2.0.0" + chalk "^4.0.0" + graceful-fs "^4.2.4" micromatch "^4.0.2" + pretty-format "^26.6.2" slash "^3.0.0" - stack-utils "^1.0.1" + stack-utils "^2.0.2" -jest-mock@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-25.4.0.tgz#ded7d64b5328d81d78d2138c825d3a45e30ec8ca" - integrity sha512-MdazSfcYAUjJjuVTTnusLPzE0pE4VXpOUzWdj8sbM+q6abUjm3bATVPXFqTXrxSieR8ocpvQ9v/QaQCftioQFg== +jest-mock@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-26.6.2.tgz#d6cb712b041ed47fe0d9b6fc3474bc6543feb302" + integrity sha512-YyFjePHHp1LzpzYcmgqkJ0nm0gg/lJx2aZFzFy1S6eUqNjXsOqTK10zNRff2dNfssgokjkG65OlWNcIlgd3zew== dependencies: - "@jest/types" "^25.4.0" + "@jest/types" "^26.6.2" + "@types/node" "*" -jest-pnp-resolver@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.1.tgz#ecdae604c077a7fbc70defb6d517c3c1c898923a" +jest-pnp-resolver@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz#b704ac0ae028a89108a4d040b3f919dfddc8e33c" + integrity sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w== -jest-regex-util@^25.2.6: - version "25.2.6" - resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-25.2.6.tgz#d847d38ba15d2118d3b06390056028d0f2fd3964" - integrity sha512-KQqf7a0NrtCkYmZZzodPftn7fL1cq3GQAFVMn5Hg8uKx/fIenLEobNanUxb7abQ1sjADHBseG/2FGpsv/wr+Qw== +jest-regex-util@^26.0.0: + version "26.0.0" + resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-26.0.0.tgz#d25e7184b36e39fd466c3bc41be0971e821fee28" + integrity sha512-Gv3ZIs/nA48/Zvjrl34bf+oD76JHiGDUxNOVgUjh3j890sblXryjY4rss71fPtD/njchl6PSE2hIhvyWa1eT0A== -jest-resolve-dependencies@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-25.4.0.tgz#783937544cfc40afcc7c569aa54748c4b3f83f5a" - integrity sha512-A0eoZXx6kLiuG1Ui7wITQPl04HwjLErKIJTt8GR3c7UoDAtzW84JtCrgrJ6Tkw6c6MwHEyAaLk7dEPml5pf48A== +jest-resolve-dependencies@^26.6.3: + version "26.6.3" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-26.6.3.tgz#6680859ee5d22ee5dcd961fe4871f59f4c784fb6" + integrity sha512-pVwUjJkxbhe4RY8QEWzN3vns2kqyuldKpxlxJlzEYfKSvY6/bMvxoFrYYzUO1Gx28yKWN37qyV7rIoIp2h8fTg== dependencies: - "@jest/types" "^25.4.0" - jest-regex-util "^25.2.6" - jest-snapshot "^25.4.0" + "@jest/types" "^26.6.2" + jest-regex-util "^26.0.0" + jest-snapshot "^26.6.2" -jest-resolve@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-25.4.0.tgz#6f4540ce0d419c4c720e791e871da32ba4da7a60" - integrity sha512-wOsKqVDFWUiv8BtLMCC6uAJ/pHZkfFgoBTgPtmYlsprAjkxrr2U++ZnB3l5ykBMd2O24lXvf30SMAjJIW6k2aA== +jest-resolve@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-26.6.2.tgz#a3ab1517217f469b504f1b56603c5bb541fbb507" + integrity sha512-sOxsZOq25mT1wRsfHcbtkInS+Ek7Q8jCHUB0ZUTP0tc/c41QHriU/NunqMfCUWsL4H3MHpvQD4QR9kSYhS7UvQ== dependencies: - "@jest/types" "^25.4.0" - browser-resolve "^1.11.3" - chalk "^3.0.0" - jest-pnp-resolver "^1.2.1" + "@jest/types" "^26.6.2" + chalk "^4.0.0" + graceful-fs "^4.2.4" + jest-pnp-resolver "^1.2.2" + jest-util "^26.6.2" read-pkg-up "^7.0.1" - realpath-native "^2.0.0" - resolve "^1.15.1" + resolve "^1.18.1" slash "^3.0.0" -jest-runner@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-25.4.0.tgz#6ca4a3d52e692bbc081228fa68f750012f1f29e5" - integrity sha512-wWQSbVgj2e/1chFdMRKZdvlmA6p1IPujhpLT7TKNtCSl1B0PGBGvJjCaiBal/twaU2yfk8VKezHWexM8IliBfA== +jest-runner@^26.6.3: + version "26.6.3" + resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-26.6.3.tgz#2d1fed3d46e10f233fd1dbd3bfaa3fe8924be159" + integrity sha512-atgKpRHnaA2OvByG/HpGA4g6CSPS/1LK0jK3gATJAoptC1ojltpmVlYC3TYgdmGp+GLuhzpH30Gvs36szSL2JQ== dependencies: - "@jest/console" "^25.4.0" - "@jest/environment" "^25.4.0" - "@jest/test-result" "^25.4.0" - "@jest/types" "^25.4.0" - chalk "^3.0.0" + "@jest/console" "^26.6.2" + "@jest/environment" "^26.6.2" + "@jest/test-result" "^26.6.2" + "@jest/types" "^26.6.2" + "@types/node" "*" + chalk "^4.0.0" + emittery "^0.7.1" exit "^0.1.2" - graceful-fs "^4.2.3" - jest-config "^25.4.0" - jest-docblock "^25.3.0" - jest-haste-map "^25.4.0" - jest-jasmine2 "^25.4.0" - jest-leak-detector "^25.4.0" - jest-message-util "^25.4.0" - jest-resolve "^25.4.0" - jest-runtime "^25.4.0" - jest-util "^25.4.0" - jest-worker "^25.4.0" + graceful-fs "^4.2.4" + jest-config "^26.6.3" + jest-docblock "^26.0.0" + jest-haste-map "^26.6.2" + jest-leak-detector "^26.6.2" + jest-message-util "^26.6.2" + jest-resolve "^26.6.2" + jest-runtime "^26.6.3" + jest-util "^26.6.2" + jest-worker "^26.6.2" source-map-support "^0.5.6" throat "^5.0.0" -jest-runtime@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-25.4.0.tgz#1e5227a9e2159d26ae27dcd426ca6bc041983439" - integrity sha512-lgNJlCDULtXu9FumnwCyWlOub8iytijwsPNa30BKrSNtgoT6NUMXOPrZvsH06U6v0wgD/Igwz13nKA2wEKU2VA== - dependencies: - "@jest/console" "^25.4.0" - "@jest/environment" "^25.4.0" - "@jest/source-map" "^25.2.6" - "@jest/test-result" "^25.4.0" - "@jest/transform" "^25.4.0" - "@jest/types" "^25.4.0" +jest-runtime@^26.6.3: + version "26.6.3" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-26.6.3.tgz#4f64efbcfac398331b74b4b3c82d27d401b8fa2b" + integrity sha512-lrzyR3N8sacTAMeonbqpnSka1dHNux2uk0qqDXVkMv2c/A3wYnvQ4EXuI013Y6+gSKSCxdaczvf4HF0mVXHRdw== + dependencies: + "@jest/console" "^26.6.2" + "@jest/environment" "^26.6.2" + "@jest/fake-timers" "^26.6.2" + "@jest/globals" "^26.6.2" + "@jest/source-map" "^26.6.2" + "@jest/test-result" "^26.6.2" + "@jest/transform" "^26.6.2" + "@jest/types" "^26.6.2" "@types/yargs" "^15.0.0" - chalk "^3.0.0" + chalk "^4.0.0" + cjs-module-lexer "^0.6.0" collect-v8-coverage "^1.0.0" exit "^0.1.2" glob "^7.1.3" - graceful-fs "^4.2.3" - jest-config "^25.4.0" - jest-haste-map "^25.4.0" - jest-message-util "^25.4.0" - jest-mock "^25.4.0" - jest-regex-util "^25.2.6" - jest-resolve "^25.4.0" - jest-snapshot "^25.4.0" - jest-util "^25.4.0" - jest-validate "^25.4.0" - realpath-native "^2.0.0" + graceful-fs "^4.2.4" + jest-config "^26.6.3" + jest-haste-map "^26.6.2" + jest-message-util "^26.6.2" + jest-mock "^26.6.2" + jest-regex-util "^26.0.0" + jest-resolve "^26.6.2" + jest-snapshot "^26.6.2" + jest-util "^26.6.2" + jest-validate "^26.6.2" slash "^3.0.0" strip-bom "^4.0.0" - yargs "^15.3.1" + yargs "^15.4.1" -jest-serializer@^25.2.6: - version "25.2.6" - resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-25.2.6.tgz#3bb4cc14fe0d8358489dbbefbb8a4e708ce039b7" - integrity sha512-RMVCfZsezQS2Ww4kB5HJTMaMJ0asmC0BHlnobQC6yEtxiFKIxohFA4QSXSabKwSggaNkqxn6Z2VwdFCjhUWuiQ== +jest-serializer@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-26.6.2.tgz#d139aafd46957d3a448f3a6cdabe2919ba0742d1" + integrity sha512-S5wqyz0DXnNJPd/xfIzZ5Xnp1HrJWBczg8mMfMpN78OJ5eDxXyf+Ygld9wX1DnUWbIbhM1YDY95NjR4CBXkb2g== + dependencies: + "@types/node" "*" + graceful-fs "^4.2.4" -jest-snapshot@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-25.4.0.tgz#e0b26375e2101413fd2ccb4278a5711b1922545c" - integrity sha512-J4CJ0X2SaGheYRZdLz9CRHn9jUknVmlks4UBeu270hPAvdsauFXOhx9SQP2JtRzhnR3cvro/9N9KP83/uvFfRg== +jest-snapshot@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-26.6.2.tgz#f3b0af1acb223316850bd14e1beea9837fb39c84" + integrity sha512-OLhxz05EzUtsAmOMzuupt1lHYXCNib0ECyuZ/PZOx9TrZcC8vL0x+DUG3TL+GLX3yHG45e6YGjIm0XwDc3q3og== dependencies: "@babel/types" "^7.0.0" - "@jest/types" "^25.4.0" - "@types/prettier" "^1.19.0" - chalk "^3.0.0" - expect "^25.4.0" - jest-diff "^25.4.0" - jest-get-type "^25.2.6" - jest-matcher-utils "^25.4.0" - jest-message-util "^25.4.0" - jest-resolve "^25.4.0" - make-dir "^3.0.0" + "@jest/types" "^26.6.2" + "@types/babel__traverse" "^7.0.4" + "@types/prettier" "^2.0.0" + chalk "^4.0.0" + expect "^26.6.2" + graceful-fs "^4.2.4" + jest-diff "^26.6.2" + jest-get-type "^26.3.0" + jest-haste-map "^26.6.2" + jest-matcher-utils "^26.6.2" + jest-message-util "^26.6.2" + jest-resolve "^26.6.2" natural-compare "^1.4.0" - pretty-format "^25.4.0" - semver "^6.3.0" + pretty-format "^26.6.2" + semver "^7.3.2" -jest-util@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-25.4.0.tgz#6a093d09d86d2b41ef583e5fe7dd3976346e1acd" - integrity sha512-WSZD59sBtAUjLv1hMeKbNZXmMcrLRWcYqpO8Dz8b4CeCTZpfNQw2q9uwrYAD+BbJoLJlu4ezVPwtAmM/9/SlZA== +jest-util@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-26.6.2.tgz#907535dbe4d5a6cb4c47ac9b926f6af29576cbc1" + integrity sha512-MDW0fKfsn0OI7MS7Euz6h8HNDXVQ0gaM9uW6RjfDmd1DAFcaxX9OqIakHIqhbnmF08Cf2DLDG+ulq8YQQ0Lp0Q== dependencies: - "@jest/types" "^25.4.0" - chalk "^3.0.0" + "@jest/types" "^26.6.2" + "@types/node" "*" + chalk "^4.0.0" + graceful-fs "^4.2.4" is-ci "^2.0.0" - make-dir "^3.0.0" + micromatch "^4.0.2" -jest-validate@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-25.4.0.tgz#2e177a93b716a137110eaf2768f3d9095abd3f38" - integrity sha512-hvjmes/EFVJSoeP1yOl8qR8mAtMR3ToBkZeXrD/ZS9VxRyWDqQ/E1C5ucMTeSmEOGLipvdlyipiGbHJ+R1MQ0g== +jest-validate@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-26.6.2.tgz#23d380971587150467342911c3d7b4ac57ab20ec" + integrity sha512-NEYZ9Aeyj0i5rQqbq+tpIOom0YS1u2MVu6+euBsvpgIme+FOfRmoC4R5p0JiAUpaFvFy24xgrpMknarR/93XjQ== dependencies: - "@jest/types" "^25.4.0" - camelcase "^5.3.1" - chalk "^3.0.0" - jest-get-type "^25.2.6" + "@jest/types" "^26.6.2" + camelcase "^6.0.0" + chalk "^4.0.0" + jest-get-type "^26.3.0" leven "^3.1.0" - pretty-format "^25.4.0" + pretty-format "^26.6.2" -jest-watcher@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-25.4.0.tgz#63ec0cd5c83bb9c9d1ac95be7558dd61c995ff05" - integrity sha512-36IUfOSRELsKLB7k25j/wutx0aVuHFN6wO94gPNjQtQqFPa2rkOymmx9rM5EzbF3XBZZ2oqD9xbRVoYa2w86gw== +jest-watcher@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-26.6.2.tgz#a5b683b8f9d68dbcb1d7dae32172d2cca0592975" + integrity sha512-WKJob0P/Em2csiVthsI68p6aGKTIcsfjH9Gsx1f0A3Italz43e3ho0geSAVsmj09RWOELP1AZ/DXyJgOgDKxXQ== dependencies: - "@jest/test-result" "^25.4.0" - "@jest/types" "^25.4.0" + "@jest/test-result" "^26.6.2" + "@jest/types" "^26.6.2" + "@types/node" "*" ansi-escapes "^4.2.1" - chalk "^3.0.0" - jest-util "^25.4.0" - string-length "^3.1.0" + chalk "^4.0.0" + jest-util "^26.6.2" + string-length "^4.0.1" -jest-worker@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-25.4.0.tgz#ee0e2ceee5a36ecddf5172d6d7e0ab00df157384" - integrity sha512-ghAs/1FtfYpMmYQ0AHqxV62XPvKdUDIBBApMZfly+E9JEmYh2K45G0R5dWxx986RN12pRCxsViwQVtGl+N4whw== +jest-worker@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-26.6.2.tgz#7f72cbc4d643c365e27b9fd775f9d0eaa9c7a8ed" + integrity sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ== dependencies: + "@types/node" "*" merge-stream "^2.0.0" supports-color "^7.0.0" -jest@25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/jest/-/jest-25.4.0.tgz#fb96892c5c4e4a6b9bcb12068849cddf4c5f8cc7" - integrity sha512-XWipOheGB4wai5JfCYXd6vwsWNwM/dirjRoZgAa7H2wd8ODWbli2AiKjqG8AYhyx+8+5FBEdpO92VhGlBydzbw== +jest@26.6.3: + version "26.6.3" + resolved "https://registry.yarnpkg.com/jest/-/jest-26.6.3.tgz#40e8fdbe48f00dfa1f0ce8121ca74b88ac9148ef" + integrity sha512-lGS5PXGAzR4RF7V5+XObhqz2KZIDUA1yD0DG6pBVmy10eh0ZIXQImRuzocsI/N2XZ1GrLFwTS27In2i2jlpq1Q== dependencies: - "@jest/core" "^25.4.0" + "@jest/core" "^26.6.3" import-local "^3.0.2" - jest-cli "^25.4.0" + jest-cli "^26.6.3" "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" @@ -2934,36 +3330,36 @@ jsbn@~0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" -jsdom@^15.2.1: - version "15.2.1" - resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-15.2.1.tgz#d2feb1aef7183f86be521b8c6833ff5296d07ec5" - integrity sha512-fAl1W0/7T2G5vURSyxBzrJ1LSdQn6Tr5UX/xD4PXDx/PDgwygedfW6El/KIj3xJ7FU61TTYnc/l/B7P49Eqt6g== - dependencies: - abab "^2.0.0" - acorn "^7.1.0" - acorn-globals "^4.3.2" - array-equal "^1.0.0" - cssom "^0.4.1" - cssstyle "^2.0.0" - data-urls "^1.1.0" - domexception "^1.0.1" - escodegen "^1.11.1" - html-encoding-sniffer "^1.0.2" +jsdom@^16.4.0: + version "16.4.0" + resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-16.4.0.tgz#36005bde2d136f73eee1a830c6d45e55408edddb" + integrity sha512-lYMm3wYdgPhrl7pDcRmvzPhhrGVBeVhPIqeHjzeiHN3DFmD1RBpbExbi8vU7BJdH8VAZYovR8DMt0PNNDM7k8w== + dependencies: + abab "^2.0.3" + acorn "^7.1.1" + acorn-globals "^6.0.0" + cssom "^0.4.4" + cssstyle "^2.2.0" + data-urls "^2.0.0" + decimal.js "^10.2.0" + domexception "^2.0.1" + escodegen "^1.14.1" + html-encoding-sniffer "^2.0.1" + is-potential-custom-element-name "^1.0.0" nwsapi "^2.2.0" - parse5 "5.1.0" - pn "^1.1.0" - request "^2.88.0" - request-promise-native "^1.0.7" - saxes "^3.1.9" - symbol-tree "^3.2.2" + parse5 "5.1.1" + request "^2.88.2" + request-promise-native "^1.0.8" + saxes "^5.0.0" + symbol-tree "^3.2.4" tough-cookie "^3.0.1" - w3c-hr-time "^1.0.1" - w3c-xmlserializer "^1.1.2" - webidl-conversions "^4.0.2" + w3c-hr-time "^1.0.2" + w3c-xmlserializer "^2.0.0" + webidl-conversions "^6.1.0" whatwg-encoding "^1.0.5" whatwg-mimetype "^2.3.0" - whatwg-url "^7.0.0" - ws "^7.0.0" + whatwg-url "^8.0.0" + ws "^7.2.3" xml-name-validator "^3.0.0" jsesc@^2.5.1: @@ -3048,13 +3444,6 @@ leven@^3.1.0: resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A== -levenary@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/levenary/-/levenary-1.1.1.tgz#842a9ee98d2075aa7faeedbe32679e9205f46f77" - integrity sha512-mkAdOIt79FD6irqjYSs4rdbnlT5vRonMEvBVPVb3XmevfS8kgRXwfes0dhPdEtzTWD/1eNE/Bm/G1iRt6DcnQQ== - dependencies: - leven "^3.1.0" - levn@~0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" @@ -3075,14 +3464,6 @@ loader-utils@^1.0.2: emojis-list "^2.0.0" json5 "^1.0.1" -locate-path@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" - integrity sha1-K1aLJl7slExtnA3pw9u7ygNUzY4= - dependencies: - p-locate "^2.0.0" - path-exists "^3.0.0" - locate-path@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" @@ -3103,17 +3484,10 @@ lodash@^4.17.13: resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.14.tgz#9ce487ae66c96254fe20b599f21b6816028078ba" integrity sha512-mmKYbW3GLuJeX+iGP+Y7Gp1AiGHGbXHCOh/jZmrawMmsE7MS4znI3RL2FsjbqOyMayHInjOeykW7PEajUk1/xw== -lodash@^4.17.15: - version "4.17.15" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" - integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A== - -lolex@^5.0.0: - version "5.1.2" - resolved "https://registry.yarnpkg.com/lolex/-/lolex-5.1.2.tgz#953694d098ce7c07bc5ed6d0e42bc6c0c6d5a367" - integrity sha512-h4hmjAvHTmd+25JSwrtTIuwbKdwg5NzZVRMLn9saij4SZaepCrTCxPr35H/3bjwfMJtN+t3CX8672UIkglz28A== - dependencies: - "@sinonjs/commons" "^1.7.0" +lodash@^4.17.19: + version "4.17.20" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52" + integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA== loose-envify@^1.0.0: version "1.4.0" @@ -3121,6 +3495,13 @@ loose-envify@^1.0.0: dependencies: js-tokens "^3.0.0 || ^4.0.0" +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + make-dir@^3.0.0: version "3.0.2" resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.0.2.tgz#04a1acbf22221e1d6ef43559f43e05a90dbb4392" @@ -3226,10 +3607,10 @@ mkdirp@^0.5.3: dependencies: minimist "^1.2.5" -mri@^1.1.4: - version "1.1.5" - resolved "https://registry.yarnpkg.com/mri/-/mri-1.1.5.tgz#ce21dba2c69f74a9b7cf8a1ec62307e089e223e0" - integrity sha512-d2RKzMD4JNyHMbnbWnznPaa8vbdlq/4pNZ3IgdaGrVbBhebBsGUUE/6qorTMYNS6TwuH3ilfOlD2bf4Igh8CKg== +mri@^1.1.5: + version "1.1.6" + resolved "https://registry.yarnpkg.com/mri/-/mri-1.1.6.tgz#49952e1044db21dbf90f6cd92bc9c9a777d415a6" + integrity sha512-oi1b3MfbyGa7FJMP9GmLTttni5JoICpYBRlq+x5V16fZbLsnL9N3wFqqIm/nIG43FjUFkFh9Epzp/kzUGUnJxQ== ms@2.0.0: version "2.0.0" @@ -3282,21 +3663,22 @@ node-modules-regexp@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz#8d9dbe28964a4ac5712e9131642107c71e90ec40" -node-notifier@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/node-notifier/-/node-notifier-6.0.0.tgz#cea319e06baa16deec8ce5cd7f133c4a46b68e12" - integrity sha512-SVfQ/wMw+DesunOm5cKqr6yDcvUTDl/yc97ybGHMrteNEY6oekXpNpS3lZwgLlwz0FLgHoiW28ZpmBHUDg37cw== +node-notifier@^8.0.0: + version "8.0.1" + resolved "https://registry.yarnpkg.com/node-notifier/-/node-notifier-8.0.1.tgz#f86e89bbc925f2b068784b31f382afdc6ca56be1" + integrity sha512-BvEXF+UmsnAfYfoapKM9nGxnP+Wn7P91YfXmrKnfcYCx6VBeoN5Ez5Ogck6I8Bi5k4RlpqRYaw75pAwzX9OphA== dependencies: growly "^1.3.0" - is-wsl "^2.1.1" - semver "^6.3.0" + is-wsl "^2.2.0" + semver "^7.3.2" shellwords "^0.1.1" - which "^1.3.1" + uuid "^8.3.0" + which "^2.0.2" -node-releases@^1.1.53: - version "1.1.53" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.53.tgz#2d821bfa499ed7c5dffc5e2f28c88e78a08ee3f4" - integrity sha512-wp8zyQVwef2hpZ/dJH7SfSrIPD6YoJz6BDQDpGEkcA0s3LpAQoxBIYmfIq6QAhC1DhwsyCgTaTTcONwX8qzCuQ== +node-releases@^1.1.67: + version "1.1.67" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.67.tgz#28ebfcccd0baa6aad8e8d4d8fe4cbc49ae239c12" + integrity sha512-V5QF9noGFl3EymEwUYzO+3NTDpGfQB4ve6Qfnzf3UNydMhjQRVPR1DZTuvWiLzaFJYw2fmDwAfnRNEVb64hSIg== normalize-package-data@^2.5.0: version "2.5.0" @@ -3325,13 +3707,6 @@ npm-run-path@^2.0.0: dependencies: path-key "^2.0.0" -npm-run-path@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-3.1.0.tgz#7f91be317f6a466efed3c9f2980ad8a4ee8b0fa5" - integrity sha512-Dbl4A/VfiVGLgQv29URL9xshU8XDY1GeLy+fsaZ1AA8JDSfjvr5P5+pzRbWqRSBxk6/DW7MIh8lTM/PaGnP2kg== - dependencies: - path-key "^3.0.0" - npm-run-path@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" @@ -3420,18 +3795,6 @@ p-finally@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" -p-finally@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-2.0.1.tgz#bd6fcaa9c559a096b680806f4d657b3f0f240561" - integrity sha512-vpm09aKwq6H9phqRQzecoDpD8TmVyGw70qmWlyq5onxY7tqyTTFVvxMykxQSQKILBSFlbXpypIw2T1Ml7+DDtw== - -p-limit@^1.1.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" - integrity sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q== - dependencies: - p-try "^1.0.0" - p-limit@^2.2.0: version "2.3.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" @@ -3439,13 +3802,6 @@ p-limit@^2.2.0: dependencies: p-try "^2.0.0" -p-locate@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" - integrity sha1-IKAQOyIqcMj9OcwuWAaA893l7EM= - dependencies: - p-limit "^1.1.0" - p-locate@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" @@ -3453,11 +3809,6 @@ p-locate@^4.1.0: dependencies: p-limit "^2.2.0" -p-try@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" - integrity sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M= - p-try@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" @@ -3479,19 +3830,15 @@ parse-json@^5.0.0: json-parse-better-errors "^1.0.1" lines-and-columns "^1.1.6" -parse5@5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/parse5/-/parse5-5.1.0.tgz#c59341c9723f414c452975564c7c00a68d58acd2" - integrity sha512-fxNG2sQjHvlVAYmzBZS9YlDp6PTSSDwa98vkD4QgVDDCAo84z5X1t5XyJQ62ImdLXx5NdIIfihey6xpum9/gRQ== +parse5@5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/parse5/-/parse5-5.1.1.tgz#f68e4e5ba1852ac2cadc00f4555fff6c2abb6178" + integrity sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug== pascalcase@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" -path-exists@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" - path-exists@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" @@ -3545,13 +3892,6 @@ pkg-dir@^4.2.0: dependencies: find-up "^4.0.0" -pkg-up@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/pkg-up/-/pkg-up-2.0.0.tgz#c819ac728059a461cab1c3889a2be3c49a004d7f" - integrity sha1-yBmscoBZpGHKscOImivjxJoATX8= - dependencies: - find-up "^2.1.0" - please-upgrade-node@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz#aeddd3f994c933e4ad98b99d9a556efa0e2fe942" @@ -3559,10 +3899,6 @@ please-upgrade-node@^3.2.0: dependencies: semver-compare "^1.0.0" -pn@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/pn/-/pn-1.1.0.tgz#e2f4cef0e219f463c179ab37463e4e1ecdccbafb" - posix-character-classes@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" @@ -3571,31 +3907,31 @@ prelude-ls@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" -prettier@2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.0.5.tgz#d6d56282455243f2f92cc1716692c08aa31522d4" - integrity sha512-7PtVymN48hGcO4fGjybyBSIWDsLU4H4XlvOHfq91pz9kkGlonzwTfYkaIEwiRg/dAJF9YlbsduBAgtYLi+8cFg== +prettier@2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5" + integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q== -pretty-format@^25.4.0: - version "25.4.0" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-25.4.0.tgz#c58801bb5c4926ff4a677fe43f9b8b99812c7830" - integrity sha512-PI/2dpGjXK5HyXexLPZU/jw5T9Q6S1YVXxxVxco+LIqzUFHXIbKZKdUVt7GcX7QUCr31+3fzhi4gN4/wUYPVxQ== +pretty-format@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-26.6.2.tgz#e35c2705f14cb7fe2fe94fa078345b444120fc93" + integrity sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg== dependencies: - "@jest/types" "^25.4.0" + "@jest/types" "^26.6.2" ansi-regex "^5.0.0" ansi-styles "^4.0.0" - react-is "^16.12.0" + react-is "^17.0.1" -pretty-quick@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/pretty-quick/-/pretty-quick-2.0.1.tgz#417ee605ade98ecc686e72f63b5d28a2c35b43e9" - integrity sha512-y7bJt77XadjUr+P1uKqZxFWLddvj3SKY6EU4BuQtMxmmEFSMpbN132pUWdSG1g1mtUfO0noBvn7wBf0BVeomHg== +pretty-quick@3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/pretty-quick/-/pretty-quick-3.1.0.tgz#cb172e9086deb57455dea7c7e8f136cd0a4aef6c" + integrity sha512-DtxIxksaUWCgPFN7E1ZZk4+Aav3CCuRdhrDSFZENb404sYMtuo9Zka823F+Mgeyt8Zt3bUiCjFzzWYE9LYqkmQ== dependencies: - chalk "^2.4.2" - execa "^2.1.0" + chalk "^3.0.0" + execa "^4.0.0" find-up "^4.1.0" ignore "^5.1.4" - mri "^1.1.4" + mri "^1.1.5" multimatch "^4.0.0" private@^0.1.8: @@ -3637,10 +3973,10 @@ qs@~6.5.2: version "6.5.2" resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" -react-is@^16.12.0: - version "16.13.1" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" - integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== +react-is@^17.0.1: + version "17.0.1" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.1.tgz#5b3531bd76a645a4c9fb6e693ed36419e3301339" + integrity sha512-NAnt2iGDXohE5LI7uBnLnqvLQMtzhkiAOLXTmv+qnF9Ky7xAPcX8Up/xWIhxvLVGJvuLiNc4xQLtuqDRzb4fSA== read-pkg-up@^7.0.1: version "7.0.1" @@ -3673,11 +4009,6 @@ readable-stream@^2.0.1: string_decoder "~1.1.1" util-deprecate "~1.0.1" -realpath-native@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/realpath-native/-/realpath-native-2.0.0.tgz#7377ac429b6e1fd599dc38d08ed942d0d7beb866" - integrity sha512-v1SEYUOXXdbBZK8ZuNgO4TBjamPsiSgcFr0aP+tEKpQZK8vooEUqV6nm6Cv502mX4NF2EfsnVqtNAHG+/6Ur1Q== - regenerate-unicode-properties@^8.2.0: version "8.2.0" resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-8.2.0.tgz#e5de7111d655e7ba60c057dbe9ff37c87e65cdec" @@ -3725,6 +4056,18 @@ regexpu-core@^4.7.0: unicode-match-property-ecmascript "^1.0.4" unicode-match-property-value-ecmascript "^1.2.0" +regexpu-core@^4.7.1: + version "4.7.1" + resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-4.7.1.tgz#2dea5a9a07233298fbf0db91fa9abc4c6e0f8ad6" + integrity sha512-ywH2VUraA44DZQuRKzARmw6S66mr48pQVva4LBeRhcOltJ6hExvWly5ZjFLYo67xbIxb6W1q4bAGtgfEl20zfQ== + dependencies: + regenerate "^1.4.0" + regenerate-unicode-properties "^8.2.0" + regjsgen "^0.5.1" + regjsparser "^0.6.4" + unicode-match-property-ecmascript "^1.0.4" + unicode-match-property-value-ecmascript "^1.2.0" + regjsgen@^0.5.1: version "0.5.1" resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.5.1.tgz#48f0bf1a5ea205196929c0d9798b42d1ed98443c" @@ -3749,23 +4092,23 @@ repeat-string@^1.6.1: version "1.6.1" resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" -request-promise-core@1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/request-promise-core/-/request-promise-core-1.1.3.tgz#e9a3c081b51380dfea677336061fea879a829ee9" - integrity sha512-QIs2+ArIGQVp5ZYbWD5ZLCY29D5CfWizP8eWnm8FoGD1TX61veauETVQbrV60662V0oFBkrDOuaBI8XgtuyYAQ== +request-promise-core@1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/request-promise-core/-/request-promise-core-1.1.4.tgz#3eedd4223208d419867b78ce815167d10593a22f" + integrity sha512-TTbAfBBRdWD7aNNOoVOBH4pN/KigV6LyapYNNlAPA8JwbovRti1E88m3sYAwsLi5ryhPKsE9APwnjFTgdUjTpw== dependencies: - lodash "^4.17.15" + lodash "^4.17.19" -request-promise-native@^1.0.7: - version "1.0.8" - resolved "https://registry.yarnpkg.com/request-promise-native/-/request-promise-native-1.0.8.tgz#a455b960b826e44e2bf8999af64dff2bfe58cb36" - integrity sha512-dapwLGqkHtwL5AEbfenuzjTYg35Jd6KPytsC2/TLkVMz8rm+tNt72MGUWT1RP/aYawMpN6HqbNGBQaRcBtjQMQ== +request-promise-native@^1.0.8: + version "1.0.9" + resolved "https://registry.yarnpkg.com/request-promise-native/-/request-promise-native-1.0.9.tgz#e407120526a5efdc9a39b28a5679bf47b9d9dc28" + integrity sha512-wcW+sIUiWnKgNY0dqCpOZkUbF/I+YPi+f09JZIDa39Ec+q82CpSYniDp+ISgTTbKmnpJWASeJBPZmoxH84wt3g== dependencies: - request-promise-core "1.1.3" + request-promise-core "1.1.4" stealthy-require "^1.1.1" tough-cookie "^2.3.3" -request@^2.88.0: +request@^2.88.2: version "2.88.2" resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3" integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw== @@ -3820,10 +4163,6 @@ resolve-url@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" -resolve@1.1.7: - version "1.1.7" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" - resolve@^1.10.0: version "1.16.1" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.16.1.tgz#49fac5d8bacf1fd53f200fa51247ae736175832c" @@ -3831,11 +4170,12 @@ resolve@^1.10.0: dependencies: path-parse "^1.0.6" -resolve@^1.15.1: - version "1.15.1" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.15.1.tgz#27bdcdeffeaf2d6244b95bb0f9f4b4653451f3e8" - integrity sha512-84oo6ZTtoTUpjgNEr5SJyzQhzL72gaRodsSfyxC/AXRvwu0Yse9H8eF9IpGo7b8YetZhlI6v7ZQ6bKBFV/6S7w== +resolve@^1.18.1: + version "1.19.0" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.19.0.tgz#1af5bf630409734a067cae29318aac7fa29a267c" + integrity sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg== dependencies: + is-core-module "^2.1.0" path-parse "^1.0.6" resolve@^1.3.2: @@ -3887,12 +4227,12 @@ sane@^4.0.3: minimist "^1.1.1" walker "~1.0.5" -saxes@^3.1.9: - version "3.1.11" - resolved "https://registry.yarnpkg.com/saxes/-/saxes-3.1.11.tgz#d59d1fd332ec92ad98a2e0b2ee644702384b1c5b" - integrity sha512-Ydydq3zC+WYDJK1+gRxRapLIED9PWeSuuS41wqyoRmzvhhh9nc+QQrVMKJYzJFULazeGhzSV0QleN2wD3boh2g== +saxes@^5.0.0: + version "5.0.1" + resolved "https://registry.yarnpkg.com/saxes/-/saxes-5.0.1.tgz#eebab953fa3b7608dbe94e5dadb15c888fa6696d" + integrity sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw== dependencies: - xmlchars "^2.1.1" + xmlchars "^2.2.0" semver-compare@^1.0.0: version "1.0.0" @@ -3927,6 +4267,13 @@ semver@^6.3.0: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== +semver@^7.3.2: + version "7.3.4" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.4.tgz#27aaa7d2e4ca76452f98d3add093a72c943edc97" + integrity sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw== + dependencies: + lru-cache "^6.0.0" + set-blocking@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" @@ -4099,9 +4446,12 @@ sshpk@^1.7.0: safer-buffer "^2.0.2" tweetnacl "~0.14.0" -stack-utils@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-1.0.2.tgz#33eba3897788558bebfc2db059dc158ec36cebb8" +stack-utils@^2.0.2: + version "2.0.3" + resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.3.tgz#cd5f030126ff116b78ccb3c027fe302713b61277" + integrity sha512-gL//fkxfWUsIlFL2Tl42Cl6+HFALEaB1FU76I/Fy+oZjRreP7OPMXFlGbxM7NQsI0ZpUfw76sHnv0WNYuTb7Iw== + dependencies: + escape-string-regexp "^2.0.0" static-extend@^0.1.1: version "0.1.2" @@ -4114,13 +4464,13 @@ stealthy-require@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/stealthy-require/-/stealthy-require-1.1.1.tgz#35b09875b4ff49f26a777e509b3090a3226bf24b" -string-length@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/string-length/-/string-length-3.1.0.tgz#107ef8c23456e187a8abd4a61162ff4ac6e25837" - integrity sha512-Ttp5YvkGm5v9Ijagtaz1BnN+k9ObpvS0eIBblPMp2YWL8FBmi9qblQ9fexc2k/CXFgrTIteU3jAw3payCnwSTA== +string-length@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/string-length/-/string-length-4.0.1.tgz#4a973bf31ef77c4edbceadd6af2611996985f8a1" + integrity sha512-PKyXUd0LK0ePjSOnWn34V2uD6acUWev9uy0Ft05k0E8xRW+SKcA0F7eMr7h5xlzfn+4O3N+55rduYyet3Jk+jw== dependencies: - astral-regex "^1.0.0" - strip-ansi "^5.2.0" + char-regex "^1.0.2" + strip-ansi "^6.0.0" string-width@^4.1.0, string-width@^4.2.0: version "4.2.0" @@ -4143,12 +4493,6 @@ strip-ansi@^3.0.0: dependencies: ansi-regex "^2.0.0" -strip-ansi@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" - dependencies: - ansi-regex "^4.1.0" - strip-ansi@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532" @@ -4195,9 +4539,10 @@ supports-hyperlinks@^2.0.0: has-flag "^4.0.0" supports-color "^7.0.0" -symbol-tree@^3.2.2: - version "3.2.2" - resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.2.tgz#ae27db38f660a7ae2e1c3b7d1bc290819b8519e6" +symbol-tree@^3.2.4: + version "3.2.4" + resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" + integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== tapable@^1.0.0: version "1.1.3" @@ -4281,20 +4626,21 @@ tough-cookie@^3.0.1: psl "^1.1.28" punycode "^2.1.1" -tr46@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/tr46/-/tr46-1.0.1.tgz#a8b13fd6bfd2489519674ccde55ba3693b706d09" +tr46@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/tr46/-/tr46-2.0.2.tgz#03273586def1595ae08fedb38d7733cee91d2479" + integrity sha512-3n1qG+/5kg+jrbTzwAykB5yRYtQCTqOGKq5U5PE3b0a1/mzo6snDhjGS0zJVJunO0NrT3Dg1MLy5TjWP/UJppg== dependencies: - punycode "^2.1.0" + punycode "^2.1.1" trim-right@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003" -ts-loader@7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/ts-loader/-/ts-loader-7.0.1.tgz#ac9ae9eb8f5ebd0aa7b78b44db20691b6e31251b" - integrity sha512-wdGs9xO8UnwASwbluehzXciBtc9HfGlYA8Aiv856etLmdv8mJfAxCkt3YpS4g7G1IsGxaCVKQ102Qh0zycpeZQ== +ts-loader@8.0.12: + version "8.0.12" + resolved "https://registry.yarnpkg.com/ts-loader/-/ts-loader-8.0.12.tgz#1de9f1de65176318c1e6d187bfc496182f8dc2a0" + integrity sha512-UIivVfGVJDdwwjgSrbtcL9Nf10c1BWnL1mxAQUVcnhNIn/P9W3nP5v60Z0aBMtc7ZrE11lMmU6+5jSgAXmGaYw== dependencies: chalk "^2.3.0" enhanced-resolve "^4.0.0" @@ -4302,10 +4648,10 @@ ts-loader@7.0.1: micromatch "^4.0.0" semver "^6.0.0" -tslib@^1.10.0: - version "1.11.1" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.1.tgz#eb15d128827fbee2841549e171f45ed338ac7e35" - integrity sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA== +tslib@^1.13.0: + version "1.14.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" + integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== tslib@^1.8.1: version "1.9.3" @@ -4322,10 +4668,10 @@ tslint-immutable@6.0.1: dependencies: tsutils "^2.28.0 || ^3.0.0" -tslint@6.1.1: - version "6.1.1" - resolved "https://registry.yarnpkg.com/tslint/-/tslint-6.1.1.tgz#ac03fbd17f85bfefaae348b353b25a88efe10cde" - integrity sha512-kd6AQ/IgPRpLn6g5TozqzPdGNZ0q0jtXW4//hRcj10qLYBaa3mTUU2y2MCG+RXZm8Zx+KZi0eA+YCrMyNlF4UA== +tslint@6.1.3: + version "6.1.3" + resolved "https://registry.yarnpkg.com/tslint/-/tslint-6.1.3.tgz#5c23b2eccc32487d5523bd3a470e9aa31789d904" + integrity sha512-IbR4nkT96EQOvKE2PW/djGz8iGNeJ4rF2mBfiYaR/nvUWYKJhLwimoJKgjIFEIDibBtOevj7BqCRL4oHeWWUCg== dependencies: "@babel/code-frame" "^7.0.0" builtin-modules "^1.1.1" @@ -4338,7 +4684,7 @@ tslint@6.1.1: mkdirp "^0.5.3" resolve "^1.3.2" semver "^5.3.0" - tslib "^1.10.0" + tslib "^1.13.0" tsutils "^2.29.0" "tsutils@^2.28.0 || ^3.0.0": @@ -4396,10 +4742,10 @@ typedarray-to-buffer@^3.1.5: dependencies: is-typedarray "^1.0.0" -typescript@3.8.3: - version "3.8.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061" - integrity sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w== +typescript@4.1.3: + version "4.1.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.3.tgz#519d582bd94cba0cf8934c7d8e8467e473f53bb7" + integrity sha512-B3ZIOf1IKeH2ixgHhj6la6xdwR9QrLC5d1VKeCSY4tvkqhF2eqd9O7txNlS0PO3GrBAFIdr3L1ndNwteUbZLYg== unicode-canonical-property-names-ecmascript@^1.0.4: version "1.0.4" @@ -4459,10 +4805,15 @@ uuid@^3.3.2: version "3.3.2" resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131" -v8-to-istanbul@^4.1.3: - version "4.1.3" - resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-4.1.3.tgz#22fe35709a64955f49a08a7c7c959f6520ad6f20" - integrity sha512-sAjOC+Kki6aJVbUOXJbcR0MnbfjvBzwKZazEJymA2IX49uoOdEdk+4fBq5cXgYgiyKtAyrrJNtBZdOeDIF+Fng== +uuid@^8.3.0: + version "8.3.2" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" + integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== + +v8-to-istanbul@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-7.0.0.tgz#b4fe00e35649ef7785a9b7fcebcea05f37c332fc" + integrity sha512-fLL2rFuQpMtm9r8hrAV2apXX/WqHJ6+IC4/eQVdMDGBUgH/YMV4Gv3duk3kjmyg6uiQWBAA9nJwue4iJUOkHeA== dependencies: "@types/istanbul-lib-coverage" "^2.0.1" convert-source-map "^1.6.0" @@ -4484,19 +4835,18 @@ verror@1.10.0: core-util-is "1.0.2" extsprintf "^1.2.0" -w3c-hr-time@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.1.tgz#82ac2bff63d950ea9e3189a58a65625fedf19045" +w3c-hr-time@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz#0a89cdf5cc15822df9c360543676963e0cc308cd" + integrity sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ== dependencies: - browser-process-hrtime "^0.1.2" + browser-process-hrtime "^1.0.0" -w3c-xmlserializer@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/w3c-xmlserializer/-/w3c-xmlserializer-1.1.2.tgz#30485ca7d70a6fd052420a3d12fd90e6339ce794" - integrity sha512-p10l/ayESzrBMYWRID6xbuCKh2Fp77+sA0doRuGn4tTIMrrZVeqfpKjXHY+oDh3K4nLdPgNwMTVP6Vp4pvqbNg== +w3c-xmlserializer@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz#3e7104a05b75146cc60f564380b7f683acf1020a" + integrity sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA== dependencies: - domexception "^1.0.1" - webidl-conversions "^4.0.2" xml-name-validator "^3.0.0" walker@^1.0.7, walker@~1.0.5: @@ -4505,27 +4855,34 @@ walker@^1.0.7, walker@~1.0.5: dependencies: makeerror "1.0.x" -webidl-conversions@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" +webidl-conversions@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-5.0.0.tgz#ae59c8a00b121543a2acc65c0434f57b0fc11aff" + integrity sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA== + +webidl-conversions@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-6.1.0.tgz#9111b4d7ea80acd40f5270d666621afa78b69514" + integrity sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w== -whatwg-encoding@^1.0.1, whatwg-encoding@^1.0.5: +whatwg-encoding@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz#5abacf777c32166a51d085d6b4f3e7d27113ddb0" dependencies: iconv-lite "0.4.24" -whatwg-mimetype@^2.2.0, whatwg-mimetype@^2.3.0: +whatwg-mimetype@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf" -whatwg-url@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-7.0.0.tgz#fde926fa54a599f3adf82dff25a9f7be02dc6edd" +whatwg-url@^8.0.0: + version "8.4.0" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-8.4.0.tgz#50fb9615b05469591d2b2bd6dfaed2942ed72837" + integrity sha512-vwTUFf6V4zhcPkWp/4CQPr1TW9Ml6SF4lVyaIMBdJw5i6qUUJ1QWM4Z6YYVkfka0OUIzVo/0aNtGVGk256IKWw== dependencies: lodash.sortby "^4.7.0" - tr46 "^1.0.1" - webidl-conversions "^4.0.2" + tr46 "^2.0.2" + webidl-conversions "^6.1.0" which-module@^2.0.0: version "2.0.0" @@ -4536,7 +4893,7 @@ which-pm-runs@^1.0.0: resolved "https://registry.yarnpkg.com/which-pm-runs/-/which-pm-runs-1.0.0.tgz#670b3afbc552e0b55df6b7780ca74615f23ad1cb" integrity sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs= -which@^1.2.9, which@^1.3.1: +which@^1.2.9: version "1.3.1" resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" dependencies: @@ -4576,16 +4933,16 @@ write-file-atomic@^3.0.0: signal-exit "^3.0.2" typedarray-to-buffer "^3.1.5" -ws@^7.0.0: - version "7.2.3" - resolved "https://registry.yarnpkg.com/ws/-/ws-7.2.3.tgz#a5411e1fb04d5ed0efee76d26d5c46d830c39b46" - integrity sha512-HTDl9G9hbkNDk98naoR/cHDws7+EyYMOdL1BmjsZXRUjf7d+MficC4B7HLUPlSiho0vg+CWKrGIt/VJBd1xunQ== +ws@^7.2.3: + version "7.4.1" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.1.tgz#a333be02696bd0e54cea0434e21dcc8a9ac294bb" + integrity sha512-pTsP8UAfhy3sk1lSk/O/s4tjD0CRwvMnzvwr4OKGX7ZvqZtUyx4KIJB5JWbkykPoc55tixMGgTNoh3k4FkNGFQ== xml-name-validator@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a" -xmlchars@^2.1.1: +xmlchars@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb" integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw== @@ -4595,25 +4952,28 @@ y18n@^4.0.0: resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w== -yaml@^1.7.2: - version "1.8.3" - resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.8.3.tgz#2f420fca58b68ce3a332d0ca64be1d191dd3f87a" - integrity sha512-X/v7VDnK+sxbQ2Imq4Jt2PRUsRsP7UcpSl3Llg6+NRRqWLIvxkMFYtH1FmvwNGYRKKPa+EPA4qDBlI9WVG1UKw== - dependencies: - "@babel/runtime" "^7.8.7" +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + +yaml@^1.10.0: + version "1.10.0" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.0.tgz#3b593add944876077d4d683fee01081bd9fff31e" + integrity sha512-yr2icI4glYaNG+KWONODapy2/jDdMSDnrONSjblABjD9B4Z5LgiircSt8m8sRZFNi08kG9Sm0uSHtEmP3zaEGg== -yargs-parser@^18.1.1: - version "18.1.2" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.2.tgz#2f482bea2136dbde0861683abea7756d30b504f1" - integrity sha512-hlIPNR3IzC1YuL1c2UwwDKpXlNFBqD1Fswwh1khz5+d8Cq/8yc/Mn0i+rQXduu8hcrFKvO7Eryk+09NecTQAAQ== +yargs-parser@^18.1.2: + version "18.1.3" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" + integrity sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ== dependencies: camelcase "^5.0.0" decamelize "^1.2.0" -yargs@^15.3.1: - version "15.3.1" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.3.1.tgz#9505b472763963e54afe60148ad27a330818e98b" - integrity sha512-92O1HWEjw27sBfgmXiixJWT5hRBp2eobqXicLtPBIDBhYB+1HpwZlXmbW2luivBJHBzki+7VyCLRtAkScbTBQA== +yargs@^15.4.1: + version "15.4.1" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.4.1.tgz#0d87a16de01aee9d8bec2bfbf74f67851730f4f8" + integrity sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A== dependencies: cliui "^6.0.0" decamelize "^1.2.0" @@ -4625,4 +4985,4 @@ yargs@^15.3.1: string-width "^4.2.0" which-module "^2.0.0" y18n "^4.0.0" - yargs-parser "^18.1.1" + yargs-parser "^18.1.2"