@anncic-api/core 1.0.12 → 1.0.15
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/config/config.default.js +1 -1
- package/dist/configuration.js +1 -1
- package/dist/decorator/AnnEnumMsg.js +1 -1
- package/dist/decorator/AnnErrorMsg.js +1 -1
- package/dist/exception/AnnError.js +1 -1
- package/dist/exception/AnnErrorRender.js +1 -1
- package/dist/helper/fileMd5.js +1 -1
- package/dist/helper/globDir.js +1 -1
- package/dist/helper/include.js +1 -1
- package/dist/helper/sleep.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -6
- package/dist/exceptions/AnnError.d.ts +0 -12
- package/dist/exceptions/AnnError.js +0 -1
- package/dist/exceptions/AnnErrorRender.d.ts +0 -7
- package/dist/exceptions/AnnErrorRender.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var a0_0xef7b0b=a0_0x2a9f;(function(_0x26dc49,_0x54c0ab){var _0x36140d=a0_0x2a9f,_0x52aee5=_0x26dc49();while(!![]){try{var _0x2b9b80=-parseInt(_0x36140d(0x16e))/0x1+parseInt(_0x36140d(0x176))/0x2+parseInt(_0x36140d(0x170))/0x3*(-parseInt(_0x36140d(0x178))/0x4)+-parseInt(_0x36140d(0x172))/0x5+parseInt(_0x36140d(0x177))/0x6+parseInt(_0x36140d(0x175))/0x7*(parseInt(_0x36140d(0x171))/0x8)+-parseInt(_0x36140d(0x16c))/0x9*(-parseInt(_0x36140d(0x174))/0xa);if(_0x2b9b80===_0x54c0ab)break;else _0x52aee5['push'](_0x52aee5['shift']());}catch(_0x3262db){_0x52aee5['push'](_0x52aee5['shift']());}}}(a0_0xa1b4,0xbd1ee));function a0_0x2a9f(_0x2624d9,_0x472925){var _0xa1b479=a0_0xa1b4();return a0_0x2a9f=function(_0x2a9f22,_0x3d7c69){_0x2a9f22=_0x2a9f22-0x16c;var _0x3fcb6e=_0xa1b479[_0x2a9f22];return _0x3fcb6e;},a0_0x2a9f(_0x2624d9,_0x472925);}function a0_0xa1b4(){var _0x21f3de=['/runtime','5043fEaDJX','8lHGtgI','4033360PuiFYk','appDir','60790ANKyXv','5826359HTGTUd','1577608Sxlgoe','5650476sDPjVS','1424tFiLgY','585xjpCre','__esModule','778276SftzYK'];a0_0xa1b4=function(){return _0x21f3de;};return a0_0xa1b4();}Object['defineProperty'](exports,a0_0xef7b0b(0x16d),{'value':!![]}),exports['default']=_0x3c93d6=>{var _0x3c7045=a0_0xef7b0b;return{'midwayLogger':{'default':{'maxSize':'1m','dir':_0x3c93d6[_0x3c7045(0x173)]+_0x3c7045(0x16f)}}};};
|
package/dist/configuration.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';const a1_0x11a8f2=a1_0x5bfa;(function(_0x1500a7,_0xa44173){const _0x5d1b76=a1_0x5bfa,_0x1ab506=_0x1500a7();while(!![]){try{const _0x2655eb=parseInt(_0x5d1b76(0x152))/0x1+-parseInt(_0x5d1b76(0x15b))/0x2*(parseInt(_0x5d1b76(0x15f))/0x3)+-parseInt(_0x5d1b76(0x165))/0x4+parseInt(_0x5d1b76(0x14e))/0x5*(-parseInt(_0x5d1b76(0x145))/0x6)+-parseInt(_0x5d1b76(0x150))/0x7+parseInt(_0x5d1b76(0x142))/0x8+-parseInt(_0x5d1b76(0x138))/0x9*(-parseInt(_0x5d1b76(0x156))/0xa);if(_0x2655eb===_0xa44173)break;else _0x1ab506['push'](_0x1ab506['shift']());}catch(_0x4951e1){_0x1ab506['push'](_0x1ab506['shift']());}}}(a1_0x3d25,0x3a016));function a1_0x3d25(){const _0x59f9d3=['./exception/AnnError','3294048HTmdmC','@midwayjs/decorator','body','18tuFisY','code','stack','object','CustomConfiguration','anncic-api:core','decorate','egg','logger','526005kpsPMr','Configuration','1481872tkzoTb','length','434506vehdsd','@midwayjs/core','./config/config.default','\x20at\x20','170CIkajF','environment','function','_matchedRoute','forEach','569574Fgiuiu','getOwnPropertyDescriptor','design:type','error','3tNPAgx','__metadata','matched','AnnError','__decorate','koa','995280gwhugd','AnnErrorRender','Inject','./exception/AnnErrorRender','useMiddleware','getApplications','message','defineProperty','request','239418oHUWyc','response','metadata','express','split','prototype','application','isDevelopmentEnvironment','__esModule'];a1_0x3d25=function(){return _0x59f9d3;};return a1_0x3d25();}var __decorate=this&&this[a1_0x11a8f2(0x163)]||function(_0x77ec95,_0x590d12,_0x23307a,_0x32856c){const _0x2a4088=a1_0x11a8f2;var _0x549202=arguments[_0x2a4088(0x151)],_0x4285e8=_0x549202<0x3?_0x590d12:_0x32856c===null?_0x32856c=Object[_0x2a4088(0x15c)](_0x590d12,_0x23307a):_0x32856c,_0x5a8bfe;if(typeof Reflect===_0x2a4088(0x148)&&typeof Reflect[_0x2a4088(0x14b)]===_0x2a4088(0x158))_0x4285e8=Reflect['decorate'](_0x77ec95,_0x590d12,_0x23307a,_0x32856c);else{for(var _0x3187d9=_0x77ec95[_0x2a4088(0x151)]-0x1;_0x3187d9>=0x0;_0x3187d9--)if(_0x5a8bfe=_0x77ec95[_0x3187d9])_0x4285e8=(_0x549202<0x3?_0x5a8bfe(_0x4285e8):_0x549202>0x3?_0x5a8bfe(_0x590d12,_0x23307a,_0x4285e8):_0x5a8bfe(_0x590d12,_0x23307a))||_0x4285e8;}return _0x549202>0x3&&_0x4285e8&&Object[_0x2a4088(0x136)](_0x590d12,_0x23307a,_0x4285e8),_0x4285e8;},__metadata=this&&this[a1_0x11a8f2(0x160)]||function(_0x2c39db,_0x3e731d){const _0x55b9cc=a1_0x11a8f2;if(typeof Reflect===_0x55b9cc(0x148)&&typeof Reflect[_0x55b9cc(0x13a)]===_0x55b9cc(0x158))return Reflect[_0x55b9cc(0x13a)](_0x2c39db,_0x3e731d);};Object[a1_0x11a8f2(0x136)](exports,a1_0x11a8f2(0x140),{'value':!![]}),exports['CustomConfiguration']=void 0x0;function a1_0x5bfa(_0x3b30c5,_0x9e6c5a){const _0x3d2559=a1_0x3d25();return a1_0x5bfa=function(_0x5bfaf0,_0x353ed9){_0x5bfaf0=_0x5bfaf0-0x134;let _0x234460=_0x3d2559[_0x5bfaf0];return _0x234460;},a1_0x5bfa(_0x3b30c5,_0x9e6c5a);}const decorator_1=require(a1_0x11a8f2(0x143)),core_1=require(a1_0x11a8f2(0x153)),AnnError_1=require(a1_0x11a8f2(0x141)),AnnErrorRender_1=require(a1_0x11a8f2(0x168)),ConfigDefault=require(a1_0x11a8f2(0x154));let CustomConfiguration=class CustomConfiguration{async['onReady'](){const _0x47474b=a1_0x11a8f2;this[_0x47474b(0x13e)][_0x47474b(0x134)]([_0x47474b(0x164),'faas',_0x47474b(0x13b),_0x47474b(0x14c)])[_0x47474b(0x15a)](_0x2a0412=>{const _0x751140=_0x47474b;_0x2a0412[_0x751140(0x169)](async(_0x3eddfe,_0x2cf631)=>{const _0x4a3747=_0x751140;var _0x16a10c;try{await _0x2cf631();}catch(_0x26f6dc){if(_0x26f6dc instanceof AnnErrorRender_1[_0x4a3747(0x166)])await _0x26f6dc['render'](_0x3eddfe,_0x2a0412);else{if(_0x26f6dc instanceof AnnError_1[_0x4a3747(0x162)]){const _0x40d065=_0x26f6dc[_0x4a3747(0x139)]||{};_0x40d065[_0x4a3747(0x146)]=_0x26f6dc['code'],Object['keys'](_0x40d065)['length']==0x1&&(_0x40d065[_0x4a3747(0x135)]=_0x26f6dc[_0x4a3747(0x135)]),this[_0x4a3747(0x157)][_0x4a3747(0x13f)]&&(!_0x40d065[_0x4a3747(0x15e)]&&(_0x40d065[_0x4a3747(0x15e)]={}),!_0x40d065['error']['stack']&&_0x26f6dc[_0x4a3747(0x147)]&&(_0x40d065[_0x4a3747(0x15e)][_0x4a3747(0x147)]=_0x26f6dc[_0x4a3747(0x147)][_0x4a3747(0x13c)](_0x4a3747(0x155)))),_0x3eddfe[_0x4a3747(0x144)]=_0x40d065;}else{if(_0x26f6dc instanceof Error){if(this[_0x4a3747(0x157)][_0x4a3747(0x13f)]())console['error'](_0x26f6dc);else typeof((_0x16a10c=_0x3eddfe===null||_0x3eddfe===void 0x0?void 0x0:_0x3eddfe['logger'])===null||_0x16a10c===void 0x0?void 0x0:_0x16a10c[_0x4a3747(0x15e)])==_0x4a3747(0x158)&&(_0x26f6dc[_0x4a3747(0x161)]=_0x3eddfe[_0x4a3747(0x159)]||'',_0x26f6dc[_0x4a3747(0x137)]=_0x3eddfe['request']||{},_0x3eddfe[_0x4a3747(0x14d)][_0x4a3747(0x15e)](_0x26f6dc));}}}}});});}};__decorate([(0x0,decorator_1['Inject'])(),__metadata('design:type',core_1['MidwayApplicationManager'])],CustomConfiguration['prototype'],a1_0x11a8f2(0x13e),void 0x0),__decorate([(0x0,decorator_1[a1_0x11a8f2(0x167)])(),__metadata(a1_0x11a8f2(0x15d),core_1['MidwayEnvironmentService'])],CustomConfiguration[a1_0x11a8f2(0x13d)],'environment',void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1[a1_0x11a8f2(0x14f)])({'namespace':a1_0x11a8f2(0x14a),'conflictCheck':![],'importConfigs':[{'default':ConfigDefault}]})],CustomConfiguration),exports[a1_0x11a8f2(0x149)]=CustomConfiguration;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a2_0x16b079=a2_0x3630;(function(_0x5b2d44,_0x18065d){const _0x43ad3b=a2_0x3630,_0x1f0544=_0x5b2d44();while(!![]){try{const _0x4674ef=-parseInt(_0x43ad3b(0x1de))/0x1+-parseInt(_0x43ad3b(0x1d7))/0x2*(-parseInt(_0x43ad3b(0x1e0))/0x3)+parseInt(_0x43ad3b(0x1cd))/0x4*(parseInt(_0x43ad3b(0x1da))/0x5)+-parseInt(_0x43ad3b(0x1df))/0x6+parseInt(_0x43ad3b(0x1d1))/0x7+-parseInt(_0x43ad3b(0x1d3))/0x8+parseInt(_0x43ad3b(0x1cf))/0x9;if(_0x4674ef===_0x18065d)break;else _0x1f0544['push'](_0x1f0544['shift']());}catch(_0x4c0d5d){_0x1f0544['push'](_0x1f0544['shift']());}}}(a2_0x26b6,0xd455c));Object[a2_0x16b079(0x1cc)](exports,a2_0x16b079(0x1d9),{'value':!![]}),exports[a2_0x16b079(0x1db)]=exports[a2_0x16b079(0x1d8)]=exports[a2_0x16b079(0x1d0)]=exports[a2_0x16b079(0x1e3)]=void 0x0;const decorator_1=require('@midwayjs/decorator'),ANN_ENUM='ann:enum';function AnnEnumMsg(_0x2dae96,_0xc4d47b){return(_0x33006c,_0x419d25)=>{const _0x6088fd=a2_0x3630;var _0x1f42a8;const _0x418037=_0x33006c===null||_0x33006c===void 0x0?void 0x0:_0x33006c[_0x419d25],_0x161efc=(0x0,decorator_1[_0x6088fd(0x1dc)])(ANN_ENUM,_0x33006c)||{};if(!_0x418037)throw new Error(((_0x33006c===null||_0x33006c===void 0x0?void 0x0:_0x33006c['name'])||_0x33006c)+_0x6088fd(0x1d4)+_0x419d25+')must\x20be\x20\x27static\x20readonly\x20'+_0x419d25+_0x6088fd(0x1ce));if((_0x1f42a8=_0x161efc===null||_0x161efc===void 0x0?void 0x0:_0x161efc[_0x2dae96])===null||_0x1f42a8===void 0x0?void 0x0:_0x1f42a8[_0x418037])throw new Error(_0x6088fd(0x1d5)+_0xc4d47b+'('+_0x2dae96+':'+_0x418037+')\x20is\x20duplicated,please\x20check\x20before\x20adding');!(_0x161efc===null||_0x161efc===void 0x0?void 0x0:_0x161efc[_0x2dae96])&&(_0x161efc[_0x2dae96]={}),_0x161efc[_0x2dae96][_0x418037]={'targetKey':_0x419d25,'targetMsg':_0xc4d47b},(0x0,decorator_1[_0x6088fd(0x1e1)])(ANN_ENUM,_0x161efc,_0x33006c);};}exports[a2_0x16b079(0x1e3)]=AnnEnumMsg;function getAnnEnumMsg(_0xb282a7,_0x2c09ed,_0x136436){const _0x204e31=a2_0x16b079;var _0x56dd58,_0x30db6c;const _0x279e21=(0x0,decorator_1[_0x204e31(0x1dc)])(ANN_ENUM,_0xb282a7)||{};if(!((_0x56dd58=_0x279e21===null||_0x279e21===void 0x0?void 0x0:_0x279e21[_0x2c09ed])===null||_0x56dd58===void 0x0?void 0x0:_0x56dd58[_0x136436]))throw new Error('Enum\x20Code:\x20'+_0x136436+_0x204e31(0x1d2));return((_0x30db6c=_0x279e21[_0x2c09ed][_0x136436])===null||_0x30db6c===void 0x0?void 0x0:_0x30db6c['targetMsg'])||undefined;}exports[a2_0x16b079(0x1d0)]=getAnnEnumMsg;function getAnnEnumList(_0x4371bf,_0xa312ee){const _0xb8048d=a2_0x16b079;var _0x2835f1,_0x331da1;const _0x532af6={},_0x3e3ce8=(0x0,decorator_1[_0xb8048d(0x1dc)])(ANN_ENUM,_0x4371bf)||{};if(_0x3e3ce8===null||_0x3e3ce8===void 0x0?void 0x0:_0x3e3ce8[_0xa312ee])for(const _0x2ec486 in _0x3e3ce8[_0xa312ee]){((_0x331da1=(_0x2835f1=_0x3e3ce8[_0xa312ee])===null||_0x2835f1===void 0x0?void 0x0:_0x2835f1[_0x2ec486])===null||_0x331da1===void 0x0?void 0x0:_0x331da1[_0xb8048d(0x1d6)])&&(_0x532af6[_0x2ec486]=_0x3e3ce8[_0xa312ee][_0x2ec486]['targetMsg']);}return _0x532af6;}exports[a2_0x16b079(0x1d8)]=getAnnEnumList;function getAnnEnumArray(_0x4a9f29,_0x26f15a,_0x57116a=[]){const _0x269eab=a2_0x16b079,_0x5bb6e1=[],_0x5742f5=(0x0,decorator_1[_0x269eab(0x1dc)])(ANN_ENUM,_0x4a9f29)||{};if(_0x5742f5===null||_0x5742f5===void 0x0?void 0x0:_0x5742f5[_0x26f15a])for(const _0x537e81 in _0x5742f5[_0x26f15a]){if(_0x57116a[_0x269eab(0x1e2)](_0x537e81)==-0x1)_0x5bb6e1['push'](_0x537e81);else''+Number(_0x537e81)!=_0x269eab(0x1dd)&&_0x57116a[_0x269eab(0x1e2)](Number(_0x537e81))==-0x1&&_0x5bb6e1['push'](Number(_0x537e81));}return _0x5bb6e1;}function a2_0x3630(_0x318a46,_0x1f6d67){const _0x26b6f6=a2_0x26b6();return a2_0x3630=function(_0x36300b,_0x3615b1){_0x36300b=_0x36300b-0x1cc;let _0x4f1c5b=_0x26b6f6[_0x36300b];return _0x4f1c5b;},a2_0x3630(_0x318a46,_0x1f6d67);}function a2_0x26b6(){const _0xaba693=['15pqFycB','getAnnEnumArray','getClassMetadata','NaN','801162CFbzWn','3725964TNojpF','6EYqaAj','saveClassMetadata','indexOf','AnnEnumMsg','defineProperty','1791220iPAhwd','\x20=\x20number\x20|\x20string;','11286702GyPOCJ','getAnnEnumMsg','3587892oAIbfS','\x20is\x20not\x20duplicated','6596376EJtMhE','\x20Property(','Enum\x20Code:\x20','targetMsg','6378TVnPUB','getAnnEnumList','__esModule'];a2_0x26b6=function(){return _0xaba693;};return a2_0x26b6();}exports[a2_0x16b079(0x1db)]=getAnnEnumArray;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a3_0x130be9=a3_0x38ca;(function(_0x269f80,_0x31119e){const _0x45922a=a3_0x38ca,_0x22eae5=_0x269f80();while(!![]){try{const _0x358aa6=-parseInt(_0x45922a(0x192))/0x1+-parseInt(_0x45922a(0x190))/0x2+parseInt(_0x45922a(0x191))/0x3+parseInt(_0x45922a(0x193))/0x4+parseInt(_0x45922a(0x18f))/0x5+parseInt(_0x45922a(0x19a))/0x6*(-parseInt(_0x45922a(0x195))/0x7)+parseInt(_0x45922a(0x18e))/0x8;if(_0x358aa6===_0x31119e)break;else _0x22eae5['push'](_0x22eae5['shift']());}catch(_0x56b10c){_0x22eae5['push'](_0x22eae5['shift']());}}}(a3_0x2e72,0x9a720));Object[a3_0x130be9(0x196)](exports,'__esModule',{'value':!![]}),exports[a3_0x130be9(0x19b)]=exports[a3_0x130be9(0x18c)]=exports[a3_0x130be9(0x18d)]=void 0x0;const AnnErrorObj={};function getAnnErrorMsg(_0xd49116){const _0x439806=a3_0x130be9;if(!(AnnErrorObj===null||AnnErrorObj===void 0x0?void 0x0:AnnErrorObj[_0xd49116]))throw new Error('Error\x20Code:\x20'+_0xd49116+_0x439806(0x199));return AnnErrorObj[_0xd49116]||undefined;}exports[a3_0x130be9(0x18d)]=getAnnErrorMsg;function getAnnErrorList(){return AnnErrorObj;}exports[a3_0x130be9(0x18c)]=getAnnErrorList;function a3_0x2e72(){const _0x11b903=['getAnnErrorMsg','1435696QxVJxf','1451120aszoCu','885030OfgBmN','2861913zqgsHr','624077TCPXlK','4752656DhGHjv','Error\x20Code:\x20','2129449uABycV','defineProperty','\x20=\x20number;','\x20Property(','\x20is\x20not\x20duplicated','18SbmNzZ','AnnErrorMsg','getAnnErrorList'];a3_0x2e72=function(){return _0x11b903;};return a3_0x2e72();}function a3_0x38ca(_0x3a9c73,_0x36deea){const _0x2e720d=a3_0x2e72();return a3_0x38ca=function(_0x38cab7,_0x13e59c){_0x38cab7=_0x38cab7-0x18c;let _0x110691=_0x2e720d[_0x38cab7];return _0x110691;},a3_0x38ca(_0x3a9c73,_0x36deea);}function AnnErrorMsg(_0x2aeccf){return(_0xbc636f,_0x5ef398)=>{const _0x2902b4=a3_0x38ca,_0x5556cc=_0xbc636f===null||_0xbc636f===void 0x0?void 0x0:_0xbc636f[_0x5ef398];if(!_0x5556cc)throw new Error(((_0xbc636f===null||_0xbc636f===void 0x0?void 0x0:_0xbc636f['name'])||_0xbc636f)+_0x2902b4(0x198)+_0x5ef398+')must\x20be\x20\x27static\x20readonly\x20'+_0x5ef398+_0x2902b4(0x197));if(AnnErrorObj===null||AnnErrorObj===void 0x0?void 0x0:AnnErrorObj[_0x5556cc])throw new Error(_0x2902b4(0x194)+_0x2aeccf+'('+_0x5556cc+')\x20is\x20duplicated,please\x20check\x20before\x20adding');AnnErrorObj[_0x5556cc]=_0x2aeccf;};}exports[a3_0x130be9(0x19b)]=AnnErrorMsg;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var a4_0x3b647d=a4_0x212d;(function(_0x8961b9,_0x217b0f){var _0x1f22e9=a4_0x212d,_0x415bf2=_0x8961b9();while(!![]){try{var _0x3f31b0=parseInt(_0x1f22e9(0x86))/0x1+-parseInt(_0x1f22e9(0x90))/0x2*(-parseInt(_0x1f22e9(0x94))/0x3)+-parseInt(_0x1f22e9(0x8b))/0x4+-parseInt(_0x1f22e9(0x80))/0x5*(parseInt(_0x1f22e9(0x9b))/0x6)+parseInt(_0x1f22e9(0x83))/0x7*(parseInt(_0x1f22e9(0x89))/0x8)+-parseInt(_0x1f22e9(0x8c))/0x9+parseInt(_0x1f22e9(0x9d))/0xa;if(_0x3f31b0===_0x217b0f)break;else _0x415bf2['push'](_0x415bf2['shift']());}catch(_0x51e3db){_0x415bf2['push'](_0x415bf2['shift']());}}}(a4_0x3e49,0x63d27));function a4_0x3e49(){var _0x58387f=['10515ssCpYC','PARAMS','decorate','7xVZPPJ','defineProperty','design:type','365419yhADcb','length','没有权限执行该操作','3039224wBofrV','未知错误','946156NRSCVV','3447162EIdYHL','AnnErrorMsg','name','getOwnPropertyDescriptor','1814UXCgYL','不存在对应数据','NOFIND','function','561WOXUtH','__decorate','AnnError','参数错误','code','NOAUTH','object','1152nrYRBW','constructor','5172730xPLQKM','getAnnErrorMsg','metadata','../decorator/AnnErrorMsg'];a4_0x3e49=function(){return _0x58387f;};return a4_0x3e49();}function a4_0x212d(_0x46bb33,_0x36940a){var _0x3e49ea=a4_0x3e49();return a4_0x212d=function(_0x212de0,_0xbafd52){_0x212de0=_0x212de0-0x7f;var _0x28472b=_0x3e49ea[_0x212de0];return _0x28472b;},a4_0x212d(_0x46bb33,_0x36940a);}var __decorate=this&&this[a4_0x3b647d(0x95)]||function(_0x241c60,_0x4cd9c3,_0x992ea4,_0x13ce5f){var _0x1a0851=a4_0x3b647d,_0x33e93d=arguments[_0x1a0851(0x87)],_0x28fc75=_0x33e93d<0x3?_0x4cd9c3:_0x13ce5f===null?_0x13ce5f=Object[_0x1a0851(0x8f)](_0x4cd9c3,_0x992ea4):_0x13ce5f,_0x297df1;if(typeof Reflect==='object'&&typeof Reflect[_0x1a0851(0x82)]===_0x1a0851(0x93))_0x28fc75=Reflect[_0x1a0851(0x82)](_0x241c60,_0x4cd9c3,_0x992ea4,_0x13ce5f);else{for(var _0x755cf0=_0x241c60[_0x1a0851(0x87)]-0x1;_0x755cf0>=0x0;_0x755cf0--)if(_0x297df1=_0x241c60[_0x755cf0])_0x28fc75=(_0x33e93d<0x3?_0x297df1(_0x28fc75):_0x33e93d>0x3?_0x297df1(_0x4cd9c3,_0x992ea4,_0x28fc75):_0x297df1(_0x4cd9c3,_0x992ea4))||_0x28fc75;}return _0x33e93d>0x3&&_0x28fc75&&Object[_0x1a0851(0x84)](_0x4cd9c3,_0x992ea4,_0x28fc75),_0x28fc75;},__metadata=this&&this['__metadata']||function(_0xb54c6f,_0x4a7c23){var _0x143bc7=a4_0x3b647d;if(typeof Reflect===_0x143bc7(0x9a)&&typeof Reflect[_0x143bc7(0x9f)]===_0x143bc7(0x93))return Reflect[_0x143bc7(0x9f)](_0xb54c6f,_0x4a7c23);};Object[a4_0x3b647d(0x84)](exports,'__esModule',{'value':!![]}),exports[a4_0x3b647d(0x96)]=void 0x0;const AnnErrorMsg_1=require(a4_0x3b647d(0x7f));class AnnError extends Error{constructor(_0x466105,_0x3cecd5){var _0x48aa29=a4_0x3b647d;super((0x0,AnnErrorMsg_1[_0x48aa29(0x9e)])(_0x466105)),this[_0x48aa29(0x8e)]=this[_0x48aa29(0x9c)][_0x48aa29(0x8e)],(this[_0x48aa29(0x98)]=_0x466105,this['response']=_0x3cecd5||{});}}AnnError['UNKNOW']=0x186a0,AnnError[a4_0x3b647d(0x81)]=0x18e70,AnnError['NOFIND']=0x19258,AnnError['NOAUTH']=0x19640,__decorate([(0x0,AnnErrorMsg_1['AnnErrorMsg'])(a4_0x3b647d(0x8a)),__metadata(a4_0x3b647d(0x85),Object)],AnnError,'UNKNOW',void 0x0),__decorate([(0x0,AnnErrorMsg_1[a4_0x3b647d(0x8d)])(a4_0x3b647d(0x97)),__metadata(a4_0x3b647d(0x85),Object)],AnnError,a4_0x3b647d(0x81),void 0x0),__decorate([(0x0,AnnErrorMsg_1[a4_0x3b647d(0x8d)])(a4_0x3b647d(0x91)),__metadata(a4_0x3b647d(0x85),Object)],AnnError,a4_0x3b647d(0x92),void 0x0),__decorate([(0x0,AnnErrorMsg_1[a4_0x3b647d(0x8d)])(a4_0x3b647d(0x88)),__metadata(a4_0x3b647d(0x85),Object)],AnnError,a4_0x3b647d(0x99),void 0x0),exports[a4_0x3b647d(0x96)]=AnnError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a5_0x40b539=a5_0x537c;(function(_0x1f9a5e,_0x5ba8c2){const _0x5496d9=a5_0x537c,_0x35ce63=_0x1f9a5e();while(!![]){try{const _0x12890a=parseInt(_0x5496d9(0x1e3))/0x1*(-parseInt(_0x5496d9(0x1e2))/0x2)+-parseInt(_0x5496d9(0x1de))/0x3+parseInt(_0x5496d9(0x1dd))/0x4+parseInt(_0x5496d9(0x1df))/0x5+parseInt(_0x5496d9(0x1e9))/0x6+-parseInt(_0x5496d9(0x1dc))/0x7+parseInt(_0x5496d9(0x1e7))/0x8;if(_0x12890a===_0x5ba8c2)break;else _0x35ce63['push'](_0x35ce63['shift']());}catch(_0x54c4f8){_0x35ce63['push'](_0x35ce63['shift']());}}}(a5_0x3946,0xc9881));Object[a5_0x40b539(0x1e5)](exports,a5_0x40b539(0x1e8),{'value':!![]}),exports['AnnErrorRender']=void 0x0;const AnnError_1=require(a5_0x40b539(0x1db));class AnnErrorRender extends AnnError_1[a5_0x40b539(0x1e4)]{constructor(_0x16dc0f,_0x12297d){super(_0x16dc0f,_0x12297d);}async[a5_0x40b539(0x1e6)](_0x470e0a,_0x52b5a5){const _0x4117f8=a5_0x40b539;throw this['name']+_0x4117f8(0x1e0);}}function a5_0x537c(_0x4b71d0,_0x50cba1){const _0x39468f=a5_0x3946();return a5_0x537c=function(_0x537c77,_0x2b0480){_0x537c77=_0x537c77-0x1db;let _0x271814=_0x39468f[_0x537c77];return _0x271814;},a5_0x537c(_0x4b71d0,_0x50cba1);}function a5_0x3946(){const _0x594ca9=['render','16150056SfPfpA','__esModule','4060692KpaTFQ','./AnnError','5644856caBCdv','3453956seeTDh','4639020NMQkkP','4499310eeEiGN','\x20is\x20not\x20is\x20not\x20duplicated\x20function\x20render','AnnErrorRender','158lXAOma','16211fgCvUs','AnnError','defineProperty'];a5_0x3946=function(){return _0x594ca9;};return a5_0x3946();}exports[a5_0x40b539(0x1e1)]=AnnErrorRender;
|
package/dist/helper/fileMd5.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function a6_0x5b0d(_0x23049c,_0x594126){const _0x1b86c4=a6_0x1b86();return a6_0x5b0d=function(_0x5b0d95,_0x1831ce){_0x5b0d95=_0x5b0d95-0x1e3;let _0x3006b2=_0x1b86c4[_0x5b0d95];return _0x3006b2;},a6_0x5b0d(_0x23049c,_0x594126);}const a6_0x21bc23=a6_0x5b0d;(function(_0x4e5d73,_0x2e1f9e){const _0x509463=a6_0x5b0d,_0x5bd629=_0x4e5d73();while(!![]){try{const _0x1bc241=parseInt(_0x509463(0x1f4))/0x1*(-parseInt(_0x509463(0x1f7))/0x2)+parseInt(_0x509463(0x1e4))/0x3*(parseInt(_0x509463(0x1ee))/0x4)+-parseInt(_0x509463(0x1f3))/0x5+-parseInt(_0x509463(0x1f1))/0x6*(-parseInt(_0x509463(0x1ea))/0x7)+parseInt(_0x509463(0x1e3))/0x8+parseInt(_0x509463(0x1f8))/0x9*(-parseInt(_0x509463(0x1f2))/0xa)+-parseInt(_0x509463(0x1f6))/0xb;if(_0x1bc241===_0x2e1f9e)break;else _0x5bd629['push'](_0x5bd629['shift']());}catch(_0x18ffef){_0x5bd629['push'](_0x5bd629['shift']());}}}(a6_0x1b86,0xa17ca));Object[a6_0x21bc23(0x1ed)](exports,'__esModule',{'value':!![]}),exports['fileMd5']=void 0x0;const fs=require('fs'),crypto=require(a6_0x21bc23(0x1ef));function a6_0x1b86(){const _0x48a421=['3865542nQsGYL','150TbNlhS','2444115yDKowq','176KLYwXX','isFile','5347694SUKytM','6892MaqCKG','233955KLHqYm','6501808ncAdIk','831vzlyBs','createHash','bind','stat','\x20is\x20not\x20file','fileMd5','7CPmZun','hex','digest','defineProperty','16980HryYrB','crypto','md5'];a6_0x1b86=function(){return _0x48a421;};return a6_0x1b86();}function fileMd5(_0x11e2ec){return new Promise((_0x2dbf05,_0xeb640b)=>{const _0x39087d=a6_0x5b0d;fs[_0x39087d(0x1e7)](_0x11e2ec,(_0xc817bd,_0x44c904)=>{const _0x441de1=_0x39087d;if(_0xc817bd)return _0xeb640b(_0xc817bd);if(!_0x44c904[_0x441de1(0x1f5)]())return _0xeb640b(new Error(_0x11e2ec+_0x441de1(0x1e8)));const _0xa8c44d=crypto[_0x441de1(0x1e5)](_0x441de1(0x1f0)),_0x2e85c3=fs['createReadStream'](_0x11e2ec);_0x2e85c3['on']('data',_0xa8c44d['update'][_0x441de1(0x1e6)](_0xa8c44d)),_0x2e85c3['on']('error',_0x96b741=>_0xeb640b(_0x96b741)),_0x2e85c3['on']('end',()=>_0x2dbf05(_0xa8c44d[_0x441de1(0x1ec)](_0x441de1(0x1eb))));});});}exports[a6_0x21bc23(0x1e9)]=fileMd5;
|
package/dist/helper/globDir.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a7_0x3be990=a7_0x23e8;(function(_0x23c145,_0x4f23c6){const _0x49609b=a7_0x23e8,_0x15feb8=_0x23c145();while(!![]){try{const _0x13a1ab=parseInt(_0x49609b(0x9c))/0x1+parseInt(_0x49609b(0x8d))/0x2+parseInt(_0x49609b(0x91))/0x3+parseInt(_0x49609b(0x84))/0x4+-parseInt(_0x49609b(0x82))/0x5*(parseInt(_0x49609b(0x88))/0x6)+-parseInt(_0x49609b(0x95))/0x7+-parseInt(_0x49609b(0x89))/0x8*(-parseInt(_0x49609b(0x8a))/0x9);if(_0x13a1ab===_0x4f23c6)break;else _0x15feb8['push'](_0x15feb8['shift']());}catch(_0x590fad){_0x15feb8['push'](_0x15feb8['shift']());}}}(a7_0x1a95,0x87688));function a7_0x23e8(_0x39f035,_0x2ef94c){const _0x1a952f=a7_0x1a95();return a7_0x23e8=function(_0x23e8a0,_0x2caf3f){_0x23e8a0=_0x23e8a0-0x82;let _0x3c6daf=_0x1a952f[_0x23e8a0];return _0x3c6daf;},a7_0x23e8(_0x39f035,_0x2ef94c);}Object['defineProperty'](exports,a7_0x3be990(0x86),{'value':!![]}),exports[a7_0x3be990(0x8c)]=void 0x0;const fs=require('fs'),path=require(a7_0x3be990(0x90));class RequireContext{constructor(_0x597785,_0x392569,_0x4c8e0a){const _0x4d8fdc=a7_0x3be990;this[_0x4d8fdc(0xa0)]=[],this[_0x4d8fdc(0x97)]=_0x4c8e0a,this[_0x4d8fdc(0xa3)]=!!_0x392569,this[_0x4d8fdc(0x83)]=this['__findDirectory'](_0x597785),this['__findModules'](this[_0x4d8fdc(0x83)]);}[a7_0x3be990(0x92)](_0x4f2101){const _0x53f7dc=a7_0x3be990;if(path[_0x53f7dc(0x87)](_0x4f2101)||!module[_0x53f7dc(0x94)])return _0x4f2101;return path[_0x53f7dc(0x9b)](path['join'](path[_0x53f7dc(0xa2)](module[_0x53f7dc(0x94)][_0x53f7dc(0x93)])[_0x53f7dc(0x9d)],_0x4f2101));}['__findModules'](_0x3214fa){const _0x49bf43=a7_0x3be990;if(fs[_0x49bf43(0x85)](_0x3214fa))fs[_0x49bf43(0x9a)](_0x3214fa)[_0x49bf43(0xa1)](_0x3844dd=>{const _0x395947=_0x49bf43,_0x548953=path[_0x395947(0x9f)](_0x3214fa,_0x3844dd);if(fs[_0x395947(0x99)](_0x548953)[_0x395947(0x98)]()){if(this[_0x395947(0xa3)]){this['__findModules'](_0x548953);return;}}else{if(this['regExp']&&!this[_0x395947(0x97)][_0x395947(0x8e)](_0x548953))return;this[_0x395947(0xa0)][_0x395947(0x96)](_0x548953);}});else throw new Error(_0x49bf43(0x9e)+_0x3214fa);}}function globDir(_0x234731='.',_0x4b99e3=![],_0x3d9d5d=/(?:)/,_0xfbbde8){const _0x1635df=a7_0x3be990,_0x4d00c0=new RequireContext(_0x234731,_0x4b99e3,_0x3d9d5d);if(_0xfbbde8){const _0x5c8936=_0x501be9=>fs[_0x1635df(0x8b)](_0x501be9,_0xfbbde8);return _0x5c8936[_0x1635df(0x8f)]=()=>[..._0x4d00c0[_0x1635df(0xa0)]],_0x5c8936;}else{const _0x8b88fc=_0x1b2a9d=>require(_0x1b2a9d);return _0x8b88fc[_0x1635df(0x8f)]=()=>[..._0x4d00c0[_0x1635df(0xa0)]],_0x8b88fc;}}function a7_0x1a95(){const _0x57ced8=['__findDirectory','filename','parent','7563122QcyjNA','push','regExp','isDirectory','statSync','readdirSync','normalize','150136GrZtnS','dir','Can\x27t\x20Found\x20Module\x20','resolve','modules','forEach','parse','useSubdirectories','4100NhiwTK','directory','744556PCFTSe','existsSync','__esModule','isAbsolute','7734UhyZMQ','8WniqVk','15447456sExbjO','readFileSync','globDir','942256nwUKVo','test','keys','path','504813zTKIbm'];a7_0x1a95=function(){return _0x57ced8;};return a7_0x1a95();}exports[a7_0x3be990(0x8c)]=globDir;
|
package/dist/helper/include.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a8_0x188b83=a8_0x34c0;(function(_0x5d6920,_0x4c5db1){const _0x390f7f=a8_0x34c0,_0x5a7978=_0x5d6920();while(!![]){try{const _0x3086f6=parseInt(_0x390f7f(0x89))/0x1*(-parseInt(_0x390f7f(0x91))/0x2)+parseInt(_0x390f7f(0x86))/0x3*(-parseInt(_0x390f7f(0x8a))/0x4)+-parseInt(_0x390f7f(0x8f))/0x5+parseInt(_0x390f7f(0x90))/0x6*(parseInt(_0x390f7f(0x8c))/0x7)+parseInt(_0x390f7f(0x87))/0x8+-parseInt(_0x390f7f(0x95))/0x9*(parseInt(_0x390f7f(0x8d))/0xa)+parseInt(_0x390f7f(0x88))/0xb;if(_0x3086f6===_0x4c5db1)break;else _0x5a7978['push'](_0x5a7978['shift']());}catch(_0x4a07f8){_0x5a7978['push'](_0x5a7978['shift']());}}}(a8_0x1d6e,0x7ea50));function a8_0x1d6e(){const _0x9bfa64=['7TdmQxf','78900JpKkYi','__esModule','3702215siDgDX','3851238vYCbMM','26PNqGtQ','lodash','defaultsDeep','include','27tDkfKr','6arumZB','6028704nerser','570229DbvkBX','2723NNYjpN','258104XDtNVI','jiti'];a8_0x1d6e=function(){return _0x9bfa64;};return a8_0x1d6e();}function a8_0x34c0(_0x19c903,_0x1a24a4){const _0x1d6e66=a8_0x1d6e();return a8_0x34c0=function(_0x34c0d6,_0x19fa69){_0x34c0d6=_0x34c0d6-0x86;let _0x5db701=_0x1d6e66[_0x34c0d6];return _0x5db701;},a8_0x34c0(_0x19c903,_0x1a24a4);}Object['defineProperty'](exports,a8_0x188b83(0x8e),{'value':!![]}),exports['include']=void 0x0;const jiti=require(a8_0x188b83(0x8b)),lodash_1=require(a8_0x188b83(0x92));function include(_0x3a7772){const _0x5d7978=a8_0x188b83,_0x47911f={},_0x3450c8=jiti()(_0x3a7772);for(let _0x187c18 in _0x3450c8){_0x187c18!='default'&&(0x0,lodash_1[_0x5d7978(0x93)])(_0x47911f,{[_0x187c18]:_0x3450c8[_0x187c18]});}return(0x0,lodash_1[_0x5d7978(0x93)])(_0x47911f,(0x0,lodash_1['get'])(_0x3450c8,'default',{}));}exports[a8_0x188b83(0x94)]=include;
|
package/dist/helper/sleep.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var a9_0x103870=a9_0x13ca;(function(_0x40f2d9,_0x2eae22){var _0x3addae=a9_0x13ca,_0x4011f1=_0x40f2d9();while(!![]){try{var _0x4cf147=-parseInt(_0x3addae(0xfe))/0x1*(parseInt(_0x3addae(0x106))/0x2)+parseInt(_0x3addae(0xfc))/0x3+parseInt(_0x3addae(0x107))/0x4*(parseInt(_0x3addae(0x101))/0x5)+parseInt(_0x3addae(0x102))/0x6*(parseInt(_0x3addae(0x100))/0x7)+-parseInt(_0x3addae(0xfd))/0x8+parseInt(_0x3addae(0xfa))/0x9*(-parseInt(_0x3addae(0x104))/0xa)+-parseInt(_0x3addae(0x105))/0xb*(parseInt(_0x3addae(0x108))/0xc);if(_0x4cf147===_0x2eae22)break;else _0x4011f1['push'](_0x4011f1['shift']());}catch(_0x2d293d){_0x4011f1['push'](_0x4011f1['shift']());}}}(a9_0x40f7,0x1fbb5));Object[a9_0x103870(0x103)](exports,a9_0x103870(0xfb),{'value':!![]}),exports[a9_0x103870(0xff)]=void 0x0;function sleep(_0x4adddf=0xc8){return new Promise(_0x4835ba=>setTimeout(_0x4835ba,_0x4adddf));}function a9_0x40f7(){var _0x407320=['defineProperty','283790pDOBwA','22OkuEgX','2GUaCzv','4APaXnq','233700nQFkkI','81bazRpN','__esModule','366174Vchhvy','757376htYQne','33091ZoPwaO','sleep','210ApkNzT','1268495nveSWy','35268baEiSf'];a9_0x40f7=function(){return _0x407320;};return a9_0x40f7();}function a9_0x13ca(_0x46bd3d,_0x5d5098){var _0x40f770=a9_0x40f7();return a9_0x13ca=function(_0x13caa6,_0x3ede68){_0x13caa6=_0x13caa6-0xfa;var _0x2b29cf=_0x40f770[_0x13caa6];return _0x2b29cf;},a9_0x13ca(_0x46bd3d,_0x5d5098);}exports[a9_0x103870(0xff)]=sleep;
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a10_0x330f88=a10_0x2873;(function(_0x4da5f4,_0x29be75){const _0x15b5cd=a10_0x2873,_0x31cb3c=_0x4da5f4();while(!![]){try{const _0xd71ab2=-parseInt(_0x15b5cd(0xd9))/0x1+-parseInt(_0x15b5cd(0xd5))/0x2*(parseInt(_0x15b5cd(0xe0))/0x3)+parseInt(_0x15b5cd(0xec))/0x4*(-parseInt(_0x15b5cd(0xd1))/0x5)+parseInt(_0x15b5cd(0xcc))/0x6*(-parseInt(_0x15b5cd(0xe3))/0x7)+parseInt(_0x15b5cd(0xc6))/0x8*(-parseInt(_0x15b5cd(0xd3))/0x9)+parseInt(_0x15b5cd(0xeb))/0xa*(-parseInt(_0x15b5cd(0xd7))/0xb)+-parseInt(_0x15b5cd(0xc9))/0xc*(-parseInt(_0x15b5cd(0xd8))/0xd);if(_0xd71ab2===_0x29be75)break;else _0x31cb3c['push'](_0x31cb3c['shift']());}catch(_0x580da3){_0x31cb3c['push'](_0x31cb3c['shift']());}}}(a10_0x50ae,0x49a61));function a10_0x50ae(){const _0x28e7b3=['12gUTCvp','getAnnErrorList','fileMd5','6ipjIPv','./helper/globDir','./exception/AnnErrorRender','urllib','./decorator/AnnErrorMsg','3385FYCHby','AnnError','94086NyqYJG','getAnnErrorMsg','110LrjIjK','getAnnEnumMsg','1195106ynOSzG','16084510emgIzd','266425AqTYZa','CustomConfiguration','lodash','sleep','fsplus','getAnnEnumArray','Configuration','6066UdpNCB','fs-extra','AnnEnumMsg','1966482zgSxSy','defineProperty','__esModule','collect','./configuration','./helper/sleep','AnnErrorMsg','include','10QwdMcd','192gvDBcm','./exception/AnnError','AnnErrorRender','./decorator/AnnEnumMsg','dayjs','./helper/include','collect.js','mathjs','104xZsjwz','getAnnEnumList','globDir'];a10_0x50ae=function(){return _0x28e7b3;};return a10_0x50ae();}Object[a10_0x330f88(0xe4)](exports,a10_0x330f88(0xe5),{'value':!![]}),exports[a10_0x330f88(0xee)]=exports[a10_0x330f88(0xd2)]=exports[a10_0x330f88(0xca)]=exports['getAnnErrorMsg']=exports[a10_0x330f88(0xe9)]=exports[a10_0x330f88(0xde)]=exports[a10_0x330f88(0xc7)]=exports['getAnnEnumMsg']=exports[a10_0x330f88(0xe2)]=exports[a10_0x330f88(0xcb)]=exports[a10_0x330f88(0xc8)]=exports['include']=exports[a10_0x330f88(0xe6)]=exports['sleep']=exports[a10_0x330f88(0xc2)]=exports[a10_0x330f88(0xdb)]=exports[a10_0x330f88(0xc5)]=exports[a10_0x330f88(0xdd)]=exports[a10_0x330f88(0xcf)]=exports[a10_0x330f88(0xdf)]=void 0x0;const dayjs=require(a10_0x330f88(0xc2));exports[a10_0x330f88(0xc2)]=dayjs;const urllib=require(a10_0x330f88(0xcf));function a10_0x2873(_0x1b8408,_0x2f76d5){const _0x50ae81=a10_0x50ae();return a10_0x2873=function(_0x287346,_0x2b2f1f){_0x287346=_0x287346-0xc1;let _0x354d48=_0x50ae81[_0x287346];return _0x354d48;},a10_0x2873(_0x1b8408,_0x2f76d5);}exports[a10_0x330f88(0xcf)]=urllib;const mathjs=require(a10_0x330f88(0xc5));exports[a10_0x330f88(0xc5)]=mathjs;const lodash=require('lodash');exports[a10_0x330f88(0xdb)]=lodash;const fsplus=require(a10_0x330f88(0xe1));exports[a10_0x330f88(0xdd)]=fsplus;const collect_js_1=require(a10_0x330f88(0xc4));Object[a10_0x330f88(0xe4)](exports,a10_0x330f88(0xe6),{'enumerable':!![],'get':function(){const _0x3800c3=a10_0x330f88;return collect_js_1[_0x3800c3(0xe6)];}});const sleep_1=require(a10_0x330f88(0xe8));Object[a10_0x330f88(0xe4)](exports,a10_0x330f88(0xdc),{'enumerable':!![],'get':function(){return sleep_1['sleep'];}});const include_1=require(a10_0x330f88(0xc3));Object[a10_0x330f88(0xe4)](exports,a10_0x330f88(0xea),{'enumerable':!![],'get':function(){const _0x4752cb=a10_0x330f88;return include_1[_0x4752cb(0xea)];}});const globDir_1=require(a10_0x330f88(0xcd));Object[a10_0x330f88(0xe4)](exports,'globDir',{'enumerable':!![],'get':function(){const _0x153b71=a10_0x330f88;return globDir_1[_0x153b71(0xc8)];}});const fileMd5_1=require('./helper/fileMd5');Object[a10_0x330f88(0xe4)](exports,a10_0x330f88(0xcb),{'enumerable':!![],'get':function(){const _0x4e89fe=a10_0x330f88;return fileMd5_1[_0x4e89fe(0xcb)];}});const AnnError_1=require(a10_0x330f88(0xed));Object[a10_0x330f88(0xe4)](exports,a10_0x330f88(0xd2),{'enumerable':!![],'get':function(){const _0x3dc40f=a10_0x330f88;return AnnError_1[_0x3dc40f(0xd2)];}});const AnnErrorRender_1=require(a10_0x330f88(0xce));Object['defineProperty'](exports,a10_0x330f88(0xee),{'enumerable':!![],'get':function(){const _0x167ff3=a10_0x330f88;return AnnErrorRender_1[_0x167ff3(0xee)];}});const AnnErrorMsg_1=require(a10_0x330f88(0xd0));Object[a10_0x330f88(0xe4)](exports,a10_0x330f88(0xe9),{'enumerable':!![],'get':function(){const _0x509c30=a10_0x330f88;return AnnErrorMsg_1[_0x509c30(0xe9)];}}),Object[a10_0x330f88(0xe4)](exports,'getAnnErrorMsg',{'enumerable':!![],'get':function(){const _0x8a8afa=a10_0x330f88;return AnnErrorMsg_1[_0x8a8afa(0xd4)];}}),Object[a10_0x330f88(0xe4)](exports,a10_0x330f88(0xca),{'enumerable':!![],'get':function(){const _0x4723cd=a10_0x330f88;return AnnErrorMsg_1[_0x4723cd(0xca)];}});const AnnEnumMsg_1=require(a10_0x330f88(0xc1));Object[a10_0x330f88(0xe4)](exports,a10_0x330f88(0xe2),{'enumerable':!![],'get':function(){const _0x2117ed=a10_0x330f88;return AnnEnumMsg_1[_0x2117ed(0xe2)];}}),Object['defineProperty'](exports,a10_0x330f88(0xd6),{'enumerable':!![],'get':function(){return AnnEnumMsg_1['getAnnEnumMsg'];}}),Object[a10_0x330f88(0xe4)](exports,a10_0x330f88(0xc7),{'enumerable':!![],'get':function(){const _0x510581=a10_0x330f88;return AnnEnumMsg_1[_0x510581(0xc7)];}}),Object[a10_0x330f88(0xe4)](exports,a10_0x330f88(0xde),{'enumerable':!![],'get':function(){const _0x1c3570=a10_0x330f88;return AnnEnumMsg_1[_0x1c3570(0xde)];}});var configuration_1=require(a10_0x330f88(0xe7));Object[a10_0x330f88(0xe4)](exports,'Configuration',{'enumerable':!![],'get':function(){const _0x245edb=a10_0x330f88;return configuration_1[_0x245edb(0xda)];}}),(global[a10_0x330f88(0xcf)]=urllib,global[a10_0x330f88(0xdd)]=fsplus,global[a10_0x330f88(0xc5)]=mathjs,global[a10_0x330f88(0xdb)]=lodash),(global[a10_0x330f88(0xc2)]=dayjs,global[a10_0x330f88(0xdc)]=sleep_1['sleep'],global[a10_0x330f88(0xe6)]=collect_js_1[a10_0x330f88(0xe6)],global[a10_0x330f88(0xea)]=include_1[a10_0x330f88(0xea)],global['globDir']=globDir_1[a10_0x330f88(0xc8)],global[a10_0x330f88(0xcb)]=fileMd5_1[a10_0x330f88(0xcb)]),(global['AnnEnumMsg']=AnnEnumMsg_1[a10_0x330f88(0xe2)],global['getAnnEnumMsg']=AnnEnumMsg_1[a10_0x330f88(0xd6)],global[a10_0x330f88(0xc7)]=AnnEnumMsg_1[a10_0x330f88(0xc7)],global[a10_0x330f88(0xde)]=AnnEnumMsg_1['getAnnEnumArray']),(global[a10_0x330f88(0xe9)]=AnnErrorMsg_1['AnnErrorMsg'],global[a10_0x330f88(0xd4)]=AnnErrorMsg_1[a10_0x330f88(0xd4)],global[a10_0x330f88(0xca)]=AnnErrorMsg_1[a10_0x330f88(0xca)],global[a10_0x330f88(0xd2)]=AnnError_1[a10_0x330f88(0xd2)],global['AnnErrorRender']=AnnErrorRender_1[a10_0x330f88(0xee)]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anncic-api/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"typings": "index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"build": "tsc && javascript-obfuscator ./dist --output ./dist --config obfuscator.json"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@midwayjs/bootstrap": "^3.4.
|
|
20
|
-
"@midwayjs/core": "^3.4.
|
|
21
|
-
"@midwayjs/decorator": "^3.4.
|
|
22
|
-
"@midwayjs/mock": "^3.4.
|
|
19
|
+
"@midwayjs/bootstrap": "^3.4.12",
|
|
20
|
+
"@midwayjs/core": "^3.4.12",
|
|
21
|
+
"@midwayjs/decorator": "^3.4.11",
|
|
22
|
+
"@midwayjs/mock": "^3.4.12",
|
|
23
23
|
"@types/crypto-js": "^4.1.1",
|
|
24
24
|
"@types/fs-extra": "^9.0.13",
|
|
25
25
|
"@types/lodash": "^4.14.182",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"javascript-obfuscator": "2.19.0",
|
|
42
42
|
"typescript": "^4.7.4"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "a13c29280dd3c6b411b873882e30df72a5e85c51"
|
|
45
45
|
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare class AnnError extends Error {
|
|
2
|
-
readonly code: number;
|
|
3
|
-
readonly extra: {
|
|
4
|
-
[key: string]: any;
|
|
5
|
-
};
|
|
6
|
-
static readonly PARAMS_ERROR = 100001;
|
|
7
|
-
static readonly PARAMS_NOAUTH = 102001;
|
|
8
|
-
static readonly PARAMS_UNKNOW = 100000;
|
|
9
|
-
constructor(code: number, extra?: {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
});
|
|
12
|
-
}
|