@adobe-apimesh/mesh-builder 2.5.2-alpha.4 → 2.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- const a0_0x519f2a=a0_0x1495;(function(_0x7e55d9,_0x1031e2){const _0xee9623=a0_0x1495;const _0x5aad73=_0x7e55d9();while(!![]){try{const _0x3fbe48=parseInt(_0xee9623(0x9d))/0x1*(parseInt(_0xee9623(0xa9))/0x2)+-parseInt(_0xee9623(0x97))/0x3*(-parseInt(_0xee9623(0xa4))/0x4)+-parseInt(_0xee9623(0xad))/0x5+parseInt(_0xee9623(0xb2))/0x6+-parseInt(_0xee9623(0xa7))/0x7*(-parseInt(_0xee9623(0xab))/0x8)+parseInt(_0xee9623(0xb6))/0x9*(-parseInt(_0xee9623(0xaf))/0xa)+-parseInt(_0xee9623(0xb1))/0xb*(parseInt(_0xee9623(0xa2))/0xc);if(_0x3fbe48===_0x1031e2){break;}else{_0x5aad73['push'](_0x5aad73['shift']());}}catch(_0x1a62e5){_0x5aad73['push'](_0x5aad73['shift']());}}}(a0_0x5638,0x5cdb2));const path=require(a0_0x519f2a(0xaa));const ssrfProtectionEnabled=String(process['env'][a0_0x519f2a(0xa5)]||'')[a0_0x519f2a(0x9b)]()[a0_0x519f2a(0x9e)]()===a0_0x519f2a(0xa3);if(ssrfProtectionEnabled){const {wrapFetch,wrapDnsLookup}=require(a0_0x519f2a(0x99));const whatwgFetch=require(a0_0x519f2a(0xb0));whatwgFetch[a0_0x519f2a(0xa1)]=wrapFetch(whatwgFetch[a0_0x519f2a(0xa1)]);const dns=require(a0_0x519f2a(0x9a));dns[a0_0x519f2a(0xa8)]=wrapDnsLookup(dns[a0_0x519f2a(0xa8)]);}const {DEFAULT_CLI_PARAMS,graphqlMesh}=require('@graphql-mesh/cli');const args=process['argv'][a0_0x519f2a(0xb3)](0x2);function a0_0x1495(_0x3944cf,_0x5a727f){const _0x56384b=a0_0x5638();a0_0x1495=function(_0x1495e4,_0x45ecd2){_0x1495e4=_0x1495e4-0x96;let _0x32c744=_0x56384b[_0x1495e4];return _0x32c744;};return a0_0x1495(_0x3944cf,_0x5a727f);}const meshConfigPath=args[0x0]['split']('=')[0x0];console[a0_0x519f2a(0xac)](a0_0x519f2a(0x9c),meshConfigPath);function a0_0x5638(){const _0x2a3ccb=['@whatwg-node/fetch','99kEpQZK','2581056DmaRpW','slice','exitCode','build','6400098TdSUuX','@multitenant-graphql/','21cbFBMi','error','./ssrfGuard','dns','trim','Building\x20Mesh\x20with\x20config:','302UIlkGr','toLowerCase','Mesh\x20built\x20successfully','resolve','fetch','530100syVyyV','true','327044tfTPFW','MESH_SSRF_PROTECTION','Mesh\x20build\x20failed','2096297OobNiT','lookup','3334aanrnh','path','8BDHIkf','log','1581865UnFBjF','then','10mZsXqt'];a0_0x5638=function(){return _0x2a3ccb;};return a0_0x5638();}graphqlMesh({...DEFAULT_CLI_PARAMS,'additionalPackagePrefixes':['@adobe/',a0_0x519f2a(0x96)]},[a0_0x519f2a(0xb5)],path[a0_0x519f2a(0xa0)](meshConfigPath))[a0_0x519f2a(0xae)](()=>{const _0x1460a0=a0_0x519f2a;console[_0x1460a0(0xac)](_0x1460a0(0x9f));})['catch'](_0x48942f=>{const _0x2f6cf3=a0_0x519f2a;console[_0x2f6cf3(0x98)](_0x2f6cf3(0xa6),_0x48942f);process[_0x2f6cf3(0xb4)]=0x1;});
1
+ const a0_0x48ea63=a0_0x2e7b;(function(_0x698e7,_0x3b0ca7){const _0x4fc3a5=a0_0x2e7b;const _0x5dd32e=_0x698e7();while(!![]){try{const _0x431f0d=parseInt(_0x4fc3a5(0x7b))/0x1*(parseInt(_0x4fc3a5(0x66))/0x2)+parseInt(_0x4fc3a5(0x75))/0x3+-parseInt(_0x4fc3a5(0x7a))/0x4*(parseInt(_0x4fc3a5(0x81))/0x5)+parseInt(_0x4fc3a5(0x76))/0x6*(parseInt(_0x4fc3a5(0x79))/0x7)+parseInt(_0x4fc3a5(0x6d))/0x8+parseInt(_0x4fc3a5(0x82))/0x9+parseInt(_0x4fc3a5(0x74))/0xa*(-parseInt(_0x4fc3a5(0x83))/0xb);if(_0x431f0d===_0x3b0ca7){break;}else{_0x5dd32e['push'](_0x5dd32e['shift']());}}catch(_0x359ed4){_0x5dd32e['push'](_0x5dd32e['shift']());}}}(a0_0x54a0,0xde96d));const path=require('path');const ssrfProtectionEnabled=String(process['env'][a0_0x48ea63(0x7e)]||'')[a0_0x48ea63(0x77)]()[a0_0x48ea63(0x67)]()==='true';if(ssrfProtectionEnabled){const {wrapFetch,wrapDnsLookup}=require(a0_0x48ea63(0x68));const whatwgFetch=require(a0_0x48ea63(0x73));whatwgFetch[a0_0x48ea63(0x84)]=wrapFetch(whatwgFetch['fetch']);const dns=require(a0_0x48ea63(0x78));dns[a0_0x48ea63(0x7d)]=wrapDnsLookup(dns[a0_0x48ea63(0x7d)]);}const {DEFAULT_CLI_PARAMS,graphqlMesh}=require(a0_0x48ea63(0x6b));function a0_0x54a0(){const _0x483e13=['dns','143318Ugfnzm','4ZbGbgA','2RqNFEQ','resolve','lookup','MESH_SSRF_PROTECTION','@adobe/','Building\x20Mesh\x20with\x20config:','3456370TrAfaE','14827968poRede','253qyQgNN','fetch','163574iJQNIr','toLowerCase','./ssrfGuard','@multitenant-graphql/','exitCode','@graphql-mesh/cli','build','13080288dFHBGP','error','log','slice','then','Mesh\x20build\x20failed','@whatwg-node/fetch','1204940QCqBAR','450561sOjxFg','228xXPcvN','trim'];a0_0x54a0=function(){return _0x483e13;};return a0_0x54a0();}const args=process['argv'][a0_0x48ea63(0x70)](0x2);function a0_0x2e7b(_0x47c345,_0x21cbfe){const _0x54a000=a0_0x54a0();a0_0x2e7b=function(_0x2e7b9c,_0x1cf231){_0x2e7b9c=_0x2e7b9c-0x66;let _0x6f2ed7=_0x54a000[_0x2e7b9c];return _0x6f2ed7;};return a0_0x2e7b(_0x47c345,_0x21cbfe);}const meshConfigPath=args[0x0]['split']('=')[0x0];console[a0_0x48ea63(0x6f)](a0_0x48ea63(0x80),meshConfigPath);graphqlMesh({...DEFAULT_CLI_PARAMS,'additionalPackagePrefixes':[a0_0x48ea63(0x7f),a0_0x48ea63(0x69)]},[a0_0x48ea63(0x6c)],path[a0_0x48ea63(0x7c)](meshConfigPath))[a0_0x48ea63(0x71)](()=>{const _0x43c910=a0_0x48ea63;console[_0x43c910(0x6f)]('Mesh\x20built\x20successfully');})['catch'](_0x5b9bcc=>{const _0x2b73ba=a0_0x48ea63;console[_0x2b73ba(0x6e)](_0x2b73ba(0x72),_0x5b9bcc);process[_0x2b73ba(0x6a)]=0x1;});
@@ -1 +1 @@
1
- const a0_0x4a1a1c=a0_0x2873;(function(_0x5676f5,_0x21d63b){const _0x6fc9ca=a0_0x2873;const _0x462cca=_0x5676f5();while(!![]){try{const _0x5ee66c=parseInt(_0x6fc9ca(0x18e))/0x1*(parseInt(_0x6fc9ca(0x192))/0x2)+-parseInt(_0x6fc9ca(0x1a4))/0x3+-parseInt(_0x6fc9ca(0x194))/0x4+-parseInt(_0x6fc9ca(0x17f))/0x5+-parseInt(_0x6fc9ca(0x184))/0x6+parseInt(_0x6fc9ca(0x18c))/0x7*(-parseInt(_0x6fc9ca(0x186))/0x8)+parseInt(_0x6fc9ca(0x180))/0x9*(parseInt(_0x6fc9ca(0x188))/0xa);if(_0x5ee66c===_0x21d63b){break;}else{_0x462cca['push'](_0x462cca['shift']());}}catch(_0x437306){_0x462cca['push'](_0x462cca['shift']());}}}(a0_0x47c7,0x6a04f));const dns=require('dns')['promises'];const net=require(a0_0x4a1a1c(0x17e));function a0_0x47c7(){const _0x5b074d=['3195954MiPTaw','manual','split','url','4631940wdjkpQ','status','1072856LNsDTb','origin','90ScrqUu','toLowerCase','startsWith','function','7EgwkAe','body','100585KrzEWB','isArray','includes','map','6UPVvsW','lookup','3134776rlMPUR','string','cookie','assign','cancel','exports','all','call','http:','protocol','family','length','fromEntries','Blocked\x20source\x20URL','hostname','address','2029686npnzWE','https:','entries','toString','isIP','headers','net','3485505SzITGA'];a0_0x47c7=function(){return _0x5b074d;};return a0_0x47c7();}const BLOCKED=a0_0x4a1a1c(0x1a1);const MAX_REDIRECTS=0x5;const REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]);const SENSITIVE_HEADERS=['authorization',a0_0x4a1a1c(0x196),'proxy-authorization'];function isBlockedIpv4(_0x1f97e1){const _0x1694e3=a0_0x4a1a1c;const [_0x4aa2ff,_0x159870]=_0x1f97e1[_0x1694e3(0x182)]('.')[_0x1694e3(0x191)](Number);return _0x4aa2ff===0x0||_0x4aa2ff===0xa||_0x4aa2ff===0x7f||_0x4aa2ff===0xa9&&_0x159870===0xfe||_0x4aa2ff===0xac&&_0x159870>=0x10&&_0x159870<=0x1f||_0x4aa2ff===0xc0&&_0x159870===0xa8||_0x4aa2ff===0x64&&_0x159870>=0x40&&_0x159870<=0x7f||_0x4aa2ff>=0xe0;}function isBlockedIpv6(_0x40c297){const _0x49ca37=a0_0x4a1a1c;const _0x303774=_0x40c297[_0x49ca37(0x18a)]('::')?0x0:parseInt(_0x40c297[_0x49ca37(0x182)](':')[0x0]||'0',0x10);const _0x53888d=_0x303774>>0x8&0xff;const _0x1d61c3=_0x53888d>=0x20&&_0x53888d<=0x3f&&_0x303774!==0x2002;return!_0x1d61c3;}function isBlockedIp(_0x1f1ea5){const _0x4d4afb=net['isIP'](_0x1f1ea5);if(_0x4d4afb===0x4)return isBlockedIpv4(_0x1f1ea5);if(_0x4d4afb===0x6)return isBlockedIpv6(_0x1f1ea5);return!![];}async function assertSafeUrl(_0x2dc680){const _0x4d1b99=a0_0x4a1a1c;let _0x3e18dd;try{_0x3e18dd=new URL(_0x2dc680);}catch(_0x3c3310){throw new Error(BLOCKED);}if(_0x3e18dd[_0x4d1b99(0x19d)]!==_0x4d1b99(0x1a5)&&_0x3e18dd[_0x4d1b99(0x19d)]!==_0x4d1b99(0x19c)){throw new Error(BLOCKED);}const _0x27afaf=_0x3e18dd[_0x4d1b99(0x1a2)]['replace'](/^\[|\]$/g,'');if(net[_0x4d1b99(0x17c)](_0x27afaf)){if(isBlockedIp(_0x27afaf))throw new Error(BLOCKED);return;}const _0x2be6da=await dns[_0x4d1b99(0x193)](_0x27afaf,{'all':!![]});if(!_0x2be6da||_0x2be6da['length']===0x0)throw new Error(BLOCKED);for(const _0x5ac3f6 of _0x2be6da){if(isBlockedIp(_0x5ac3f6[_0x4d1b99(0x1a3)]))throw new Error(BLOCKED);}}function stripSensitiveHeaders(_0x57746c){const _0x3b069a=a0_0x4a1a1c;const _0x22c9ea=_0x57746c&&_0x57746c[_0x3b069a(0x17d)];if(!_0x22c9ea)return _0x57746c;let _0x22e1fe;if(typeof _0x22c9ea[_0x3b069a(0x17a)]===_0x3b069a(0x18b)){_0x22e1fe=[..._0x22c9ea['entries']()];}else if(Array[_0x3b069a(0x18f)](_0x22c9ea)){_0x22e1fe=_0x22c9ea;}else{_0x22e1fe=Object['entries'](_0x22c9ea);}const _0x58e956=_0x22e1fe['filter'](([_0x4056ab])=>!SENSITIVE_HEADERS[_0x3b069a(0x190)](String(_0x4056ab)[_0x3b069a(0x189)]()));return Object[_0x3b069a(0x197)]({},_0x57746c,{'headers':Object[_0x3b069a(0x1a0)](_0x58e956)});}function a0_0x2873(_0x49bfbf,_0x4cb009){const _0x47c750=a0_0x47c7();a0_0x2873=function(_0x287300,_0x3f6174){_0x287300=_0x287300-0x17a;let _0x1fe0e0=_0x47c750[_0x287300];return _0x1fe0e0;};return a0_0x2873(_0x49bfbf,_0x4cb009);}function wrapFetch(_0x4441f9){return async function _0xb06009(_0x15704c,_0x256c91,..._0x4d3327){const _0x451210=a0_0x2873;let _0x5b7ec9=typeof _0x15704c===_0x451210(0x195)?_0x15704c:_0x15704c&&(_0x15704c[_0x451210(0x183)]||_0x15704c['href']);let _0x3b2761=_0x256c91;for(let _0x2dc2c5=0x0;;_0x2dc2c5++){await assertSafeUrl(_0x5b7ec9);const _0x18fb7b=await _0x4441f9(_0x5b7ec9,Object[_0x451210(0x197)]({},_0x3b2761,{'redirect':_0x451210(0x181)}),..._0x4d3327);const _0x5d0592=_0x18fb7b&&_0x18fb7b[_0x451210(0x185)];const _0x780d8e=REDIRECT_STATUSES['has'](_0x5d0592)&&_0x18fb7b[_0x451210(0x17d)]&&_0x18fb7b[_0x451210(0x17d)]['get']('location');if(!_0x780d8e)return _0x18fb7b;if(_0x2dc2c5>=MAX_REDIRECTS)throw new Error(BLOCKED);try{if(_0x18fb7b[_0x451210(0x18d)]&&typeof _0x18fb7b[_0x451210(0x18d)][_0x451210(0x198)]===_0x451210(0x18b)){await _0x18fb7b[_0x451210(0x18d)][_0x451210(0x198)]();}}catch{}let _0x1b5174;try{_0x1b5174=new URL(_0x780d8e,_0x5b7ec9);}catch{throw new Error(BLOCKED);}if(new URL(_0x5b7ec9)['origin']!==_0x1b5174[_0x451210(0x187)]){_0x3b2761=stripSensitiveHeaders(_0x3b2761);}_0x5b7ec9=_0x1b5174[_0x451210(0x17b)]();}};}function wrapDnsLookup(_0x37963b){return function _0x5a321b(_0xa38e16,_0x513a36,_0x1c94d8){const _0x53dc3f=a0_0x2873;if(typeof _0x513a36===_0x53dc3f(0x18b)){_0x1c94d8=_0x513a36;_0x513a36={};}const _0x39a6d=!!(_0x513a36&&_0x513a36[_0x53dc3f(0x19a)]);const _0x584412=Object[_0x53dc3f(0x197)]({},_0x513a36,{'all':!![]});_0x37963b[_0x53dc3f(0x19b)](this,_0xa38e16,_0x584412,(_0x579db9,_0x214408)=>{const _0x2a167c=_0x53dc3f;if(_0x579db9)return _0x1c94d8(_0x579db9);if(!_0x214408||_0x214408[_0x2a167c(0x19f)]===0x0){return _0x1c94d8(new Error(BLOCKED));}for(const _0x171c57 of _0x214408){if(isBlockedIp(_0x171c57[_0x2a167c(0x1a3)]))return _0x1c94d8(new Error(BLOCKED));}if(_0x39a6d)return _0x1c94d8(null,_0x214408);return _0x1c94d8(null,_0x214408[0x0][_0x2a167c(0x1a3)],_0x214408[0x0][_0x2a167c(0x19e)]);});};}module[a0_0x4a1a1c(0x199)]={'isBlockedIp':isBlockedIp,'assertSafeUrl':assertSafeUrl,'wrapFetch':wrapFetch,'wrapDnsLookup':wrapDnsLookup};
1
+ const a0_0x31d754=a0_0x2faf;(function(_0x48c35c,_0x566462){const _0x3a86c9=a0_0x2faf;const _0x47484c=_0x48c35c();while(!![]){try{const _0x13bfc1=-parseInt(_0x3a86c9(0x8d))/0x1*(-parseInt(_0x3a86c9(0x73))/0x2)+-parseInt(_0x3a86c9(0x89))/0x3*(-parseInt(_0x3a86c9(0x93))/0x4)+parseInt(_0x3a86c9(0x88))/0x5*(-parseInt(_0x3a86c9(0x6c))/0x6)+parseInt(_0x3a86c9(0x8c))/0x7+parseInt(_0x3a86c9(0x78))/0x8+parseInt(_0x3a86c9(0x8a))/0x9+-parseInt(_0x3a86c9(0x84))/0xa;if(_0x13bfc1===_0x566462){break;}else{_0x47484c['push'](_0x47484c['shift']());}}catch(_0x3a0f32){_0x47484c['push'](_0x47484c['shift']());}}}(a0_0x3534,0x75ead));const dns=require(a0_0x31d754(0x75))[a0_0x31d754(0x72)];const net=require(a0_0x31d754(0x69));const BLOCKED=a0_0x31d754(0x86);const MAX_REDIRECTS=0x5;function a0_0x2faf(_0x1fdd3a,_0x3657f2){const _0x3534e0=a0_0x3534();a0_0x2faf=function(_0x2faf50,_0x57f11c){_0x2faf50=_0x2faf50-0x69;let _0x23a463=_0x3534e0[_0x2faf50];return _0x23a463;};return a0_0x2faf(_0x1fdd3a,_0x3657f2);}const REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]);const SENSITIVE_HEADERS=[a0_0x31d754(0x91),a0_0x31d754(0x90),a0_0x31d754(0x98)];function a0_0x3534(){const _0x1bd3cf=['headers','entries','filter','promises','14682bmdUkq','exports','dns','lookup','origin','6771736huuazt','call','string','http:','cancel','isArray','hostname','startsWith','function','get','replace','url','7853180PfMREz','family','Blocked\x20source\x20URL','manual','14845aPiBZE','1377555ogDZkH','4562703bwsXOZ','toString','405097pXtvfB','30vKqOMh','has','https:','cookie','authorization','includes','4kHnrPJ','href','address','isIP','split','proxy-authorization','body','net','assign','protocol','1662ybZDKX','status','length'];a0_0x3534=function(){return _0x1bd3cf;};return a0_0x3534();}function isBlockedIpv4(_0xd205e2){const _0x422bc9=a0_0x31d754;const [_0x3e8856,_0x56dcd3]=_0xd205e2[_0x422bc9(0x97)]('.')['map'](Number);return _0x3e8856===0x0||_0x3e8856===0xa||_0x3e8856===0x7f||_0x3e8856===0xa9&&_0x56dcd3===0xfe||_0x3e8856===0xac&&_0x56dcd3>=0x10&&_0x56dcd3<=0x1f||_0x3e8856===0xc0&&_0x56dcd3===0xa8||_0x3e8856===0x64&&_0x56dcd3>=0x40&&_0x56dcd3<=0x7f||_0x3e8856>=0xe0;}function isBlockedIpv6(_0x4504f9){const _0x421112=a0_0x31d754;const _0x595991=_0x4504f9[_0x421112(0x7f)]('::')?0x0:parseInt(_0x4504f9['split'](':')[0x0]||'0',0x10);const _0x5645a8=_0x595991>>0x8&0xff;const _0x1e1904=_0x5645a8>=0x20&&_0x5645a8<=0x3f&&_0x595991!==0x2002;return!_0x1e1904;}function isBlockedIp(_0x37724f){const _0x2dc804=net['isIP'](_0x37724f);if(_0x2dc804===0x4)return isBlockedIpv4(_0x37724f);if(_0x2dc804===0x6)return isBlockedIpv6(_0x37724f);return!![];}async function assertSafeUrl(_0x5260fe){const _0x5ce7b3=a0_0x31d754;let _0x17158f;try{_0x17158f=new URL(_0x5260fe);}catch(_0x25954c){throw new Error(BLOCKED);}if(_0x17158f[_0x5ce7b3(0x6b)]!==_0x5ce7b3(0x8f)&&_0x17158f['protocol']!==_0x5ce7b3(0x7b)){throw new Error(BLOCKED);}const _0x412890=_0x17158f[_0x5ce7b3(0x7e)][_0x5ce7b3(0x82)](/^\[|\]$/g,'');if(net[_0x5ce7b3(0x96)](_0x412890)){if(isBlockedIp(_0x412890))throw new Error(BLOCKED);return;}const _0x12e4ac=await dns[_0x5ce7b3(0x76)](_0x412890,{'all':!![]});if(!_0x12e4ac||_0x12e4ac[_0x5ce7b3(0x6e)]===0x0)throw new Error(BLOCKED);for(const _0x1c1982 of _0x12e4ac){if(isBlockedIp(_0x1c1982['address']))throw new Error(BLOCKED);}}function stripSensitiveHeaders(_0x282301){const _0x3df107=a0_0x31d754;const _0x40a8a2=_0x282301&&_0x282301['headers'];if(!_0x40a8a2)return _0x282301;let _0x2cb520;if(typeof _0x40a8a2['entries']===_0x3df107(0x80)){_0x2cb520=[..._0x40a8a2['entries']()];}else if(Array[_0x3df107(0x7d)](_0x40a8a2)){_0x2cb520=_0x40a8a2;}else{_0x2cb520=Object[_0x3df107(0x70)](_0x40a8a2);}const _0x15416=_0x2cb520[_0x3df107(0x71)](([_0xd21d92])=>!SENSITIVE_HEADERS[_0x3df107(0x92)](String(_0xd21d92)['toLowerCase']()));return Object[_0x3df107(0x6a)]({},_0x282301,{'headers':Object['fromEntries'](_0x15416)});}function wrapFetch(_0x6c70a5){return async function _0x1e1bfa(_0x50b09b,_0x354333,..._0x4b9603){const _0x255245=a0_0x2faf;let _0x389e13=typeof _0x50b09b===_0x255245(0x7a)?_0x50b09b:_0x50b09b&&(_0x50b09b[_0x255245(0x83)]||_0x50b09b[_0x255245(0x94)]);let _0x3d3ec1=_0x354333;for(let _0x420a80=0x0;;_0x420a80++){await assertSafeUrl(_0x389e13);const _0x4fd6cf=await _0x6c70a5(_0x389e13,Object[_0x255245(0x6a)]({},_0x3d3ec1,{'redirect':_0x255245(0x87)}),..._0x4b9603);const _0x56df94=_0x4fd6cf&&_0x4fd6cf[_0x255245(0x6d)];const _0x4ad907=REDIRECT_STATUSES[_0x255245(0x8e)](_0x56df94)&&_0x4fd6cf[_0x255245(0x6f)]&&_0x4fd6cf['headers'][_0x255245(0x81)]('location');if(!_0x4ad907)return _0x4fd6cf;if(_0x420a80>=MAX_REDIRECTS)throw new Error(BLOCKED);try{if(_0x4fd6cf[_0x255245(0x99)]&&typeof _0x4fd6cf[_0x255245(0x99)]['cancel']===_0x255245(0x80)){await _0x4fd6cf[_0x255245(0x99)][_0x255245(0x7c)]();}}catch{}let _0x40def5;try{_0x40def5=new URL(_0x4ad907,_0x389e13);}catch{throw new Error(BLOCKED);}if(new URL(_0x389e13)['origin']!==_0x40def5[_0x255245(0x77)]){_0x3d3ec1=stripSensitiveHeaders(_0x3d3ec1);}_0x389e13=_0x40def5[_0x255245(0x8b)]();}};}function wrapDnsLookup(_0x2af3c4){return function _0xee249b(_0x4e0315,_0xcb00a3,_0x36c7ca){const _0x2f3c82=a0_0x2faf;if(typeof _0xcb00a3===_0x2f3c82(0x80)){_0x36c7ca=_0xcb00a3;_0xcb00a3={};}const _0x2cf7d0=!!(_0xcb00a3&&_0xcb00a3['all']);const _0x582a5a=Object[_0x2f3c82(0x6a)]({},_0xcb00a3,{'all':!![]});_0x2af3c4[_0x2f3c82(0x79)](this,_0x4e0315,_0x582a5a,(_0x37add3,_0x5dc413)=>{const _0x1c2657=_0x2f3c82;if(_0x37add3)return _0x36c7ca(_0x37add3);if(!_0x5dc413||_0x5dc413[_0x1c2657(0x6e)]===0x0){return _0x36c7ca(new Error(BLOCKED));}for(const _0x1a88db of _0x5dc413){if(isBlockedIp(_0x1a88db[_0x1c2657(0x95)]))return _0x36c7ca(new Error(BLOCKED));}if(_0x2cf7d0)return _0x36c7ca(null,_0x5dc413);return _0x36c7ca(null,_0x5dc413[0x0][_0x1c2657(0x95)],_0x5dc413[0x0][_0x1c2657(0x85)]);});};}module[a0_0x31d754(0x74)]={'isBlockedIp':isBlockedIp,'assertSafeUrl':assertSafeUrl,'wrapFetch':wrapFetch,'wrapDnsLookup':wrapDnsLookup};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe-apimesh/mesh-builder",
3
- "version": "2.5.2-alpha.4",
3
+ "version": "2.5.2",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/meshBuilder.js",
6
6
  "scripts": {