@flosum/storages 1.3.5 → 1.3.6-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/copy/aws-s3-copy.js +1 -1
- package/dist/copy/base-copy.js +1 -1
- package/dist/copy/index.js +1 -1
- package/dist/copy/local-copy.js +1 -1
- package/dist/credentials/aws-s3-credentials.js +1 -1
- package/dist/credentials/azure-credentials.js +1 -1
- package/dist/credentials/base-credentials.js +1 -1
- package/dist/credentials/index.js +1 -1
- package/dist/credentials/local-credentials.js +1 -1
- package/dist/delete/aws-s3-delete.js +1 -1
- package/dist/delete/azure-delete.js +1 -1
- package/dist/delete/base-delete.js +1 -1
- package/dist/delete/index.js +1 -1
- package/dist/delete/local-delete.js +1 -1
- package/dist/deploy/aws-s3-deploy.js +1 -1
- package/dist/deploy/azure-deploy.js +1 -1
- package/dist/deploy/base-deploy.js +1 -1
- package/dist/deploy/index.js +1 -1
- package/dist/deploy/local-deploy.js +1 -1
- package/dist/factory.d.ts +1 -1
- package/dist/factory.js +1 -1
- package/dist/file-size-retriever/aws-s3-file-size-retriever.js +1 -1
- package/dist/file-size-retriever/azure-file-size-retriever.js +1 -1
- package/dist/file-size-retriever/base-file-size-retriever.js +1 -1
- package/dist/file-size-retriever/index.js +1 -1
- package/dist/file-size-retriever/local-size-retriever.js +1 -1
- package/dist/index.js +1 -1
- package/dist/init.js +1 -1
- package/dist/instances/aws-s3.storage-instance.js +1 -1
- package/dist/instances/base.storage-instance.d.ts +4 -4
- package/dist/instances/base.storage-instance.js +1 -1
- package/dist/instances/index.js +1 -1
- package/dist/instances/local.storage-instance.js +1 -1
- package/dist/retrieve/aws-s3-import-helper.d.ts +1 -1
- package/dist/retrieve/aws-s3-import-helper.js +1 -1
- package/dist/retrieve/aws-s3-retrieve.js +1 -1
- package/dist/retrieve/azure-retrieve.js +1 -1
- package/dist/retrieve/base-retrieve.js +1 -1
- package/dist/retrieve/helpers/aws-s3-helper.js +1 -1
- package/dist/retrieve/helpers/azure-helper.js +1 -1
- package/dist/retrieve/helpers/base-helper.js +1 -1
- package/dist/retrieve/helpers/local-helper.js +1 -1
- package/dist/retrieve/index.js +1 -1
- package/dist/retrieve/local-retrieve.js +1 -1
- package/dist/types/aws.types.d.ts +4 -4
- package/dist/types/aws.types.js +1 -1
- package/dist/types/azure.types.d.ts +1 -1
- package/dist/types/azure.types.js +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/internal.types.d.ts +1 -1
- package/dist/types/internal.types.js +1 -1
- package/dist/types/retrieve-status.enum.js +1 -1
- package/dist/types/storage-type.enum.js +1 -1
- package/dist/utils/aws-s3.utils.js +1 -1
- package/dist/utils/azure.utils.js +1 -1
- package/dist/utils/cache.utils.js +1 -1
- package/package.json +9 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x18b5da=_0x4ede;function _0x433e(){const _0x3d1655=['3961770bePaID','unzipper','apply','__importDefault','then','21088992PwcslB','1961440DreWYS','LocalHelper','defineProperty','3108906JZmdVh','Open','throw','6434725VeVmHW','readdir','./base-helper','21NwgolD','getZipFileMeta','node:fs/promises','file','default','sourcePath','value','4596084glNOKQ','1207262UUrFtb','next'];_0x433e=function(){return _0x3d1655;};return _0x433e();}(function(_0x730e50,_0x5c6eda){const _0x4c763f=_0x4ede,_0x422895=_0x730e50();while(!![]){try{const _0x28ffb6=-parseInt(_0x4c763f(0x197))/0x1+-parseInt(_0x4c763f(0x19f))/0x2+-parseInt(_0x4c763f(0x199))/0x3+-parseInt(_0x4c763f(0x196))/0x4+parseInt(_0x4c763f(0x18c))/0x5+parseInt(_0x4c763f(0x189))/0x6*(parseInt(_0x4c763f(0x18f))/0x7)+parseInt(_0x4c763f(0x19e))/0x8;if(_0x28ffb6===_0x5c6eda)break;else _0x422895['push'](_0x422895['shift']());}catch(_0x4dee0c){_0x422895['push'](_0x422895['shift']());}}}(_0x433e,0xc82d9));function _0x4ede(_0x1bca97,_0x4be61a){_0x1bca97=_0x1bca97-0x187;const _0x433e08=_0x433e();let _0x4ede7f=_0x433e08[_0x1bca97];return _0x4ede7f;}var __awaiter=this&&this['__awaiter']||function(_0x2c3af0,_0x4042d5,_0x665eb9,_0x3c183c){function _0x5b342c(_0x40e5e7){return _0x40e5e7 instanceof _0x665eb9?_0x40e5e7:new _0x665eb9(function(_0x52ffa9){_0x52ffa9(_0x40e5e7);});}return new(_0x665eb9||(_0x665eb9=Promise))(function(_0x54a1ad,_0x58e862){const _0x3ccdae=_0x4ede;function _0x4039af(_0x27cf4e){try{_0x3409a1(_0x3c183c['next'](_0x27cf4e));}catch(_0xa04222){_0x58e862(_0xa04222);}}function _0x3cd3bc(_0x344284){const _0x4ed3b3=_0x4ede;try{_0x3409a1(_0x3c183c[_0x4ed3b3(0x18b)](_0x344284));}catch(_0x21013c){_0x58e862(_0x21013c);}}function _0x3409a1(_0x434c06){const _0x56d17a=_0x4ede;_0x434c06['done']?_0x54a1ad(_0x434c06[_0x56d17a(0x195)]):_0x5b342c(_0x434c06[_0x56d17a(0x195)])[_0x56d17a(0x19d)](_0x4039af,_0x3cd3bc);}_0x3409a1((_0x3c183c=_0x3c183c[_0x3ccdae(0x19b)](_0x2c3af0,_0x4042d5||[]))[_0x3ccdae(0x198)]());});},__importDefault=this&&this[_0x18b5da(0x19c)]||function(_0x381ba6){return _0x381ba6&&_0x381ba6['__esModule']?_0x381ba6:{'default':_0x381ba6};};Object[_0x18b5da(0x188)](exports,'__esModule',{'value':!![]}),exports['LocalHelper']=void 0x0;const base_helper_1=require(_0x18b5da(0x18e)),unzipper_1=__importDefault(require(_0x18b5da(0x19a))),promises_1=require(_0x18b5da(0x191));class LocalHelper extends base_helper_1['BaseHelper']{[_0x18b5da(0x190)](_0x2b7f83){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4fa46a=_0x4ede;return unzipper_1[_0x4fa46a(0x193)][_0x4fa46a(0x18a)][_0x4fa46a(0x192)](this[_0x4fa46a(0x194)]+'/'+_0x2b7f83);});}['ls'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2fec32=_0x4ede;return(0x0,promises_1[_0x2fec32(0x18d)])(this['sourcePath']);});}}exports[_0x18b5da(0x187)]=LocalHelper;
|
package/dist/retrieve/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var _0xb946c1=_0x11f7;(function(_0xcb09d6,_0x16a1dc){var _0x2d70af=_0x11f7,_0x32ad39=_0xcb09d6();while(!![]){try{var _0x990a9b=-parseInt(_0x2d70af(0x11c))/0x1+-parseInt(_0x2d70af(0x10c))/0x2*(parseInt(_0x2d70af(0x108))/0x3)+-parseInt(_0x2d70af(0x113))/0x4*(-parseInt(_0x2d70af(0x112))/0x5)+-parseInt(_0x2d70af(0x11b))/0x6+parseInt(_0x2d70af(0x10d))/0x7+-parseInt(_0x2d70af(0x103))/0x8*(-parseInt(_0x2d70af(0x116))/0x9)+-parseInt(_0x2d70af(0x10b))/0xa*(parseInt(_0x2d70af(0x115))/0xb);if(_0x990a9b===_0x16a1dc)break;else _0x32ad39['push'](_0x32ad39['shift']());}catch(_0x4987f0){_0x32ad39['push'](_0x32ad39['shift']());}}}(_0x20e5,0xa44ed));function _0x20e5(){var _0x30384f=['./azure-retrieve','AzureHelper','BaseRetrieve','714939blwDMz','./aws-s3-import-helper','__esModule','3374740gpWdVZ','8eyjZOO','3201408mriMbw','./local-retrieve','AwsS3ImportHelper','./helpers/aws-s3-helper','./helpers/base-helper','91045UKZkci','292oQZbwb','defineProperty','33ClEtLR','9jUQvUE','./helpers/local-helper','BaseHelper','LocalRetrieve','AzureRetrieve','752100rofJvz','159413aPIvlx','AwsS3Retrieve','LocalHelper','./base-retrieve','AwsS3Helper','9094728PHPMdx','./helpers/azure-helper'];_0x20e5=function(){return _0x30384f;};return _0x20e5();}Object[_0xb946c1(0x114)](exports,_0xb946c1(0x10a),{'value':!![]}),exports['BaseHelper']=exports['AwsS3Helper']=exports['LocalHelper']=exports[_0xb946c1(0x106)]=exports[_0xb946c1(0x11a)]=exports['AwsS3ImportHelper']=exports[_0xb946c1(0x119)]=exports['AwsS3Retrieve']=exports['BaseRetrieve']=void 0x0;var base_retrieve_1=require(_0xb946c1(0x11f));Object[_0xb946c1(0x114)](exports,_0xb946c1(0x107),{'enumerable':!![],'get':function(){var _0x2c55d5=_0xb946c1;return base_retrieve_1[_0x2c55d5(0x107)];}});var aws_s3_retrieve_1=require('./aws-s3-retrieve');Object['defineProperty'](exports,'AwsS3Retrieve',{'enumerable':!![],'get':function(){var _0x5f10b2=_0xb946c1;return aws_s3_retrieve_1[_0x5f10b2(0x11d)];}});var local_retrieve_1=require(_0xb946c1(0x10e));Object[_0xb946c1(0x114)](exports,'LocalRetrieve',{'enumerable':!![],'get':function(){var _0x197f20=_0xb946c1;return local_retrieve_1[_0x197f20(0x119)];}});var aws_s3_import_helper_1=require(_0xb946c1(0x109));Object[_0xb946c1(0x114)](exports,_0xb946c1(0x10f),{'enumerable':!![],'get':function(){var _0x3a4bb4=_0xb946c1;return aws_s3_import_helper_1[_0x3a4bb4(0x10f)];}});var azure_retrieve_1=require(_0xb946c1(0x105));Object[_0xb946c1(0x114)](exports,_0xb946c1(0x11a),{'enumerable':!![],'get':function(){return azure_retrieve_1['AzureRetrieve'];}});var azure_helper_1=require(_0xb946c1(0x104));Object['defineProperty'](exports,'AzureHelper',{'enumerable':!![],'get':function(){var _0x2ef58e=_0xb946c1;return azure_helper_1[_0x2ef58e(0x106)];}});var local_helper_1=require(_0xb946c1(0x117));function _0x11f7(_0x442576,_0x2a94c5){_0x442576=_0x442576-0x102;var _0x20e540=_0x20e5();var _0x11f70b=_0x20e540[_0x442576];return _0x11f70b;}Object[_0xb946c1(0x114)](exports,_0xb946c1(0x11e),{'enumerable':!![],'get':function(){var _0x38755a=_0xb946c1;return local_helper_1[_0x38755a(0x11e)];}});var aws_s3_helper_1=require(_0xb946c1(0x110));Object[_0xb946c1(0x114)](exports,'AwsS3Helper',{'enumerable':!![],'get':function(){var _0x4d3bf3=_0xb946c1;return aws_s3_helper_1[_0x4d3bf3(0x102)];}});var base_helper_1=require(_0xb946c1(0x111));Object[_0xb946c1(0x114)](exports,_0xb946c1(0x118),{'enumerable':!![],'get':function(){var _0x125c22=_0xb946c1;return base_helper_1[_0x125c22(0x118)];}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x48e6c0=_0x5a3e;(function(_0x4f4397,_0x42463d){const _0x4ea51e=_0x5a3e,_0x25ee13=_0x4f4397();while(!![]){try{const _0x16fc51=parseInt(_0x4ea51e(0x7b))/0x1+parseInt(_0x4ea51e(0x7d))/0x2+-parseInt(_0x4ea51e(0x7f))/0x3+-parseInt(_0x4ea51e(0x81))/0x4*(parseInt(_0x4ea51e(0x8a))/0x5)+parseInt(_0x4ea51e(0x87))/0x6+parseInt(_0x4ea51e(0x6c))/0x7+parseInt(_0x4ea51e(0x69))/0x8*(parseInt(_0x4ea51e(0x76))/0x9);if(_0x16fc51===_0x42463d)break;else _0x25ee13['push'](_0x25ee13['shift']());}catch(_0x8246f7){_0x25ee13['push'](_0x25ee13['shift']());}}}(_0x2eb2,0x319fe));function _0x2eb2(){const _0x518dd5=['__esModule','next','status','length','9FvmWHW','readFilesToRetrieve','../types/retrieve-status.enum','FsUtils','getFolderFiles','23781CqtzUS','RetrieveStatus','579234eYEAaD','defineProperty','833652rlnJbC','isDone','42356hvEeDJ','shift','then','Completed','value','createReadStream','1732650dKLHuK','path','@flosum/utils','100yAKGzH','212104hlCTcp','Uninitialized','throw','449680XfWukg','apply','waitUntilRetrieveDone','filesPaths','execute','LocalRetrieve'];_0x2eb2=function(){return _0x518dd5;};return _0x2eb2();}var __awaiter=this&&this['__awaiter']||function(_0x5e916a,_0x3f0e73,_0x4dc324,_0x21cd5c){function _0x494bc2(_0x17d525){return _0x17d525 instanceof _0x4dc324?_0x17d525:new _0x4dc324(function(_0x987384){_0x987384(_0x17d525);});}return new(_0x4dc324||(_0x4dc324=Promise))(function(_0xa28546,_0x3c1a27){const _0x3895f5=_0x5a3e;function _0x8d151f(_0x18a5a0){const _0xf1991=_0x5a3e;try{_0x360fcd(_0x21cd5c[_0xf1991(0x73)](_0x18a5a0));}catch(_0x2b9e6e){_0x3c1a27(_0x2b9e6e);}}function _0x5c9c88(_0x436a44){const _0x2b653a=_0x5a3e;try{_0x360fcd(_0x21cd5c[_0x2b653a(0x6b)](_0x436a44));}catch(_0x12a417){_0x3c1a27(_0x12a417);}}function _0x360fcd(_0x3f2004){const _0x517683=_0x5a3e;_0x3f2004['done']?_0xa28546(_0x3f2004[_0x517683(0x85)]):_0x494bc2(_0x3f2004[_0x517683(0x85)])[_0x517683(0x83)](_0x8d151f,_0x5c9c88);}_0x360fcd((_0x21cd5c=_0x21cd5c[_0x3895f5(0x6d)](_0x5e916a,_0x3f0e73||[]))[_0x3895f5(0x73)]());});};Object[_0x48e6c0(0x7e)](exports,_0x48e6c0(0x72),{'value':!![]}),exports[_0x48e6c0(0x71)]=void 0x0;const fs_1=require('fs'),utils_1=require(_0x48e6c0(0x89)),_1=require('./'),retrieve_status_enum_1=require(_0x48e6c0(0x78));function _0x5a3e(_0x4c59ac,_0x2b34a7){_0x4c59ac=_0x4c59ac-0x69;const _0x2eb2e6=_0x2eb2();let _0x5a3e0b=_0x2eb2e6[_0x4c59ac];return _0x5a3e0b;}class LocalRetrieve extends _1['BaseRetrieve']{constructor(){const _0x4b705f=_0x48e6c0;super(...arguments),this[_0x4b705f(0x6f)]=[];}[_0x48e6c0(0x70)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x23ae08=_0x5a3e,_0xfeefb0=this[_0x23ae08(0x6f)][_0x23ae08(0x82)](),_0x2aacec=(0x0,fs_1[_0x23ae08(0x86)])(_0xfeefb0);return this[_0x23ae08(0x80)]=!this[_0x23ae08(0x6f)][_0x23ae08(0x75)],{'path':_0xfeefb0,'content':_0x2aacec};});}[_0x48e6c0(0x77)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x21f51f=_0x5a3e;this[_0x21f51f(0x6f)]=yield utils_1[_0x21f51f(0x79)][_0x21f51f(0x7a)](this[_0x21f51f(0x88)]);});}[_0x48e6c0(0x6e)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2c0c28=_0x5a3e;this[_0x2c0c28(0x74)]===retrieve_status_enum_1['RetrieveStatus'][_0x2c0c28(0x6a)]&&(yield this[_0x2c0c28(0x77)](),this[_0x2c0c28(0x74)]=retrieve_status_enum_1[_0x2c0c28(0x7c)][_0x2c0c28(0x84)]);});}}exports[_0x48e6c0(0x71)]=LocalRetrieve;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ServiceInputTypes, StorageClass } from '@aws-sdk/client-s3';
|
|
2
2
|
import { BuildHandler, BuildHandlerOptions, AwsHandlerExecutionContext, BuildHandlerArguments } from '@aws-sdk/types';
|
|
3
|
-
export
|
|
3
|
+
export type AwsFile = {
|
|
4
4
|
path: string;
|
|
5
5
|
class: StorageClass;
|
|
6
6
|
status: AwsFileRetrieveStatus;
|
|
@@ -10,17 +10,17 @@ export declare enum AwsFileRetrieveStatus {
|
|
|
10
10
|
Restoring = "Restoring",
|
|
11
11
|
NeedRestore = "NeedRestore"
|
|
12
12
|
}
|
|
13
|
-
export
|
|
13
|
+
export type AwsFileInfo = {
|
|
14
14
|
StorageClass: StorageClass;
|
|
15
15
|
Restore?: string;
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type AwsCredentials = {
|
|
18
18
|
region: string;
|
|
19
19
|
bucketName: string;
|
|
20
20
|
accessKeyId?: string;
|
|
21
21
|
secretAccessKey?: string;
|
|
22
22
|
};
|
|
23
|
-
export
|
|
23
|
+
export type AwsBuildMiddleware = {
|
|
24
24
|
handler: (next: BuildHandler<any, any>, context: AwsHandlerExecutionContext) => (args: BuildHandlerArguments<ServiceInputTypes>) => Promise<any>;
|
|
25
25
|
options: BuildHandlerOptions;
|
|
26
26
|
};
|
package/dist/types/aws.types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var _0x257b1c=_0x581c;(function(_0x226284,_0x123729){var _0x36e2a5=_0x581c,_0x20154e=_0x226284();while(!![]){try{var _0xd59f0c=parseInt(_0x36e2a5(0xb3))/0x1+parseInt(_0x36e2a5(0xb0))/0x2*(parseInt(_0x36e2a5(0xb2))/0x3)+parseInt(_0x36e2a5(0xaf))/0x4+parseInt(_0x36e2a5(0xb5))/0x5*(parseInt(_0x36e2a5(0xbc))/0x6)+-parseInt(_0x36e2a5(0xba))/0x7*(parseInt(_0x36e2a5(0xbd))/0x8)+-parseInt(_0x36e2a5(0xb7))/0x9+-parseInt(_0x36e2a5(0xb6))/0xa;if(_0xd59f0c===_0x123729)break;else _0x20154e['push'](_0x20154e['shift']());}catch(_0x4da356){_0x20154e['push'](_0x20154e['shift']());}}}(_0x118e,0x3a582));function _0x581c(_0x1c5f1f,_0x3f62d5){_0x1c5f1f=_0x1c5f1f-0xaf;var _0x118efd=_0x118e();var _0x581c9d=_0x118efd[_0x1c5f1f];return _0x581c9d;}Object[_0x257b1c(0xbb)](exports,_0x257b1c(0xb1),{'value':!![]}),exports['AwsFileRetrieveStatus']=void 0x0;var AwsFileRetrieveStatus;function _0x118e(){var _0x22736a=['1765152QyaIlq','Restoring','NeedRestore','3118983pHBNib','defineProperty','28902NLVWyJ','8opQTab','542908PVGuOV','2XtacRT','__esModule','1166673wRyKiH','118767MKSsQX','Available','485iIudWH','2299590tOOAUU'];_0x118e=function(){return _0x22736a;};return _0x118e();}(function(_0x1dca5d){var _0x391398=_0x257b1c;_0x1dca5d['Available']=_0x391398(0xb4),_0x1dca5d['Restoring']=_0x391398(0xb8),_0x1dca5d[_0x391398(0xb9)]='NeedRestore';}(AwsFileRetrieveStatus||(exports['AwsFileRetrieveStatus']=AwsFileRetrieveStatus={})));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var _0x2568b1=_0x3056;(function(_0x435e20,_0x27785c){var _0x4087eb=_0x3056,_0x1d0812=_0x435e20();while(!![]){try{var _0x21f8c3=-parseInt(_0x4087eb(0x176))/0x1+parseInt(_0x4087eb(0x177))/0x2+-parseInt(_0x4087eb(0x179))/0x3*(-parseInt(_0x4087eb(0x171))/0x4)+-parseInt(_0x4087eb(0x178))/0x5+-parseInt(_0x4087eb(0x173))/0x6*(parseInt(_0x4087eb(0x172))/0x7)+-parseInt(_0x4087eb(0x170))/0x8+parseInt(_0x4087eb(0x174))/0x9;if(_0x21f8c3===_0x27785c)break;else _0x1d0812['push'](_0x1d0812['shift']());}catch(_0x212825){_0x1d0812['push'](_0x1d0812['shift']());}}}(_0x3d45,0xcf896));function _0x3056(_0x352de8,_0x54d6e1){_0x352de8=_0x352de8-0x170;var _0x3d45fc=_0x3d45();var _0x3056f8=_0x3d45fc[_0x352de8];return _0x3056f8;}function _0x3d45(){var _0x425850=['12jBoqkU','39769272UgcFrw','__esModule','780993qLGaHm','576562MlDOFG','8123685gInXWX','132GJZARc','2785000turfxR','24528HsgYPs','4805402HgKuKc'];_0x3d45=function(){return _0x425850;};return _0x3d45();}Object['defineProperty'](exports,_0x2568b1(0x175),{'value':!![]});
|
package/dist/types/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var _0x599dbc=_0x2048;(function(_0x8ec328,_0x18d319){var _0xe6a037=_0x2048,_0x593202=_0x8ec328();while(!![]){try{var _0x537077=-parseInt(_0xe6a037(0x139))/0x1+parseInt(_0xe6a037(0x13c))/0x2+-parseInt(_0xe6a037(0x134))/0x3+-parseInt(_0xe6a037(0x136))/0x4+-parseInt(_0xe6a037(0x13b))/0x5+-parseInt(_0xe6a037(0x13a))/0x6+parseInt(_0xe6a037(0x13d))/0x7;if(_0x537077===_0x18d319)break;else _0x593202['push'](_0x593202['shift']());}catch(_0x5a3468){_0x593202['push'](_0x593202['shift']());}}}(_0x5a4a,0xd37d7));function _0x2048(_0x99e67c,_0x1d7683){_0x99e67c=_0x99e67c-0x134;var _0x5a4a98=_0x5a4a();var _0x20485e=_0x5a4a98[_0x99e67c];return _0x20485e;}Object[_0x599dbc(0x138)](exports,_0x599dbc(0x135),{'value':!![]}),exports[_0x599dbc(0x137)]=void 0x0;var storage_type_enum_1=require('./storage-type.enum');function _0x5a4a(){var _0x23fcd4=['3084261bMlEpP','__esModule','5229456ErbVca','StorageType','defineProperty','1405409IWrnhr','9195834acfgta','5386240gWCUyr','1101634RQZlxT','46663351BGyUki'];_0x5a4a=function(){return _0x23fcd4;};return _0x5a4a();}Object[_0x599dbc(0x138)](exports,_0x599dbc(0x137),{'enumerable':!![],'get':function(){return storage_type_enum_1['StorageType'];}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var _0x1ffbd6=_0x4be6;function _0x49dc(){var _0x5107e6=['defineProperty','11jOAwVR','432Vlscab','41626230aRylov','3397116BFyoub','158794rzVxMa','1130463HQorDp','162117TiVAeK','238679JZEfIO','72nkHaQW','333005PCoPXy','21KnFFWU'];_0x49dc=function(){return _0x5107e6;};return _0x49dc();}(function(_0x45d6ff,_0x451f06){var _0x3145fa=_0x4be6,_0x381a8e=_0x45d6ff();while(!![]){try{var _0x4f921a=-parseInt(_0x3145fa(0x71))/0x1+-parseInt(_0x3145fa(0x70))/0x2*(parseInt(_0x3145fa(0x76))/0x3)+-parseInt(_0x3145fa(0x6f))/0x4+-parseInt(_0x3145fa(0x75))/0x5+-parseInt(_0x3145fa(0x74))/0x6*(-parseInt(_0x3145fa(0x73))/0x7)+-parseInt(_0x3145fa(0x6d))/0x8*(parseInt(_0x3145fa(0x72))/0x9)+-parseInt(_0x3145fa(0x6e))/0xa*(-parseInt(_0x3145fa(0x6c))/0xb);if(_0x4f921a===_0x451f06)break;else _0x381a8e['push'](_0x381a8e['shift']());}catch(_0x109819){_0x381a8e['push'](_0x381a8e['shift']());}}}(_0x49dc,0xf3663));function _0x4be6(_0x53b154,_0xe8a08a){_0x53b154=_0x53b154-0x6c;var _0x49dca0=_0x49dc();var _0x4be6d8=_0x49dca0[_0x53b154];return _0x4be6d8;}Object[_0x1ffbd6(0x77)](exports,'__esModule',{'value':!![]});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var _0x586b07=_0x24e9;function _0x24e9(_0x4cda02,_0x583081){_0x4cda02=_0x4cda02-0x9f;var _0x20ac71=_0x20ac();var _0x24e984=_0x20ac71[_0x4cda02];return _0x24e984;}(function(_0x20460e,_0xecfd05){var _0x5e3d4c=_0x24e9,_0x24a832=_0x20460e();while(!![]){try{var _0x3509b9=parseInt(_0x5e3d4c(0xa5))/0x1+parseInt(_0x5e3d4c(0xa1))/0x2+-parseInt(_0x5e3d4c(0xac))/0x3+-parseInt(_0x5e3d4c(0xa3))/0x4*(-parseInt(_0x5e3d4c(0xa0))/0x5)+-parseInt(_0x5e3d4c(0xa7))/0x6+parseInt(_0x5e3d4c(0xaa))/0x7*(-parseInt(_0x5e3d4c(0xa6))/0x8)+-parseInt(_0x5e3d4c(0xa9))/0x9*(-parseInt(_0x5e3d4c(0xa8))/0xa);if(_0x3509b9===_0xecfd05)break;else _0x24a832['push'](_0x24a832['shift']());}catch(_0x26fde3){_0x24a832['push'](_0x24a832['shift']());}}}(_0x20ac,0x763e8));function _0x20ac(){var _0x5b42bc=['__esModule','259532hXvEQX','3475184hAmOOx','5755854Paoxjc','14698930zvYkhE','9wGwDJg','7LvEsQf','InProgress','2585070jqTsoU','RetrieveStatus','In\x20Progress','Completed','638735eRGKuX','1765106squneI','Exception','4tdGkiY'];_0x20ac=function(){return _0x5b42bc;};return _0x20ac();}Object['defineProperty'](exports,_0x586b07(0xa4),{'value':!![]}),exports['RetrieveStatus']=void 0x0;var RetrieveStatus;(function(_0x1499a7){var _0x37c2c8=_0x586b07;_0x1499a7['Uninitialized']='Uninitialized',_0x1499a7[_0x37c2c8(0xab)]=_0x37c2c8(0xae),_0x1499a7[_0x37c2c8(0x9f)]=_0x37c2c8(0x9f),_0x1499a7[_0x37c2c8(0xa2)]=_0x37c2c8(0xa2);}(RetrieveStatus||(exports[_0x586b07(0xad)]=RetrieveStatus={})));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var _0x54392d=_0x324a;(function(_0x58196b,_0x2f0d98){var _0x96b55d=_0x324a,_0x3a55cc=_0x58196b();while(!![]){try{var _0x1b2b61=parseInt(_0x96b55d(0x15c))/0x1*(parseInt(_0x96b55d(0x15b))/0x2)+-parseInt(_0x96b55d(0x165))/0x3*(-parseInt(_0x96b55d(0x164))/0x4)+parseInt(_0x96b55d(0x161))/0x5+parseInt(_0x96b55d(0x166))/0x6*(-parseInt(_0x96b55d(0x157))/0x7)+-parseInt(_0x96b55d(0x15e))/0x8*(parseInt(_0x96b55d(0x162))/0x9)+parseInt(_0x96b55d(0x156))/0xa*(-parseInt(_0x96b55d(0x163))/0xb)+-parseInt(_0x96b55d(0x158))/0xc*(parseInt(_0x96b55d(0x15d))/0xd);if(_0x1b2b61===_0x2f0d98)break;else _0x3a55cc['push'](_0x3a55cc['shift']());}catch(_0x17f979){_0x3a55cc['push'](_0x3a55cc['shift']());}}}(_0x4a36,0xefdcf));function _0x324a(_0x2b8e31,_0x34d928){_0x2b8e31=_0x2b8e31-0x156;var _0x4a367e=_0x4a36();var _0x324a19=_0x4a367e[_0x2b8e31];return _0x324a19;}function _0x4a36(){var _0x349116=['11632236OdKPIc','AZURE_BLOB','AWS_S3','14dsRCqe','233110cciJNF','13CIKJSC','8eRiAoU','defineProperty','StorageType','783660JTNzag','5638914MfEOWu','272316cIVKNE','749212jnxSGt','21EsvCrV','2236254FllQgl','Local','60cnQhRw','7XUYMhS'];_0x4a36=function(){return _0x349116;};return _0x4a36();}Object[_0x54392d(0x15f)](exports,'__esModule',{'value':!![]}),exports[_0x54392d(0x160)]=void 0x0;var StorageType;(function(_0x1a0f0f){var _0x9872fd=_0x54392d;_0x1a0f0f['Local']=_0x9872fd(0x167),_0x1a0f0f['AWS_S3']=_0x9872fd(0x15a),_0x1a0f0f[_0x9872fd(0x159)]=_0x9872fd(0x159);}(StorageType||(exports['StorageType']=StorageType={})));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x5ded91=_0x13b6;(function(_0x136d34,_0x2466e4){const _0x4e5ccc=_0x13b6,_0x1dfe99=_0x136d34();while(!![]){try{const _0x4b6ee1=-parseInt(_0x4e5ccc(0x8a))/0x1+parseInt(_0x4e5ccc(0x99))/0x2+parseInt(_0x4e5ccc(0x88))/0x3*(parseInt(_0x4e5ccc(0x8d))/0x4)+parseInt(_0x4e5ccc(0x91))/0x5+-parseInt(_0x4e5ccc(0x9a))/0x6+-parseInt(_0x4e5ccc(0x8c))/0x7+parseInt(_0x4e5ccc(0x7e))/0x8*(parseInt(_0x4e5ccc(0x95))/0x9);if(_0x4b6ee1===_0x2466e4)break;else _0x1dfe99['push'](_0x1dfe99['shift']());}catch(_0x17d4ad){_0x1dfe99['push'](_0x1dfe99['shift']());}}}(_0x3fbb,0x20761));var __awaiter=this&&this['__awaiter']||function(_0x2c2c42,_0x5aa6e5,_0x324ee4,_0x5b0350){function _0x366425(_0x54e2d2){return _0x54e2d2 instanceof _0x324ee4?_0x54e2d2:new _0x324ee4(function(_0x5bbe14){_0x5bbe14(_0x54e2d2);});}return new(_0x324ee4||(_0x324ee4=Promise))(function(_0x539d5a,_0x31c35c){function _0x28b8f5(_0x4d5d83){try{_0x4eeb10(_0x5b0350['next'](_0x4d5d83));}catch(_0x1ec089){_0x31c35c(_0x1ec089);}}function _0x60d60(_0x27131e){const _0x45237e=_0x13b6;try{_0x4eeb10(_0x5b0350[_0x45237e(0x93)](_0x27131e));}catch(_0x50a229){_0x31c35c(_0x50a229);}}function _0x4eeb10(_0x227526){const _0x571985=_0x13b6;_0x227526[_0x571985(0x8f)]?_0x539d5a(_0x227526[_0x571985(0x7f)]):_0x366425(_0x227526[_0x571985(0x7f)])['then'](_0x28b8f5,_0x60d60);}_0x4eeb10((_0x5b0350=_0x5b0350['apply'](_0x2c2c42,_0x5aa6e5||[]))['next']());});};Object['defineProperty'](exports,_0x5ded91(0x89),{'value':!![]}),exports['AwsS3Utils']=void 0x0;const init_1=require(_0x5ded91(0x7c)),aws_types_1=require(_0x5ded91(0x9f)),client_s3_1=require(_0x5ded91(0x98)),ARCHIVE_TYPES=[_0x5ded91(0x80),_0x5ded91(0x9b),_0x5ded91(0x85)];class AwsS3Utils{static['extractFileRetrieveStatusFromFileInfo'](_0x122d7d){const _0x442105=_0x5ded91;if(ARCHIVE_TYPES['includes'](_0x122d7d[_0x442105(0x84)])){if(_0x122d7d[_0x442105(0x7d)])return AwsS3Utils[_0x442105(0x90)](_0x122d7d[_0x442105(0x7d)]);return aws_types_1[_0x442105(0x86)][_0x442105(0x82)];}return aws_types_1[_0x442105(0x86)][_0x442105(0x9e)];}static[_0x5ded91(0x90)](_0x227651){const _0xaf9870=_0x5ded91,_0x1e0e9f=/ongoing-request="([^"]+)"/,_0x3b73f0=_0x227651[_0xaf9870(0x9d)](_0x1e0e9f);return _0x3b73f0[0x1]===_0xaf9870(0x81)?aws_types_1[_0xaf9870(0x86)][_0xaf9870(0x9e)]:aws_types_1[_0xaf9870(0x86)]['Restoring'];}static[_0x5ded91(0x87)](_0x58e9ec,_0x4cc7e5,_0x3b5d58){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x444529=_0x13b6,_0x3d19a0=[];let _0xd89f52,_0x1edde2=null;do{const _0x3c717c=new client_s3_1[(_0x444529(0x83))]({'Bucket':_0x4cc7e5,'Prefix':_0x58e9ec,'Marker':_0x1edde2}),{Contents:_0x4b15cc,IsTruncated:_0x338e18}=yield _0x3b5d58[_0x444529(0x92)](_0x3c717c);if(!_0x4b15cc)return _0x3d19a0;for(const _0x241763 of _0x4b15cc){_0x3d19a0['push'](_0x241763[_0x444529(0x96)]);}_0xd89f52=_0x338e18,_0xd89f52&&(_0x1edde2=_0x4b15cc['at'](-0x1)['Key']);}while(_0xd89f52);return _0x3d19a0;});}static[_0x5ded91(0x97)]({region:_0x59ad88,accessKeyId:_0x5a5542,secretAccessKey:_0x1fee58},_0x2b5040){const _0x888775=_0x5ded91,_0x51a26d={'region':_0x59ad88,'requestHandler':new init_1['HttpHandler']()};_0x5a5542&&_0x1fee58&&(_0x51a26d['credentials']={'accessKeyId':_0x5a5542,'secretAccessKey':_0x1fee58});const _0x5eec06=new client_s3_1[(_0x888775(0xa0))](_0x51a26d);if(!(_0x2b5040===null||_0x2b5040===void 0x0?void 0x0:_0x2b5040[_0x888775(0xa1)]))return _0x5eec06;return this[_0x888775(0x94)](_0x5eec06,_0x2b5040);}static[_0x5ded91(0x94)](_0x54f7f6,_0x1c419f){const _0x39225b=_0x5ded91;for(const {handler:_0x1d671b,options:_0x1efe1e}of _0x1c419f){_0x54f7f6[_0x39225b(0x8e)][_0x39225b(0x8b)](_0x1d671b,_0x1efe1e);}return _0x54f7f6;}}exports[_0x5ded91(0x9c)]=AwsS3Utils;function _0x13b6(_0x29b221,_0x4d8041){_0x29b221=_0x29b221-0x7c;const _0x3fbb39=_0x3fbb();let _0x13b653=_0x3fbb39[_0x29b221];return _0x13b653;}function _0x3fbb(){const _0x3285c2=['87hpAhmA','__esModule','236614QvoUOk','add','412048HStYxK','35896whpnuz','middlewareStack','done','extractFileRetrieveStatusFromRestoreField','323300WTtxxk','send','throw','applyMiddlewaresToS3Client','17991nrxKCx','Key','createS3Client','@aws-sdk/client-s3','28520NFqtDC','315936UgStbI','GLACIER_IR','AwsS3Utils','match','Available','../types/aws.types','S3Client','length','../init','Restore','568nGJaPI','value','GLACIER','false','NeedRestore','ListObjectsCommand','StorageClass','DEEP_ARCHIVE','AwsFileRetrieveStatus','getFilesPaths'];_0x3fbb=function(){return _0x3285c2;};return _0x3fbb();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var _0x527e1c=_0x2724;(function(_0x206c89,_0x3ba462){var _0x54f450=_0x2724,_0x4af10c=_0x206c89();while(!![]){try{var _0x135932=parseInt(_0x54f450(0x90))/0x1*(-parseInt(_0x54f450(0xa5))/0x2)+-parseInt(_0x54f450(0x9e))/0x3+parseInt(_0x54f450(0xb1))/0x4+parseInt(_0x54f450(0xac))/0x5+parseInt(_0x54f450(0xa4))/0x6*(parseInt(_0x54f450(0xa0))/0x7)+-parseInt(_0x54f450(0x92))/0x8*(parseInt(_0x54f450(0x99))/0x9)+-parseInt(_0x54f450(0x88))/0xa*(parseInt(_0x54f450(0x8e))/0xb);if(_0x135932===_0x3ba462)break;else _0x4af10c['push'](_0x4af10c['shift']());}catch(_0x13d76d){_0x4af10c['push'](_0x4af10c['shift']());}}}(_0x2c81,0xc4ed7));var __awaiter=this&&this[_0x527e1c(0x96)]||function(_0x2a4217,_0x1b6b02,_0x11c4c6,_0xf34e6){function _0x5644ef(_0x2858fd){return _0x2858fd instanceof _0x11c4c6?_0x2858fd:new _0x11c4c6(function(_0x5871ae){_0x5871ae(_0x2858fd);});}return new(_0x11c4c6||(_0x11c4c6=Promise))(function(_0x27efcc,_0x5f0606){var _0xba624f=_0x2724;function _0x1e88c2(_0x225cf1){try{_0x3c4a84(_0xf34e6['next'](_0x225cf1));}catch(_0x39abac){_0x5f0606(_0x39abac);}}function _0x3432b7(_0x37f169){var _0xced21d=_0x2724;try{_0x3c4a84(_0xf34e6[_0xced21d(0x94)](_0x37f169));}catch(_0x76096b){_0x5f0606(_0x76096b);}}function _0x3c4a84(_0x1c77bf){var _0x22f3c3=_0x2724;_0x1c77bf[_0x22f3c3(0x8f)]?_0x27efcc(_0x1c77bf[_0x22f3c3(0x9f)]):_0x5644ef(_0x1c77bf[_0x22f3c3(0x9f)])[_0x22f3c3(0xa8)](_0x1e88c2,_0x3432b7);}_0x3c4a84((_0xf34e6=_0xf34e6[_0xba624f(0xad)](_0x2a4217,_0x1b6b02||[]))[_0xba624f(0xa2)]());});},__asyncValues=this&&this[_0x527e1c(0xa9)]||function(_0x487aa8){var _0x11da99=_0x527e1c;if(!Symbol[_0x11da99(0x93)])throw new TypeError(_0x11da99(0xab));var _0x84d11f=_0x487aa8[Symbol[_0x11da99(0x93)]],_0x2c55cb;return _0x84d11f?_0x84d11f[_0x11da99(0x9c)](_0x487aa8):(_0x487aa8=typeof __values==='function'?__values(_0x487aa8):_0x487aa8[Symbol[_0x11da99(0x9b)]](),_0x2c55cb={},_0x53cf0c('next'),_0x53cf0c('throw'),_0x53cf0c(_0x11da99(0x89)),_0x2c55cb[Symbol[_0x11da99(0x93)]]=function(){return this;},_0x2c55cb);function _0x53cf0c(_0x7c82cf){_0x2c55cb[_0x7c82cf]=_0x487aa8[_0x7c82cf]&&function(_0x400def){return new Promise(function(_0x1e7058,_0x27a52d){var _0x1e6f33=_0x2724;_0x400def=_0x487aa8[_0x7c82cf](_0x400def),_0x3524a0(_0x1e7058,_0x27a52d,_0x400def[_0x1e6f33(0x8f)],_0x400def[_0x1e6f33(0x9f)]);});};}function _0x3524a0(_0x47fab4,_0x2f149f,_0x4c70dc,_0x3eabd0){var _0x268728=_0x11da99;Promise[_0x268728(0xaf)](_0x3eabd0)[_0x268728(0xa8)](function(_0x1b4d20){_0x47fab4({'value':_0x1b4d20,'done':_0x4c70dc});},_0x2f149f);}};function _0x2c81(){var _0x4135a6=['iterator','call','__esModule','2396211GjzIvN','value','14HYzGka','BlobServiceClient','next','push','2487816xdSMuP','11476dFxqFn','createAzureBlobContainerClient','createAzureBlobServiceClient','then','__asyncValues','@azure/storage-blob','Symbol.asyncIterator\x20is\x20not\x20defined.','4099415enXgxx','apply','listBlobsFlat','resolve','getAzureBlobsPaths','5732056rPNSHY','AzureUtils','3239050pDinia','return','defineProperty','https://','containerName','StorageSharedKeyCredential','11qxlTzq','done','179ZZzZxb','name','1006480WhYGpU','asyncIterator','throw','error','__awaiter','deleted','.blob.core.windows.net','9UfbpzD','getContainerClient'];_0x2c81=function(){return _0x4135a6;};return _0x2c81();}Object[_0x527e1c(0x8a)](exports,_0x527e1c(0x9d),{'value':!![]}),exports[_0x527e1c(0x87)]=void 0x0;const storage_blob_1=require(_0x527e1c(0xaa));class AzureUtils{static[_0x527e1c(0xa7)]({accountName:_0x3e6be1,accountKey:_0x29e3d7}){var _0x2af0bb=_0x527e1c;const _0x546767=new storage_blob_1[(_0x2af0bb(0x8d))](_0x3e6be1,_0x29e3d7);return new storage_blob_1[(_0x2af0bb(0xa1))](_0x2af0bb(0x8b)+_0x3e6be1+_0x2af0bb(0x98),_0x546767);}static[_0x527e1c(0xa6)](_0x43a949){var _0x34c458=_0x527e1c;const _0x4520b8=this[_0x34c458(0xa7)](_0x43a949);return _0x4520b8[_0x34c458(0x9a)](_0x43a949[_0x34c458(0x8c)]);}static[_0x527e1c(0xb0)](_0x1ea717,_0x21aad8){var _0x1247a2,_0x1d80c1,_0x13df5f,_0xbd6649;return __awaiter(this,void 0x0,void 0x0,function*(){var _0x301fd1=_0x2724;const _0xa8ce3b=[];try{for(var _0x6a7f1f=!![],_0x21dc1b=__asyncValues(_0x21aad8[_0x301fd1(0xae)]({'prefix':_0x1ea717})),_0x1d0b9d;_0x1d0b9d=yield _0x21dc1b[_0x301fd1(0xa2)](),_0x1247a2=_0x1d0b9d[_0x301fd1(0x8f)],!_0x1247a2;_0x6a7f1f=!![]){_0xbd6649=_0x1d0b9d['value'],_0x6a7f1f=![];const _0x468da6=_0xbd6649;!_0x468da6[_0x301fd1(0x97)]&&_0xa8ce3b[_0x301fd1(0xa3)](_0x468da6[_0x301fd1(0x91)]);}}catch(_0x12eb04){_0x1d80c1={'error':_0x12eb04};}finally{try{if(!_0x6a7f1f&&!_0x1247a2&&(_0x13df5f=_0x21dc1b[_0x301fd1(0x89)]))yield _0x13df5f['call'](_0x21dc1b);}finally{if(_0x1d80c1)throw _0x1d80c1[_0x301fd1(0x95)];}}return _0xa8ce3b;});}}function _0x2724(_0x204f95,_0x3c600c){_0x204f95=_0x204f95-0x87;var _0x2c81ee=_0x2c81();var _0x2724ab=_0x2c81ee[_0x204f95];return _0x2724ab;}exports['AzureUtils']=AzureUtils;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x43786e=_0x4c67;(function(_0x3542d4,_0x1b75d2){const _0x4c273c=_0x4c67,_0x5e8626=_0x3542d4();while(!![]){try{const _0x6619f6=-parseInt(_0x4c273c(0x1c8))/0x1+parseInt(_0x4c273c(0x1d2))/0x2*(-parseInt(_0x4c273c(0x1cc))/0x3)+-parseInt(_0x4c273c(0x1c1))/0x4+parseInt(_0x4c273c(0x1bf))/0x5*(-parseInt(_0x4c273c(0x1d0))/0x6)+-parseInt(_0x4c273c(0x1c3))/0x7*(parseInt(_0x4c273c(0x1cb))/0x8)+parseInt(_0x4c273c(0x1bb))/0x9*(-parseInt(_0x4c273c(0x1d6))/0xa)+parseInt(_0x4c273c(0x1bd))/0xb*(parseInt(_0x4c273c(0x1c5))/0xc);if(_0x6619f6===_0x1b75d2)break;else _0x5e8626['push'](_0x5e8626['shift']());}catch(_0x460c99){_0x5e8626['push'](_0x5e8626['shift']());}}}(_0x830f,0xb4280));var __awaiter=this&&this[_0x43786e(0x1cf)]||function(_0x476ac5,_0x33d770,_0xdab0d7,_0x2c5796){function _0x16d4e1(_0xde4a3e){return _0xde4a3e instanceof _0xdab0d7?_0xde4a3e:new _0xdab0d7(function(_0x114cad){_0x114cad(_0xde4a3e);});}return new(_0xdab0d7||(_0xdab0d7=Promise))(function(_0x20be75,_0x48a12a){const _0x36a414=_0x4c67;function _0x2b64c3(_0x194904){const _0x4ed779=_0x4c67;try{_0x47e040(_0x2c5796[_0x4ed779(0x1c0)](_0x194904));}catch(_0x1b8ed0){_0x48a12a(_0x1b8ed0);}}function _0x105b54(_0x2f9dbf){try{_0x47e040(_0x2c5796['throw'](_0x2f9dbf));}catch(_0x442e1e){_0x48a12a(_0x442e1e);}}function _0x47e040(_0x4fc4e0){const _0x49fc2e=_0x4c67;_0x4fc4e0[_0x49fc2e(0x1cd)]?_0x20be75(_0x4fc4e0[_0x49fc2e(0x1d1)]):_0x16d4e1(_0x4fc4e0[_0x49fc2e(0x1d1)])[_0x49fc2e(0x1ca)](_0x2b64c3,_0x105b54);}_0x47e040((_0x2c5796=_0x2c5796[_0x36a414(0x1c9)](_0x476ac5,_0x33d770||[]))[_0x36a414(0x1c0)]());});},__importDefault=this&&this[_0x43786e(0x1c7)]||function(_0xe50921){const _0x282329=_0x43786e;return _0xe50921&&_0xe50921[_0x282329(0x1d3)]?_0xe50921:{'default':_0xe50921};};Object[_0x43786e(0x1bc)](exports,_0x43786e(0x1d3),{'value':!![]}),exports[_0x43786e(0x1c2)]=void 0x0;function _0x4c67(_0x54b01c,_0x335186){_0x54b01c=_0x54b01c-0x1bb;const _0x830f77=_0x830f();let _0x4c6779=_0x830f77[_0x54b01c];return _0x4c6779;}const path_1=__importDefault(require('path')),crypto_1=require('crypto'),promises_1=require(_0x43786e(0x1c4)),fs_1=require('fs');class CacheUtils{static['createCacheFileStream'](_0x236877,_0x19b8a7){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4f12a6=_0x4c67,_0x32e33b=path_1[_0x4f12a6(0x1ce)][_0x4f12a6(0x1be)](_0x19b8a7,(0x0,crypto_1[_0x4f12a6(0x1d5)])());yield(0x0,promises_1[_0x4f12a6(0x1d4)])(_0x32e33b,_0x236877);const _0x218f92=(0x0,fs_1['createReadStream'])(_0x32e33b);return _0x218f92['on'](_0x4f12a6(0x1c6),()=>(0x0,promises_1['rm'])(_0x32e33b)),_0x218f92;});}}exports[_0x43786e(0x1c2)]=CacheUtils;function _0x830f(){const _0x55c79d=['join','1121660BQUQGE','next','966744TRKsft','CacheUtils','7827043poHBFP','fs/promises','276132DRzVIT','close','__importDefault','554765kknVgb','apply','then','8jXMdHK','3NmogBO','done','default','__awaiter','18iVPpRq','value','1731276zUqnDf','__esModule','writeFile','randomUUID','86230Atqqxj','405kASYRH','defineProperty','2189fwPUck'];_0x830f=function(){return _0x55c79d;};return _0x830f();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flosum/storages",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.6-dev.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -28,19 +28,17 @@
|
|
|
28
28
|
"author": "Flosum",
|
|
29
29
|
"license": "ISC",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/client-s3": "3.
|
|
32
|
-
"@aws-sdk/lib-storage": "3.
|
|
31
|
+
"@aws-sdk/client-s3": "3.1078.0",
|
|
32
|
+
"@aws-sdk/lib-storage": "3.1078.0",
|
|
33
33
|
"@azure/storage-blob": "12.26.0",
|
|
34
|
-
"@flosum/utils": "1.0.
|
|
35
|
-
"@smithy/node-http-handler": "
|
|
36
|
-
"https-proxy-agent": "
|
|
37
|
-
"request": "2.88.2"
|
|
34
|
+
"@flosum/utils": "1.0.15",
|
|
35
|
+
"@smithy/node-http-handler": "4.9.2",
|
|
36
|
+
"https-proxy-agent": "5.0.1"
|
|
38
37
|
},
|
|
39
38
|
"devDependencies": {
|
|
40
39
|
"@types/jest": "27.4.1",
|
|
41
40
|
"@types/node": "18.14.6",
|
|
42
|
-
"@types/
|
|
43
|
-
"@types/unzipper": "^0.10.10",
|
|
41
|
+
"@types/unzipper": "0.10.10",
|
|
44
42
|
"@typescript-eslint/eslint-plugin": "5.30.5",
|
|
45
43
|
"@typescript-eslint/parser": "5.30.5",
|
|
46
44
|
"eslint": "8.19.0",
|
|
@@ -51,7 +49,7 @@
|
|
|
51
49
|
"gulp": "4.0.2",
|
|
52
50
|
"gulp-javascript-obfuscator": "1.1.6",
|
|
53
51
|
"gulp-nodemon": "2.5.0",
|
|
54
|
-
"gulp-plugin-ts-alias": "
|
|
52
|
+
"gulp-plugin-ts-alias": "2.2.3",
|
|
55
53
|
"gulp-typescript": "5.0.1",
|
|
56
54
|
"husky": "7.0.1",
|
|
57
55
|
"lint-staged": "11.1.2",
|
|
@@ -59,7 +57,7 @@
|
|
|
59
57
|
"prettier": "2.2.1",
|
|
60
58
|
"ts-jest": "29.1.1",
|
|
61
59
|
"ts-node": "10.8.2",
|
|
62
|
-
"typescript": "
|
|
60
|
+
"typescript": "5.1.6",
|
|
63
61
|
"vinyl-sourcemaps-apply": "0.2.1"
|
|
64
62
|
},
|
|
65
63
|
"peerDependencies": {
|