@anncic-api/core 1.5.9 → 1.5.11
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/common.js +1 -1
- package/dist/helper/fileMd5.js +1 -1
- package/dist/helper/globDir.js +1 -1
- package/dist/helper/hideSensitive.d.ts +8 -0
- package/dist/helper/hideSensitive.js +1 -0
- package/dist/helper/include.js +1 -1
- package/dist/helper/sleep.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/index.d.ts +10 -0
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a0_0x26bc1e=a0_0x4e81;(function(_0x5459a4,_0x5ed28){var _0x449ada=a0_0x4e81,_0x3e948a=_0x5459a4();while(!![]){try{var _0x41f9c4=-parseInt(_0x449ada(0x196))/0x1+-parseInt(_0x449ada(0x1a2))/0x2+parseInt(_0x449ada(0x198))/0x3+parseInt(_0x449ada(0x1a4))/0x4+parseInt(_0x449ada(0x199))/0x5*(parseInt(_0x449ada(0x197))/0x6)+-parseInt(_0x449ada(0x19c))/0x7*(-parseInt(_0x449ada(0x193))/0x8)+parseInt(_0x449ada(0x1a1))/0x9*(parseInt(_0x449ada(0x19b))/0xa);if(_0x41f9c4===_0x5ed28)break;else _0x3e948a['push'](_0x3e948a['shift']());}catch(_0x1856ad){_0x3e948a['push'](_0x3e948a['shift']());}}}(a0_0x5c0d,0xbcfb4));var a0_0x3b70c6=(function(){var _0xd27109=!![];return function(_0x32c82e,_0x2fb3f2){var _0x1a1098=_0xd27109?function(){if(_0x2fb3f2){var _0x33df06=_0x2fb3f2['apply'](_0x32c82e,arguments);return _0x2fb3f2=null,_0x33df06;}}:function(){};return _0xd27109=![],_0x1a1098;};}()),a0_0x137201=a0_0x3b70c6(this,function(){var _0x3a5e03=a0_0x4e81;return a0_0x137201[_0x3a5e03(0x195)]()[_0x3a5e03(0x1a3)](_0x3a5e03(0x19a))[_0x3a5e03(0x195)]()[_0x3a5e03(0x19d)](a0_0x137201)['search']('(((.+)+)+)+$');});a0_0x137201();function a0_0x4e81(_0x2bef96,_0x241abb){var _0x43fbf3=a0_0x5c0d();return a0_0x4e81=function(_0x137201,_0x3b70c6){_0x137201=_0x137201-0x192;var _0x5c0d21=_0x43fbf3[_0x137201];return _0x5c0d21;},a0_0x4e81(_0x2bef96,_0x241abb);}'use strict';Object[a0_0x26bc1e(0x19e)](exports,a0_0x26bc1e(0x1a0),{'value':!![]}),exports[a0_0x26bc1e(0x194)]=_0x530524=>{var _0x4eda15=a0_0x26bc1e;return{'midwayLogger':{'default':{'maxSize':'1m','dir':_0x530524[_0x4eda15(0x19f)]+_0x4eda15(0x192)}}};};function a0_0x5c0d(){var _0x1f751a=['constructor','defineProperty','appDir','__esModule','5517UrvDgY','134114yWXKyq','search','854944PFDGfs','/runtime','944ggNlRG','default','toString','1377228OiDgDq','18rNnVEv','1677624ceBZjL','260605ndSpuE','(((.+)+)+)+$','13140etnQWr','28686QzHUeE'];a0_0x5c0d=function(){return _0x1f751a;};return a0_0x5c0d();}
|
package/dist/configuration.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a1_0x1c5bf3=a1_0xd624;(function(_0x3247ec,_0x1adedc){const _0x22fb79=a1_0xd624,_0x599fe9=_0x3247ec();while(!![]){try{const _0x1a05c1=-parseInt(_0x22fb79(0xab))/0x1*(parseInt(_0x22fb79(0x80))/0x2)+parseInt(_0x22fb79(0xa7))/0x3+-parseInt(_0x22fb79(0x81))/0x4*(parseInt(_0x22fb79(0x94))/0x5)+-parseInt(_0x22fb79(0x8f))/0x6+parseInt(_0x22fb79(0x8c))/0x7+parseInt(_0x22fb79(0xac))/0x8+parseInt(_0x22fb79(0x7e))/0x9;if(_0x1a05c1===_0x1adedc)break;else _0x599fe9['push'](_0x599fe9['shift']());}catch(_0xa2b442){_0x599fe9['push'](_0x599fe9['shift']());}}}(a1_0x2f0d,0x691b3));const a1_0x34e66b=(function(){let _0x2e4443=!![];return function(_0x5e8116,_0xd69826){const _0x5ea252=_0x2e4443?function(){const _0x168fc8=a1_0xd624;if(_0xd69826){const _0x22f454=_0xd69826[_0x168fc8(0x9a)](_0x5e8116,arguments);return _0xd69826=null,_0x22f454;}}:function(){};return _0x2e4443=![],_0x5ea252;};}()),a1_0x5527b2=a1_0x34e66b(this,function(){const _0x5c941c=a1_0xd624;return a1_0x5527b2[_0x5c941c(0x95)]()[_0x5c941c(0x72)]('(((.+)+)+)+$')['toString']()[_0x5c941c(0x7b)](a1_0x5527b2)[_0x5c941c(0x72)](_0x5c941c(0x88));});function a1_0x2f0d(){const _0x9ceb4d=['_matchedRoute','faas','koa','1773sbcJIg','3171816SmUsso','application','environment','isDevelopmentEnvironment','search','logger','error','Inject','MidwayEnvironmentService','egg','prototype','MidwayApplicationManager','CustomConfiguration','constructor','express','NotFoundError','7295580RBqwES','body','606zvfyYe','1844524ApIhRj','request','@midwayjs/core','local','getOwnPropertyDescriptor','__decorate','getApplications','(((.+)+)+)+$','code','object','forEach','3378662hnWpnW','useMiddleware','UNKNOW','1808304OMlIXa','defineProperty','length','onReady','./exception/AnnError','5dwWRgq','toString','stack','__metadata','网络丢失,请稍后重试。','./exception/AnnErrorRender','apply','AnnErrorRender','design:type','\x20at\x20','message','anncic-api:core','getCurrentEnvironment','decorate','Configuration','function','metadata','split','AnnError','121458IfStpH'];a1_0x2f0d=function(){return _0x9ceb4d;};return a1_0x2f0d();}function a1_0xd624(_0x2c3814,_0x14b0ec){const _0x3cb654=a1_0x2f0d();return a1_0xd624=function(_0x5527b2,_0x34e66b){_0x5527b2=_0x5527b2-0x6f;let _0x2f0db7=_0x3cb654[_0x5527b2];return _0x2f0db7;},a1_0xd624(_0x2c3814,_0x14b0ec);}a1_0x5527b2();'use strict';var __decorate=this&&this[a1_0x1c5bf3(0x86)]||function(_0x2f0c06,_0x2d5eb7,_0xa9b626,_0x23f60d){const _0xdf438c=a1_0x1c5bf3;var _0x534f00=arguments[_0xdf438c(0x91)],_0x5845cf=_0x534f00<0x3?_0x2d5eb7:_0x23f60d===null?_0x23f60d=Object[_0xdf438c(0x85)](_0x2d5eb7,_0xa9b626):_0x23f60d,_0x4ef376;if(typeof Reflect==='object'&&typeof Reflect['decorate']===_0xdf438c(0xa3))_0x5845cf=Reflect[_0xdf438c(0xa1)](_0x2f0c06,_0x2d5eb7,_0xa9b626,_0x23f60d);else{for(var _0xfccf34=_0x2f0c06['length']-0x1;_0xfccf34>=0x0;_0xfccf34--)if(_0x4ef376=_0x2f0c06[_0xfccf34])_0x5845cf=(_0x534f00<0x3?_0x4ef376(_0x5845cf):_0x534f00>0x3?_0x4ef376(_0x2d5eb7,_0xa9b626,_0x5845cf):_0x4ef376(_0x2d5eb7,_0xa9b626))||_0x5845cf;}return _0x534f00>0x3&&_0x5845cf&&Object[_0xdf438c(0x90)](_0x2d5eb7,_0xa9b626,_0x5845cf),_0x5845cf;},__metadata=this&&this[a1_0x1c5bf3(0x97)]||function(_0x16c0f9,_0x3f5870){const _0x5befce=a1_0x1c5bf3;if(typeof Reflect===_0x5befce(0x8a)&&typeof Reflect[_0x5befce(0xa4)]==='function')return Reflect[_0x5befce(0xa4)](_0x16c0f9,_0x3f5870);};Object[a1_0x1c5bf3(0x90)](exports,'__esModule',{'value':!![]}),exports[a1_0x1c5bf3(0x7a)]=void 0x0;const core_1=require(a1_0x1c5bf3(0x83)),core_2=require('@midwayjs/core'),AnnError_1=require(a1_0x1c5bf3(0x93)),AnnErrorRender_1=require(a1_0x1c5bf3(0x99)),ConfigDefault=require('./config/config.default');let CustomConfiguration=class CustomConfiguration{async[a1_0x1c5bf3(0x92)](){const _0x2da06a=a1_0x1c5bf3;this[_0x2da06a(0x6f)][_0x2da06a(0x87)]([_0x2da06a(0xaa),_0x2da06a(0xa9),_0x2da06a(0x7c),_0x2da06a(0x77)])[_0x2da06a(0x8b)](_0x2cd217=>{const _0x5ee8ac=_0x2da06a;_0x2cd217[_0x5ee8ac(0x8d)](async(_0x56095d,_0x4af2f1)=>{const _0x5d61c3=_0x5ee8ac;var _0x52a7c1,_0x5048eb,_0x46dd14;try{await _0x4af2f1();}catch(_0x20d3cd){if(_0x20d3cd instanceof AnnErrorRender_1[_0x5d61c3(0x9b)])await _0x20d3cd['render'](_0x56095d,_0x2cd217);else{if(_0x20d3cd instanceof AnnError_1[_0x5d61c3(0xa6)]){const _0x179ccc=_0x20d3cd['response']||{'code':_0x20d3cd[_0x5d61c3(0x89)]};!(_0x179ccc===null||_0x179ccc===void 0x0?void 0x0:_0x179ccc[_0x5d61c3(0x9e)])&&(_0x20d3cd===null||_0x20d3cd===void 0x0?void 0x0:_0x20d3cd[_0x5d61c3(0x9e)])&&(_0x179ccc[_0x5d61c3(0x9e)]=_0x20d3cd[_0x5d61c3(0x9e)]),this['environment'][_0x5d61c3(0xa0)]()==_0x5d61c3(0x84)?(!_0x179ccc['error']&&(_0x179ccc[_0x5d61c3(0x74)]={}),!((_0x52a7c1=_0x179ccc===null||_0x179ccc===void 0x0?void 0x0:_0x179ccc[_0x5d61c3(0x74)])===null||_0x52a7c1===void 0x0?void 0x0:_0x52a7c1[_0x5d61c3(0x9e)])&&(_0x20d3cd===null||_0x20d3cd===void 0x0?void 0x0:_0x20d3cd[_0x5d61c3(0x9e)])&&(_0x179ccc[_0x5d61c3(0x74)][_0x5d61c3(0x9e)]=_0x20d3cd['message']),!((_0x5048eb=_0x179ccc===null||_0x179ccc===void 0x0?void 0x0:_0x179ccc[_0x5d61c3(0x74)])===null||_0x5048eb===void 0x0?void 0x0:_0x5048eb[_0x5d61c3(0x96)])&&(_0x20d3cd===null||_0x20d3cd===void 0x0?void 0x0:_0x20d3cd[_0x5d61c3(0x96)])&&(_0x179ccc[_0x5d61c3(0x74)][_0x5d61c3(0x96)]=_0x20d3cd[_0x5d61c3(0x96)][_0x5d61c3(0xa5)](_0x5d61c3(0x9d)))):delete _0x179ccc['error'],_0x56095d['body']=_0x179ccc;}else{if(_0x20d3cd instanceof core_2['httpError'][_0x5d61c3(0x7d)]){}else{if(_0x20d3cd instanceof Error){if(this['environment'][_0x5d61c3(0x71)]())console['error'](_0x20d3cd);else typeof((_0x46dd14=_0x56095d===null||_0x56095d===void 0x0?void 0x0:_0x56095d[_0x5d61c3(0x73)])===null||_0x46dd14===void 0x0?void 0x0:_0x46dd14[_0x5d61c3(0x74)])==_0x5d61c3(0xa3)&&(_0x20d3cd['matched']=(_0x56095d===null||_0x56095d===void 0x0?void 0x0:_0x56095d[_0x5d61c3(0xa8)])||'',_0x20d3cd[_0x5d61c3(0x82)]=(_0x56095d===null||_0x56095d===void 0x0?void 0x0:_0x56095d['request'])||{},_0x56095d['logger'][_0x5d61c3(0x74)](_0x20d3cd));_0x56095d[_0x5d61c3(0x7f)]={'code':AnnError_1['AnnError'][_0x5d61c3(0x8e)],'message':_0x5d61c3(0x98)};}}}}}});});}};__decorate([(0x0,core_1['Inject'])(),__metadata(a1_0x1c5bf3(0x9c),core_2[a1_0x1c5bf3(0x79)])],CustomConfiguration[a1_0x1c5bf3(0x78)],a1_0x1c5bf3(0x6f),void 0x0),__decorate([(0x0,core_1[a1_0x1c5bf3(0x75)])(),__metadata(a1_0x1c5bf3(0x9c),core_2[a1_0x1c5bf3(0x76)])],CustomConfiguration[a1_0x1c5bf3(0x78)],a1_0x1c5bf3(0x70),void 0x0),CustomConfiguration=__decorate([(0x0,core_1[a1_0x1c5bf3(0xa2)])({'namespace':a1_0x1c5bf3(0x9f),'conflictCheck':![],'importConfigs':[{'default':ConfigDefault}]})],CustomConfiguration),exports[a1_0x1c5bf3(0x7a)]=CustomConfiguration;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a2_0x51b733=a2_0x4c74;(function(_0x271341,_0xf7328d){const _0x4bb9c5=a2_0x4c74,_0x211820=_0x271341();while(!![]){try{const _0x26dab6=parseInt(_0x4bb9c5(0x16d))/0x1*(parseInt(_0x4bb9c5(0x185))/0x2)+parseInt(_0x4bb9c5(0x16f))/0x3+parseInt(_0x4bb9c5(0x179))/0x4+-parseInt(_0x4bb9c5(0x180))/0x5*(-parseInt(_0x4bb9c5(0x167))/0x6)+parseInt(_0x4bb9c5(0x174))/0x7+parseInt(_0x4bb9c5(0x16c))/0x8*(parseInt(_0x4bb9c5(0x187))/0x9)+parseInt(_0x4bb9c5(0x173))/0xa*(-parseInt(_0x4bb9c5(0x186))/0xb);if(_0x26dab6===_0xf7328d)break;else _0x211820['push'](_0x211820['shift']());}catch(_0xfd7340){_0x211820['push'](_0x211820['shift']());}}}(a2_0x4bf1,0x75184));function a2_0x4c74(_0x2625c2,_0x797f21){const _0x2e6288=a2_0x4bf1();return a2_0x4c74=function(_0x20254a,_0x1ebc3a){_0x20254a=_0x20254a-0x167;let _0x4bf1fa=_0x2e6288[_0x20254a];return _0x4bf1fa;},a2_0x4c74(_0x2625c2,_0x797f21);}const a2_0x1ebc3a=(function(){let _0x4d7f34=!![];return function(_0x24b6d2,_0x5484f1){const _0x287926=_0x4d7f34?function(){const _0x5d9ce5=a2_0x4c74;if(_0x5484f1){const _0xb9151d=_0x5484f1[_0x5d9ce5(0x17d)](_0x24b6d2,arguments);return _0x5484f1=null,_0xb9151d;}}:function(){};return _0x4d7f34=![],_0x287926;};}()),a2_0x20254a=a2_0x1ebc3a(this,function(){const _0x2ce9f7=a2_0x4c74;return a2_0x20254a['toString']()[_0x2ce9f7(0x17e)](_0x2ce9f7(0x169))[_0x2ce9f7(0x183)]()['constructor'](a2_0x20254a)['search'](_0x2ce9f7(0x169));});a2_0x20254a();'use strict';Object['defineProperty'](exports,a2_0x51b733(0x17b),{'value':!![]}),exports[a2_0x51b733(0x16a)]=exports['getAnnEnumList']=exports[a2_0x51b733(0x184)]=exports[a2_0x51b733(0x182)]=exports[a2_0x51b733(0x172)]=void 0x0;const core_1=require(a2_0x51b733(0x188)),ANN_ENUM='ann:enum';function AnnEnumMsg(_0x4b243e,_0x59b3db){return(_0x2eac29,_0x3c776a)=>{const _0x932fe=a2_0x4c74;var _0x2381a2;const _0x18242b=_0x2eac29===null||_0x2eac29===void 0x0?void 0x0:_0x2eac29[_0x3c776a],_0x1e2165=(0x0,core_1[_0x932fe(0x177)])(ANN_ENUM,_0x2eac29)||{};if(typeof _0x18242b==_0x932fe(0x16b)||_0x18242b===null)throw new Error(((_0x2eac29===null||_0x2eac29===void 0x0?void 0x0:_0x2eac29[_0x932fe(0x181)])||_0x2eac29)+_0x932fe(0x17c)+_0x3c776a+')must\x20be\x20\x27static\x20readonly\x20'+_0x3c776a+_0x932fe(0x175));if(typeof((_0x2381a2=_0x1e2165===null||_0x1e2165===void 0x0?void 0x0:_0x1e2165[_0x4b243e])===null||_0x2381a2===void 0x0?void 0x0:_0x2381a2[_0x18242b])!=='undefined')throw new Error(_0x932fe(0x17a)+_0x59b3db+'('+_0x4b243e+':'+_0x18242b+')\x20is\x20duplicated,please\x20check\x20before\x20adding');!(_0x1e2165===null||_0x1e2165===void 0x0?void 0x0:_0x1e2165[_0x4b243e])&&(_0x1e2165[_0x4b243e]={}),_0x1e2165[_0x4b243e][_0x18242b]={'targetKey':_0x3c776a,'targetMsg':_0x59b3db,'targetCode':_0x18242b},(0x0,core_1[_0x932fe(0x178)])(ANN_ENUM,_0x1e2165,_0x2eac29);};}exports[a2_0x51b733(0x172)]=AnnEnumMsg;function getAnnEnumMsg(_0x16e8df,_0x22fa45,_0x5a36e6){const _0xee8992=a2_0x51b733;var _0x58df86,_0x1236e9;const _0x559d40=(0x0,core_1[_0xee8992(0x177)])(ANN_ENUM,_0x16e8df)||{};if(typeof _0x5a36e6==_0xee8992(0x16b)||_0x5a36e6===null)return'';if(typeof((_0x58df86=_0x559d40===null||_0x559d40===void 0x0?void 0x0:_0x559d40[_0x22fa45])===null||_0x58df86===void 0x0?void 0x0:_0x58df86[_0x5a36e6])===_0xee8992(0x16b))throw new Error(_0xee8992(0x17a)+_0x22fa45+':'+_0x5a36e6+_0xee8992(0x17f));return((_0x1236e9=_0x559d40[_0x22fa45][_0x5a36e6])===null||_0x1236e9===void 0x0?void 0x0:_0x1236e9[_0xee8992(0x170)])||undefined;}exports['getAnnEnumMsg']=getAnnEnumMsg;function getAnnEnumMap(_0x1aa201,_0x29a00e){const _0x247b63=a2_0x51b733;var _0x532092,_0x3f3a4a,_0x2dd8b7,_0x132827;const _0x1976c4={},_0x155c0b=(0x0,core_1[_0x247b63(0x177)])(ANN_ENUM,_0x1aa201)||{};if(_0x155c0b===null||_0x155c0b===void 0x0?void 0x0:_0x155c0b[_0x29a00e])for(const _0x552cde in _0x155c0b[_0x29a00e]){if(typeof((_0x3f3a4a=(_0x532092=_0x155c0b[_0x29a00e])===null||_0x532092===void 0x0?void 0x0:_0x532092[_0x552cde])===null||_0x3f3a4a===void 0x0?void 0x0:_0x3f3a4a[_0x247b63(0x170)])===_0x247b63(0x16b))continue;if(typeof((_0x132827=(_0x2dd8b7=_0x155c0b[_0x29a00e])===null||_0x2dd8b7===void 0x0?void 0x0:_0x2dd8b7[_0x552cde])===null||_0x132827===void 0x0?void 0x0:_0x132827[_0x247b63(0x171)])===_0x247b63(0x16b))continue;_0x1976c4[_0x155c0b[_0x29a00e][_0x552cde][_0x247b63(0x170)]]=_0x155c0b[_0x29a00e][_0x552cde]['targetCode'];}return _0x1976c4;}exports[a2_0x51b733(0x184)]=getAnnEnumMap;function getAnnEnumList(_0x4799b8,_0x4b5b2e){const _0x4fc75a=a2_0x51b733;var _0x2697c9,_0x904d64,_0x4912af,_0x5505a3;const _0x15f184=[],_0xe46505=(0x0,core_1[_0x4fc75a(0x177)])(ANN_ENUM,_0x4799b8)||{};if(_0xe46505===null||_0xe46505===void 0x0?void 0x0:_0xe46505[_0x4b5b2e])for(const _0x52e9e3 in _0xe46505[_0x4b5b2e]){if(typeof((_0x904d64=(_0x2697c9=_0xe46505[_0x4b5b2e])===null||_0x2697c9===void 0x0?void 0x0:_0x2697c9[_0x52e9e3])===null||_0x904d64===void 0x0?void 0x0:_0x904d64[_0x4fc75a(0x170)])===_0x4fc75a(0x16b))continue;if(typeof((_0x5505a3=(_0x4912af=_0xe46505[_0x4b5b2e])===null||_0x4912af===void 0x0?void 0x0:_0x4912af[_0x52e9e3])===null||_0x5505a3===void 0x0?void 0x0:_0x5505a3[_0x4fc75a(0x171)])===_0x4fc75a(0x16b))continue;_0x15f184[_0x4fc75a(0x168)]({'label':_0xe46505[_0x4b5b2e][_0x52e9e3]['targetMsg'],'value':_0xe46505[_0x4b5b2e][_0x52e9e3][_0x4fc75a(0x171)]});}return _0x15f184;}exports[a2_0x51b733(0x176)]=getAnnEnumList;function getAnnEnumArray(_0x5f23eb,_0x17d276,_0x47c400=[]){const _0x2ebc5d=a2_0x51b733;var _0x55d2e0,_0x5293b8,_0x34e162,_0x2876b1;const _0x1051de=[],_0x24d639=(0x0,core_1['getClassMetadata'])(ANN_ENUM,_0x5f23eb)||{};if(_0x24d639===null||_0x24d639===void 0x0?void 0x0:_0x24d639[_0x17d276])for(const _0x530346 in _0x24d639[_0x17d276]){if(typeof((_0x5293b8=(_0x55d2e0=_0x24d639[_0x17d276])===null||_0x55d2e0===void 0x0?void 0x0:_0x55d2e0[_0x530346])===null||_0x5293b8===void 0x0?void 0x0:_0x5293b8[_0x2ebc5d(0x170)])==='undefined')continue;if(typeof((_0x2876b1=(_0x34e162=_0x24d639[_0x17d276])===null||_0x34e162===void 0x0?void 0x0:_0x34e162[_0x530346])===null||_0x2876b1===void 0x0?void 0x0:_0x2876b1[_0x2ebc5d(0x171)])===_0x2ebc5d(0x16b))continue;_0x47c400[_0x2ebc5d(0x16e)](_0x24d639[_0x17d276][_0x530346]['targetCode'])==-0x1&&_0x1051de[_0x2ebc5d(0x168)](_0x24d639[_0x17d276][_0x530346][_0x2ebc5d(0x171)]);}return _0x1051de;}function a2_0x4bf1(){const _0x2b40f2=['indexOf','936615PsEDMm','targetMsg','targetCode','AnnEnumMsg','13425660gxDLrl','547687wdhunx','\x20=\x20number\x20|\x20string;','getAnnEnumList','getClassMetadata','saveClassMetadata','472740uXceZN','AnnEnumMsg:\x20','__esModule','\x20Property(','apply','search','\x20is\x20not\x20duplicated','42430LXXPLk','name','getAnnEnumMsg','toString','getAnnEnumMap','237242rNvIOU','11IEaBNz','9RkSaXl','@midwayjs/core','294lSBKzl','push','(((.+)+)+)+$','getAnnEnumArray','undefined','6232960HsXvDU','1Nyrdeh'];a2_0x4bf1=function(){return _0x2b40f2;};return a2_0x4bf1();}exports[a2_0x51b733(0x16a)]=getAnnEnumArray;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x4b9ab0=a3_0x30ff;(function(_0x32ab75,_0x3fc0f1){const _0x923c21=a3_0x30ff,_0x21ab86=_0x32ab75();while(!![]){try{const _0x547a2b=-parseInt(_0x923c21(0x87))/0x1+parseInt(_0x923c21(0x8d))/0x2+parseInt(_0x923c21(0x95))/0x3*(parseInt(_0x923c21(0x92))/0x4)+-parseInt(_0x923c21(0x97))/0x5+parseInt(_0x923c21(0x89))/0x6+-parseInt(_0x923c21(0x85))/0x7+-parseInt(_0x923c21(0x83))/0x8;if(_0x547a2b===_0x3fc0f1)break;else _0x21ab86['push'](_0x21ab86['shift']());}catch(_0xead81){_0x21ab86['push'](_0x21ab86['shift']());}}}(a3_0x2c5d,0x93e46));const a3_0x48588e=(function(){let _0x3f6473=!![];return function(_0x28a6eb,_0x53b2d9){const _0xa08867=_0x3f6473?function(){if(_0x53b2d9){const _0x494f01=_0x53b2d9['apply'](_0x28a6eb,arguments);return _0x53b2d9=null,_0x494f01;}}:function(){};return _0x3f6473=![],_0xa08867;};}()),a3_0x42b663=a3_0x48588e(this,function(){const _0x18e05c=a3_0x30ff;return a3_0x42b663['toString']()[_0x18e05c(0x8e)](_0x18e05c(0x8a))[_0x18e05c(0x8c)]()[_0x18e05c(0x8f)](a3_0x42b663)[_0x18e05c(0x8e)]('(((.+)+)+)+$');});a3_0x42b663();'use strict';function a3_0x30ff(_0x50db63,_0x2a12f5){const _0x2e62a5=a3_0x2c5d();return a3_0x30ff=function(_0x42b663,_0x48588e){_0x42b663=_0x42b663-0x83;let _0x2c5d58=_0x2e62a5[_0x42b663];return _0x2c5d58;},a3_0x30ff(_0x50db63,_0x2a12f5);}Object[a3_0x4b9ab0(0x9a)](exports,'__esModule',{'value':!![]}),exports[a3_0x4b9ab0(0x94)]=exports[a3_0x4b9ab0(0x98)]=exports['getAnnErrorMsg']=void 0x0;const AnnErrorObj={};function getAnnErrorMsg(_0x3eb917){const _0xc5b496=a3_0x4b9ab0;var _0x5ad6b9,_0x1bca08;if(typeof _0x3eb917==_0xc5b496(0x90)||_0x3eb917===null)return undefined;if(typeof((_0x5ad6b9=AnnErrorObj===null||AnnErrorObj===void 0x0?void 0x0:AnnErrorObj[_0x3eb917])===null||_0x5ad6b9===void 0x0?void 0x0:_0x5ad6b9['message'])===_0xc5b496(0x90))throw new Error(_0xc5b496(0x96)+_0x3eb917+_0xc5b496(0x88));return((_0x1bca08=AnnErrorObj[_0x3eb917])===null||_0x1bca08===void 0x0?void 0x0:_0x1bca08[_0xc5b496(0x93)])||undefined;}exports[a3_0x4b9ab0(0x86)]=getAnnErrorMsg;function getAnnErrorList(){return AnnErrorObj;}exports[a3_0x4b9ab0(0x98)]=getAnnErrorList;function AnnErrorMsg(_0x578789){return(_0x20cb20,_0x41208d)=>{const _0x53ca0e=a3_0x30ff,_0x5851f=_0x20cb20===null||_0x20cb20===void 0x0?void 0x0:_0x20cb20[_0x41208d];if(typeof _0x5851f==='undefined'||_0x5851f===null)throw new Error(((_0x20cb20===null||_0x20cb20===void 0x0?void 0x0:_0x20cb20[_0x53ca0e(0x91)])||_0x20cb20)+_0x53ca0e(0x8b)+_0x41208d+_0x53ca0e(0x84)+_0x41208d+'\x20=\x20number;');if(typeof(AnnErrorObj===null||AnnErrorObj===void 0x0?void 0x0:AnnErrorObj[_0x5851f])!==_0x53ca0e(0x90))throw new Error(_0x53ca0e(0x96)+_0x578789+'('+_0x5851f+_0x53ca0e(0x99));AnnErrorObj[_0x5851f]={'code':_0x5851f,'message':_0x578789};};}function a3_0x2c5d(){const _0x3ec005=['AnnErrorMsg','3dqSPtd','AnnErrorMsg:\x20','1899970jkGGwZ','getAnnErrorList',')\x20is\x20duplicated,please\x20check\x20before\x20adding','defineProperty','2708048Pgbacl',')must\x20be\x20\x27static\x20readonly\x20','266623qGvuYR','getAnnErrorMsg','411377zCaifd','\x20is\x20not\x20duplicated','1103622dpdXVG','(((.+)+)+)+$','\x20Property(','toString','1866084PyaTmE','search','constructor','undefined','name','2627012Qnjxmp','message'];a3_0x2c5d=function(){return _0x3ec005;};return a3_0x2c5d();}exports[a3_0x4b9ab0(0x94)]=AnnErrorMsg;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a4_0x547c37=a4_0x2261;function a4_0x5d1d(){var _0x1fb808=['search','1073820PxKUBd','未知错误','getOwnPropertyDescriptor','(((.+)+)+)+$','code','AnnError','response','object','不存在对应数据','5271216uAJlbO','design:type','decorate','11264YdwBOt','__metadata','7447270eqSQMX','function','NOTFIND','参数错误','2jcVGgM','NOAUTH','4648818TleHck','9DFxQUD','toString','NOLOGIN','4761426xcQnNz','defineProperty','7567xvzPlO','PARAMS','UNKNOW','metadata','name','AnnErrorMsg','5721405uUEkdw','__decorate','getAnnErrorMsg','length'];a4_0x5d1d=function(){return _0x1fb808;};return a4_0x5d1d();}(function(_0x5c9480,_0x18e76e){var _0x5aba2b=a4_0x2261,_0x2bcee7=_0x5c9480();while(!![]){try{var _0x5e8fe6=parseInt(_0x5aba2b(0x1e8))/0x1+-parseInt(_0x5aba2b(0x1fa))/0x2*(parseInt(_0x5aba2b(0x200))/0x3)+-parseInt(_0x5aba2b(0x1f1))/0x4+parseInt(_0x5aba2b(0x1e3))/0x5+parseInt(_0x5aba2b(0x1fc))/0x6+parseInt(_0x5aba2b(0x1dd))/0x7*(parseInt(_0x5aba2b(0x1f4))/0x8)+-parseInt(_0x5aba2b(0x1fd))/0x9*(parseInt(_0x5aba2b(0x1f6))/0xa);if(_0x5e8fe6===_0x18e76e)break;else _0x2bcee7['push'](_0x2bcee7['shift']());}catch(_0x23b9eb){_0x2bcee7['push'](_0x2bcee7['shift']());}}}(a4_0x5d1d,0xd33ff));var a4_0x2e548d=(function(){var _0x54b468=!![];return function(_0xee1d5f,_0x58bec9){var _0x5cfe9b=_0x54b468?function(){if(_0x58bec9){var _0x359dd1=_0x58bec9['apply'](_0xee1d5f,arguments);return _0x58bec9=null,_0x359dd1;}}:function(){};return _0x54b468=![],_0x5cfe9b;};}()),a4_0x4eea43=a4_0x2e548d(this,function(){var _0x2ad339=a4_0x2261;return a4_0x4eea43[_0x2ad339(0x1fe)]()['search'](_0x2ad339(0x1eb))[_0x2ad339(0x1fe)]()['constructor'](a4_0x4eea43)[_0x2ad339(0x1e7)](_0x2ad339(0x1eb));});a4_0x4eea43();function a4_0x2261(_0x5f5248,_0x38a0e7){var _0x4dda87=a4_0x5d1d();return a4_0x2261=function(_0x4eea43,_0x2e548d){_0x4eea43=_0x4eea43-0x1dd;var _0x5d1d6d=_0x4dda87[_0x4eea43];return _0x5d1d6d;},a4_0x2261(_0x5f5248,_0x38a0e7);}'use strict';var __decorate=this&&this[a4_0x547c37(0x1e4)]||function(_0x99dd97,_0xd3a6ba,_0x27113a,_0x3d9882){var _0x23e5f1=a4_0x547c37,_0x28963e=arguments[_0x23e5f1(0x1e6)],_0x4e07e3=_0x28963e<0x3?_0xd3a6ba:_0x3d9882===null?_0x3d9882=Object[_0x23e5f1(0x1ea)](_0xd3a6ba,_0x27113a):_0x3d9882,_0x33c98c;if(typeof Reflect===_0x23e5f1(0x1ef)&&typeof Reflect[_0x23e5f1(0x1f3)]===_0x23e5f1(0x1f7))_0x4e07e3=Reflect[_0x23e5f1(0x1f3)](_0x99dd97,_0xd3a6ba,_0x27113a,_0x3d9882);else{for(var _0xacb082=_0x99dd97[_0x23e5f1(0x1e6)]-0x1;_0xacb082>=0x0;_0xacb082--)if(_0x33c98c=_0x99dd97[_0xacb082])_0x4e07e3=(_0x28963e<0x3?_0x33c98c(_0x4e07e3):_0x28963e>0x3?_0x33c98c(_0xd3a6ba,_0x27113a,_0x4e07e3):_0x33c98c(_0xd3a6ba,_0x27113a))||_0x4e07e3;}return _0x28963e>0x3&&_0x4e07e3&&Object[_0x23e5f1(0x201)](_0xd3a6ba,_0x27113a,_0x4e07e3),_0x4e07e3;},__metadata=this&&this[a4_0x547c37(0x1f5)]||function(_0x52dc8f,_0x2e808d){var _0x262c35=a4_0x547c37;if(typeof Reflect===_0x262c35(0x1ef)&&typeof Reflect['metadata']===_0x262c35(0x1f7))return Reflect[_0x262c35(0x1e0)](_0x52dc8f,_0x2e808d);};Object[a4_0x547c37(0x201)](exports,'__esModule',{'value':!![]}),exports[a4_0x547c37(0x1ed)]=void 0x0;const AnnErrorMsg_1=require('../decorator/AnnErrorMsg');class AnnError extends Error{constructor(_0x55cd74,_0x27e88e){var _0x3a7469=a4_0x547c37;super((0x0,AnnErrorMsg_1[_0x3a7469(0x1e5)])(_0x55cd74)),this[_0x3a7469(0x1e1)]=this['constructor'][_0x3a7469(0x1e1)],(this[_0x3a7469(0x1ec)]=_0x55cd74,this[_0x3a7469(0x1ee)]={'code':this[_0x3a7469(0x1ec)],..._0x27e88e||{}});}}AnnError['OK']=0x0,AnnError[a4_0x547c37(0x1df)]=0x4c4b40,AnnError[a4_0x547c37(0x1de)]=0x3df360,AnnError[a4_0x547c37(0x1f8)]=0x3da540,AnnError[a4_0x547c37(0x1ff)]=0x3d3010,AnnError[a4_0x547c37(0x1fb)]=0x3d7e30,__decorate([(0x0,AnnErrorMsg_1[a4_0x547c37(0x1e2)])('成功'),__metadata(a4_0x547c37(0x1f2),Object)],AnnError,'OK',void 0x0),__decorate([(0x0,AnnErrorMsg_1[a4_0x547c37(0x1e2)])(a4_0x547c37(0x1e9)),__metadata(a4_0x547c37(0x1f2),Object)],AnnError,a4_0x547c37(0x1df),void 0x0),__decorate([(0x0,AnnErrorMsg_1['AnnErrorMsg'])(a4_0x547c37(0x1f9)),__metadata(a4_0x547c37(0x1f2),Object)],AnnError,a4_0x547c37(0x1de),void 0x0),__decorate([(0x0,AnnErrorMsg_1[a4_0x547c37(0x1e2)])(a4_0x547c37(0x1f0)),__metadata(a4_0x547c37(0x1f2),Object)],AnnError,a4_0x547c37(0x1f8),void 0x0),__decorate([(0x0,AnnErrorMsg_1[a4_0x547c37(0x1e2)])('请登录后重试'),__metadata(a4_0x547c37(0x1f2),Object)],AnnError,a4_0x547c37(0x1ff),void 0x0),__decorate([(0x0,AnnErrorMsg_1[a4_0x547c37(0x1e2)])('没有权限执行该操作'),__metadata(a4_0x547c37(0x1f2),Object)],AnnError,'NOAUTH',void 0x0),exports[a4_0x547c37(0x1ed)]=AnnError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a5_0x219a(_0x308b82,_0x27ad4f){const _0x4c5462=a5_0x41a7();return a5_0x219a=function(_0xd92801,_0x19b7b0){_0xd92801=_0xd92801-0x95;let _0x41a738=_0x4c5462[_0xd92801];return _0x41a738;},a5_0x219a(_0x308b82,_0x27ad4f);}const a5_0x2fa0a8=a5_0x219a;(function(_0x36304c,_0x305a90){const _0x2481d5=a5_0x219a,_0x28929a=_0x36304c();while(!![]){try{const _0x515329=-parseInt(_0x2481d5(0x95))/0x1+parseInt(_0x2481d5(0x97))/0x2*(parseInt(_0x2481d5(0xa2))/0x3)+parseInt(_0x2481d5(0x9f))/0x4+-parseInt(_0x2481d5(0x9a))/0x5*(-parseInt(_0x2481d5(0x96))/0x6)+parseInt(_0x2481d5(0x9b))/0x7+-parseInt(_0x2481d5(0x99))/0x8*(-parseInt(_0x2481d5(0x98))/0x9)+-parseInt(_0x2481d5(0xa1))/0xa;if(_0x515329===_0x305a90)break;else _0x28929a['push'](_0x28929a['shift']());}catch(_0x27cace){_0x28929a['push'](_0x28929a['shift']());}}}(a5_0x41a7,0x3748e));function a5_0x41a7(){const _0xe3ce36=['(((.+)+)+)+$','1662788wNEBln','AnnError','8480980zlbusV','3McHvMj','./AnnError','247698Hthkti','596136nBrZaT','413322OAJEjs','117zielcB','67160hMeJzf','10oAiGIk','2744259PbifPO','search','toString'];a5_0x41a7=function(){return _0xe3ce36;};return a5_0x41a7();}const a5_0x19b7b0=(function(){let _0x3a54f0=!![];return function(_0x147c62,_0x2beff4){const _0x3aa897=_0x3a54f0?function(){if(_0x2beff4){const _0x2ed4d5=_0x2beff4['apply'](_0x147c62,arguments);return _0x2beff4=null,_0x2ed4d5;}}:function(){};return _0x3a54f0=![],_0x3aa897;};}()),a5_0xd92801=a5_0x19b7b0(this,function(){const _0x148500=a5_0x219a;return a5_0xd92801[_0x148500(0x9d)]()[_0x148500(0x9c)](_0x148500(0x9e))['toString']()['constructor'](a5_0xd92801)[_0x148500(0x9c)](_0x148500(0x9e));});a5_0xd92801();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['AnnErrorRender']=void 0x0;const AnnError_1=require(a5_0x2fa0a8(0xa3));class AnnErrorRender extends AnnError_1[a5_0x2fa0a8(0xa0)]{constructor(_0x552b03,_0x3c6ddd){super(_0x552b03,_0x3c6ddd);}}exports['AnnErrorRender']=AnnErrorRender;
|
package/dist/helper/common.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a6_0x2211(_0x130817,_0x307736){const _0x4b4097=a6_0xb177();return a6_0x2211=function(_0xcb7bde,_0x598995){_0xcb7bde=_0xcb7bde-0xad;let _0xb17777=_0x4b4097[_0xcb7bde];return _0xb17777;},a6_0x2211(_0x130817,_0x307736);}const a6_0x3d9e84=a6_0x2211;(function(_0x1acb97,_0x2121f4){const _0x28cd72=a6_0x2211,_0x3544fe=_0x1acb97();while(!![]){try{const _0x2e3abb=-parseInt(_0x28cd72(0xb5))/0x1+-parseInt(_0x28cd72(0xc5))/0x2*(-parseInt(_0x28cd72(0xaf))/0x3)+parseInt(_0x28cd72(0xc4))/0x4*(-parseInt(_0x28cd72(0xc1))/0x5)+parseInt(_0x28cd72(0xb1))/0x6+-parseInt(_0x28cd72(0xcb))/0x7+-parseInt(_0x28cd72(0xbe))/0x8*(parseInt(_0x28cd72(0xbc))/0x9)+parseInt(_0x28cd72(0xb3))/0xa;if(_0x2e3abb===_0x2121f4)break;else _0x3544fe['push'](_0x3544fe['shift']());}catch(_0x15171d){_0x3544fe['push'](_0x3544fe['shift']());}}}(a6_0xb177,0x8f24b));const a6_0x598995=(function(){let _0x162fc5=!![];return function(_0x10c3ad,_0x54e4f1){const _0x543d95=_0x162fc5?function(){if(_0x54e4f1){const _0x5576c1=_0x54e4f1['apply'](_0x10c3ad,arguments);return _0x54e4f1=null,_0x5576c1;}}:function(){};return _0x162fc5=![],_0x543d95;};}()),a6_0xcb7bde=a6_0x598995(this,function(){const _0x26bf7d=a6_0x2211;return a6_0xcb7bde[_0x26bf7d(0xcd)]()[_0x26bf7d(0xb2)](_0x26bf7d(0xce))[_0x26bf7d(0xcd)]()[_0x26bf7d(0xbf)](a6_0xcb7bde)[_0x26bf7d(0xb2)]('(((.+)+)+)+$');});a6_0xcb7bde();'use strict';Object[a6_0x3d9e84(0xb6)](exports,'__esModule',{'value':!![]}),exports[a6_0x3d9e84(0xc2)]=exports['aes_encode']=exports['base64_decode']=exports['base64_encode']=exports[a6_0x3d9e84(0xc6)]=exports[a6_0x3d9e84(0xd6)]=exports[a6_0x3d9e84(0xae)]=exports['getType']=void 0x0;const cryptojs=require('crypto-js');function getType(_0x26094e){const _0x5da440=a6_0x3d9e84,_0x5ea775=Object['prototype'][_0x5da440(0xcd)]['call'](_0x26094e);return _0x5ea775['substring'](0x8,_0x5ea775[_0x5da440(0xb7)]-0x1);}function a6_0xb177(){const _0x4d052d=['932230MqmtQb','defineProperty','length','ceil','stringify','AES','enc','387LaDXbm','padEnd','211272ZbqXuZ','constructor','pad','5oQJVrY','aes_decode','parse','3459732UOPofs','12WrPXcR','md5','string','Pkcs7','padding','ECB','118111jhSoqs','Base64','toString','(((.+)+)+)+$','mode','getType','substring','Utf8','split','round','aes_encode','random','base64_encode','toFixed','114615dUBaHm','join','3465714LcnBNH','search','27290890TmTBBJ','floor'];a6_0xb177=function(){return _0x4d052d;};return a6_0xb177();}exports[a6_0x3d9e84(0xd0)]=getType;function toFixed(_0x25e4b0,_0x9691ee=0x2,_0x464d45=a6_0x3d9e84(0xd4)){const _0x2f6f68=a6_0x3d9e84;_0x9691ee=parseInt(''+_0x9691ee);_0x9691ee<=0x0&&(_0x9691ee=0x0);const _0x12f4a2=_0x9691ee+0x1,_0xb5ef98=parseFloat(''+_0x25e4b0)[_0x2f6f68(0xae)](_0x12f4a2)[_0x2f6f68(0xd3)]('.');!_0xb5ef98[0x1]&&(_0xb5ef98[0x1]=_0xb5ef98[0x1][_0x2f6f68(0xbd)](_0x12f4a2+0x1,'0'));_0xb5ef98[0x1][_0x2f6f68(0xb7)]<_0x12f4a2&&(_0xb5ef98[0x1]=_0xb5ef98[0x1]['padEnd'](_0x12f4a2+0x1,'0'));_0xb5ef98[0x1][_0x2f6f68(0xb7)]>_0x12f4a2&&(_0xb5ef98[0x1]=_0xb5ef98[0x1][_0x2f6f68(0xd1)](0x0,_0x12f4a2));if(_0x464d45==_0x2f6f68(0xb8)){const _0x59ece7=Math[_0x2f6f68(0xb8)](parseFloat(''+_0xb5ef98['join']('.'))*parseInt('1'['padEnd'](_0x9691ee+0x1,'0')));return parseFloat(''+_0x59ece7/parseInt('1'['padEnd'](_0x9691ee+0x1,'0')));}else{if(_0x464d45==_0x2f6f68(0xb4))return parseFloat(((_0xb5ef98===null||_0xb5ef98===void 0x0?void 0x0:_0xb5ef98[0x0])||'0')+'.'+_0xb5ef98[0x1]['substring'](0x0,_0x9691ee));else{if(_0x464d45==_0x2f6f68(0xd4)){const _0x2c4dd6=Math[_0x2f6f68(0xd4)](parseFloat(''+_0xb5ef98[_0x2f6f68(0xb0)]('.'))*parseInt('1'[_0x2f6f68(0xbd)](_0x9691ee+0x1,'0')));return parseFloat(''+_0x2c4dd6/parseInt('1'['padEnd'](_0x9691ee+0x1,'0')));}else return 0x0;}}}exports[a6_0x3d9e84(0xae)]=toFixed;function random(_0x5e0217='',_0x59bf31=0xa,_0x2657db){const _0x4d98b9=a6_0x3d9e84,_0x430135=((_0x2657db===null||_0x2657db===void 0x0?void 0x0:_0x2657db[_0x4d98b9(0xb7)])>0x0?_0x2657db:['ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz','123456789'])['join']('');let _0x117f1c='',_0x285eda=_0x430135[_0x4d98b9(0xb7)];for(let _0x533ba9=0x0;_0x533ba9<_0x59bf31;_0x533ba9++){_0x117f1c+=_0x430135['charAt'](Math[_0x4d98b9(0xb4)](Math['random']()*_0x285eda));}return''+_0x5e0217+_0x117f1c;}exports[a6_0x3d9e84(0xd6)]=random;function md5(_0x2c0f20,_0xd4304c){return cryptojs['MD5'](_0x2c0f20,_0xd4304c)['toString']();}exports[a6_0x3d9e84(0xc6)]=md5;function base64_encode(_0x145fb6){const _0x55fe0c=a6_0x3d9e84;return cryptojs[_0x55fe0c(0xbb)]['Base64'][_0x55fe0c(0xb9)](cryptojs[_0x55fe0c(0xbb)][_0x55fe0c(0xd2)][_0x55fe0c(0xc3)](_0x145fb6));}exports[a6_0x3d9e84(0xad)]=base64_encode;function base64_decode(_0x3bbd31){const _0x368ced=a6_0x3d9e84;return cryptojs[_0x368ced(0xbb)][_0x368ced(0xcc)][_0x368ced(0xc3)](_0x3bbd31)[_0x368ced(0xcd)](cryptojs[_0x368ced(0xbb)][_0x368ced(0xd2)]);}exports['base64_decode']=base64_decode;function aes_encode(_0x1dc908,_0x25c0e2,_0x3f1adf={}){const _0x585f3f=a6_0x3d9e84;return typeof(_0x3f1adf===null||_0x3f1adf===void 0x0?void 0x0:_0x3f1adf['iv'])==_0x585f3f(0xc7)&&(_0x3f1adf['iv']=cryptojs[_0x585f3f(0xbb)]['Utf8']['parse'](_0x3f1adf['iv'])),cryptojs[_0x585f3f(0xba)]['encrypt'](cryptojs[_0x585f3f(0xbb)][_0x585f3f(0xd2)][_0x585f3f(0xc3)](_0x25c0e2),cryptojs[_0x585f3f(0xbb)][_0x585f3f(0xd2)][_0x585f3f(0xc3)](_0x1dc908),{..._0x3f1adf,'mode':(_0x3f1adf===null||_0x3f1adf===void 0x0?void 0x0:_0x3f1adf['mode'])||cryptojs[_0x585f3f(0xcf)][_0x585f3f(0xca)],'padding':(_0x3f1adf===null||_0x3f1adf===void 0x0?void 0x0:_0x3f1adf[_0x585f3f(0xc9)])||cryptojs[_0x585f3f(0xc0)][_0x585f3f(0xc8)]})[_0x585f3f(0xcd)]();}exports[a6_0x3d9e84(0xd5)]=aes_encode;function aes_decode(_0x307120,_0x22ac94,_0xab662f={}){const _0x14ac81=a6_0x3d9e84;return typeof(_0xab662f===null||_0xab662f===void 0x0?void 0x0:_0xab662f['iv'])==_0x14ac81(0xc7)&&(_0xab662f['iv']=cryptojs[_0x14ac81(0xbb)][_0x14ac81(0xd2)][_0x14ac81(0xc3)](_0xab662f['iv'])),cryptojs[_0x14ac81(0xbb)][_0x14ac81(0xd2)][_0x14ac81(0xb9)](cryptojs['AES']['decrypt'](_0x22ac94,cryptojs[_0x14ac81(0xbb)][_0x14ac81(0xd2)][_0x14ac81(0xc3)](_0x307120),{..._0xab662f,'mode':(_0xab662f===null||_0xab662f===void 0x0?void 0x0:_0xab662f[_0x14ac81(0xcf)])||cryptojs['mode'][_0x14ac81(0xca)],'padding':(_0xab662f===null||_0xab662f===void 0x0?void 0x0:_0xab662f[_0x14ac81(0xc9)])||cryptojs[_0x14ac81(0xc0)][_0x14ac81(0xc8)]}))[_0x14ac81(0xcd)]();}exports[a6_0x3d9e84(0xc2)]=aes_decode;
|
package/dist/helper/fileMd5.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7_0x35b79f=a7_0x273d;(function(_0x23ffed,_0x366154){const _0xa34169=a7_0x273d,_0x6c1793=_0x23ffed();while(!![]){try{const _0x4d6749=parseInt(_0xa34169(0x18b))/0x1*(parseInt(_0xa34169(0x181))/0x2)+parseInt(_0xa34169(0x182))/0x3+-parseInt(_0xa34169(0x190))/0x4*(-parseInt(_0xa34169(0x18a))/0x5)+parseInt(_0xa34169(0x183))/0x6*(parseInt(_0xa34169(0x193))/0x7)+parseInt(_0xa34169(0x18c))/0x8+-parseInt(_0xa34169(0x189))/0x9+-parseInt(_0xa34169(0x186))/0xa;if(_0x4d6749===_0x366154)break;else _0x6c1793['push'](_0x6c1793['shift']());}catch(_0x37c430){_0x6c1793['push'](_0x6c1793['shift']());}}}(a7_0x3d2f,0xaba97));function a7_0x273d(_0x17cd27,_0xbab2aa){const _0x53fb53=a7_0x3d2f();return a7_0x273d=function(_0x386c36,_0x245338){_0x386c36=_0x386c36-0x17f;let _0x3d2f84=_0x53fb53[_0x386c36];return _0x3d2f84;},a7_0x273d(_0x17cd27,_0xbab2aa);}const a7_0x245338=(function(){let _0x114e8b=!![];return function(_0x5ec9b3,_0x417baf){const _0x34b9f8=_0x114e8b?function(){const _0x3ef0d2=a7_0x273d;if(_0x417baf){const _0x3a3b5e=_0x417baf[_0x3ef0d2(0x195)](_0x5ec9b3,arguments);return _0x417baf=null,_0x3a3b5e;}}:function(){};return _0x114e8b=![],_0x34b9f8;};}()),a7_0x386c36=a7_0x245338(this,function(){const _0x6666cb=a7_0x273d;return a7_0x386c36[_0x6666cb(0x18f)]()[_0x6666cb(0x194)](_0x6666cb(0x198))[_0x6666cb(0x18f)]()[_0x6666cb(0x196)](a7_0x386c36)[_0x6666cb(0x194)](_0x6666cb(0x198));});a7_0x386c36();'use strict';Object[a7_0x35b79f(0x180)](exports,'__esModule',{'value':!![]}),exports[a7_0x35b79f(0x197)]=void 0x0;function a7_0x3d2f(){const _0x6d39ed=['hex','update','6183338kalAgm','search','apply','constructor','fileMd5','(((.+)+)+)+$','md5','error','bind','defineProperty','1065818uHvMRA','3122451EhRaEV','6YGZMNy','isFile','crypto','20062870hOokFY','createReadStream','digest','9711513NRkZHp','144500BbMSBs','1ocWKou','6258488oXedgx','stat','end','toString','76HckSNW'];a7_0x3d2f=function(){return _0x6d39ed;};return a7_0x3d2f();}const fs=require('fs'),crypto=require(a7_0x35b79f(0x185));function fileMd5(_0x476f0e){return new Promise((_0x3625b3,_0x4824c9)=>{const _0x45fd37=a7_0x273d;fs[_0x45fd37(0x18d)](_0x476f0e,(_0x264779,_0x1bf1f2)=>{const _0x1807fc=_0x45fd37;if(_0x264779)return _0x4824c9(_0x264779);if(!_0x1bf1f2[_0x1807fc(0x184)]())return _0x4824c9(new Error(_0x476f0e+'\x20is\x20not\x20file'));const _0x22b2c8=crypto['createHash'](_0x1807fc(0x199)),_0x460836=fs[_0x1807fc(0x187)](_0x476f0e);_0x460836['on']('data',_0x22b2c8[_0x1807fc(0x192)][_0x1807fc(0x17f)](_0x22b2c8)),_0x460836['on'](_0x1807fc(0x19a),_0x4ce44a=>_0x4824c9(_0x4ce44a)),_0x460836['on'](_0x1807fc(0x18e),()=>_0x3625b3(_0x22b2c8[_0x1807fc(0x188)](_0x1807fc(0x191))));});});}exports[a7_0x35b79f(0x197)]=fileMd5;
|
package/dist/helper/globDir.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a8_0x42bfc6=a8_0x244e;function a8_0x636a(){const _0x33dc82=['1367333ViziFP','266838gmkxUv','__findDirectory','normalize','readFileSync','resolve','976617UDXTdt','path','(((.+)+)+)+$','parent','test','1267080zPaLjs','forEach','apply','join','24woTBre','defineProperty','directory','push','keys','380778kVGvjl','1201677ywheOT','dir','modules','8435EDhNUo','globDir','toString','search','14URCTTZ','__findModules','statSync','readdirSync','2UFLSOb','regExp','parse','useSubdirectories','Can\x27t\x20Found\x20Module\x20','filename','constructor','__esModule','20XuGPvK','isDirectory'];a8_0x636a=function(){return _0x33dc82;};return a8_0x636a();}(function(_0x4323d3,_0x3063a5){const _0xa6f15b=a8_0x244e,_0x294878=_0x4323d3();while(!![]){try{const _0x1a5c8a=-parseInt(_0xa6f15b(0x1de))/0x1+-parseInt(_0xa6f15b(0x1d3))/0x2*(-parseInt(_0xa6f15b(0x1f2))/0x3)+-parseInt(_0xa6f15b(0x1e8))/0x4+parseInt(_0xa6f15b(0x1cb))/0x5+-parseInt(_0xa6f15b(0x1f1))/0x6*(parseInt(_0xa6f15b(0x1cf))/0x7)+parseInt(_0xa6f15b(0x1ec))/0x8*(parseInt(_0xa6f15b(0x1e3))/0x9)+parseInt(_0xa6f15b(0x1db))/0xa*(parseInt(_0xa6f15b(0x1dd))/0xb);if(_0x1a5c8a===_0x3063a5)break;else _0x294878['push'](_0x294878['shift']());}catch(_0x22a4e0){_0x294878['push'](_0x294878['shift']());}}}(a8_0x636a,0x40e81));const a8_0x44bbea=(function(){let _0xf2253c=!![];return function(_0x55d35d,_0x2b1cdf){const _0x100389=_0xf2253c?function(){const _0x117b88=a8_0x244e;if(_0x2b1cdf){const _0x4c817d=_0x2b1cdf[_0x117b88(0x1ea)](_0x55d35d,arguments);return _0x2b1cdf=null,_0x4c817d;}}:function(){};return _0xf2253c=![],_0x100389;};}()),a8_0x5ef290=a8_0x44bbea(this,function(){const _0x973cbc=a8_0x244e;return a8_0x5ef290[_0x973cbc(0x1cd)]()['search'](_0x973cbc(0x1e5))[_0x973cbc(0x1cd)]()[_0x973cbc(0x1d9)](a8_0x5ef290)[_0x973cbc(0x1ce)](_0x973cbc(0x1e5));});a8_0x5ef290();function a8_0x244e(_0x5ed78f,_0x3e0d1d){const _0x2e6d33=a8_0x636a();return a8_0x244e=function(_0x5ef290,_0x44bbea){_0x5ef290=_0x5ef290-0x1ca;let _0x636ada=_0x2e6d33[_0x5ef290];return _0x636ada;},a8_0x244e(_0x5ed78f,_0x3e0d1d);}'use strict';Object[a8_0x42bfc6(0x1ed)](exports,a8_0x42bfc6(0x1da),{'value':!![]}),exports[a8_0x42bfc6(0x1cc)]=void 0x0;const fs=require('fs'),path=require(a8_0x42bfc6(0x1e4));class RequireContext{constructor(_0xdc7ba3,_0x4e8522,_0x137935){const _0x56bf30=a8_0x42bfc6;this[_0x56bf30(0x1ca)]=[],this[_0x56bf30(0x1d4)]=_0x137935,this['useSubdirectories']=!!_0x4e8522,this['directory']=this[_0x56bf30(0x1df)](_0xdc7ba3),this[_0x56bf30(0x1d0)](this[_0x56bf30(0x1ee)]);}[a8_0x42bfc6(0x1df)](_0x11aaf5){const _0x725915=a8_0x42bfc6;if(path['isAbsolute'](_0x11aaf5)||!module['parent'])return _0x11aaf5;return path[_0x725915(0x1e0)](path[_0x725915(0x1eb)](path[_0x725915(0x1d5)](module[_0x725915(0x1e6)][_0x725915(0x1d8)])[_0x725915(0x1f3)],_0x11aaf5));}[a8_0x42bfc6(0x1d0)](_0x1ce7f9){const _0x404db9=a8_0x42bfc6;if(fs['existsSync'](_0x1ce7f9))fs[_0x404db9(0x1d2)](_0x1ce7f9)[_0x404db9(0x1e9)](_0x2ee68d=>{const _0x239bd7=_0x404db9,_0x273953=path[_0x239bd7(0x1e2)](_0x1ce7f9,_0x2ee68d);if(fs[_0x239bd7(0x1d1)](_0x273953)[_0x239bd7(0x1dc)]()){if(this[_0x239bd7(0x1d6)]){this[_0x239bd7(0x1d0)](_0x273953);return;}}else{if(this[_0x239bd7(0x1d4)]&&!this['regExp'][_0x239bd7(0x1e7)](_0x273953))return;this[_0x239bd7(0x1ca)][_0x239bd7(0x1ef)](_0x273953);}});else throw new Error(_0x404db9(0x1d7)+_0x1ce7f9);}}function globDir(_0x56b885='.',_0x275f3b=![],_0x2907cc=/(?:)/,_0x4c4201){const _0x1ed16e=a8_0x42bfc6,_0x117c6a=new RequireContext(_0x56b885,_0x275f3b,_0x2907cc);if(_0x4c4201){const _0x26cc3f=_0x1e5284=>fs[_0x1ed16e(0x1e1)](_0x1e5284,_0x4c4201);return _0x26cc3f[_0x1ed16e(0x1f0)]=()=>[..._0x117c6a[_0x1ed16e(0x1ca)]],_0x26cc3f;}else{const _0x557f55=_0xf43d64=>require(_0xf43d64);return _0x557f55[_0x1ed16e(0x1f0)]=()=>[..._0x117c6a[_0x1ed16e(0x1ca)]],_0x557f55;}}exports[a8_0x42bfc6(0x1cc)]=globDir;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function hideSensitiveStr(sensitive: string, trim?: number, options?: {
|
|
2
|
+
trim: 'start' | 'end' | 'trim';
|
|
3
|
+
replace: string;
|
|
4
|
+
}): string;
|
|
5
|
+
export declare function hideSensitiveObj<TObject extends object, TKey extends keyof TObject>(sensitiveObj: TObject, keys: TKey | TKey[], trim?: number, options?: {
|
|
6
|
+
trim: 'start' | 'end' | 'trim';
|
|
7
|
+
replace: string;
|
|
8
|
+
}): TObject;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a9_0x541bca=a9_0x4694;(function(_0x2bded3,_0x4b4ecf){const _0x5b4304=a9_0x4694,_0x138c55=_0x2bded3();while(!![]){try{const _0x9c8265=-parseInt(_0x5b4304(0x89))/0x1*(-parseInt(_0x5b4304(0x92))/0x2)+parseInt(_0x5b4304(0x96))/0x3+parseInt(_0x5b4304(0x98))/0x4+parseInt(_0x5b4304(0x99))/0x5*(-parseInt(_0x5b4304(0x8d))/0x6)+-parseInt(_0x5b4304(0xa2))/0x7*(-parseInt(_0x5b4304(0x93))/0x8)+-parseInt(_0x5b4304(0x9f))/0x9+parseInt(_0x5b4304(0x97))/0xa;if(_0x9c8265===_0x4b4ecf)break;else _0x138c55['push'](_0x138c55['shift']());}catch(_0x2897a1){_0x138c55['push'](_0x138c55['shift']());}}}(a9_0x30da,0xeb86f));const a9_0x4dd9d8=(function(){let _0x33ad04=!![];return function(_0x218f10,_0x49264){const _0x2b67ff=_0x33ad04?function(){const _0x4eb9f8=a9_0x4694;if(_0x49264){const _0x1a960c=_0x49264[_0x4eb9f8(0xa1)](_0x218f10,arguments);return _0x49264=null,_0x1a960c;}}:function(){};return _0x33ad04=![],_0x2b67ff;};}()),a9_0x41e9b9=a9_0x4dd9d8(this,function(){const _0x2a772c=a9_0x4694;return a9_0x41e9b9['toString']()['search'](_0x2a772c(0xa0))['toString']()[_0x2a772c(0x8b)](a9_0x41e9b9)[_0x2a772c(0x9a)](_0x2a772c(0xa0));});a9_0x41e9b9();'use strict';function a9_0x4694(_0x1d85b8,_0x411ee8){const _0x496a5f=a9_0x30da();return a9_0x4694=function(_0x41e9b9,_0x4dd9d8){_0x41e9b9=_0x41e9b9-0x87;let _0x30dab3=_0x496a5f[_0x41e9b9];return _0x30dab3;},a9_0x4694(_0x1d85b8,_0x411ee8);}Object[a9_0x541bca(0x9e)](exports,'__esModule',{'value':!![]}),exports[a9_0x541bca(0x90)]=exports[a9_0x541bca(0x8c)]=void 0x0;const lodash=require(a9_0x541bca(0x9d));function hideSensitiveStr(_0x422ef9,_0x4c89b7=0x1,_0x5842d7={'trim':a9_0x541bca(0x95),'replace':'*'}){const _0x45042b=a9_0x541bca,_0x5a6e39=(_0x5842d7===null||_0x5842d7===void 0x0?void 0x0:_0x5842d7[_0x45042b(0x95)])||_0x45042b(0x95),_0x5b27b0=(_0x5842d7===null||_0x5842d7===void 0x0?void 0x0:_0x5842d7[_0x45042b(0x8f)])||'*';if(_0x5a6e39==_0x45042b(0x9b)){if(_0x422ef9[_0x45042b(0x88)]<=0x2)return''+_0x422ef9['substring'](0x0,0x1)+_0x5b27b0;else{const _0x2d798=_0x422ef9[_0x45042b(0x88)]-_0x4c89b7;return _0x2d798>0x0?''+_0x422ef9[_0x45042b(0x91)](0x0,_0x4c89b7)+_0x5b27b0[_0x45042b(0x87)](_0x2d798):_0x422ef9;}}else{if(_0x5a6e39==_0x45042b(0x8e)){if(_0x422ef9[_0x45042b(0x88)]<=0x2)return''+_0x5b27b0+(_0x422ef9[_0x45042b(0x91)](0x0,0x1)||'');else{const _0x2a4ee0=_0x422ef9[_0x45042b(0x88)]-_0x4c89b7;return _0x2a4ee0>0x0?''+_0x5b27b0[_0x45042b(0x87)](_0x2a4ee0)+_0x422ef9[_0x45042b(0x91)](_0x2a4ee0):_0x422ef9;}}else{if(_0x5a6e39==_0x45042b(0x95)){if(_0x422ef9[_0x45042b(0x88)]<=0x2)return''+_0x422ef9[_0x45042b(0x91)](0x0,0x1)+_0x5b27b0;else{const _0x7591ac=_0x422ef9[_0x45042b(0x88)]-0x2*_0x4c89b7;return _0x7591ac>0x0?''+_0x422ef9[_0x45042b(0x91)](0x0,_0x4c89b7)+_0x5b27b0['repeat'](_0x7591ac)+_0x422ef9[_0x45042b(0x91)](_0x422ef9[_0x45042b(0x88)]-_0x4c89b7):_0x422ef9;}}}}}function a9_0x30da(){const _0x84df44=['140EzNGaR','search','start','set','lodash','defineProperty','16739640IAXfqE','(((.+)+)+)+$','apply','6636MvqNZh','repeat','length','218CUpNWC','isArray','constructor','hideSensitiveStr','118194nFRbCa','end','replace','hideSensitiveObj','substring','740oLTTet','232wvQeum','get','trim','3511551RMfWaG','3212280gNIZUl','7105416wOouUz'];a9_0x30da=function(){return _0x84df44;};return a9_0x30da();}exports[a9_0x541bca(0x8c)]=hideSensitiveStr;function hideSensitiveObj(_0x4adc38,_0x11e521,_0x1eed0e=0x1,_0x333454={'trim':a9_0x541bca(0x95),'replace':'*'}){const _0x111f55=a9_0x541bca;for(let _0x210309 of Array[_0x111f55(0x8a)](_0x11e521)?_0x11e521:[_0x11e521]){const _0x518bf0=lodash[_0x111f55(0x94)](_0x4adc38,_0x210309);_0x518bf0&&typeof _0x518bf0=='string'&&lodash[_0x111f55(0x9c)](_0x4adc38,_0x210309,hideSensitiveStr(_0x518bf0,_0x1eed0e,_0x333454));}return _0x4adc38;}exports['hideSensitiveObj']=hideSensitiveObj;
|
package/dist/helper/include.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x3d89eb=a10_0x4963;(function(_0x1a2c1e,_0x5b57c6){const _0x50f3dc=a10_0x4963,_0x10fb5d=_0x1a2c1e();while(!![]){try{const _0x496a35=-parseInt(_0x50f3dc(0x146))/0x1+-parseInt(_0x50f3dc(0x140))/0x2*(parseInt(_0x50f3dc(0x14a))/0x3)+parseInt(_0x50f3dc(0x13e))/0x4+-parseInt(_0x50f3dc(0x145))/0x5+parseInt(_0x50f3dc(0x13d))/0x6*(-parseInt(_0x50f3dc(0x141))/0x7)+parseInt(_0x50f3dc(0x139))/0x8*(-parseInt(_0x50f3dc(0x13a))/0x9)+parseInt(_0x50f3dc(0x13b))/0xa;if(_0x496a35===_0x5b57c6)break;else _0x10fb5d['push'](_0x10fb5d['shift']());}catch(_0x47eaf4){_0x10fb5d['push'](_0x10fb5d['shift']());}}}(a10_0x4c4a,0x6d7d1));const a10_0x2c58fc=(function(){let _0x3b72d6=!![];return function(_0x1367ea,_0x7e3b73){const _0x14d669=_0x3b72d6?function(){const _0x291d76=a10_0x4963;if(_0x7e3b73){const _0xc5635f=_0x7e3b73[_0x291d76(0x143)](_0x1367ea,arguments);return _0x7e3b73=null,_0xc5635f;}}:function(){};return _0x3b72d6=![],_0x14d669;};}()),a10_0xc4ffc8=a10_0x2c58fc(this,function(){const _0x41fd40=a10_0x4963;return a10_0xc4ffc8[_0x41fd40(0x149)]()[_0x41fd40(0x148)](_0x41fd40(0x147))[_0x41fd40(0x149)]()[_0x41fd40(0x13c)](a10_0xc4ffc8)['search'](_0x41fd40(0x147));});a10_0xc4ffc8();function a10_0x4c4a(){const _0x470de5=['defineProperty','apply','jiti','4235375lTYLqp','681649ppIAvg','(((.+)+)+)+$','search','toString','305826hfXNMz','defaultsDeep','312PoOEfh','119979DQpDXM','24788790PaHfPW','constructor','230568bPLvlu','2833300ddzkJl','default','6opUOky','70yKhyJD'];a10_0x4c4a=function(){return _0x470de5;};return a10_0x4c4a();}function a10_0x4963(_0xb5f3f,_0x2a3939){const _0xf44f2d=a10_0x4c4a();return a10_0x4963=function(_0xc4ffc8,_0x2c58fc){_0xc4ffc8=_0xc4ffc8-0x138;let _0x4c4ab0=_0xf44f2d[_0xc4ffc8];return _0x4c4ab0;},a10_0x4963(_0xb5f3f,_0x2a3939);}'use strict';Object[a10_0x3d89eb(0x142)](exports,'__esModule',{'value':!![]}),exports['include']=void 0x0;const jiti=require(a10_0x3d89eb(0x144)),lodash_1=require('lodash');function include(_0x588053){const _0x5391fa=a10_0x3d89eb,_0x20c999={},_0x5813d0=jiti()(_0x588053);for(let _0x401556 in _0x5813d0){_0x401556!=_0x5391fa(0x13f)&&(0x0,lodash_1[_0x5391fa(0x138)])(_0x20c999,{[_0x401556]:_0x5813d0[_0x401556]});}return(0x0,lodash_1[_0x5391fa(0x138)])(_0x20c999,(0x0,lodash_1['get'])(_0x5813d0,_0x5391fa(0x13f),{}));}exports['include']=include;
|
package/dist/helper/sleep.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a11_0x46730b=a11_0x58b2;(function(_0x3424bb,_0x3ead9a){var _0x42ac4c=a11_0x58b2,_0x5ecc80=_0x3424bb();while(!![]){try{var _0x1db0af=-parseInt(_0x42ac4c(0x1f0))/0x1*(-parseInt(_0x42ac4c(0x1f2))/0x2)+parseInt(_0x42ac4c(0x1ff))/0x3*(parseInt(_0x42ac4c(0x1f1))/0x4)+parseInt(_0x42ac4c(0x1f4))/0x5+parseInt(_0x42ac4c(0x200))/0x6*(parseInt(_0x42ac4c(0x1fa))/0x7)+parseInt(_0x42ac4c(0x1f8))/0x8+-parseInt(_0x42ac4c(0x1f7))/0x9*(-parseInt(_0x42ac4c(0x1f3))/0xa)+-parseInt(_0x42ac4c(0x1f6))/0xb;if(_0x1db0af===_0x3ead9a)break;else _0x5ecc80['push'](_0x5ecc80['shift']());}catch(_0xb760e7){_0x5ecc80['push'](_0x5ecc80['shift']());}}}(a11_0x4645,0x95236));var a11_0xd416e9=(function(){var _0x31ac10=!![];return function(_0x4572dd,_0x2ef48d){var _0x12678=_0x31ac10?function(){var _0x5dbea2=a11_0x58b2;if(_0x2ef48d){var _0x18bac5=_0x2ef48d[_0x5dbea2(0x1fb)](_0x4572dd,arguments);return _0x2ef48d=null,_0x18bac5;}}:function(){};return _0x31ac10=![],_0x12678;};}()),a11_0x889d9b=a11_0xd416e9(this,function(){var _0x2ff0e3=a11_0x58b2;return a11_0x889d9b[_0x2ff0e3(0x1fc)]()[_0x2ff0e3(0x1fe)](_0x2ff0e3(0x1f9))['toString']()['constructor'](a11_0x889d9b)[_0x2ff0e3(0x1fe)](_0x2ff0e3(0x1f9));});a11_0x889d9b();'use strict';function a11_0x58b2(_0x3c5232,_0x4809ae){var _0x434135=a11_0x4645();return a11_0x58b2=function(_0x889d9b,_0xd416e9){_0x889d9b=_0x889d9b-0x1f0;var _0x464552=_0x434135[_0x889d9b];return _0x464552;},a11_0x58b2(_0x3c5232,_0x4809ae);}Object[a11_0x46730b(0x201)](exports,a11_0x46730b(0x1fd),{'value':!![]}),exports[a11_0x46730b(0x1f5)]=void 0x0;function sleep(_0x589beb=0xc8){return new Promise(_0x410f1b=>setTimeout(_0x410f1b,_0x589beb));}exports['sleep']=sleep;function a11_0x4645(){var _0xec5439=['3464630uYltwL','sleep','35386505fMeyow','825975RBHZBi','5545040whDOXh','(((.+)+)+)+$','42NbFexL','apply','toString','__esModule','search','21hBzayr','172950CuaDVH','defineProperty','1oglcPG','331432gHsmLQ','1909226rMKaKV','80DBVWfh'];a11_0x4645=function(){return _0xec5439;};return a11_0x4645();}
|
package/dist/index.d.ts
CHANGED
|
@@ -12,9 +12,10 @@ import { include } from './helper/include';
|
|
|
12
12
|
import { globDir } from './helper/globDir';
|
|
13
13
|
import { fileMd5 } from './helper/fileMd5';
|
|
14
14
|
import { AnnError } from './exception/AnnError';
|
|
15
|
+
import { hideSensitiveStr, hideSensitiveObj } from './helper/hideSensitive';
|
|
15
16
|
import { md5, random, getType, toFixed, base64_encode, base64_decode, aes_encode, aes_decode } from './helper/common';
|
|
16
17
|
import { AnnErrorRender } from './exception/AnnErrorRender';
|
|
17
18
|
import { AnnErrorMsg, getAnnErrorMsg, getAnnErrorList } from './decorator/AnnErrorMsg';
|
|
18
19
|
import { AnnEnumMsg, getAnnEnumMsg, getAnnEnumMap, getAnnEnumList, getAnnEnumArray } from './decorator/AnnEnumMsg';
|
|
19
20
|
export { CustomConfiguration as Configuration } from './configuration';
|
|
20
|
-
export { axios, urllib, fsplus, mathjs, lodash, cryptojs, compressing, md5, dayjs, sleep, random, toFixed, getType, collect, include, globDir, fileMd5, aes_encode, aes_decode, base64_encode, base64_decode, AnnEnumMsg, getAnnEnumMsg, getAnnEnumMap, getAnnEnumList, getAnnEnumArray, AnnErrorMsg, getAnnErrorMsg, getAnnErrorList, AnnError, AnnErrorRender, };
|
|
21
|
+
export { axios, urllib, fsplus, mathjs, lodash, cryptojs, compressing, md5, dayjs, sleep, random, toFixed, getType, collect, include, globDir, fileMd5, aes_encode, aes_decode, base64_encode, base64_decode, hideSensitiveStr, hideSensitiveObj, AnnEnumMsg, getAnnEnumMsg, getAnnEnumMap, getAnnEnumList, getAnnEnumArray, AnnErrorMsg, getAnnErrorMsg, getAnnErrorList, AnnError, AnnErrorRender, };
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a11_0x509952=a11_0x39e6;(function(_0x31f3b4,_0x1ebc6a){const _0x5f141b=a11_0x39e6,_0x1bd626=_0x31f3b4();while(!![]){try{const _0x491f1d=parseInt(_0x5f141b(0xad))/0x1*(parseInt(_0x5f141b(0xcd))/0x2)+parseInt(_0x5f141b(0xc4))/0x3+-parseInt(_0x5f141b(0xbb))/0x4+parseInt(_0x5f141b(0xae))/0x5*(parseInt(_0x5f141b(0xd2))/0x6)+-parseInt(_0x5f141b(0xcb))/0x7+parseInt(_0x5f141b(0xbd))/0x8*(parseInt(_0x5f141b(0xc9))/0x9)+-parseInt(_0x5f141b(0xaa))/0xa;if(_0x491f1d===_0x1ebc6a)break;else _0x1bd626['push'](_0x1bd626['shift']());}catch(_0x34e7d4){_0x1bd626['push'](_0x1bd626['shift']());}}}(a11_0x238a,0xec865));const a11_0x3ba54b=(function(){let _0xcef563=!![];return function(_0x5eff2,_0x4aa6fe){const _0xd4d74c=_0xcef563?function(){const _0x5d8d8b=a11_0x39e6;if(_0x4aa6fe){const _0xddf12=_0x4aa6fe[_0x5d8d8b(0xd4)](_0x5eff2,arguments);return _0x4aa6fe=null,_0xddf12;}}:function(){};return _0xcef563=![],_0xd4d74c;};}()),a11_0x5a1eea=a11_0x3ba54b(this,function(){const _0x5de8c8=a11_0x39e6;return a11_0x5a1eea['toString']()[_0x5de8c8(0x9e)](_0x5de8c8(0xb9))[_0x5de8c8(0xb4)]()['constructor'](a11_0x5a1eea)[_0x5de8c8(0x9e)](_0x5de8c8(0xb9));});a11_0x5a1eea();'use strict';Object[a11_0x509952(0xa9)](exports,a11_0x509952(0xbc),{'value':!![]}),exports[a11_0x509952(0xbe)]=exports[a11_0x509952(0xac)]=exports[a11_0x509952(0xd3)]=exports[a11_0x509952(0xc1)]=exports['AnnErrorMsg']=exports[a11_0x509952(0xba)]=exports[a11_0x509952(0xb7)]=exports[a11_0x509952(0xd1)]=exports[a11_0x509952(0xcc)]=exports[a11_0x509952(0xbf)]=exports[a11_0x509952(0xca)]=exports['base64_encode']=exports[a11_0x509952(0xa1)]=exports[a11_0x509952(0xcf)]=exports[a11_0x509952(0x9d)]=exports[a11_0x509952(0xb8)]=exports['include']=exports['collect']=exports[a11_0x509952(0xb6)]=exports[a11_0x509952(0xc5)]=exports[a11_0x509952(0xce)]=exports[a11_0x509952(0xc6)]=exports['dayjs']=exports[a11_0x509952(0xa2)]=exports[a11_0x509952(0xa8)]=exports[a11_0x509952(0xa6)]=exports[a11_0x509952(0xc8)]=exports[a11_0x509952(0xab)]=exports[a11_0x509952(0xc3)]=exports['urllib']=exports[a11_0x509952(0xa0)]=exports['Configuration']=void 0x0;const axios_1=require(a11_0x509952(0xa0));function a11_0x238a(){const _0x44fed5=['AnnErrorMsg','axios','aes_decode','md5','./decorator/AnnEnumMsg','CustomConfiguration','./helper/fileMd5','cryptojs','./exception/AnnError','compressing','defineProperty','21193180LTZCvd','mathjs','AnnError','1Wyywzv','6295110qWygRU','include','./helper/include','./configuration','urllib','dayjs','toString','collect.js','getType','getAnnEnumList','globDir','(((.+)+)+)+$','getAnnEnumArray','4952972vpVKLV','__esModule','19256navhFH','AnnErrorRender','AnnEnumMsg','base64_encode','getAnnErrorMsg','./helper/common','fsplus','3103623vaQfBK','toFixed','sleep','default','lodash','5391yZupwj','base64_decode','3341107HQMAhm','getAnnEnumMsg','2136622TxvWkD','random','aes_encode','collect','getAnnEnumMap','6AaztLt','getAnnErrorList','apply','fileMd5','search'];a11_0x238a=function(){return _0x44fed5;};return a11_0x238a();}exports[a11_0x509952(0xa0)]=axios_1[a11_0x509952(0xc7)];const dayjs=require(a11_0x509952(0xb3));exports['dayjs']=dayjs;const urllib=require(a11_0x509952(0xb2));function a11_0x39e6(_0xfe3966,_0x4a2a78){const _0x160b87=a11_0x238a();return a11_0x39e6=function(_0x5a1eea,_0x3ba54b){_0x5a1eea=_0x5a1eea-0x9d;let _0x238ae1=_0x160b87[_0x5a1eea];return _0x238ae1;},a11_0x39e6(_0xfe3966,_0x4a2a78);}exports['urllib']=urllib;const mathjs=require(a11_0x509952(0xab));exports[a11_0x509952(0xab)]=mathjs;const lodash=require(a11_0x509952(0xc8));exports['lodash']=lodash;const fsplus=require('fs-extra');exports['fsplus']=fsplus;const cryptojs=require('crypto-js');exports[a11_0x509952(0xa6)]=cryptojs;const compressing=require(a11_0x509952(0xa8));exports[a11_0x509952(0xa8)]=compressing;const collect_js_1=require(a11_0x509952(0xb5));Object[a11_0x509952(0xa9)](exports,'collect',{'enumerable':!![],'get':function(){return collect_js_1['collect'];}});const sleep_1=require('./helper/sleep');Object[a11_0x509952(0xa9)](exports,a11_0x509952(0xc6),{'enumerable':!![],'get':function(){const _0x4fadaf=a11_0x509952;return sleep_1[_0x4fadaf(0xc6)];}});const include_1=require(a11_0x509952(0xb0));Object[a11_0x509952(0xa9)](exports,a11_0x509952(0xaf),{'enumerable':!![],'get':function(){const _0x1e349e=a11_0x509952;return include_1[_0x1e349e(0xaf)];}});const globDir_1=require('./helper/globDir');Object[a11_0x509952(0xa9)](exports,a11_0x509952(0xb8),{'enumerable':!![],'get':function(){const _0x2f79f0=a11_0x509952;return globDir_1[_0x2f79f0(0xb8)];}});const fileMd5_1=require(a11_0x509952(0xa5));Object[a11_0x509952(0xa9)](exports,a11_0x509952(0x9d),{'enumerable':!![],'get':function(){const _0x2b37f4=a11_0x509952;return fileMd5_1[_0x2b37f4(0x9d)];}});const AnnError_1=require(a11_0x509952(0xa7));Object[a11_0x509952(0xa9)](exports,a11_0x509952(0xac),{'enumerable':!![],'get':function(){const _0x42d40e=a11_0x509952;return AnnError_1[_0x42d40e(0xac)];}});const common_1=require(a11_0x509952(0xc2));Object[a11_0x509952(0xa9)](exports,'md5',{'enumerable':!![],'get':function(){return common_1['md5'];}}),Object[a11_0x509952(0xa9)](exports,'random',{'enumerable':!![],'get':function(){const _0x28d8db=a11_0x509952;return common_1[_0x28d8db(0xce)];}}),Object[a11_0x509952(0xa9)](exports,a11_0x509952(0xb6),{'enumerable':!![],'get':function(){const _0x3bcca4=a11_0x509952;return common_1[_0x3bcca4(0xb6)];}}),Object[a11_0x509952(0xa9)](exports,a11_0x509952(0xc5),{'enumerable':!![],'get':function(){const _0x553e15=a11_0x509952;return common_1[_0x553e15(0xc5)];}}),Object[a11_0x509952(0xa9)](exports,a11_0x509952(0xc0),{'enumerable':!![],'get':function(){const _0x2163f7=a11_0x509952;return common_1[_0x2163f7(0xc0)];}}),Object['defineProperty'](exports,'base64_decode',{'enumerable':!![],'get':function(){const _0x14bcf1=a11_0x509952;return common_1[_0x14bcf1(0xca)];}}),Object[a11_0x509952(0xa9)](exports,a11_0x509952(0xcf),{'enumerable':!![],'get':function(){const _0x79349=a11_0x509952;return common_1[_0x79349(0xcf)];}}),Object[a11_0x509952(0xa9)](exports,a11_0x509952(0xa1),{'enumerable':!![],'get':function(){const _0x10465e=a11_0x509952;return common_1[_0x10465e(0xa1)];}});const AnnErrorRender_1=require('./exception/AnnErrorRender');Object[a11_0x509952(0xa9)](exports,a11_0x509952(0xbe),{'enumerable':!![],'get':function(){return AnnErrorRender_1['AnnErrorRender'];}});const AnnErrorMsg_1=require('./decorator/AnnErrorMsg');Object[a11_0x509952(0xa9)](exports,a11_0x509952(0x9f),{'enumerable':!![],'get':function(){const _0x1c1ac8=a11_0x509952;return AnnErrorMsg_1[_0x1c1ac8(0x9f)];}}),Object[a11_0x509952(0xa9)](exports,a11_0x509952(0xc1),{'enumerable':!![],'get':function(){const _0x108879=a11_0x509952;return AnnErrorMsg_1[_0x108879(0xc1)];}}),Object[a11_0x509952(0xa9)](exports,a11_0x509952(0xd3),{'enumerable':!![],'get':function(){const _0x43a6f0=a11_0x509952;return AnnErrorMsg_1[_0x43a6f0(0xd3)];}});const AnnEnumMsg_1=require(a11_0x509952(0xa3));Object[a11_0x509952(0xa9)](exports,a11_0x509952(0xbf),{'enumerable':!![],'get':function(){const _0x1391e4=a11_0x509952;return AnnEnumMsg_1[_0x1391e4(0xbf)];}}),Object[a11_0x509952(0xa9)](exports,'getAnnEnumMsg',{'enumerable':!![],'get':function(){const _0x4bcf34=a11_0x509952;return AnnEnumMsg_1[_0x4bcf34(0xcc)];}}),Object['defineProperty'](exports,a11_0x509952(0xd1),{'enumerable':!![],'get':function(){const _0x4800cb=a11_0x509952;return AnnEnumMsg_1[_0x4800cb(0xd1)];}}),Object[a11_0x509952(0xa9)](exports,'getAnnEnumList',{'enumerable':!![],'get':function(){const _0x4ab8d1=a11_0x509952;return AnnEnumMsg_1[_0x4ab8d1(0xb7)];}}),Object[a11_0x509952(0xa9)](exports,a11_0x509952(0xba),{'enumerable':!![],'get':function(){const _0x4a1ce5=a11_0x509952;return AnnEnumMsg_1[_0x4a1ce5(0xba)];}});var configuration_1=require(a11_0x509952(0xb1));Object[a11_0x509952(0xa9)](exports,'Configuration',{'enumerable':!![],'get':function(){const _0x356643=a11_0x509952;return configuration_1[_0x356643(0xa4)];}}),(global['axios']=axios_1[a11_0x509952(0xc7)],global[a11_0x509952(0xb2)]=urllib),(global[a11_0x509952(0xc3)]=fsplus,global[a11_0x509952(0xab)]=mathjs,global['lodash']=lodash,global[a11_0x509952(0xa6)]=global,global[a11_0x509952(0xa8)]=compressing),(global[a11_0x509952(0xb3)]=dayjs,global['sleep']=sleep_1[a11_0x509952(0xc6)],global['random']=common_1[a11_0x509952(0xce)],global[a11_0x509952(0xd0)]=collect_js_1[a11_0x509952(0xd0)],global['include']=include_1[a11_0x509952(0xaf)],global[a11_0x509952(0xb8)]=globDir_1[a11_0x509952(0xb8)]),(global[a11_0x509952(0xa2)]=common_1[a11_0x509952(0xa2)],global[a11_0x509952(0xb6)]=common_1[a11_0x509952(0xb6)],global['toFixed']=common_1[a11_0x509952(0xc5)],global['fileMd5']=fileMd5_1[a11_0x509952(0x9d)],global[a11_0x509952(0xc0)]=common_1[a11_0x509952(0xc0)],global[a11_0x509952(0xca)]=common_1[a11_0x509952(0xca)],global[a11_0x509952(0xcf)]=common_1[a11_0x509952(0xcf)],global['aes_decode']=common_1[a11_0x509952(0xa1)]),(global[a11_0x509952(0xbf)]=AnnEnumMsg_1[a11_0x509952(0xbf)],global[a11_0x509952(0xcc)]=AnnEnumMsg_1[a11_0x509952(0xcc)],global['getAnnEnumMap']=AnnEnumMsg_1[a11_0x509952(0xd1)],global[a11_0x509952(0xb7)]=AnnEnumMsg_1[a11_0x509952(0xb7)],global['getAnnEnumArray']=AnnEnumMsg_1[a11_0x509952(0xba)]),(global[a11_0x509952(0x9f)]=AnnErrorMsg_1['AnnErrorMsg'],global['getAnnErrorMsg']=AnnErrorMsg_1['getAnnErrorMsg'],global['getAnnErrorList']=AnnErrorMsg_1[a11_0x509952(0xd3)],global[a11_0x509952(0xac)]=AnnError_1[a11_0x509952(0xac)],global['AnnErrorRender']=AnnErrorRender_1['AnnErrorRender']);
|
|
1
|
+
const a12_0x493091=a12_0x4add;(function(_0x5e9ee7,_0x5b6e55){const _0x7a8c84=a12_0x4add,_0x3e0838=_0x5e9ee7();while(!![]){try{const _0x208b50=-parseInt(_0x7a8c84(0x182))/0x1*(-parseInt(_0x7a8c84(0x17a))/0x2)+parseInt(_0x7a8c84(0x19a))/0x3*(-parseInt(_0x7a8c84(0x167))/0x4)+-parseInt(_0x7a8c84(0x16c))/0x5*(-parseInt(_0x7a8c84(0x18d))/0x6)+parseInt(_0x7a8c84(0x176))/0x7+-parseInt(_0x7a8c84(0x17f))/0x8+-parseInt(_0x7a8c84(0x194))/0x9+parseInt(_0x7a8c84(0x185))/0xa;if(_0x208b50===_0x5b6e55)break;else _0x3e0838['push'](_0x3e0838['shift']());}catch(_0x185a40){_0x3e0838['push'](_0x3e0838['shift']());}}}(a12_0x2dfd,0x50c40));const a12_0x4da6e5=(function(){let _0x44e3d3=!![];return function(_0x3f7a4a,_0x5af80b){const _0x162908=_0x44e3d3?function(){const _0x4f4269=a12_0x4add;if(_0x5af80b){const _0x519249=_0x5af80b[_0x4f4269(0x18e)](_0x3f7a4a,arguments);return _0x5af80b=null,_0x519249;}}:function(){};return _0x44e3d3=![],_0x162908;};}()),a12_0x1ad7f5=a12_0x4da6e5(this,function(){const _0x2fb731=a12_0x4add;return a12_0x1ad7f5[_0x2fb731(0x1a0)]()[_0x2fb731(0x19b)](_0x2fb731(0x18b))[_0x2fb731(0x1a0)]()['constructor'](a12_0x1ad7f5)['search'](_0x2fb731(0x18b));});a12_0x1ad7f5();'use strict';Object[a12_0x493091(0x16d)](exports,'__esModule',{'value':!![]}),exports[a12_0x493091(0x166)]=exports[a12_0x493091(0x1a3)]=exports[a12_0x493091(0x19d)]=exports[a12_0x493091(0x199)]=exports['AnnErrorMsg']=exports[a12_0x493091(0x19c)]=exports[a12_0x493091(0x179)]=exports[a12_0x493091(0x1a1)]=exports[a12_0x493091(0x168)]=exports[a12_0x493091(0x178)]=exports[a12_0x493091(0x193)]=exports['hideSensitiveStr']=exports[a12_0x493091(0x18a)]=exports[a12_0x493091(0x195)]=exports[a12_0x493091(0x16e)]=exports['aes_encode']=exports[a12_0x493091(0x188)]=exports[a12_0x493091(0x198)]=exports[a12_0x493091(0x1a4)]=exports[a12_0x493091(0x18f)]=exports[a12_0x493091(0x197)]=exports[a12_0x493091(0x171)]=exports[a12_0x493091(0x16a)]=exports[a12_0x493091(0x172)]=exports['dayjs']=exports[a12_0x493091(0x17d)]=exports[a12_0x493091(0x17e)]=exports['cryptojs']=exports[a12_0x493091(0x196)]=exports[a12_0x493091(0x174)]=exports[a12_0x493091(0x170)]=exports[a12_0x493091(0x183)]=exports[a12_0x493091(0x191)]=exports['Configuration']=void 0x0;const axios_1=require(a12_0x493091(0x191));exports[a12_0x493091(0x191)]=axios_1[a12_0x493091(0x169)];const dayjs=require(a12_0x493091(0x192));exports['dayjs']=dayjs;const urllib=require(a12_0x493091(0x183));exports[a12_0x493091(0x183)]=urllib;const mathjs=require('mathjs');exports[a12_0x493091(0x174)]=mathjs;const lodash=require(a12_0x493091(0x196));exports[a12_0x493091(0x196)]=lodash;const fsplus=require(a12_0x493091(0x1a2));exports[a12_0x493091(0x170)]=fsplus;const cryptojs=require(a12_0x493091(0x16f));exports[a12_0x493091(0x17b)]=cryptojs;const compressing=require(a12_0x493091(0x17e));exports['compressing']=compressing;const collect_js_1=require(a12_0x493091(0x175));Object[a12_0x493091(0x16d)](exports,a12_0x493091(0x18f),{'enumerable':!![],'get':function(){const _0x1c5e78=a12_0x493091;return collect_js_1[_0x1c5e78(0x18f)];}});const sleep_1=require(a12_0x493091(0x181));Object[a12_0x493091(0x16d)](exports,a12_0x493091(0x172),{'enumerable':!![],'get':function(){const _0x5f2ce2=a12_0x493091;return sleep_1[_0x5f2ce2(0x172)];}});const include_1=require(a12_0x493091(0x19f));Object['defineProperty'](exports,a12_0x493091(0x1a4),{'enumerable':!![],'get':function(){return include_1['include'];}});const globDir_1=require(a12_0x493091(0x18c));Object[a12_0x493091(0x16d)](exports,a12_0x493091(0x198),{'enumerable':!![],'get':function(){return globDir_1['globDir'];}});const fileMd5_1=require('./helper/fileMd5');Object['defineProperty'](exports,a12_0x493091(0x188),{'enumerable':!![],'get':function(){const _0x183882=a12_0x493091;return fileMd5_1[_0x183882(0x188)];}});const AnnError_1=require(a12_0x493091(0x177));function a12_0x2dfd(){const _0x475f1b=['AnnErrorRender','4fQblth','getAnnEnumMsg','default','random','aes_encode','1312630efuwBe','defineProperty','aes_decode','crypto-js','fsplus','toFixed','sleep','Configuration','mathjs','collect.js','1334123vOTXrf','./exception/AnnError','AnnEnumMsg','getAnnEnumList','1124ujWXqE','cryptojs','./configuration','md5','compressing','5234120gYnhdW','./decorator/AnnEnumMsg','./helper/sleep','347iSAjnN','urllib','./helper/common','13067720QvGBEC','./exception/AnnErrorRender','CustomConfiguration','fileMd5','hideSensitiveStr','base64_decode','(((.+)+)+)+$','./helper/globDir','12PgVDmD','apply','collect','AnnErrorMsg','axios','dayjs','hideSensitiveObj','5683545bcYAzI','base64_encode','lodash','getType','globDir','getAnnErrorMsg','1802523GpVGEh','search','getAnnEnumArray','getAnnErrorList','./decorator/AnnErrorMsg','./helper/include','toString','getAnnEnumMap','fs-extra','AnnError','include'];a12_0x2dfd=function(){return _0x475f1b;};return a12_0x2dfd();}Object[a12_0x493091(0x16d)](exports,a12_0x493091(0x1a3),{'enumerable':!![],'get':function(){const _0x2884f7=a12_0x493091;return AnnError_1[_0x2884f7(0x1a3)];}});const hideSensitive_1=require('./helper/hideSensitive');Object['defineProperty'](exports,a12_0x493091(0x189),{'enumerable':!![],'get':function(){const _0x1adfc8=a12_0x493091;return hideSensitive_1[_0x1adfc8(0x189)];}}),Object[a12_0x493091(0x16d)](exports,a12_0x493091(0x193),{'enumerable':!![],'get':function(){const _0x19d6c3=a12_0x493091;return hideSensitive_1[_0x19d6c3(0x193)];}});function a12_0x4add(_0x23560e,_0x175682){const _0x4340a0=a12_0x2dfd();return a12_0x4add=function(_0x1ad7f5,_0x4da6e5){_0x1ad7f5=_0x1ad7f5-0x166;let _0x2dfd59=_0x4340a0[_0x1ad7f5];return _0x2dfd59;},a12_0x4add(_0x23560e,_0x175682);}const common_1=require(a12_0x493091(0x184));Object[a12_0x493091(0x16d)](exports,a12_0x493091(0x17d),{'enumerable':!![],'get':function(){return common_1['md5'];}}),Object[a12_0x493091(0x16d)](exports,'random',{'enumerable':!![],'get':function(){return common_1['random'];}}),Object['defineProperty'](exports,'getType',{'enumerable':!![],'get':function(){const _0x11b1cb=a12_0x493091;return common_1[_0x11b1cb(0x197)];}}),Object[a12_0x493091(0x16d)](exports,a12_0x493091(0x171),{'enumerable':!![],'get':function(){const _0x1d1717=a12_0x493091;return common_1[_0x1d1717(0x171)];}}),Object[a12_0x493091(0x16d)](exports,'base64_encode',{'enumerable':!![],'get':function(){return common_1['base64_encode'];}}),Object['defineProperty'](exports,a12_0x493091(0x18a),{'enumerable':!![],'get':function(){return common_1['base64_decode'];}}),Object[a12_0x493091(0x16d)](exports,a12_0x493091(0x16b),{'enumerable':!![],'get':function(){const _0x5a2b4f=a12_0x493091;return common_1[_0x5a2b4f(0x16b)];}}),Object[a12_0x493091(0x16d)](exports,a12_0x493091(0x16e),{'enumerable':!![],'get':function(){const _0x511679=a12_0x493091;return common_1[_0x511679(0x16e)];}});const AnnErrorRender_1=require(a12_0x493091(0x186));Object[a12_0x493091(0x16d)](exports,'AnnErrorRender',{'enumerable':!![],'get':function(){const _0x5aa8e7=a12_0x493091;return AnnErrorRender_1[_0x5aa8e7(0x166)];}});const AnnErrorMsg_1=require(a12_0x493091(0x19e));Object[a12_0x493091(0x16d)](exports,'AnnErrorMsg',{'enumerable':!![],'get':function(){return AnnErrorMsg_1['AnnErrorMsg'];}}),Object['defineProperty'](exports,a12_0x493091(0x199),{'enumerable':!![],'get':function(){return AnnErrorMsg_1['getAnnErrorMsg'];}}),Object[a12_0x493091(0x16d)](exports,a12_0x493091(0x19d),{'enumerable':!![],'get':function(){return AnnErrorMsg_1['getAnnErrorList'];}});const AnnEnumMsg_1=require(a12_0x493091(0x180));Object[a12_0x493091(0x16d)](exports,a12_0x493091(0x178),{'enumerable':!![],'get':function(){const _0x743ab6=a12_0x493091;return AnnEnumMsg_1[_0x743ab6(0x178)];}}),Object[a12_0x493091(0x16d)](exports,'getAnnEnumMsg',{'enumerable':!![],'get':function(){const _0x518f7a=a12_0x493091;return AnnEnumMsg_1[_0x518f7a(0x168)];}}),Object[a12_0x493091(0x16d)](exports,a12_0x493091(0x1a1),{'enumerable':!![],'get':function(){const _0x2b9e5c=a12_0x493091;return AnnEnumMsg_1[_0x2b9e5c(0x1a1)];}}),Object[a12_0x493091(0x16d)](exports,'getAnnEnumList',{'enumerable':!![],'get':function(){const _0x386ff8=a12_0x493091;return AnnEnumMsg_1[_0x386ff8(0x179)];}}),Object[a12_0x493091(0x16d)](exports,a12_0x493091(0x19c),{'enumerable':!![],'get':function(){const _0x118bb8=a12_0x493091;return AnnEnumMsg_1[_0x118bb8(0x19c)];}});var configuration_1=require(a12_0x493091(0x17c));Object['defineProperty'](exports,a12_0x493091(0x173),{'enumerable':!![],'get':function(){const _0x194ec0=a12_0x493091;return configuration_1[_0x194ec0(0x187)];}}),(global[a12_0x493091(0x191)]=axios_1[a12_0x493091(0x169)],global[a12_0x493091(0x183)]=urllib),(global[a12_0x493091(0x170)]=fsplus,global[a12_0x493091(0x174)]=mathjs,global[a12_0x493091(0x196)]=lodash,global['cryptojs']=global,global[a12_0x493091(0x17e)]=compressing),(global[a12_0x493091(0x189)]=hideSensitive_1[a12_0x493091(0x189)],global['hideSensitiveObj']=hideSensitive_1[a12_0x493091(0x193)]),(global['dayjs']=dayjs,global[a12_0x493091(0x172)]=sleep_1[a12_0x493091(0x172)],global['random']=common_1[a12_0x493091(0x16a)],global[a12_0x493091(0x18f)]=collect_js_1[a12_0x493091(0x18f)],global['include']=include_1['include'],global['globDir']=globDir_1[a12_0x493091(0x198)]),(global[a12_0x493091(0x17d)]=common_1['md5'],global[a12_0x493091(0x197)]=common_1[a12_0x493091(0x197)],global['toFixed']=common_1[a12_0x493091(0x171)],global[a12_0x493091(0x188)]=fileMd5_1[a12_0x493091(0x188)],global['base64_encode']=common_1['base64_encode'],global[a12_0x493091(0x18a)]=common_1['base64_decode'],global['aes_encode']=common_1[a12_0x493091(0x16b)],global[a12_0x493091(0x16e)]=common_1[a12_0x493091(0x16e)]),(global[a12_0x493091(0x178)]=AnnEnumMsg_1[a12_0x493091(0x178)],global[a12_0x493091(0x168)]=AnnEnumMsg_1[a12_0x493091(0x168)],global[a12_0x493091(0x1a1)]=AnnEnumMsg_1[a12_0x493091(0x1a1)],global['getAnnEnumList']=AnnEnumMsg_1['getAnnEnumList'],global[a12_0x493091(0x19c)]=AnnEnumMsg_1[a12_0x493091(0x19c)]),(global['AnnErrorMsg']=AnnErrorMsg_1[a12_0x493091(0x190)],global[a12_0x493091(0x199)]=AnnErrorMsg_1[a12_0x493091(0x199)],global['getAnnErrorList']=AnnErrorMsg_1[a12_0x493091(0x19d)],global[a12_0x493091(0x1a3)]=AnnError_1[a12_0x493091(0x1a3)],global['AnnErrorRender']=AnnErrorRender_1[a12_0x493091(0x166)]);
|
package/index.d.ts
CHANGED
|
@@ -49,6 +49,16 @@ declare global { // 全局变量设置
|
|
|
49
49
|
export function base64_encode(encodestr: string): string;
|
|
50
50
|
export function base64_decode(decodestr: string): string;
|
|
51
51
|
|
|
52
|
+
export function hideSensitiveStr(sensitive: string, trim?: number, options?: {
|
|
53
|
+
trim: 'start' | 'end' | 'trim';
|
|
54
|
+
replace: string;
|
|
55
|
+
}): string;
|
|
56
|
+
|
|
57
|
+
export function hideSensitiveObj<TObject extends object, TKey extends keyof TObject>(sensitiveObj: TObject, keys: TKey | TKey[], trim?: number, options?: {
|
|
58
|
+
trim: 'start' | 'end' | 'trim';
|
|
59
|
+
replace: string;
|
|
60
|
+
}): TObject;
|
|
61
|
+
|
|
52
62
|
export function globDir(directory?: string, useSubdirectories?: boolean, regExp?: RegExp, readFile?: { encoding: BufferEncoding; flag?: string | undefined; } | BufferEncoding): {
|
|
53
63
|
(moduleId: any): any;
|
|
54
64
|
keys(): any[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anncic-api/core",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.11",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"typings": "index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"javascript-obfuscator": "^4.0.0",
|
|
39
39
|
"typescript": "^4.8.4"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "f2c822cdaaa614edb7240570902d219eca8b3778"
|
|
42
42
|
}
|