diff --git a/gulpfile.mjs b/gulpfile.mjs index 86fe74f..6d15345 100644 --- a/gulpfile.mjs +++ b/gulpfile.mjs @@ -15,7 +15,7 @@ const buildRoot = `${rootDir}/build`; const libphonenumberUrl = 'https://github.com/google/libphonenumber/'; const closureLinterUrl = 'https://github.com/google/closure-linter'; const pythonGflagsUrl = 'https://github.com/google/python-gflags.git'; -const antName = 'apache-ant-1.10.14'; +const antName = 'apache-ant-1.10.15'; const antTar = `${antName}.tar.gz`; const antUrl = `https://downloads.apache.org/ant/binaries/${antName}-bin.tar.gz`; diff --git a/index-esm.mjs b/index-esm.mjs index 317f8c3..ad16311 100644 --- a/index-esm.mjs +++ b/index-esm.mjs @@ -4,767 +4,781 @@ function getDefaultExportFromCjs (x) { return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x; } -var awesomePhonenumber = {exports: {}}; - -var lib = {exports: {}}; - -(function (module) { - (function(){/* - - Copyright The Closure Library Authors. - SPDX-License-Identifier: Apache-2.0 - */ - var aa=this||self;function ba(a){a.ra=void 0;a.pa=function(){return a.ra?a.ra:a.ra=new a};}function h(a,b){function c(){}c.prototype=b.prototype;a.Da=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Ja=function(d,e,f){for(var g=Array(arguments.length-2),l=2;la.length?!1:L(Ua,a)}function Ya(a){return L(Pa,a)?M(a,Ia):M(a,Ga)}function Za(a){var b=Ya(a.toString());A(a);a.g(b);}function $a(){return Object.keys(H).filter(function(a){return isNaN(a)})}function ab(){return Object.keys(H).filter(function(a){return !isNaN(a)}).map(function(a){return parseInt(a,10)})}function bb(){var a=Object.keys(F);return [...ab(),...a.map(function(b){return parseInt(b,10)})]} function M(a,b){for(var c=new z,d,e=a.length,f=0;fb?2:f[f.length-1]=e&&e<=d;++e)if(c=parseInt(a.substring(0,e),10),c in F)return b.g(a.substring(e)),c;return 0} - function sb(a,b,c,d,e){if(0==b.length)return 0;b=new z(b);var f;null!=c&&(f=p(c,11));null==f&&(f="NonMatch");var g=b.toString();if(0==g.length)f=20;else if(J.test(g))g=g.replace(J,""),A(b),b.g(Ya(g)),f=1;else {g=new RegExp(f);Za(b);f=b.toString();if(0==f.search(g)){g=f.match(g)[0].length;var l=f.substring(g).match(La);l&&null!=l[1]&&0=b.h.length)throw Error("Phone number too short after IDD");a=rb(b, - d);if(0!=a)return q(e,1,a),a;throw Error("Invalid country calling code");}if(null!=c&&(f=u(c,10),g=""+f,l=b.toString(),0==l.lastIndexOf(g,0)&&(g=new z(l.substring(g.length)),l=p(c,1),l=new RegExp(u(l,2)),tb(g,c,null),g=g.toString(),!L(l,b.toString())&&L(l,g)||3==qb(a,b.toString(),c,-1))))return d.g(g),q(e,1,f),f;q(e,1,0);return 0} - function tb(a,b,c){var d=a.toString(),e=d.length,f=p(b,15);if(0!=e&&null!=f&&0!=f.length){var g=new RegExp("^(?:"+f+")");if(e=g.exec(d)){f=new RegExp(u(p(b,1),2));var l=L(f,d),n=e.length-1;b=p(b,16);if(null==b||0==b.length||null==e[n]||0==e[n].length){if(!l||L(f,d.substring(e[0].length)))null!=c&&0=b.length)e="";else {var f=b.indexOf(";",e);e=-1!==f?b.substring(e,f):b.substring(e);}var g=e;null==g?f=!0:0===g.length?f=!1:(f=Qa.exec(g),g=Ra.exec(g),f=null!==f||null!==g);if(!f)throw Error("The string supplied did not seem to be a phone number"); - null!=e?("+"===e.charAt(0)&&d.g(e),e=b.indexOf("tel:"),d.g(b.substring(0<=e?e+4:0,b.indexOf(";phone-context=")))):(e=d.g,b=null!=b?b:"",f=b.search(Ma),0<=f?(b=b.substring(f),b=b.replace(Oa,""),f=b.search(Na),0<=f&&(b=b.substring(0,f))):b="",e.call(d,b));b=d.toString();e=b.indexOf(";isub=");0e.h.length)throw Error("The string supplied is too short to be a phone number"); - null!=f&&(c=new z(e.toString()),tb(c,f,new z),a=qb(a,c.toString(),f,-1),2!=a&&4!=a&&5!=a&&(e=c));a=e.toString();c=a.length;if(2>c)throw Error("The string supplied is too short to be a phone number");if(17b;++b){d=void 0;if(a.length{if(b.hasOwnProperty(c))return !1;b[c]=1;return !0})}V.getSupportedRegionCodes=function(){return Zb($a())};V.getSupportedCallingCodes=function(){return Zb(bb())};V.getExample=function(a,b){var c;b?c=ib(a,Tb(b)):c=ib(a,0);return (new V(c,a)).toJSON()};V.getAsYouType=function(a){return new Z(a)}; - V.getNumberFrom=function(a,b){try{a:{if(Xb){var e=Xb.get(a);if(e){var c=e;break a}}let d;c=new V(null==a?void 0:null==(d=a.number)?void 0:d.e164,{});}return {valid:!0,number:hb(c.l,b)}}catch(d){return {valid:!1,error:d}}};V.prototype.toJSON=function(){return this.g};V.prototype.toJSON=V.prototype.toJSON;V.prototype.ja=function(){return this.g.canBeInternationallyDialled};V.prototype.canBeInternationallyDialled=V.prototype.ja;V.prototype.wa=function(){return this.g.valid};V.prototype.isValid=V.prototype.wa; - V.prototype.va=function(){return this.g.possible};V.prototype.isPossible=V.prototype.va;V.prototype.getType=function(){return this.g.type};V.prototype.getType=V.prototype.getType;V.prototype.ua=function(){return "mobile"===this.g.type||"fixed-line-or-mobile"===this.g.type};V.prototype.isMobile=V.prototype.ua;V.prototype.ta=function(){return "fixed-line"===this.g.type||"fixed-line-or-mobile"===this.g.type};V.prototype.isFixedLine=V.prototype.ta; - V.prototype.xa=function(a){return this.g.number[null==a?"e164":a]};V.prototype.getNumber=V.prototype.xa;V.prototype.za=function(){return this.g.regionCode};V.prototype.getRegionCode=V.prototype.za;V.prototype.ia=function(){return Yb(this.g.regionCode)};V.prototype.getCountryCode=V.prototype.ia;function Z(a){this.j=a;this.h=new ub(a);this.l=this.g="";}Z.prototype.sa=function(a){this.g+=a;var b=this.h;b.la=Bb(b,a);return this.l=b.la};Z.prototype.addChar=Z.prototype.sa;Z.prototype.Ba=function(){return this.l}; - Z.prototype.number=Z.prototype.Ba;Z.prototype.Ca=function(){return ""===this.g?this.l:this.reset(this.g.slice(0,this.g.length-1))};Z.prototype.removeChar=Z.prototype.Ca;Z.prototype.reset=function(a){var b=this.h;b.la="";A(b.u);A(b.ba);A(b.$);b.aa=0;b.da="";A(b.h);b.s="";A(b.g);b.v=!0;b.oa=!1;b.ca=!1;b.ea=!1;b.j=[];b.ha=!1;b.m!=b.Aa&&(b.m=vb(b,b.ma));this.l=this.g="";if(a){b=0;for(var c=a.length;ba.length?!1:L(Ua,a)}function Ya(a){return L(Pa,a)?M(a,Ia):M(a,Ga)}function Za(a){var b=Ya(a.toString());A(a);a.g(b);}function $a(){return Object.keys(H).filter(function(a){return isNaN(a)})}function ab(){return Object.keys(H).filter(function(a){return !isNaN(a)}).map(function(a){return parseInt(a,10)})}function bb(){var a=Object.keys(F);return [...ab(),...a.map(function(b){return parseInt(b,10)})]} function M(a,b){for(var c=new z,d,e=a.length,f=0;fb?2:f[f.length-1]=e&&e<=d;++e)if(c=parseInt(a.substring(0,e),10),c in F)return b.g(a.substring(e)),c;return 0} + function sb(a,b,c,d,e){if(0==b.length)return 0;b=new z(b);var f;null!=c&&(f=p(c,11));null==f&&(f="NonMatch");var g=b.toString();if(0==g.length)f=20;else if(J.test(g))g=g.replace(J,""),A(b),b.g(Ya(g)),f=1;else {g=new RegExp(f);Za(b);f=b.toString();if(0==f.search(g)){g=f.match(g)[0].length;var l=f.substring(g).match(La);l&&null!=l[1]&&0=b.h.length)throw Error("Phone number too short after IDD");a=rb(b, + d);if(0!=a)return q(e,1,a),a;throw Error("Invalid country calling code");}if(null!=c&&(f=u(c,10),g=""+f,l=b.toString(),0==l.lastIndexOf(g,0)&&(g=new z(l.substring(g.length)),l=p(c,1),l=new RegExp(u(l,2)),tb(g,c,null),g=g.toString(),!L(l,b.toString())&&L(l,g)||3==qb(a,b.toString(),c,-1))))return d.g(g),q(e,1,f),f;q(e,1,0);return 0} + function tb(a,b,c){var d=a.toString(),e=d.length,f=p(b,15);if(0!=e&&null!=f&&0!=f.length){var g=new RegExp("^(?:"+f+")");if(e=g.exec(d)){f=new RegExp(u(p(b,1),2));var l=L(f,d),n=e.length-1;b=p(b,16);if(null==b||0==b.length||null==e[n]||0==e[n].length){if(!l||L(f,d.substring(e[0].length)))null!=c&&0=b.length)e="";else {var f=b.indexOf(";",e);e=-1!==f?b.substring(e,f):b.substring(e);}var g=e;null==g?f=!0:0===g.length?f=!1:(f=Qa.exec(g),g=Ra.exec(g),f=null!==f||null!==g);if(!f)throw Error("The string supplied did not seem to be a phone number"); + null!=e?("+"===e.charAt(0)&&d.g(e),e=b.indexOf("tel:"),d.g(b.substring(0<=e?e+4:0,b.indexOf(";phone-context=")))):(e=d.g,b=null!=b?b:"",f=b.search(Ma),0<=f?(b=b.substring(f),b=b.replace(Oa,""),f=b.search(Na),0<=f&&(b=b.substring(0,f))):b="",e.call(d,b));b=d.toString();e=b.indexOf(";isub=");0e.h.length)throw Error("The string supplied is too short to be a phone number"); + null!=f&&(c=new z(e.toString()),tb(c,f,new z),a=qb(a,c.toString(),f,-1),2!=a&&4!=a&&5!=a&&(e=c));a=e.toString();c=a.length;if(2>c)throw Error("The string supplied is too short to be a phone number");if(17b;++b){d=void 0;if(a.length{if(b.hasOwnProperty(c))return !1;b[c]=1;return !0})}V.getSupportedRegionCodes=function(){return Zb($a())};V.getSupportedCallingCodes=function(){return Zb(bb())};V.getExample=function(a,b){var c;b?c=ib(a,Tb(b)):c=ib(a,0);return (new V(c,a)).toJSON()};V.getAsYouType=function(a){return new Z(a)}; + V.getNumberFrom=function(a,b){try{a:{if(Xb){var e=Xb.get(a);if(e){var c=e;break a}}let d;c=new V(null==a?void 0:null==(d=a.number)?void 0:d.e164,{});}return {valid:!0,number:hb(c.l,b)}}catch(d){return {valid:!1,error:d}}};V.prototype.toJSON=function(){return this.g};V.prototype.toJSON=V.prototype.toJSON;V.prototype.ja=function(){return this.g.canBeInternationallyDialled};V.prototype.canBeInternationallyDialled=V.prototype.ja;V.prototype.wa=function(){return this.g.valid};V.prototype.isValid=V.prototype.wa; + V.prototype.va=function(){return this.g.possible};V.prototype.isPossible=V.prototype.va;V.prototype.getType=function(){return this.g.type};V.prototype.getType=V.prototype.getType;V.prototype.ua=function(){return "mobile"===this.g.type||"fixed-line-or-mobile"===this.g.type};V.prototype.isMobile=V.prototype.ua;V.prototype.ta=function(){return "fixed-line"===this.g.type||"fixed-line-or-mobile"===this.g.type};V.prototype.isFixedLine=V.prototype.ta; + V.prototype.xa=function(a){return this.g.number[null==a?"e164":a]};V.prototype.getNumber=V.prototype.xa;V.prototype.za=function(){return this.g.regionCode};V.prototype.getRegionCode=V.prototype.za;V.prototype.ia=function(){return Yb(this.g.regionCode)};V.prototype.getCountryCode=V.prototype.ia;function Z(a){this.j=a;this.h=new ub(a);this.l=this.g="";}Z.prototype.sa=function(a){this.g+=a;var b=this.h;b.la=Bb(b,a);return this.l=b.la};Z.prototype.addChar=Z.prototype.sa;Z.prototype.Ba=function(){return this.l}; + Z.prototype.number=Z.prototype.Ba;Z.prototype.Ca=function(){return ""===this.g?this.l:this.reset(this.g.slice(0,this.g.length-1))};Z.prototype.removeChar=Z.prototype.Ca;Z.prototype.reset=function(a){var b=this.h;b.la="";A(b.u);A(b.ba);A(b.$);b.aa=0;b.da="";A(b.h);b.s="";A(b.g);b.v=!0;b.oa=!1;b.ca=!1;b.ea=!1;b.j=[];b.ha=!1;b.m!=b.Aa&&(b.m=vb(b,b.ma));this.l=this.g="";if(a){b=0;for(var c=a.length;b - { - try + module.exports.parsePhoneNumber = ( ...args ) => { - const ret = module.exports( ...args ).toJSON( ); - if ( !ret.valid && !ret.possible ) + try { - ret.possible = false; - if ( !ret.possibility ) - ret.possibility = 'invalid'; + const ret = module.exports( ...args ).toJSON( ); + if ( !ret.valid && !ret.possible ) + { + ret.possible = false; + if ( !ret.possibility ) + ret.possibility = 'invalid'; + } + return ret; } - return ret; - } - catch ( error ) - { - return { - valid: false, - possible: false, - possibility: 'invalid', - error, - }; - } - }; - - module.exports.getCountryCodeForRegionCode = module.exports.getCountryCodeForRegionCode; - module.exports.getRegionCodeForCountryCode = module.exports.getRegionCodeForCountryCode; - module.exports.getSupportedCallingCodes = module.exports.getSupportedCallingCodes; - module.exports.getSupportedRegionCodes = module.exports.getSupportedRegionCodes; - module.exports.getExample = module.exports.getExample; - module.exports.getAsYouType = module.exports.getAsYouType; - module.exports.getNumberFrom = module.exports.getNumberFrom; - module.exports.findNumbers = module.exports.findNumbers; -} (awesomePhonenumber)); - -var awesomePhonenumberExports = awesomePhonenumber.exports; + catch ( error ) + { + return { + valid: false, + possible: false, + possibility: 'invalid', + error, + }; + } + }; + + module.exports.getCountryCodeForRegionCode = module.exports.getCountryCodeForRegionCode; + module.exports.getRegionCodeForCountryCode = module.exports.getRegionCodeForCountryCode; + module.exports.getSupportedCallingCodes = module.exports.getSupportedCallingCodes; + module.exports.getSupportedRegionCodes = module.exports.getSupportedRegionCodes; + module.exports.getExample = module.exports.getExample; + module.exports.getAsYouType = module.exports.getAsYouType; + module.exports.getNumberFrom = module.exports.getNumberFrom; + module.exports.findNumbers = module.exports.findNumbers; + } (awesomePhonenumber$1)); + return awesomePhonenumber$1.exports; +} + +var awesomePhonenumberExports = requireAwesomePhonenumber(); var index = /*@__PURE__*/getDefaultExportFromCjs(awesomePhonenumberExports); export { index as default }; diff --git a/package.json b/package.json index 978be95..0debd02 100644 --- a/package.json +++ b/package.json @@ -65,11 +65,11 @@ "devDependencies": { "@babel/preset-env": "^7.25.4", "@babel/preset-typescript": "^7.24.7", - "@rollup/plugin-commonjs": "^26.0.1", + "@rollup/plugin-commonjs": "^28.0.0", "@types/jest": "^29.5.13", "@types/mkdirp": "^2.0.0", - "@types/node": "^22.5.5", - "commitizen": "^4.3.0", + "@types/node": "^22.7.4", + "commitizen": "^4.3.1", "cz-conventional-changelog": "^3.3.0", "google-closure-compiler": "^20240317.0.0", "google-closure-library": "^20230802.0.0", @@ -79,7 +79,7 @@ "pre-commit": "^1.2.2", "replace": "^1.2.2", "rmfr": "^2.0.0", - "rollup": "4.22.4", + "rollup": "4.23.0", "ts-jest-resolver": "^2.0.1", "ts-node": "^10.9.2", "typescript": "^5.6.2" diff --git a/webpack/package.json b/webpack/package.json index 9f4ff49..49131e0 100644 --- a/webpack/package.json +++ b/webpack/package.json @@ -10,8 +10,8 @@ "devDependencies": { "awesome-phonenumber": "workspace:^", "html-webpack-plugin": "^5.6.0", - "puppeteer": "^23.4.0", - "webpack": "^5.94.0", + "puppeteer": "^23.4.1", + "webpack": "^5.95.0", "webpack-cli": "^5.1.4" } } diff --git a/yarn.lock b/yarn.lock index 4449da1..0dbefe4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2113,22 +2113,23 @@ __metadata: languageName: node linkType: hard -"@rollup/plugin-commonjs@npm:^26.0.1": - version: 26.0.1 - resolution: "@rollup/plugin-commonjs@npm:26.0.1" +"@rollup/plugin-commonjs@npm:^28.0.0": + version: 28.0.0 + resolution: "@rollup/plugin-commonjs@npm:28.0.0" dependencies: "@rollup/pluginutils": ^5.0.1 commondir: ^1.0.1 estree-walker: ^2.0.2 - glob: ^10.4.1 + fdir: ^6.1.1 is-reference: 1.2.1 magic-string: ^0.30.3 + picomatch: ^2.3.1 peerDependencies: rollup: ^2.68.0||^3.0.0||^4.0.0 peerDependenciesMeta: rollup: optional: true - checksum: 88d1349cc2cda4ad6193cce901356e4c14a830497fc01c91f38c94a871b203ffe657b29c9a98cd16787e3a6a8b45169dd0b471cb36d26d645478a177c958779a + checksum: cd2dbb85375a077dae326da482b8590552e18267f17b6213bfa638824c50384e01376579535a9ab7d42a8fc2c674cc0ef8d850a8c36878cc182f8e32b634d0ad languageName: node linkType: hard @@ -2148,114 +2149,114 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-android-arm-eabi@npm:4.22.4": - version: 4.22.4 - resolution: "@rollup/rollup-android-arm-eabi@npm:4.22.4" +"@rollup/rollup-android-arm-eabi@npm:4.23.0": + version: 4.23.0 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.23.0" conditions: os=android & cpu=arm languageName: node linkType: hard -"@rollup/rollup-android-arm64@npm:4.22.4": - version: 4.22.4 - resolution: "@rollup/rollup-android-arm64@npm:4.22.4" +"@rollup/rollup-android-arm64@npm:4.23.0": + version: 4.23.0 + resolution: "@rollup/rollup-android-arm64@npm:4.23.0" conditions: os=android & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-darwin-arm64@npm:4.22.4": - version: 4.22.4 - resolution: "@rollup/rollup-darwin-arm64@npm:4.22.4" +"@rollup/rollup-darwin-arm64@npm:4.23.0": + version: 4.23.0 + resolution: "@rollup/rollup-darwin-arm64@npm:4.23.0" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-darwin-x64@npm:4.22.4": - version: 4.22.4 - resolution: "@rollup/rollup-darwin-x64@npm:4.22.4" +"@rollup/rollup-darwin-x64@npm:4.23.0": + version: 4.23.0 + resolution: "@rollup/rollup-darwin-x64@npm:4.23.0" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@rollup/rollup-linux-arm-gnueabihf@npm:4.22.4": - version: 4.22.4 - resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.22.4" +"@rollup/rollup-linux-arm-gnueabihf@npm:4.23.0": + version: 4.23.0 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.23.0" conditions: os=linux & cpu=arm & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-arm-musleabihf@npm:4.22.4": - version: 4.22.4 - resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.22.4" +"@rollup/rollup-linux-arm-musleabihf@npm:4.23.0": + version: 4.23.0 + resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.23.0" conditions: os=linux & cpu=arm & libc=musl languageName: node linkType: hard -"@rollup/rollup-linux-arm64-gnu@npm:4.22.4": - version: 4.22.4 - resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.22.4" +"@rollup/rollup-linux-arm64-gnu@npm:4.23.0": + version: 4.23.0 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.23.0" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-arm64-musl@npm:4.22.4": - version: 4.22.4 - resolution: "@rollup/rollup-linux-arm64-musl@npm:4.22.4" +"@rollup/rollup-linux-arm64-musl@npm:4.23.0": + version: 4.23.0 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.23.0" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@rollup/rollup-linux-powerpc64le-gnu@npm:4.22.4": - version: 4.22.4 - resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.22.4" +"@rollup/rollup-linux-powerpc64le-gnu@npm:4.23.0": + version: 4.23.0 + resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.23.0" conditions: os=linux & cpu=ppc64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-riscv64-gnu@npm:4.22.4": - version: 4.22.4 - resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.22.4" +"@rollup/rollup-linux-riscv64-gnu@npm:4.23.0": + version: 4.23.0 + resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.23.0" conditions: os=linux & cpu=riscv64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-s390x-gnu@npm:4.22.4": - version: 4.22.4 - resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.22.4" +"@rollup/rollup-linux-s390x-gnu@npm:4.23.0": + version: 4.23.0 + resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.23.0" conditions: os=linux & cpu=s390x & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-x64-gnu@npm:4.22.4": - version: 4.22.4 - resolution: "@rollup/rollup-linux-x64-gnu@npm:4.22.4" +"@rollup/rollup-linux-x64-gnu@npm:4.23.0": + version: 4.23.0 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.23.0" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-x64-musl@npm:4.22.4": - version: 4.22.4 - resolution: "@rollup/rollup-linux-x64-musl@npm:4.22.4" +"@rollup/rollup-linux-x64-musl@npm:4.23.0": + version: 4.23.0 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.23.0" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@rollup/rollup-win32-arm64-msvc@npm:4.22.4": - version: 4.22.4 - resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.22.4" +"@rollup/rollup-win32-arm64-msvc@npm:4.23.0": + version: 4.23.0 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.23.0" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-win32-ia32-msvc@npm:4.22.4": - version: 4.22.4 - resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.22.4" +"@rollup/rollup-win32-ia32-msvc@npm:4.23.0": + version: 4.23.0 + resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.23.0" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@rollup/rollup-win32-x64-msvc@npm:4.22.4": - version: 4.22.4 - resolution: "@rollup/rollup-win32-x64-msvc@npm:4.22.4" +"@rollup/rollup-win32-x64-msvc@npm:4.23.0": + version: 4.23.0 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.23.0" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -2370,13 +2371,20 @@ __metadata: languageName: node linkType: hard -"@types/estree@npm:*, @types/estree@npm:1.0.5, @types/estree@npm:^1.0.0, @types/estree@npm:^1.0.5": +"@types/estree@npm:*, @types/estree@npm:^1.0.0, @types/estree@npm:^1.0.5": version: 1.0.5 resolution: "@types/estree@npm:1.0.5" checksum: dd8b5bed28e6213b7acd0fb665a84e693554d850b0df423ac8076cc3ad5823a6bc26b0251d080bdc545af83179ede51dd3f6fa78cad2c46ed1f29624ddf3e41a languageName: node linkType: hard +"@types/estree@npm:1.0.6": + version: 1.0.6 + resolution: "@types/estree@npm:1.0.6" + checksum: 8825d6e729e16445d9a1dd2fb1db2edc5ed400799064cd4d028150701031af012ba30d6d03fe9df40f4d7a437d0de6d2b256020152b7b09bde9f2e420afdffd9 + languageName: node + linkType: hard + "@types/graceful-fs@npm:^4.1.3": version: 4.1.9 resolution: "@types/graceful-fs@npm:4.1.9" @@ -2453,12 +2461,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^22.5.5": - version: 22.5.5 - resolution: "@types/node@npm:22.5.5" +"@types/node@npm:^22.7.4": + version: 22.7.4 + resolution: "@types/node@npm:22.7.4" dependencies: undici-types: ~6.19.2 - checksum: 1f788966ff7df07add0af3481fb68c7fe5091cc72a265c671432abb443788ddacca4ca6378af64fe100c20f857c4d80170d358e66c070171fcea0d4adb1b45b1 + checksum: a3f4154147639369aed08fe6f8d62eff637cf87b187bb252d7bbccdc82884626007af424b08a653c53f2182adfa0340001b4888cb7cbb942cef351210fc742a5 languageName: node linkType: hard @@ -2984,11 +2992,11 @@ __metadata: dependencies: "@babel/preset-env": ^7.25.4 "@babel/preset-typescript": ^7.24.7 - "@rollup/plugin-commonjs": ^26.0.1 + "@rollup/plugin-commonjs": ^28.0.0 "@types/jest": ^29.5.13 "@types/mkdirp": ^2.0.0 - "@types/node": ^22.5.5 - commitizen: ^4.3.0 + "@types/node": ^22.7.4 + commitizen: ^4.3.1 cz-conventional-changelog: ^3.3.0 google-closure-compiler: ^20240317.0.0 google-closure-library: ^20230802.0.0 @@ -2998,7 +3006,7 @@ __metadata: pre-commit: ^1.2.2 replace: ^1.2.2 rmfr: ^2.0.0 - rollup: 4.22.4 + rollup: 4.23.0 ts-jest-resolver: ^2.0.1 ts-node: ^10.9.2 typescript: ^5.6.2 @@ -3011,8 +3019,8 @@ __metadata: dependencies: awesome-phonenumber: "workspace:^" html-webpack-plugin: ^5.6.0 - puppeteer: ^23.4.0 - webpack: ^5.94.0 + puppeteer: ^23.4.1 + webpack: ^5.95.0 webpack-cli: ^5.1.4 languageName: unknown linkType: soft @@ -3725,7 +3733,7 @@ __metadata: languageName: node linkType: hard -"commitizen@npm:^4.0.3, commitizen@npm:^4.3.0": +"commitizen@npm:^4.0.3": version: 4.3.0 resolution: "commitizen@npm:4.3.0" dependencies: @@ -3751,6 +3759,32 @@ __metadata: languageName: node linkType: hard +"commitizen@npm:^4.3.1": + version: 4.3.1 + resolution: "commitizen@npm:4.3.1" + dependencies: + cachedir: 2.3.0 + cz-conventional-changelog: 3.3.0 + dedent: 0.7.0 + detect-indent: 6.1.0 + find-node-modules: ^2.1.2 + find-root: 1.1.0 + fs-extra: 9.1.0 + glob: 7.2.3 + inquirer: 8.2.5 + is-utf8: ^0.2.1 + lodash: 4.17.21 + minimist: 1.2.7 + strip-bom: 4.0.0 + strip-json-comments: 3.1.1 + bin: + commitizen: bin/commitizen + cz: bin/git-cz + git-cz: bin/git-cz + checksum: bcb42ee0cf04eae1b8df616553d841d86f0f6ff2f1b6f1f9941b016c021a4068ce0088aca61f4c955e47df1dfcf72378741bd54b5a7975f7297ffd4fa2bbcf04 + languageName: node + linkType: hard + "commondir@npm:^1.0.1": version: 1.0.1 resolution: "commondir@npm:1.0.1" @@ -4518,6 +4552,18 @@ __metadata: languageName: node linkType: hard +"fdir@npm:^6.1.1": + version: 6.4.0 + resolution: "fdir@npm:6.4.0" + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + checksum: 63b4dc592c662d0c4703ffcae1e3ad15901c0b9f64e742dff1bbc74f58029b1a43f4d05b0ab75503a0b9fc7a616d8a755cd56ea680504b6a1e87249ec79b43f3 + languageName: node + linkType: hard + "figures@npm:^3.0.0": version: 3.2.0 resolution: "figures@npm:3.2.0" @@ -4856,7 +4902,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:^10.2.2, glob@npm:^10.3.10, glob@npm:^10.4.1": +"glob@npm:^10.2.2, glob@npm:^10.3.10": version: 10.4.2 resolution: "glob@npm:10.4.2" dependencies: @@ -7207,9 +7253,9 @@ __metadata: languageName: node linkType: hard -"puppeteer-core@npm:23.4.0": - version: 23.4.0 - resolution: "puppeteer-core@npm:23.4.0" +"puppeteer-core@npm:23.4.1": + version: 23.4.1 + resolution: "puppeteer-core@npm:23.4.1" dependencies: "@puppeteer/browsers": 2.4.0 chromium-bidi: 0.6.5 @@ -7217,23 +7263,23 @@ __metadata: devtools-protocol: 0.0.1342118 typed-query-selector: ^2.12.0 ws: ^8.18.0 - checksum: 180e5204f556adb2445f9ba8afa28aa2276275f2f59f603256693c1e8c9dded76c4c8b712fedfb7e827847d772fbc84545f6ef31ae214a6a1e2234af558e34ec + checksum: 1d3fd22db62a42c9b0bb7d9cc853ffd859884c97f3895dc4b6705f216ebe2d4f4e52b9fc564f47219f0bc9bffe3f0697e0e472ed1810d9adc46d11ed64d2a8bd languageName: node linkType: hard -"puppeteer@npm:^23.4.0": - version: 23.4.0 - resolution: "puppeteer@npm:23.4.0" +"puppeteer@npm:^23.4.1": + version: 23.4.1 + resolution: "puppeteer@npm:23.4.1" dependencies: "@puppeteer/browsers": 2.4.0 chromium-bidi: 0.6.5 cosmiconfig: ^9.0.0 devtools-protocol: 0.0.1342118 - puppeteer-core: 23.4.0 + puppeteer-core: 23.4.1 typed-query-selector: ^2.12.0 bin: puppeteer: lib/cjs/puppeteer/node/cli.js - checksum: 07a133ea72b17b88efe0a4cd300475aef689dbbb5831403b4bb148f86ad7a37d9b5f0a975b3a3060f4838e048a14c968019442c7719ab07ee9f86e1c4670dc95 + checksum: fec807e20dc27ac24e56e553c3fac1a965ccf384bff6f712b08ed8b034788339b3c30bcba842e423382b58235d255b084f9db0f4d18e1e23e0308ba7fe68518f languageName: node linkType: hard @@ -7574,27 +7620,27 @@ __metadata: languageName: node linkType: hard -"rollup@npm:4.22.4": - version: 4.22.4 - resolution: "rollup@npm:4.22.4" - dependencies: - "@rollup/rollup-android-arm-eabi": 4.22.4 - "@rollup/rollup-android-arm64": 4.22.4 - "@rollup/rollup-darwin-arm64": 4.22.4 - "@rollup/rollup-darwin-x64": 4.22.4 - "@rollup/rollup-linux-arm-gnueabihf": 4.22.4 - "@rollup/rollup-linux-arm-musleabihf": 4.22.4 - "@rollup/rollup-linux-arm64-gnu": 4.22.4 - "@rollup/rollup-linux-arm64-musl": 4.22.4 - "@rollup/rollup-linux-powerpc64le-gnu": 4.22.4 - "@rollup/rollup-linux-riscv64-gnu": 4.22.4 - "@rollup/rollup-linux-s390x-gnu": 4.22.4 - "@rollup/rollup-linux-x64-gnu": 4.22.4 - "@rollup/rollup-linux-x64-musl": 4.22.4 - "@rollup/rollup-win32-arm64-msvc": 4.22.4 - "@rollup/rollup-win32-ia32-msvc": 4.22.4 - "@rollup/rollup-win32-x64-msvc": 4.22.4 - "@types/estree": 1.0.5 +"rollup@npm:4.23.0": + version: 4.23.0 + resolution: "rollup@npm:4.23.0" + dependencies: + "@rollup/rollup-android-arm-eabi": 4.23.0 + "@rollup/rollup-android-arm64": 4.23.0 + "@rollup/rollup-darwin-arm64": 4.23.0 + "@rollup/rollup-darwin-x64": 4.23.0 + "@rollup/rollup-linux-arm-gnueabihf": 4.23.0 + "@rollup/rollup-linux-arm-musleabihf": 4.23.0 + "@rollup/rollup-linux-arm64-gnu": 4.23.0 + "@rollup/rollup-linux-arm64-musl": 4.23.0 + "@rollup/rollup-linux-powerpc64le-gnu": 4.23.0 + "@rollup/rollup-linux-riscv64-gnu": 4.23.0 + "@rollup/rollup-linux-s390x-gnu": 4.23.0 + "@rollup/rollup-linux-x64-gnu": 4.23.0 + "@rollup/rollup-linux-x64-musl": 4.23.0 + "@rollup/rollup-win32-arm64-msvc": 4.23.0 + "@rollup/rollup-win32-ia32-msvc": 4.23.0 + "@rollup/rollup-win32-x64-msvc": 4.23.0 + "@types/estree": 1.0.6 fsevents: ~2.3.2 dependenciesMeta: "@rollup/rollup-android-arm-eabi": @@ -7633,7 +7679,7 @@ __metadata: optional: true bin: rollup: dist/bin/rollup - checksum: b093b518deb1fd0c0455eef746abe9efa3a2cd7e2b65a4ace9e8fa5d60b3d6da2406816de2c6c1d553609f22cf730f1c5839a05a1ff60003c504486172238d1a + checksum: c2d3832041b5dac1dc9cdeb712770063e2af010f89cc8f963b4b3e1f69b9f59448457f85a3a15b3783f81fb567c07f970cfe5ff2d3db5004ddb2122ef53a3f82 languageName: node linkType: hard @@ -8752,9 +8798,9 @@ __metadata: languageName: node linkType: hard -"webpack@npm:^5.94.0": - version: 5.94.0 - resolution: "webpack@npm:5.94.0" +"webpack@npm:^5.95.0": + version: 5.95.0 + resolution: "webpack@npm:5.95.0" dependencies: "@types/estree": ^1.0.5 "@webassemblyjs/ast": ^1.12.1 @@ -8784,7 +8830,7 @@ __metadata: optional: true bin: webpack: bin/webpack.js - checksum: 6a3d667be304a69cd6dcb8d676bc29f47642c0d389af514cfcd646eaaa809961bc6989fc4b2621a717dfc461130f29c6e20006d62a32e012dafaa9517813a4e6 + checksum: 0c3dfe288de4d62f8f3dc25478a618894883cab739121330763b7847e43304630ea2815ae2351a5f8ff6ab7c9642caf530d503d89bda261fe2cd220e524dd5d1 languageName: node linkType: hard