@anncic-api/core 1.0.13 → 1.0.16
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';
|
|
1
|
+
'use strict';function a0_0xdf04(){var _0x4bea19=['appDir','4439967BBfNNN','defineProperty','903807BKixhI','669059pIkRgF','100ljzFor','53886160nxnYdB','/runtime','2760357kKvADL','2PMrCLR','12orUlvy','140915WGAtZp','8708048SAFamc'];a0_0xdf04=function(){return _0x4bea19;};return a0_0xdf04();}var a0_0x3faaf9=a0_0x5725;function a0_0x5725(_0x28da3a,_0xc42792){var _0xdf04df=a0_0xdf04();return a0_0x5725=function(_0x5725d8,_0x45cc42){_0x5725d8=_0x5725d8-0xf8;var _0x4f110b=_0xdf04df[_0x5725d8];return _0x4f110b;},a0_0x5725(_0x28da3a,_0xc42792);}(function(_0x50685a,_0x5e3fa1){var _0x5dd9bb=a0_0x5725,_0x273d25=_0x50685a();while(!![]){try{var _0x5b1144=-parseInt(_0x5dd9bb(0xf8))/0x1+parseInt(_0x5dd9bb(0xfd))/0x2*(-parseInt(_0x5dd9bb(0xfc))/0x3)+-parseInt(_0x5dd9bb(0xf9))/0x4*(parseInt(_0x5dd9bb(0xff))/0x5)+-parseInt(_0x5dd9bb(0xfe))/0x6*(parseInt(_0x5dd9bb(0x102))/0x7)+-parseInt(_0x5dd9bb(0x100))/0x8+-parseInt(_0x5dd9bb(0x104))/0x9+parseInt(_0x5dd9bb(0xfa))/0xa;if(_0x5b1144===_0x5e3fa1)break;else _0x273d25['push'](_0x273d25['shift']());}catch(_0x79da15){_0x273d25['push'](_0x273d25['shift']());}}}(a0_0xdf04,0x9b9bc));Object[a0_0x3faaf9(0x103)](exports,'__esModule',{'value':!![]}),exports['default']=_0x5ae67d=>{var _0x437cde=a0_0x3faaf9;return{'midwayLogger':{'default':{'maxSize':'1m','dir':_0x5ae67d[_0x437cde(0x101)]+_0x437cde(0xfb)}}};};
|
package/dist/configuration.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a1_0x2127bb=a1_0x3abf;(function(_0x436f02,_0x287b5a){const _0x253b8f=a1_0x3abf,_0x59364e=_0x436f02();while(!![]){try{const _0x41746d=-parseInt(_0x253b8f(0x1a3))/0x1*(-parseInt(_0x253b8f(0x1a1))/0x2)+parseInt(_0x253b8f(0x1a9))/0x3*(parseInt(_0x253b8f(0x1a0))/0x4)+parseInt(_0x253b8f(0x1be))/0x5*(-parseInt(_0x253b8f(0x1ba))/0x6)+-parseInt(_0x253b8f(0x195))/0x7+parseInt(_0x253b8f(0x194))/0x8+-parseInt(_0x253b8f(0x19d))/0x9*(-parseInt(_0x253b8f(0x1b1))/0xa)+parseInt(_0x253b8f(0x1b0))/0xb*(-parseInt(_0x253b8f(0x18f))/0xc);if(_0x41746d===_0x287b5a)break;else _0x59364e['push'](_0x59364e['shift']());}catch(_0x454f63){_0x59364e['push'](_0x59364e['shift']());}}}(a1_0x947d,0x6e060));function a1_0x3abf(_0x5a40e0,_0x5c7ed6){const _0x947da2=a1_0x947d();return a1_0x3abf=function(_0x3abffe,_0x3866d5){_0x3abffe=_0x3abffe-0x18f;let _0x1a4021=_0x947da2[_0x3abffe];return _0x1a4021;},a1_0x3abf(_0x5a40e0,_0x5c7ed6);}var __decorate=this&&this[a1_0x2127bb(0x1a5)]||function(_0x3aa9cb,_0x199a4e,_0x2df66c,_0x25d225){const _0x1c1e66=a1_0x2127bb;var _0x3b64ae=arguments['length'],_0x596088=_0x3b64ae<0x3?_0x199a4e:_0x25d225===null?_0x25d225=Object[_0x1c1e66(0x192)](_0x199a4e,_0x2df66c):_0x25d225,_0x47933e;if(typeof Reflect===_0x1c1e66(0x199)&&typeof Reflect[_0x1c1e66(0x1ab)]===_0x1c1e66(0x1b5))_0x596088=Reflect[_0x1c1e66(0x1ab)](_0x3aa9cb,_0x199a4e,_0x2df66c,_0x25d225);else{for(var _0x2c69cd=_0x3aa9cb[_0x1c1e66(0x1b2)]-0x1;_0x2c69cd>=0x0;_0x2c69cd--)if(_0x47933e=_0x3aa9cb[_0x2c69cd])_0x596088=(_0x3b64ae<0x3?_0x47933e(_0x596088):_0x3b64ae>0x3?_0x47933e(_0x199a4e,_0x2df66c,_0x596088):_0x47933e(_0x199a4e,_0x2df66c))||_0x596088;}return _0x3b64ae>0x3&&_0x596088&&Object[_0x1c1e66(0x19c)](_0x199a4e,_0x2df66c,_0x596088),_0x596088;},__metadata=this&&this[a1_0x2127bb(0x1b6)]||function(_0x24bb4e,_0x550feb){const _0x6d60ca=a1_0x2127bb;if(typeof Reflect==='object'&&typeof Reflect[_0x6d60ca(0x198)]===_0x6d60ca(0x1b5))return Reflect[_0x6d60ca(0x198)](_0x24bb4e,_0x550feb);};Object[a1_0x2127bb(0x19c)](exports,a1_0x2127bb(0x1ac),{'value':!![]}),exports[a1_0x2127bb(0x1c3)]=void 0x0;const decorator_1=require('@midwayjs/decorator'),core_1=require(a1_0x2127bb(0x19a)),AnnError_1=require(a1_0x2127bb(0x196)),AnnErrorRender_1=require(a1_0x2127bb(0x191)),ConfigDefault=require(a1_0x2127bb(0x1bc));let CustomConfiguration=class CustomConfiguration{async['onReady'](){const _0x5eed0c=a1_0x2127bb;this[_0x5eed0c(0x190)]['getApplications']([_0x5eed0c(0x19b),_0x5eed0c(0x1ad),_0x5eed0c(0x1c0),'egg'])[_0x5eed0c(0x1bd)](_0x455335=>{const _0x4033fa=_0x5eed0c;_0x455335[_0x4033fa(0x1bf)](async(_0x198c87,_0x2adee2)=>{const _0x26ef69=_0x4033fa;var _0x5f45ef;try{await _0x2adee2();}catch(_0x56a936){if(_0x56a936 instanceof AnnErrorRender_1[_0x26ef69(0x193)])await _0x56a936[_0x26ef69(0x1a7)](_0x198c87,_0x455335);else{if(_0x56a936 instanceof AnnError_1['AnnError']){const _0x5b5524=_0x56a936[_0x26ef69(0x1a4)]||{};_0x5b5524['code']=_0x56a936[_0x26ef69(0x1bb)],Object['keys'](_0x5b5524)[_0x26ef69(0x1b2)]==0x1&&(_0x5b5524[_0x26ef69(0x1b7)]=_0x56a936[_0x26ef69(0x1b7)]),this[_0x26ef69(0x1a2)][_0x26ef69(0x1b3)]&&(!_0x5b5524[_0x26ef69(0x19e)]&&(_0x5b5524[_0x26ef69(0x19e)]={}),!_0x5b5524[_0x26ef69(0x19e)]['stack']&&_0x56a936[_0x26ef69(0x1af)]&&(_0x5b5524[_0x26ef69(0x19e)]['stack']=_0x56a936[_0x26ef69(0x1af)]['split']('\x20at\x20'))),_0x198c87['body']=_0x5b5524;}else{if(_0x56a936 instanceof Error){if(this['environment'][_0x26ef69(0x1b3)]())console['error'](_0x56a936);else typeof((_0x5f45ef=_0x198c87===null||_0x198c87===void 0x0?void 0x0:_0x198c87[_0x26ef69(0x1c2)])===null||_0x5f45ef===void 0x0?void 0x0:_0x5f45ef[_0x26ef69(0x19e)])=='function'&&(_0x56a936[_0x26ef69(0x1b4)]=_0x198c87[_0x26ef69(0x1a6)]||'',_0x56a936[_0x26ef69(0x197)]=_0x198c87[_0x26ef69(0x197)]||{},_0x198c87[_0x26ef69(0x1c2)][_0x26ef69(0x19e)](_0x56a936));}}}}});});}};function a1_0x947d(){const _0x415b90=['48HNrmFP','application','./exception/AnnErrorRender','getOwnPropertyDescriptor','AnnErrorRender','6420592qnmuwo','3718827yBoafg','./exception/AnnError','request','metadata','object','@midwayjs/core','koa','defineProperty','9BYQUIO','error','design:type','8NWiVLM','8JJcwUL','environment','35229RVgDiQ','response','__decorate','_matchedRoute','render','prototype','832479drOdSX','anncic-api:core','decorate','__esModule','faas','MidwayApplicationManager','stack','896434ldnwpK','1127930udZEnJ','length','isDevelopmentEnvironment','matched','function','__metadata','message','Inject','MidwayEnvironmentService','6432quaAjW','code','./config/config.default','forEach','1415jobCyQ','useMiddleware','express','Configuration','logger','CustomConfiguration'];a1_0x947d=function(){return _0x415b90;};return a1_0x947d();}__decorate([(0x0,decorator_1[a1_0x2127bb(0x1b8)])(),__metadata(a1_0x2127bb(0x19f),core_1[a1_0x2127bb(0x1ae)])],CustomConfiguration[a1_0x2127bb(0x1a8)],a1_0x2127bb(0x190),void 0x0),__decorate([(0x0,decorator_1[a1_0x2127bb(0x1b8)])(),__metadata(a1_0x2127bb(0x19f),core_1[a1_0x2127bb(0x1b9)])],CustomConfiguration[a1_0x2127bb(0x1a8)],a1_0x2127bb(0x1a2),void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1[a1_0x2127bb(0x1c1)])({'namespace':a1_0x2127bb(0x1aa),'conflictCheck':![],'importConfigs':[{'default':ConfigDefault}]})],CustomConfiguration),exports[a1_0x2127bb(0x1c3)]=CustomConfiguration;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a2_0x3e8031=a2_0x215a;function a2_0x2ad8(){const _0x16449d=['ann:enum','getAnnEnumArray','457356gRfGgF','39834eHULlh','70970aNfOyH','NaN','__esModule','targetMsg','getClassMetadata','574olIQFF','\x20Property(','92ySLIFr','2167tvRKXt','1662210wZyUpn','\x20=\x20number\x20|\x20string;','20459WrgGNM','82570LFBeqT','\x20is\x20not\x20duplicated','@midwayjs/decorator',')\x20is\x20duplicated,please\x20check\x20before\x20adding','2IbwAlI','push','AnnEnumMsg','3819000TdlTqP','defineProperty','Enum\x20Code:\x20','getAnnEnumMsg','getAnnEnumList'];a2_0x2ad8=function(){return _0x16449d;};return a2_0x2ad8();}(function(_0x1a365a,_0x871357){const _0x254b04=a2_0x215a,_0x3c3f37=_0x1a365a();while(!![]){try{const _0x307ac3=-parseInt(_0x254b04(0xf0))/0x1+-parseInt(_0x254b04(0xd9))/0x2*(parseInt(_0x254b04(0xe3))/0x3)+parseInt(_0x254b04(0xec))/0x4*(-parseInt(_0x254b04(0xe5))/0x5)+-parseInt(_0x254b04(0xe4))/0x6*(parseInt(_0x254b04(0xea))/0x7)+-parseInt(_0x254b04(0xdc))/0x8+parseInt(_0x254b04(0xee))/0x9+parseInt(_0x254b04(0xf1))/0xa*(parseInt(_0x254b04(0xed))/0xb);if(_0x307ac3===_0x871357)break;else _0x3c3f37['push'](_0x3c3f37['shift']());}catch(_0x16dcc3){_0x3c3f37['push'](_0x3c3f37['shift']());}}}(a2_0x2ad8,0x46d7d));Object[a2_0x3e8031(0xdd)](exports,a2_0x3e8031(0xe7),{'value':!![]}),exports[a2_0x3e8031(0xe2)]=exports[a2_0x3e8031(0xe0)]=exports['getAnnEnumMsg']=exports[a2_0x3e8031(0xdb)]=void 0x0;const decorator_1=require(a2_0x3e8031(0xf3)),ANN_ENUM=a2_0x3e8031(0xe1);function AnnEnumMsg(_0x54f199,_0x148b13){return(_0x420792,_0x6c17e7)=>{const _0xdd4466=a2_0x215a;var _0x6e4e6a;const _0x5a9404=_0x420792===null||_0x420792===void 0x0?void 0x0:_0x420792[_0x6c17e7],_0x33ed3e=(0x0,decorator_1['getClassMetadata'])(ANN_ENUM,_0x420792)||{};if(!_0x5a9404)throw new Error(((_0x420792===null||_0x420792===void 0x0?void 0x0:_0x420792['name'])||_0x420792)+_0xdd4466(0xeb)+_0x6c17e7+')must\x20be\x20\x27static\x20readonly\x20'+_0x6c17e7+_0xdd4466(0xef));if((_0x6e4e6a=_0x33ed3e===null||_0x33ed3e===void 0x0?void 0x0:_0x33ed3e[_0x54f199])===null||_0x6e4e6a===void 0x0?void 0x0:_0x6e4e6a[_0x5a9404])throw new Error('Enum\x20Code:\x20'+_0x148b13+'('+_0x54f199+':'+_0x5a9404+_0xdd4466(0xd8));!(_0x33ed3e===null||_0x33ed3e===void 0x0?void 0x0:_0x33ed3e[_0x54f199])&&(_0x33ed3e[_0x54f199]={}),_0x33ed3e[_0x54f199][_0x5a9404]={'targetKey':_0x6c17e7,'targetMsg':_0x148b13},(0x0,decorator_1['saveClassMetadata'])(ANN_ENUM,_0x33ed3e,_0x420792);};}exports[a2_0x3e8031(0xdb)]=AnnEnumMsg;function getAnnEnumMsg(_0x4f4fcd,_0x1c8a4f,_0x59e0b2){const _0x4e32f5=a2_0x3e8031;var _0x25dcaa,_0x11a1c5;const _0x454ff1=(0x0,decorator_1['getClassMetadata'])(ANN_ENUM,_0x4f4fcd)||{};if(!((_0x25dcaa=_0x454ff1===null||_0x454ff1===void 0x0?void 0x0:_0x454ff1[_0x1c8a4f])===null||_0x25dcaa===void 0x0?void 0x0:_0x25dcaa[_0x59e0b2]))throw new Error(_0x4e32f5(0xde)+_0x59e0b2+_0x4e32f5(0xf2));return((_0x11a1c5=_0x454ff1[_0x1c8a4f][_0x59e0b2])===null||_0x11a1c5===void 0x0?void 0x0:_0x11a1c5[_0x4e32f5(0xe8)])||undefined;}exports[a2_0x3e8031(0xdf)]=getAnnEnumMsg;function a2_0x215a(_0x3c01c7,_0x2e82ea){const _0x2ad8c2=a2_0x2ad8();return a2_0x215a=function(_0x215a6a,_0xa166ae){_0x215a6a=_0x215a6a-0xd8;let _0x27b04f=_0x2ad8c2[_0x215a6a];return _0x27b04f;},a2_0x215a(_0x3c01c7,_0x2e82ea);}function getAnnEnumList(_0x365853,_0x31313b){const _0x37fc87=a2_0x3e8031;var _0xee67a1,_0x2ab9ee;const _0x2488f7={},_0x3aa6fe=(0x0,decorator_1[_0x37fc87(0xe9)])(ANN_ENUM,_0x365853)||{};if(_0x3aa6fe===null||_0x3aa6fe===void 0x0?void 0x0:_0x3aa6fe[_0x31313b])for(const _0x5c14d5 in _0x3aa6fe[_0x31313b]){((_0x2ab9ee=(_0xee67a1=_0x3aa6fe[_0x31313b])===null||_0xee67a1===void 0x0?void 0x0:_0xee67a1[_0x5c14d5])===null||_0x2ab9ee===void 0x0?void 0x0:_0x2ab9ee[_0x37fc87(0xe8)])&&(_0x2488f7[_0x5c14d5]=_0x3aa6fe[_0x31313b][_0x5c14d5][_0x37fc87(0xe8)]);}return _0x2488f7;}exports['getAnnEnumList']=getAnnEnumList;function getAnnEnumArray(_0x4b0d54,_0x21a0af,_0x120351=[]){const _0x5372fd=a2_0x3e8031,_0xbf0a27=[],_0x318cea=(0x0,decorator_1[_0x5372fd(0xe9)])(ANN_ENUM,_0x4b0d54)||{};if(_0x318cea===null||_0x318cea===void 0x0?void 0x0:_0x318cea[_0x21a0af])for(const _0x24e836 in _0x318cea[_0x21a0af]){if(_0x120351['indexOf'](_0x24e836)==-0x1)_0xbf0a27[_0x5372fd(0xda)](_0x24e836);else''+Number(_0x24e836)!=_0x5372fd(0xe6)&&_0x120351['indexOf'](Number(_0x24e836))==-0x1&&_0xbf0a27[_0x5372fd(0xda)](Number(_0x24e836));}return _0xbf0a27;}exports[a2_0x3e8031(0xe2)]=getAnnEnumArray;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a3_0x5b8d2e=a3_0x242c;function a3_0x242c(_0x520cbc,_0x592a4a){const _0x37ca78=a3_0x37ca();return a3_0x242c=function(_0x242cfd,_0x1cf767){_0x242cfd=_0x242cfd-0x127;let _0x3bf488=_0x37ca78[_0x242cfd];return _0x3bf488;},a3_0x242c(_0x520cbc,_0x592a4a);}(function(_0x4f0e2d,_0x2220c4){const _0x1286cf=a3_0x242c,_0x422a65=_0x4f0e2d();while(!![]){try{const _0x4d2d76=parseInt(_0x1286cf(0x12b))/0x1+-parseInt(_0x1286cf(0x135))/0x2*(-parseInt(_0x1286cf(0x131))/0x3)+parseInt(_0x1286cf(0x12c))/0x4+parseInt(_0x1286cf(0x132))/0x5*(parseInt(_0x1286cf(0x128))/0x6)+parseInt(_0x1286cf(0x127))/0x7+-parseInt(_0x1286cf(0x133))/0x8+-parseInt(_0x1286cf(0x136))/0x9;if(_0x4d2d76===_0x2220c4)break;else _0x422a65['push'](_0x422a65['shift']());}catch(_0x29c68c){_0x422a65['push'](_0x422a65['shift']());}}}(a3_0x37ca,0xa36cf));function a3_0x37ca(){const _0x5efda4=['9318912adlRmF','getAnnErrorMsg','4578PXDShg','23678811mnvNei','\x20=\x20number;','7517349xqEFpO','24wZXkGz','name','AnnErrorMsg','863499LlkIui','3103820HGPyfH','Error\x20Code:\x20','getAnnErrorList','defineProperty','\x20is\x20not\x20duplicated','1023JNTUcM','1214155vGWxJY'];a3_0x37ca=function(){return _0x5efda4;};return a3_0x37ca();}Object[a3_0x5b8d2e(0x12f)](exports,'__esModule',{'value':!![]}),exports[a3_0x5b8d2e(0x12a)]=exports[a3_0x5b8d2e(0x12e)]=exports[a3_0x5b8d2e(0x134)]=void 0x0;const AnnErrorObj={};function getAnnErrorMsg(_0x239185){const _0x2eb8b1=a3_0x5b8d2e;if(!(AnnErrorObj===null||AnnErrorObj===void 0x0?void 0x0:AnnErrorObj[_0x239185]))throw new Error('Error\x20Code:\x20'+_0x239185+_0x2eb8b1(0x130));return AnnErrorObj[_0x239185]||undefined;}exports[a3_0x5b8d2e(0x134)]=getAnnErrorMsg;function getAnnErrorList(){return AnnErrorObj;}exports[a3_0x5b8d2e(0x12e)]=getAnnErrorList;function AnnErrorMsg(_0x5a30fe){return(_0x856cf4,_0x4ac20a)=>{const _0x10aea7=a3_0x242c,_0x23983a=_0x856cf4===null||_0x856cf4===void 0x0?void 0x0:_0x856cf4[_0x4ac20a];if(!_0x23983a)throw new Error(((_0x856cf4===null||_0x856cf4===void 0x0?void 0x0:_0x856cf4[_0x10aea7(0x129)])||_0x856cf4)+'\x20Property('+_0x4ac20a+')must\x20be\x20\x27static\x20readonly\x20'+_0x4ac20a+_0x10aea7(0x137));if(AnnErrorObj===null||AnnErrorObj===void 0x0?void 0x0:AnnErrorObj[_0x23983a])throw new Error(_0x10aea7(0x12d)+_0x5a30fe+'('+_0x23983a+')\x20is\x20duplicated,please\x20check\x20before\x20adding');AnnErrorObj[_0x23983a]=_0x5a30fe;};}exports['AnnErrorMsg']=AnnErrorMsg;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';function a4_0x5457(){var _0x211059=['response','function','7421970XuiboG','__metadata','PARAMS','1198942lTATuv','10UVcjeD','metadata','design:type','3xCWzjA','length','51394LYBAbc','code','UNKNOW','decorate','参数错误','1352TWxrLr','../decorator/AnnErrorMsg','6310029BPbCZa','没有权限执行该操作','216SYEQZK','AnnError','getAnnErrorMsg','2560923vdHEGv','未知错误','defineProperty','95020RYAphv','constructor','object','不存在对应数据','1146754iWboDW','NOFIND','name','__esModule','AnnErrorMsg','NOAUTH'];a4_0x5457=function(){return _0x211059;};return a4_0x5457();}var a4_0x50b811=a4_0x452f;(function(_0x2fb153,_0x46ac55){var _0x172828=a4_0x452f,_0x5054d6=_0x2fb153();while(!![]){try{var _0x29aa78=parseInt(_0x172828(0x117))/0x1+-parseInt(_0x172828(0x122))/0x2*(parseInt(_0x172828(0x126))/0x3)+parseInt(_0x172828(0x10d))/0x4*(parseInt(_0x172828(0x113))/0x5)+-parseInt(_0x172828(0x11f))/0x6+-parseInt(_0x172828(0x128))/0x7*(-parseInt(_0x172828(0x12d))/0x8)+-parseInt(_0x172828(0x110))/0x9+-parseInt(_0x172828(0x123))/0xa*(parseInt(_0x172828(0x12f))/0xb);if(_0x29aa78===_0x46ac55)break;else _0x5054d6['push'](_0x5054d6['shift']());}catch(_0x19a90b){_0x5054d6['push'](_0x5054d6['shift']());}}}(a4_0x5457,0xaf90c));var __decorate=this&&this['__decorate']||function(_0x2499a0,_0x43365f,_0xf191db,_0x1d3f91){var _0x1d812d=a4_0x452f,_0x3a1fef=arguments['length'],_0x3f45db=_0x3a1fef<0x3?_0x43365f:_0x1d3f91===null?_0x1d3f91=Object['getOwnPropertyDescriptor'](_0x43365f,_0xf191db):_0x1d3f91,_0x29beea;if(typeof Reflect===_0x1d812d(0x115)&&typeof Reflect[_0x1d812d(0x12b)]==='function')_0x3f45db=Reflect[_0x1d812d(0x12b)](_0x2499a0,_0x43365f,_0xf191db,_0x1d3f91);else{for(var _0x47b915=_0x2499a0[_0x1d812d(0x127)]-0x1;_0x47b915>=0x0;_0x47b915--)if(_0x29beea=_0x2499a0[_0x47b915])_0x3f45db=(_0x3a1fef<0x3?_0x29beea(_0x3f45db):_0x3a1fef>0x3?_0x29beea(_0x43365f,_0xf191db,_0x3f45db):_0x29beea(_0x43365f,_0xf191db))||_0x3f45db;}return _0x3a1fef>0x3&&_0x3f45db&&Object[_0x1d812d(0x112)](_0x43365f,_0xf191db,_0x3f45db),_0x3f45db;},__metadata=this&&this[a4_0x50b811(0x120)]||function(_0x2998ef,_0x5bf2a6){var _0x3ae29c=a4_0x50b811;if(typeof Reflect==='object'&&typeof Reflect['metadata']===_0x3ae29c(0x11e))return Reflect[_0x3ae29c(0x124)](_0x2998ef,_0x5bf2a6);};Object['defineProperty'](exports,a4_0x50b811(0x11a),{'value':!![]}),exports[a4_0x50b811(0x10e)]=void 0x0;function a4_0x452f(_0x2a9975,_0x2cbba3){var _0x54574a=a4_0x5457();return a4_0x452f=function(_0x452ff0,_0x4abb5f){_0x452ff0=_0x452ff0-0x10c;var _0x59c6d0=_0x54574a[_0x452ff0];return _0x59c6d0;},a4_0x452f(_0x2a9975,_0x2cbba3);}const AnnErrorMsg_1=require(a4_0x50b811(0x12e));class AnnError extends Error{constructor(_0x324021,_0x9e6e85){var _0x4754e0=a4_0x50b811;super((0x0,AnnErrorMsg_1[_0x4754e0(0x10f)])(_0x324021)),this[_0x4754e0(0x119)]=this[_0x4754e0(0x114)]['name'],(this[_0x4754e0(0x129)]=_0x324021,this[_0x4754e0(0x11d)]=_0x9e6e85||{});}}AnnError[a4_0x50b811(0x12a)]=0x186a0,AnnError[a4_0x50b811(0x121)]=0x18e70,AnnError[a4_0x50b811(0x118)]=0x19258,AnnError[a4_0x50b811(0x11c)]=0x19640,__decorate([(0x0,AnnErrorMsg_1['AnnErrorMsg'])(a4_0x50b811(0x111)),__metadata(a4_0x50b811(0x125),Object)],AnnError,a4_0x50b811(0x12a),void 0x0),__decorate([(0x0,AnnErrorMsg_1[a4_0x50b811(0x11b)])(a4_0x50b811(0x12c)),__metadata(a4_0x50b811(0x125),Object)],AnnError,a4_0x50b811(0x121),void 0x0),__decorate([(0x0,AnnErrorMsg_1[a4_0x50b811(0x11b)])(a4_0x50b811(0x116)),__metadata(a4_0x50b811(0x125),Object)],AnnError,'NOFIND',void 0x0),__decorate([(0x0,AnnErrorMsg_1[a4_0x50b811(0x11b)])(a4_0x50b811(0x10c)),__metadata(a4_0x50b811(0x125),Object)],AnnError,'NOAUTH',void 0x0),exports[a4_0x50b811(0x10e)]=AnnError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a5_0x4c2414=a5_0x3369;function a5_0x3b71(){const _0x36ec6b=['AnnError','./AnnError','__esModule','AnnErrorRender','render','\x20is\x20not\x20is\x20not\x20duplicated\x20function\x20render','15nIrSvJ','2420528fYNntH','11TStlQM','974190dqPMEZ','7348zVtrqn','179268gPMTvK','2779791XoLTUG','25140uickuM','36lmIlFU','44014pWbfcS','75mvozzz','100684vGKHsA'];a5_0x3b71=function(){return _0x36ec6b;};return a5_0x3b71();}(function(_0x3d75b2,_0x5ec55d){const _0x14ea3e=a5_0x3369,_0x1a064f=_0x3d75b2();while(!![]){try{const _0x493604=parseInt(_0x14ea3e(0x17c))/0x1*(parseInt(_0x14ea3e(0x183))/0x2)+parseInt(_0x14ea3e(0x17a))/0x3*(parseInt(_0x14ea3e(0x185))/0x4)+-parseInt(_0x14ea3e(0x184))/0x5*(parseInt(_0x14ea3e(0x17f))/0x6)+-parseInt(_0x14ea3e(0x180))/0x7+-parseInt(_0x14ea3e(0x17b))/0x8+-parseInt(_0x14ea3e(0x182))/0x9*(parseInt(_0x14ea3e(0x17d))/0xa)+parseInt(_0x14ea3e(0x17e))/0xb*(parseInt(_0x14ea3e(0x181))/0xc);if(_0x493604===_0x5ec55d)break;else _0x1a064f['push'](_0x1a064f['shift']());}catch(_0x2ca67c){_0x1a064f['push'](_0x1a064f['shift']());}}}(a5_0x3b71,0x381eb));Object['defineProperty'](exports,a5_0x4c2414(0x188),{'value':!![]}),exports[a5_0x4c2414(0x189)]=void 0x0;const AnnError_1=require(a5_0x4c2414(0x187));class AnnErrorRender extends AnnError_1[a5_0x4c2414(0x186)]{constructor(_0x17bb2d,_0xf0e255){super(_0x17bb2d,_0xf0e255);}async[a5_0x4c2414(0x18a)](_0x19f1a8,_0x3fd79e){const _0x371634=a5_0x4c2414;throw this['name']+_0x371634(0x179);}}function a5_0x3369(_0x5d2468,_0x2b9dcc){const _0x3b7157=a5_0x3b71();return a5_0x3369=function(_0x3369de,_0x3ba02f){_0x3369de=_0x3369de-0x179;let _0x2edeb1=_0x3b7157[_0x3369de];return _0x2edeb1;},a5_0x3369(_0x5d2468,_0x2b9dcc);}exports[a5_0x4c2414(0x189)]=AnnErrorRender;
|
package/dist/helper/fileMd5.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a6_0x1d45(){const _0x12a5fb=['data','249604LKzpJK','createHash','hex','end','md5','8728656ZOzPOs','718762vFxkrq','update','\x20is\x20not\x20file','6LZdzsk','6195413aTlqyQ','63DfJxFN','3773945ufNWNN','error','isFile','crypto','208637GGuvQt','digest','stat','fileMd5','10473363KeNlkI'];a6_0x1d45=function(){return _0x12a5fb;};return a6_0x1d45();}const a6_0x416254=a6_0x5f56;function a6_0x5f56(_0x456521,_0x596f07){const _0x1d45b2=a6_0x1d45();return a6_0x5f56=function(_0x5f5668,_0xb2de62){_0x5f5668=_0x5f5668-0x138;let _0x3012ca=_0x1d45b2[_0x5f5668];return _0x3012ca;},a6_0x5f56(_0x456521,_0x596f07);}(function(_0x589b9c,_0x3bd017){const _0x523de5=a6_0x5f56,_0x56cc45=_0x589b9c();while(!![]){try{const _0x5067e6=parseInt(_0x523de5(0x149))/0x1+-parseInt(_0x523de5(0x13f))/0x2+parseInt(_0x523de5(0x144))/0x3*(-parseInt(_0x523de5(0x139))/0x4)+-parseInt(_0x523de5(0x145))/0x5*(-parseInt(_0x523de5(0x142))/0x6)+-parseInt(_0x523de5(0x143))/0x7+parseInt(_0x523de5(0x13e))/0x8+parseInt(_0x523de5(0x14d))/0x9;if(_0x5067e6===_0x3bd017)break;else _0x56cc45['push'](_0x56cc45['shift']());}catch(_0x4b1dbb){_0x56cc45['push'](_0x56cc45['shift']());}}}(a6_0x1d45,0xa1f3a));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a6_0x416254(0x14c)]=void 0x0;const fs=require('fs'),crypto=require(a6_0x416254(0x148));function fileMd5(_0x5c3ccc){return new Promise((_0x145a72,_0x169b3b)=>{const _0x3a487b=a6_0x5f56;fs[_0x3a487b(0x14b)](_0x5c3ccc,(_0x54d599,_0x4fcd99)=>{const _0x33c97e=_0x3a487b;if(_0x54d599)return _0x169b3b(_0x54d599);if(!_0x4fcd99[_0x33c97e(0x147)]())return _0x169b3b(new Error(_0x5c3ccc+_0x33c97e(0x141)));const _0xd4d3aa=crypto[_0x33c97e(0x13a)](_0x33c97e(0x13d)),_0x293e86=fs['createReadStream'](_0x5c3ccc);_0x293e86['on'](_0x33c97e(0x138),_0xd4d3aa[_0x33c97e(0x140)]['bind'](_0xd4d3aa)),_0x293e86['on'](_0x33c97e(0x146),_0x364816=>_0x169b3b(_0x364816)),_0x293e86['on'](_0x33c97e(0x13c),()=>_0x145a72(_0xd4d3aa[_0x33c97e(0x14a)](_0x33c97e(0x13b))));});});}exports[a6_0x416254(0x14c)]=fileMd5;
|
package/dist/helper/globDir.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a7_0x25f1(_0x33c4af,_0x28037f){const _0x4720a4=a7_0x4720();return a7_0x25f1=function(_0x25f17a,_0x185b0b){_0x25f17a=_0x25f17a-0x174;let _0x1adbe5=_0x4720a4[_0x25f17a];return _0x1adbe5;},a7_0x25f1(_0x33c4af,_0x28037f);}const a7_0x585120=a7_0x25f1;(function(_0x2fd5c5,_0x6f1317){const _0x15a7fa=a7_0x25f1,_0x538b5a=_0x2fd5c5();while(!![]){try{const _0x315ef5=parseInt(_0x15a7fa(0x17b))/0x1*(-parseInt(_0x15a7fa(0x190))/0x2)+-parseInt(_0x15a7fa(0x192))/0x3*(parseInt(_0x15a7fa(0x18c))/0x4)+parseInt(_0x15a7fa(0x187))/0x5+-parseInt(_0x15a7fa(0x184))/0x6+-parseInt(_0x15a7fa(0x185))/0x7+parseInt(_0x15a7fa(0x189))/0x8+-parseInt(_0x15a7fa(0x179))/0x9*(-parseInt(_0x15a7fa(0x186))/0xa);if(_0x315ef5===_0x6f1317)break;else _0x538b5a['push'](_0x538b5a['shift']());}catch(_0x46688b){_0x538b5a['push'](_0x538b5a['shift']());}}}(a7_0x4720,0x57d7f));Object[a7_0x585120(0x183)](exports,a7_0x585120(0x188),{'value':!![]}),exports[a7_0x585120(0x18e)]=void 0x0;const fs=require('fs'),path=require('path');class RequireContext{constructor(_0x32394c,_0xada690,_0x49f27e){const _0xc9e5a5=a7_0x585120;this[_0xc9e5a5(0x17a)]=[],this[_0xc9e5a5(0x194)]=_0x49f27e,this[_0xc9e5a5(0x18f)]=!!_0xada690,this['directory']=this['__findDirectory'](_0x32394c),this[_0xc9e5a5(0x17f)](this[_0xc9e5a5(0x191)]);}[a7_0x585120(0x17d)](_0x532b99){const _0x37f269=a7_0x585120;if(path[_0x37f269(0x175)](_0x532b99)||!module[_0x37f269(0x177)])return _0x532b99;return path[_0x37f269(0x18b)](path[_0x37f269(0x182)](path[_0x37f269(0x18d)](module['parent'][_0x37f269(0x174)])['dir'],_0x532b99));}[a7_0x585120(0x17f)](_0x347a01){const _0x580339=a7_0x585120;if(fs[_0x580339(0x17c)](_0x347a01))fs[_0x580339(0x17e)](_0x347a01)[_0x580339(0x181)](_0x4817bd=>{const _0x935e8e=_0x580339,_0x1a6139=path[_0x935e8e(0x180)](_0x347a01,_0x4817bd);if(fs[_0x935e8e(0x178)](_0x1a6139)[_0x935e8e(0x193)]()){if(this[_0x935e8e(0x18f)]){this[_0x935e8e(0x17f)](_0x1a6139);return;}}else{if(this['regExp']&&!this[_0x935e8e(0x194)]['test'](_0x1a6139))return;this[_0x935e8e(0x17a)]['push'](_0x1a6139);}});else throw new Error(_0x580339(0x176)+_0x347a01);}}function a7_0x4720(){const _0x33efd0=['parse','globDir','useSubdirectories','394tIQlkR','directory','6933dvCuCg','isDirectory','regExp','filename','isAbsolute','Can\x27t\x20Found\x20Module\x20','parent','statSync','15534AyAjLg','modules','309ClNVSr','existsSync','__findDirectory','readdirSync','__findModules','resolve','forEach','join','defineProperty','2392632owwhrR','4798885MHDfkC','10130AjMFDV','333160TgEhdl','__esModule','643968KpbTie','keys','normalize','676UGvZor'];a7_0x4720=function(){return _0x33efd0;};return a7_0x4720();}function globDir(_0x422e66='.',_0x1793ae=![],_0x546b15=/(?:)/,_0x4effc1){const _0x47407c=a7_0x585120,_0x3ea386=new RequireContext(_0x422e66,_0x1793ae,_0x546b15);if(_0x4effc1){const _0x19c74d=_0x2ccdae=>fs['readFileSync'](_0x2ccdae,_0x4effc1);return _0x19c74d[_0x47407c(0x18a)]=()=>[..._0x3ea386[_0x47407c(0x17a)]],_0x19c74d;}else{const _0x42650b=_0x3ef353=>require(_0x3ef353);return _0x42650b[_0x47407c(0x18a)]=()=>[..._0x3ea386['modules']],_0x42650b;}}exports[a7_0x585120(0x18e)]=globDir;
|
package/dist/helper/include.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a8_0x590d17=a8_0x37cd;(function(_0x4b10dc,_0x3235b4){const _0x5d31cd=a8_0x37cd,_0x948278=_0x4b10dc();while(!![]){try{const _0x4f65a0=-parseInt(_0x5d31cd(0x18e))/0x1+parseInt(_0x5d31cd(0x195))/0x2+parseInt(_0x5d31cd(0x18c))/0x3+parseInt(_0x5d31cd(0x18f))/0x4+parseInt(_0x5d31cd(0x18b))/0x5*(parseInt(_0x5d31cd(0x196))/0x6)+parseInt(_0x5d31cd(0x19a))/0x7+parseInt(_0x5d31cd(0x197))/0x8*(-parseInt(_0x5d31cd(0x192))/0x9);if(_0x4f65a0===_0x3235b4)break;else _0x948278['push'](_0x948278['shift']());}catch(_0x2973f0){_0x948278['push'](_0x948278['shift']());}}}(a8_0x5df9,0xb01f4));function a8_0x5df9(){const _0x330a3b=['jiti','60579PNYYcD','default','get','1925392OEWQho','12waTGms','3152cWNzmc','__esModule','include','6354880OMTWEt','2475370hYTxmL','1941762rZXjet','defaultsDeep','182492qHKjCK','191856XvvAcX','defineProperty'];a8_0x5df9=function(){return _0x330a3b;};return a8_0x5df9();}function a8_0x37cd(_0x33e9f1,_0x57345e){const _0x5df964=a8_0x5df9();return a8_0x37cd=function(_0x37cd89,_0x4ccebc){_0x37cd89=_0x37cd89-0x18b;let _0xc51bb6=_0x5df964[_0x37cd89];return _0xc51bb6;},a8_0x37cd(_0x33e9f1,_0x57345e);}Object[a8_0x590d17(0x190)](exports,a8_0x590d17(0x198),{'value':!![]}),exports[a8_0x590d17(0x199)]=void 0x0;const jiti=require(a8_0x590d17(0x191)),lodash_1=require('lodash');function include(_0x483dfc){const _0x1dc8e8=a8_0x590d17,_0x210e3f={},_0x6ada99=jiti()(_0x483dfc);for(let _0x4ace9e in _0x6ada99){_0x4ace9e!=_0x1dc8e8(0x193)&&(0x0,lodash_1[_0x1dc8e8(0x18d)])(_0x210e3f,{[_0x4ace9e]:_0x6ada99[_0x4ace9e]});}return(0x0,lodash_1['defaultsDeep'])(_0x210e3f,(0x0,lodash_1[_0x1dc8e8(0x194)])(_0x6ada99,_0x1dc8e8(0x193),{}));}exports[a8_0x590d17(0x199)]=include;
|
package/dist/helper/sleep.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var a9_0x24cb10=a9_0x20a7;(function(_0x2e0d83,_0x4293a1){var _0x94b377=a9_0x20a7,_0x52b170=_0x2e0d83();while(!![]){try{var _0x498aaa=parseInt(_0x94b377(0x6b))/0x1+-parseInt(_0x94b377(0x72))/0x2*(-parseInt(_0x94b377(0x6a))/0x3)+parseInt(_0x94b377(0x69))/0x4+-parseInt(_0x94b377(0x6c))/0x5+parseInt(_0x94b377(0x71))/0x6*(parseInt(_0x94b377(0x75))/0x7)+-parseInt(_0x94b377(0x6f))/0x8+-parseInt(_0x94b377(0x6d))/0x9*(parseInt(_0x94b377(0x73))/0xa);if(_0x498aaa===_0x4293a1)break;else _0x52b170['push'](_0x52b170['shift']());}catch(_0x2b4c9d){_0x52b170['push'](_0x52b170['shift']());}}}(a9_0x3695,0x8f5b9));function a9_0x20a7(_0xb79acf,_0x41af07){var _0x369521=a9_0x3695();return a9_0x20a7=function(_0x20a73b,_0x2ac948){_0x20a73b=_0x20a73b-0x69;var _0x40cf1c=_0x369521[_0x20a73b];return _0x40cf1c;},a9_0x20a7(_0xb79acf,_0x41af07);}Object[a9_0x24cb10(0x70)](exports,a9_0x24cb10(0x6e),{'value':!![]}),exports['sleep']=void 0x0;function a9_0x3695(){var _0x22c4b8=['defineProperty','2070654dYKZfP','514hUBpnM','43810IUPLlu','sleep','7DXwqFs','3777600vPgvkB','4878YgENHa','272127BjDOWJ','4251300sveOjL','495DzBSgp','__esModule','2408880tPWnCu'];a9_0x3695=function(){return _0x22c4b8;};return a9_0x3695();}function sleep(_0xbd1c18=0xc8){return new Promise(_0x35778c=>setTimeout(_0x35778c,_0xbd1c18));}exports[a9_0x24cb10(0x74)]=sleep;
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a10_0xcfab66=a10_0x4c14;(function(_0x20ec5b,_0x33d597){const _0x2f73dc=a10_0x4c14,_0x1723a2=_0x20ec5b();while(!![]){try{const _0x53c183=parseInt(_0x2f73dc(0xe1))/0x1*(-parseInt(_0x2f73dc(0xbf))/0x2)+parseInt(_0x2f73dc(0xcd))/0x3+-parseInt(_0x2f73dc(0xdf))/0x4+-parseInt(_0x2f73dc(0xda))/0x5+parseInt(_0x2f73dc(0xdd))/0x6+-parseInt(_0x2f73dc(0xcb))/0x7*(-parseInt(_0x2f73dc(0xbc))/0x8)+parseInt(_0x2f73dc(0xce))/0x9;if(_0x53c183===_0x33d597)break;else _0x1723a2['push'](_0x1723a2['shift']());}catch(_0x7266fa){_0x1723a2['push'](_0x1723a2['shift']());}}}(a10_0x47f8,0x48ecb));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['AnnErrorRender']=exports[a10_0xcfab66(0xc4)]=exports[a10_0xcfab66(0xc8)]=exports['getAnnErrorMsg']=exports[a10_0xcfab66(0xc0)]=exports['getAnnEnumArray']=exports['getAnnEnumList']=exports[a10_0xcfab66(0xbd)]=exports[a10_0xcfab66(0xe0)]=exports[a10_0xcfab66(0xc3)]=exports[a10_0xcfab66(0xde)]=exports[a10_0xcfab66(0xca)]=exports[a10_0xcfab66(0xc6)]=exports[a10_0xcfab66(0xcc)]=exports[a10_0xcfab66(0xd7)]=exports[a10_0xcfab66(0xd2)]=exports['mathjs']=exports['fsplus']=exports[a10_0xcfab66(0xd4)]=exports[a10_0xcfab66(0xc7)]=void 0x0;const dayjs=require(a10_0xcfab66(0xd7));exports['dayjs']=dayjs;const urllib=require(a10_0xcfab66(0xd4));exports[a10_0xcfab66(0xd4)]=urllib;const mathjs=require('mathjs');exports[a10_0xcfab66(0xdc)]=mathjs;const lodash=require(a10_0xcfab66(0xd2));exports[a10_0xcfab66(0xd2)]=lodash;const fsplus=require(a10_0xcfab66(0xdb));function a10_0x4c14(_0x120a3c,_0x741587){const _0x47f826=a10_0x47f8();return a10_0x4c14=function(_0x4c1418,_0x5c3cd3){_0x4c1418=_0x4c1418-0xbc;let _0x3e13a1=_0x47f826[_0x4c1418];return _0x3e13a1;},a10_0x4c14(_0x120a3c,_0x741587);}exports[a10_0xcfab66(0xc2)]=fsplus;const collect_js_1=require(a10_0xcfab66(0xd8));Object[a10_0xcfab66(0xcf)](exports,'collect',{'enumerable':!![],'get':function(){return collect_js_1['collect'];}});const sleep_1=require(a10_0xcfab66(0xd3));Object[a10_0xcfab66(0xcf)](exports,a10_0xcfab66(0xcc),{'enumerable':!![],'get':function(){return sleep_1['sleep'];}});const include_1=require(a10_0xcfab66(0xc5));Object[a10_0xcfab66(0xcf)](exports,a10_0xcfab66(0xca),{'enumerable':!![],'get':function(){const _0x84e85b=a10_0xcfab66;return include_1[_0x84e85b(0xca)];}});const globDir_1=require('./helper/globDir');Object[a10_0xcfab66(0xcf)](exports,a10_0xcfab66(0xde),{'enumerable':!![],'get':function(){const _0x47211a=a10_0xcfab66;return globDir_1[_0x47211a(0xde)];}});const fileMd5_1=require('./helper/fileMd5');Object[a10_0xcfab66(0xcf)](exports,a10_0xcfab66(0xc3),{'enumerable':!![],'get':function(){const _0x25e525=a10_0xcfab66;return fileMd5_1[_0x25e525(0xc3)];}});const AnnError_1=require(a10_0xcfab66(0xd6));Object['defineProperty'](exports,'AnnError',{'enumerable':!![],'get':function(){return AnnError_1['AnnError'];}});const AnnErrorRender_1=require(a10_0xcfab66(0xbe));Object[a10_0xcfab66(0xcf)](exports,'AnnErrorRender',{'enumerable':!![],'get':function(){const _0x36640e=a10_0xcfab66;return AnnErrorRender_1[_0x36640e(0xd0)];}});const AnnErrorMsg_1=require(a10_0xcfab66(0xc9));Object[a10_0xcfab66(0xcf)](exports,a10_0xcfab66(0xc0),{'enumerable':!![],'get':function(){const _0x4a69d5=a10_0xcfab66;return AnnErrorMsg_1[_0x4a69d5(0xc0)];}}),Object[a10_0xcfab66(0xcf)](exports,a10_0xcfab66(0xe3),{'enumerable':!![],'get':function(){const _0x588047=a10_0xcfab66;return AnnErrorMsg_1[_0x588047(0xe3)];}}),Object[a10_0xcfab66(0xcf)](exports,'getAnnErrorList',{'enumerable':!![],'get':function(){const _0x43ef1e=a10_0xcfab66;return AnnErrorMsg_1[_0x43ef1e(0xc8)];}});function a10_0x47f8(){const _0x5ebfaa=['./configuration','getAnnErrorMsg','72mcXeFQ','getAnnEnumMsg','./exception/AnnErrorRender','1438QYmfDi','AnnErrorMsg','getAnnEnumList','fsplus','fileMd5','AnnError','./helper/include','collect','Configuration','getAnnErrorList','./decorator/AnnErrorMsg','include','284725XcAITx','sleep','1205490ZuLYTp','4895433okUZeX','defineProperty','AnnErrorRender','CustomConfiguration','lodash','./helper/sleep','urllib','./decorator/AnnEnumMsg','./exception/AnnError','dayjs','collect.js','getAnnEnumArray','975350xqdUzU','fs-extra','mathjs','1647996lZAfUI','globDir','2383640rOMbot','AnnEnumMsg','691tFRmUW'];a10_0x47f8=function(){return _0x5ebfaa;};return a10_0x47f8();}const AnnEnumMsg_1=require(a10_0xcfab66(0xd5));Object[a10_0xcfab66(0xcf)](exports,'AnnEnumMsg',{'enumerable':!![],'get':function(){const _0x4e43c5=a10_0xcfab66;return AnnEnumMsg_1[_0x4e43c5(0xe0)];}}),Object[a10_0xcfab66(0xcf)](exports,'getAnnEnumMsg',{'enumerable':!![],'get':function(){const _0x1612b7=a10_0xcfab66;return AnnEnumMsg_1[_0x1612b7(0xbd)];}}),Object[a10_0xcfab66(0xcf)](exports,'getAnnEnumList',{'enumerable':!![],'get':function(){return AnnEnumMsg_1['getAnnEnumList'];}}),Object[a10_0xcfab66(0xcf)](exports,a10_0xcfab66(0xd9),{'enumerable':!![],'get':function(){const _0x48fb79=a10_0xcfab66;return AnnEnumMsg_1[_0x48fb79(0xd9)];}});var configuration_1=require(a10_0xcfab66(0xe2));Object[a10_0xcfab66(0xcf)](exports,a10_0xcfab66(0xc7),{'enumerable':!![],'get':function(){const _0x88055=a10_0xcfab66;return configuration_1[_0x88055(0xd1)];}}),(global[a10_0xcfab66(0xd4)]=urllib,global[a10_0xcfab66(0xc2)]=fsplus,global[a10_0xcfab66(0xdc)]=mathjs,global[a10_0xcfab66(0xd2)]=lodash),(global['dayjs']=dayjs,global['sleep']=sleep_1['sleep'],global[a10_0xcfab66(0xc6)]=collect_js_1[a10_0xcfab66(0xc6)],global[a10_0xcfab66(0xca)]=include_1[a10_0xcfab66(0xca)],global[a10_0xcfab66(0xde)]=globDir_1[a10_0xcfab66(0xde)],global['fileMd5']=fileMd5_1[a10_0xcfab66(0xc3)]),(global[a10_0xcfab66(0xe0)]=AnnEnumMsg_1[a10_0xcfab66(0xe0)],global[a10_0xcfab66(0xbd)]=AnnEnumMsg_1['getAnnEnumMsg'],global[a10_0xcfab66(0xc1)]=AnnEnumMsg_1[a10_0xcfab66(0xc1)],global['getAnnEnumArray']=AnnEnumMsg_1['getAnnEnumArray']),(global['AnnErrorMsg']=AnnErrorMsg_1[a10_0xcfab66(0xc0)],global[a10_0xcfab66(0xe3)]=AnnErrorMsg_1['getAnnErrorMsg'],global[a10_0xcfab66(0xc8)]=AnnErrorMsg_1['getAnnErrorList'],global['AnnError']=AnnError_1['AnnError'],global['AnnErrorRender']=AnnErrorRender_1[a10_0xcfab66(0xd0)]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anncic-api/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.16",
|
|
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": "0ff6324a04283726d1e958f88999e4bbac666af5"
|
|
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
|
-
}
|