Comparing version 2.0.0 to 2.0.1
#!/usr/bin/env node | ||
const _0x3239fc=_0x54e7;(function(_0xdc3739,_0x230c72){const _0xdb3599=_0x54e7,_0x20aa5d=_0xdc3739();while(!![]){try{const _0x41fe0f=parseInt(_0xdb3599(0x132))/0x1+-parseInt(_0xdb3599(0x125))/0x2*(-parseInt(_0xdb3599(0x12d))/0x3)+parseInt(_0xdb3599(0x115))/0x4*(parseInt(_0xdb3599(0x12f))/0x5)+parseInt(_0xdb3599(0x11d))/0x6+parseInt(_0xdb3599(0x12c))/0x7+-parseInt(_0xdb3599(0x11b))/0x8+-parseInt(_0xdb3599(0x112))/0x9*(parseInt(_0xdb3599(0x119))/0xa);if(_0x41fe0f===_0x230c72)break;else _0x20aa5d['push'](_0x20aa5d['shift']());}catch(_0x334bc2){_0x20aa5d['push'](_0x20aa5d['shift']());}}}(_0x34ff,0xe1c75));import{spawn}from'child_process';import _0x47122e from'path';import{rm}from'fs/promises';function _0x54e7(_0x5649c5,_0xc0c173){const _0x34ffd4=_0x34ff();return _0x54e7=function(_0x54e7a1,_0x3cd12a){_0x54e7a1=_0x54e7a1-0x112;let _0x42b427=_0x34ffd4[_0x54e7a1];return _0x42b427;},_0x54e7(_0x5649c5,_0xc0c173);}const repositoryUrl='https://github.com/rupomsoft/mern-x',destinationFolder=process['argv'][0x2]||'MERN-X',createSpinner=()=>{const _0x32a99f=['-','\x5c','|','/'];let _0x5ee304=0x0;return setInterval(()=>{const _0x36561=_0x54e7;process[_0x36561(0x121)][_0x36561(0x135)]('\x0d'+_0x32a99f[_0x5ee304++]+_0x36561(0x122)),_0x5ee304=_0x5ee304%_0x32a99f[_0x36561(0x131)];},0x64);},spinner=createSpinner(),gitClone=spawn(_0x3239fc(0x11c),['clone',repositoryUrl,destinationFolder]);gitClone[_0x3239fc(0x121)]['on'](_0x3239fc(0x11f),()=>{}),gitClone[_0x3239fc(0x114)]['on'](_0x3239fc(0x11f),_0x47f5ee=>{}),gitClone['on'](_0x3239fc(0x128),_0x302e32=>{const _0x4d7a43=_0x3239fc;clearInterval(spinner);if(_0x302e32===0x0){console[_0x4d7a43(0x134)](_0x4d7a43(0x118)+destinationFolder+'\x27\x20folder.');const _0x10343d=_0x47122e[_0x4d7a43(0x117)](process[_0x4d7a43(0x130)](),destinationFolder);process['chdir'](_0x10343d),console[_0x4d7a43(0x134)](_0x4d7a43(0x12e));const _0x343f82=spawn(/^win/[_0x4d7a43(0x12b)](process[_0x4d7a43(0x113)])?_0x4d7a43(0x127):_0x4d7a43(0x116),[_0x4d7a43(0x123)],{'stdio':_0x4d7a43(0x129)});_0x343f82['on'](_0x4d7a43(0x128),_0x34fc4b=>{const _0x4541d5=_0x4d7a43;if(_0x34fc4b===0x0){console[_0x4541d5(0x134)]('\x0aMERN-X\x20setup\x20completed\x20successfully!');const _0x41bf46=_0x47122e['join'](_0x10343d,_0x4541d5(0x12a));rm(_0x41bf46,{'recursive':!![],'force':!![]})['then'](()=>{const _0x1c9a2b=_0x4541d5;console[_0x1c9a2b(0x134)](_0x1c9a2b(0x124));})[_0x4541d5(0x11e)](_0x334ebf=>{const _0x3be5aa=_0x4541d5;console[_0x3be5aa(0x133)](_0x3be5aa(0x120),_0x334ebf);});}else console['error'](_0x4541d5(0x126));});}else console[_0x4d7a43(0x133)](_0x4d7a43(0x11a));});function _0x34ff(){const _0x5ceb12=['catch','data','\x0aError\x20deleting\x20bin\x20folder:','stdout','\x20MERN-X\x20creating\x20project\x20skeleton...','install','\x0aMERN-X\x20Clean\x20successfully.','59024boPQmK','\x0aAn\x20error\x20occurred\x20during\x20npm\x20install.','npm.cmd','close','inherit','bin','test','7068334bcrynu','72veyrmK','\x0aMERN-X\x20cooking\x20full\x20stack\x20application...','20dilCfs','cwd','length','986273wBXhzw','error','log','write','20571327ZVVRPa','platform','stderr','440656EJxrXJ','npm','join','\x0aMERN-X\x20created\x20into\x20\x27','10LMJPWC','\x0aAn\x20error\x20occurred\x20while\x20cloning\x20the\x20repository.','10244856juzsms','git','8076720XqlYaV'];_0x34ff=function(){return _0x5ceb12;};return _0x34ff();} | ||
function _0x52cb(_0x485d03,_0x3abb1f){const _0x289c65=_0x289c();return _0x52cb=function(_0x52cbfa,_0x109688){_0x52cbfa=_0x52cbfa-0x1c4;let _0x219421=_0x289c65[_0x52cbfa];return _0x219421;},_0x52cb(_0x485d03,_0x3abb1f);}function _0x289c(){const _0x5e4872=['inherit','test','https://github.com/rupomsoft/mern-x','\x27\x20folder.','length','stderr','8pLOeXM','2323470bPObPN','385bzWbMp','stdout','6226094RfIADt','install','close','npm.cmd','\x0aMERN-X\x20created\x20into\x20\x27','1110836VBwejC','1589394XHCloj','2083815HgYdWM','\x0aMERN-X\x20cooking\x20full\x20stack\x20application...','write','log','clone','1370430ZZomiz','data','argv','87880PZWtBo','\x0aAn\x20error\x20occurred\x20during\x20npm\x20install.','\x20MERN-X\x20creating\x20project\x20skeleton...','join'];_0x289c=function(){return _0x5e4872;};return _0x289c();}const _0x30fd0d=_0x52cb;(function(_0x265012,_0x491a6b){const _0x3e7a9d=_0x52cb,_0x7b9852=_0x265012();while(!![]){try{const _0x1654e0=-parseInt(_0x3e7a9d(0x1d4))/0x1+-parseInt(_0x3e7a9d(0x1d5))/0x2+parseInt(_0x3e7a9d(0x1db))/0x3+parseInt(_0x3e7a9d(0x1de))/0x4*(parseInt(_0x3e7a9d(0x1cd))/0x5)+-parseInt(_0x3e7a9d(0x1cc))/0x6+parseInt(_0x3e7a9d(0x1cf))/0x7+-parseInt(_0x3e7a9d(0x1cb))/0x8*(-parseInt(_0x3e7a9d(0x1d6))/0x9);if(_0x1654e0===_0x491a6b)break;else _0x7b9852['push'](_0x7b9852['shift']());}catch(_0x14e678){_0x7b9852['push'](_0x7b9852['shift']());}}}(_0x289c,0xee73b));import{spawn}from'child_process';import _0x4f1c7a from'path';const repositoryUrl=_0x30fd0d(0x1c7),destinationFolder=process[_0x30fd0d(0x1dd)][0x2]||'MERN-X',createSpinner=()=>{const _0x3dafc2=['-','\x5c','|','/'];let _0x310058=0x0;return setInterval(()=>{const _0x3e285c=_0x52cb;process[_0x3e285c(0x1ce)][_0x3e285c(0x1d8)]('\x0d'+_0x3dafc2[_0x310058++]+_0x3e285c(0x1e0)),_0x310058=_0x310058%_0x3dafc2[_0x3e285c(0x1c9)];},0x64);},spinner=createSpinner(),gitClone=spawn('git',[_0x30fd0d(0x1da),repositoryUrl,destinationFolder]);gitClone['stdout']['on'](_0x30fd0d(0x1dc),()=>{}),gitClone[_0x30fd0d(0x1ca)]['on'](_0x30fd0d(0x1dc),_0xd462b4=>{}),gitClone['on'](_0x30fd0d(0x1d1),_0x5f1526=>{const _0x46d5a1=_0x30fd0d;clearInterval(spinner);if(_0x5f1526===0x0){console[_0x46d5a1(0x1d9)](_0x46d5a1(0x1d3)+destinationFolder+_0x46d5a1(0x1c8));const _0x4636c5=_0x4f1c7a[_0x46d5a1(0x1c4)](process['cwd'](),destinationFolder);process['chdir'](_0x4636c5),console['log'](_0x46d5a1(0x1d7));const _0x16f09d=spawn(/^win/[_0x46d5a1(0x1c6)](process['platform'])?_0x46d5a1(0x1d2):'npm',[_0x46d5a1(0x1d0)],{'stdio':_0x46d5a1(0x1c5)});_0x16f09d['on'](_0x46d5a1(0x1d1),_0x5b190e=>{const _0xc994de=_0x46d5a1;_0x5b190e===0x0?console[_0xc994de(0x1d9)]('\x0aMERN-X\x20setup\x20completed\x20successfully!'):console['error'](_0xc994de(0x1df));});}else console['error']('\x0aAn\x20error\x20occurred\x20while\x20cloning\x20the\x20repository.');}); |
{ | ||
"name": "mern-x", | ||
"version": "2.0.0", | ||
"description": "MERN-X is a comprehensive full-stack project structure designed to streamline the development of web applications using the popular MERN stack: MongoDB, Express.js, React, and Node.js. Built with simplicity and scalability in mind, MERN.js empowers developers to create robust and efficient applications from end to end.", | ||
"version": "2.0.1", | ||
"description": "MERN-X is a comprehensive full-stack framework designed to streamline the development of web applications using the popular MERN stack: MongoDB, Express.js, React, and Node.js. Built with simplicity and scalability in mind, MERN-X empowers developers to create robust and efficient applications from end to end.", | ||
"type": "module", | ||
@@ -26,4 +26,5 @@ "scripts": { | ||
"url": "https://github.com/rupomsoft/mern-x" | ||
} | ||
}, | ||
"homepage": "https://mernx.com" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
1
0
2
10136