@flosum/storages 1.3.3 → 1.3.4-backup.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.
Files changed (47) hide show
  1. package/dist/copy/aws-s3-copy.js +1 -1
  2. package/dist/copy/base-copy.js +1 -1
  3. package/dist/copy/index.js +1 -1
  4. package/dist/copy/local-copy.js +1 -1
  5. package/dist/credentials/aws-s3-credentials.js +1 -1
  6. package/dist/credentials/azure-credentials.js +1 -1
  7. package/dist/credentials/base-credentials.js +1 -1
  8. package/dist/credentials/index.js +1 -1
  9. package/dist/credentials/local-credentials.js +1 -1
  10. package/dist/delete/aws-s3-delete.js +1 -1
  11. package/dist/delete/azure-delete.js +1 -1
  12. package/dist/delete/base-delete.js +1 -1
  13. package/dist/delete/index.js +1 -1
  14. package/dist/delete/local-delete.js +1 -1
  15. package/dist/deploy/aws-s3-deploy.js +1 -1
  16. package/dist/deploy/azure-deploy.js +1 -1
  17. package/dist/deploy/base-deploy.js +1 -1
  18. package/dist/deploy/index.js +1 -1
  19. package/dist/deploy/local-deploy.js +1 -1
  20. package/dist/factory.js +1 -1
  21. package/dist/file-size-retriever/aws-s3-file-size-retriever.js +1 -1
  22. package/dist/file-size-retriever/azure-file-size-retriever.js +1 -1
  23. package/dist/file-size-retriever/base-file-size-retriever.js +1 -1
  24. package/dist/file-size-retriever/index.js +1 -1
  25. package/dist/file-size-retriever/local-size-retriever.js +1 -1
  26. package/dist/index.js +1 -1
  27. package/dist/init.js +1 -1
  28. package/dist/retrieve/aws-s3-import-helper.js +1 -1
  29. package/dist/retrieve/aws-s3-retrieve.js +1 -1
  30. package/dist/retrieve/azure-retrieve.js +1 -1
  31. package/dist/retrieve/base-retrieve.js +1 -1
  32. package/dist/retrieve/helpers/aws-s3-helper.js +1 -1
  33. package/dist/retrieve/helpers/azure-helper.js +1 -1
  34. package/dist/retrieve/helpers/base-helper.js +1 -1
  35. package/dist/retrieve/helpers/local-helper.js +1 -1
  36. package/dist/retrieve/index.js +1 -1
  37. package/dist/retrieve/local-retrieve.js +1 -1
  38. package/dist/types/aws.types.js +1 -1
  39. package/dist/types/azure.types.js +1 -1
  40. package/dist/types/index.js +1 -1
  41. package/dist/types/internal.types.js +1 -1
  42. package/dist/types/retrieve-status.enum.js +1 -1
  43. package/dist/types/storage-type.enum.js +1 -1
  44. package/dist/utils/aws-s3.utils.js +1 -1
  45. package/dist/utils/azure.utils.js +1 -1
  46. package/dist/utils/cache.utils.js +1 -1
  47. package/package.json +2 -3
@@ -1 +1 @@
1
- 'use strict';const _0x4e935b=_0x30b5;(function(_0x6d3c00,_0x311450){const _0x7d2828=_0x30b5,_0x44c9b8=_0x6d3c00();while(!![]){try{const _0x588994=parseInt(_0x7d2828(0x97))/0x1+parseInt(_0x7d2828(0x77))/0x2+parseInt(_0x7d2828(0x8c))/0x3*(parseInt(_0x7d2828(0x8d))/0x4)+-parseInt(_0x7d2828(0x7e))/0x5+-parseInt(_0x7d2828(0x86))/0x6*(-parseInt(_0x7d2828(0x7a))/0x7)+-parseInt(_0x7d2828(0x83))/0x8+-parseInt(_0x7d2828(0x89))/0x9*(parseInt(_0x7d2828(0x91))/0xa);if(_0x588994===_0x311450)break;else _0x44c9b8['push'](_0x44c9b8['shift']());}catch(_0x1664fa){_0x44c9b8['push'](_0x44c9b8['shift']());}}}(_0x3b72,0x9bb3a));function _0x30b5(_0xf9e3b9,_0x19fc83){const _0x3b7224=_0x3b72();return _0x30b5=function(_0x30b517,_0x5ef8b8){_0x30b517=_0x30b517-0x74;let _0x36e60b=_0x3b7224[_0x30b517];return _0x36e60b;},_0x30b5(_0xf9e3b9,_0x19fc83);}var __awaiter=this&&this[_0x4e935b(0x8b)]||function(_0x188546,_0x48b8e0,_0x1fe608,_0x1497a6){function _0x1ee54c(_0x5a9eaf){return _0x5a9eaf instanceof _0x1fe608?_0x5a9eaf:new _0x1fe608(function(_0x559ac1){_0x559ac1(_0x5a9eaf);});}return new(_0x1fe608||(_0x1fe608=Promise))(function(_0x347e3f,_0x194b4e){const _0x3182fd=_0x30b5;function _0x327901(_0x2d1edd){const _0x5607d6=_0x30b5;try{_0x10fa39(_0x1497a6[_0x5607d6(0x82)](_0x2d1edd));}catch(_0x3e9a22){_0x194b4e(_0x3e9a22);}}function _0x5b48d1(_0x205dba){const _0x142155=_0x30b5;try{_0x10fa39(_0x1497a6[_0x142155(0x7b)](_0x205dba));}catch(_0x51e9a6){_0x194b4e(_0x51e9a6);}}function _0x10fa39(_0x3f1c14){const _0x236b33=_0x30b5;_0x3f1c14[_0x236b33(0x79)]?_0x347e3f(_0x3f1c14[_0x236b33(0x98)]):_0x1ee54c(_0x3f1c14[_0x236b33(0x98)])[_0x236b33(0x92)](_0x327901,_0x5b48d1);}_0x10fa39((_0x1497a6=_0x1497a6[_0x3182fd(0x95)](_0x188546,_0x48b8e0||[]))[_0x3182fd(0x82)]());});};Object[_0x4e935b(0x7f)](exports,'__esModule',{'value':!![]}),exports[_0x4e935b(0x81)]=void 0x0;const init_1=require(_0x4e935b(0x78)),aws_types_1=require(_0x4e935b(0x87)),client_s3_1=require(_0x4e935b(0x9d)),ARCHIVE_TYPES=[_0x4e935b(0x9b),_0x4e935b(0x84),'DEEP_ARCHIVE'];function _0x3b72(){const _0x11e3f5=['1041wydDuc','14092UnqBXN','extractFileRetrieveStatusFromFileInfo','applyMiddlewaresToS3Client','NeedRestore','270zmuRsT','then','credentials','S3Client','apply','Restoring','782420TEirWN','value','Available','AwsFileRetrieveStatus','GLACIER','includes','@aws-sdk/client-s3','false','extractFileRetrieveStatusFromRestoreField','send','push','Restore','HttpHandler','length','917132irbJLF','../init','done','5592573JADArq','throw','getFilesPaths','StorageClass','1762965kfpJWt','defineProperty','add','AwsS3Utils','next','8214120SuchxC','GLACIER_IR','middlewareStack','6wjiGqo','../types/aws.types','Key','415098FdTcnG','match','__awaiter'];_0x3b72=function(){return _0x11e3f5;};return _0x3b72();}class AwsS3Utils{static[_0x4e935b(0x8e)](_0x268d0){const _0x11cc02=_0x4e935b;if(ARCHIVE_TYPES[_0x11cc02(0x9c)](_0x268d0[_0x11cc02(0x7d)])){if(_0x268d0[_0x11cc02(0x74)])return AwsS3Utils[_0x11cc02(0x9f)](_0x268d0[_0x11cc02(0x74)]);return aws_types_1['AwsFileRetrieveStatus'][_0x11cc02(0x90)];}return aws_types_1[_0x11cc02(0x9a)][_0x11cc02(0x99)];}static[_0x4e935b(0x9f)](_0x44b465){const _0x1a30af=_0x4e935b,_0x2d01d2=/ongoing-request="([^"]+)"/,_0x1c6d38=_0x44b465[_0x1a30af(0x8a)](_0x2d01d2);return _0x1c6d38[0x1]===_0x1a30af(0x9e)?aws_types_1[_0x1a30af(0x9a)][_0x1a30af(0x99)]:aws_types_1[_0x1a30af(0x9a)][_0x1a30af(0x96)];}static[_0x4e935b(0x7c)](_0x493290,_0x2c3050,_0x3b2fc4){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1650c9=_0x30b5,_0x59630e=[];let _0x4e489e,_0x25c725=null;do{const _0x4cf257=new client_s3_1['ListObjectsCommand']({'Bucket':_0x2c3050,'Prefix':_0x493290,'Marker':_0x25c725}),{Contents:_0x16785b,IsTruncated:_0xa942fc}=yield _0x3b2fc4[_0x1650c9(0xa0)](_0x4cf257);if(!_0x16785b)return _0x59630e;for(const _0x6e1073 of _0x16785b){_0x59630e[_0x1650c9(0xa1)](_0x6e1073[_0x1650c9(0x88)]);}_0x4e489e=_0xa942fc,_0x4e489e&&(_0x25c725=_0x16785b['at'](-0x1)[_0x1650c9(0x88)]);}while(_0x4e489e);return _0x59630e;});}static['createS3Client']({region:_0x18f713,accessKeyId:_0x3124f3,secretAccessKey:_0x43b275},_0x55131c){const _0x5278cc=_0x4e935b,_0xf1bff={'region':_0x18f713,'requestHandler':new init_1[(_0x5278cc(0x75))]()};_0x3124f3&&_0x43b275&&(_0xf1bff[_0x5278cc(0x93)]={'accessKeyId':_0x3124f3,'secretAccessKey':_0x43b275});const _0x535d3f=new client_s3_1[(_0x5278cc(0x94))](_0xf1bff);if(!(_0x55131c===null||_0x55131c===void 0x0?void 0x0:_0x55131c[_0x5278cc(0x76)]))return _0x535d3f;return this[_0x5278cc(0x8f)](_0x535d3f,_0x55131c);}static[_0x4e935b(0x8f)](_0x25c0d4,_0x2e978f){const _0x461b35=_0x4e935b;for(const {handler:_0xb22765,options:_0x400344}of _0x2e978f){_0x25c0d4[_0x461b35(0x85)][_0x461b35(0x80)](_0xb22765,_0x400344);}return _0x25c0d4;}}exports['AwsS3Utils']=AwsS3Utils;
1
+ 'use strict';const _0x2b14c2=_0x4e18;(function(_0x57e6ab,_0x2f9875){const _0x1ceeb4=_0x4e18,_0x41a35c=_0x57e6ab();while(!![]){try{const _0x17772e=-parseInt(_0x1ceeb4(0x14f))/0x1+-parseInt(_0x1ceeb4(0x133))/0x2+-parseInt(_0x1ceeb4(0x147))/0x3*(-parseInt(_0x1ceeb4(0x13f))/0x4)+-parseInt(_0x1ceeb4(0x153))/0x5+parseInt(_0x1ceeb4(0x151))/0x6+-parseInt(_0x1ceeb4(0x14e))/0x7*(parseInt(_0x1ceeb4(0x148))/0x8)+parseInt(_0x1ceeb4(0x145))/0x9;if(_0x17772e===_0x2f9875)break;else _0x41a35c['push'](_0x41a35c['shift']());}catch(_0x336787){_0x41a35c['push'](_0x41a35c['shift']());}}}(_0xe46b,0x3e540));var __awaiter=this&&this[_0x2b14c2(0x150)]||function(_0x205411,_0x2bed65,_0x478908,_0x1decdf){function _0x1234e9(_0x41f1ac){return _0x41f1ac instanceof _0x478908?_0x41f1ac:new _0x478908(function(_0x1f552b){_0x1f552b(_0x41f1ac);});}return new(_0x478908||(_0x478908=Promise))(function(_0x3a15f0,_0x3a3278){const _0x46c84d=_0x4e18;function _0x121f8d(_0x2581ea){const _0x31db83=_0x4e18;try{_0x5e48c3(_0x1decdf[_0x31db83(0x156)](_0x2581ea));}catch(_0x41e1f2){_0x3a3278(_0x41e1f2);}}function _0x411d8c(_0x3e398e){const _0x328b33=_0x4e18;try{_0x5e48c3(_0x1decdf[_0x328b33(0x136)](_0x3e398e));}catch(_0xc2c0ff){_0x3a3278(_0xc2c0ff);}}function _0x5e48c3(_0x2b2f4e){const _0x33d71b=_0x4e18;_0x2b2f4e[_0x33d71b(0x143)]?_0x3a15f0(_0x2b2f4e[_0x33d71b(0x15b)]):_0x1234e9(_0x2b2f4e['value'])[_0x33d71b(0x15f)](_0x121f8d,_0x411d8c);}_0x5e48c3((_0x1decdf=_0x1decdf[_0x46c84d(0x15e)](_0x205411,_0x2bed65||[]))['next']());});};Object[_0x2b14c2(0x14c)](exports,_0x2b14c2(0x134),{'value':!![]}),exports[_0x2b14c2(0x13c)]=void 0x0;const init_1=require(_0x2b14c2(0x140)),aws_types_1=require(_0x2b14c2(0x14b)),client_s3_1=require(_0x2b14c2(0x15a)),ARCHIVE_TYPES=[_0x2b14c2(0x13e),_0x2b14c2(0x132),_0x2b14c2(0x141)];function _0x4e18(_0x126286,_0x1db0e4){const _0xe46bb3=_0xe46b();return _0x4e18=function(_0x4e1834,_0x4973b1){_0x4e1834=_0x4e1834-0x132;let _0x2ea108=_0xe46bb3[_0x4e1834];return _0x2ea108;},_0x4e18(_0x126286,_0x1db0e4);}function _0xe46b(){const _0x3f2a6e=['Key','throw','Available','createS3Client','add','extractFileRetrieveStatusFromFileInfo','match','AwsS3Utils','includes','GLACIER','1981076QtSiXv','../init','DEEP_ARCHIVE','Restore','done','push','210672nRQfTl','middlewareStack','3lcPioy','24nJCRIS','S3Client','NeedRestore','../types/aws.types','defineProperty','false','28308CQCmaj','107639pvjpnr','__awaiter','1937130reMUHw','extractFileRetrieveStatusFromRestoreField','280085djalux','AwsFileRetrieveStatus','StorageClass','next','length','HttpHandler','Restoring','@aws-sdk/client-s3','value','getFilesPaths','applyMiddlewaresToS3Client','apply','then','GLACIER_IR','820896QUDCDw','__esModule'];_0xe46b=function(){return _0x3f2a6e;};return _0xe46b();}class AwsS3Utils{static[_0x2b14c2(0x13a)](_0x841e8a){const _0x3ba10b=_0x2b14c2;if(ARCHIVE_TYPES[_0x3ba10b(0x13d)](_0x841e8a[_0x3ba10b(0x155)])){if(_0x841e8a['Restore'])return AwsS3Utils[_0x3ba10b(0x152)](_0x841e8a[_0x3ba10b(0x142)]);return aws_types_1[_0x3ba10b(0x154)][_0x3ba10b(0x14a)];}return aws_types_1['AwsFileRetrieveStatus'][_0x3ba10b(0x137)];}static['extractFileRetrieveStatusFromRestoreField'](_0x4cd9ff){const _0x5c5bf3=_0x2b14c2,_0x2fcdd0=/ongoing-request="([^"]+)"/,_0x5be73f=_0x4cd9ff[_0x5c5bf3(0x13b)](_0x2fcdd0);return _0x5be73f[0x1]===_0x5c5bf3(0x14d)?aws_types_1[_0x5c5bf3(0x154)]['Available']:aws_types_1['AwsFileRetrieveStatus'][_0x5c5bf3(0x159)];}static[_0x2b14c2(0x15c)](_0x394595,_0x192bdd,_0x272a81){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1809ee=_0x4e18,_0x4dd540=[];let _0x29fb06,_0x84933e=null;do{const _0x2b8a65=new client_s3_1['ListObjectsCommand']({'Bucket':_0x192bdd,'Prefix':_0x394595,'Marker':_0x84933e}),{Contents:_0x2ba724,IsTruncated:_0x24b433}=yield _0x272a81['send'](_0x2b8a65);if(!_0x2ba724)return _0x4dd540;for(const _0x3222c0 of _0x2ba724){_0x4dd540[_0x1809ee(0x144)](_0x3222c0['Key']);}_0x29fb06=_0x24b433,_0x29fb06&&(_0x84933e=_0x2ba724['at'](-0x1)[_0x1809ee(0x135)]);}while(_0x29fb06);return _0x4dd540;});}static[_0x2b14c2(0x138)]({region:_0x149741,accessKeyId:_0x240453,secretAccessKey:_0x1338e7},_0x4a958f){const _0x412103=_0x2b14c2,_0x3f0885={'region':_0x149741,'requestHandler':new init_1[(_0x412103(0x158))]()};_0x240453&&_0x1338e7&&(_0x3f0885['credentials']={'accessKeyId':_0x240453,'secretAccessKey':_0x1338e7});const _0x5b2edb=new client_s3_1[(_0x412103(0x149))](_0x3f0885);if(!(_0x4a958f===null||_0x4a958f===void 0x0?void 0x0:_0x4a958f[_0x412103(0x157)]))return _0x5b2edb;return this[_0x412103(0x15d)](_0x5b2edb,_0x4a958f);}static[_0x2b14c2(0x15d)](_0x757eb9,_0x3359b7){const _0x535b15=_0x2b14c2;for(const {handler:_0x2f1a70,options:_0x483405}of _0x3359b7){_0x757eb9[_0x535b15(0x146)][_0x535b15(0x139)](_0x2f1a70,_0x483405);}return _0x757eb9;}}exports[_0x2b14c2(0x13c)]=AwsS3Utils;
@@ -1 +1 @@
1
- 'use strict';var _0x3e640d=_0x3bea;(function(_0x4e1479,_0x324143){var _0x4a2bfe=_0x3bea,_0x3ff1fc=_0x4e1479();while(!![]){try{var _0x1a642f=parseInt(_0x4a2bfe(0x1df))/0x1+-parseInt(_0x4a2bfe(0x1e6))/0x2+parseInt(_0x4a2bfe(0x1e1))/0x3*(-parseInt(_0x4a2bfe(0x1fb))/0x4)+parseInt(_0x4a2bfe(0x1de))/0x5+parseInt(_0x4a2bfe(0x1f5))/0x6+parseInt(_0x4a2bfe(0x1e8))/0x7*(parseInt(_0x4a2bfe(0x1ee))/0x8)+parseInt(_0x4a2bfe(0x1f2))/0x9*(parseInt(_0x4a2bfe(0x1f9))/0xa);if(_0x1a642f===_0x324143)break;else _0x3ff1fc['push'](_0x3ff1fc['shift']());}catch(_0x53d43a){_0x3ff1fc['push'](_0x3ff1fc['shift']());}}}(_0x29ab,0x3fae7));var __awaiter=this&&this[_0x3e640d(0x1ec)]||function(_0xbb6b7,_0x44ba83,_0x5abcdf,_0x1966db){function _0x460ee9(_0x584345){return _0x584345 instanceof _0x5abcdf?_0x584345:new _0x5abcdf(function(_0x3c00d6){_0x3c00d6(_0x584345);});}return new(_0x5abcdf||(_0x5abcdf=Promise))(function(_0xe4d057,_0x1273cb){var _0x224f67=_0x3bea;function _0x66e9fd(_0x506d16){var _0x38b161=_0x3bea;try{_0x3ab38a(_0x1966db[_0x38b161(0x1e9)](_0x506d16));}catch(_0x3077a8){_0x1273cb(_0x3077a8);}}function _0x4eca0d(_0x8b778e){var _0x3d981c=_0x3bea;try{_0x3ab38a(_0x1966db[_0x3d981c(0x1fc)](_0x8b778e));}catch(_0x38bdb9){_0x1273cb(_0x38bdb9);}}function _0x3ab38a(_0x145208){var _0x52ea58=_0x3bea;_0x145208[_0x52ea58(0x1f4)]?_0xe4d057(_0x145208[_0x52ea58(0x1e0)]):_0x460ee9(_0x145208[_0x52ea58(0x1e0)])[_0x52ea58(0x1e4)](_0x66e9fd,_0x4eca0d);}_0x3ab38a((_0x1966db=_0x1966db[_0x224f67(0x1f8)](_0xbb6b7,_0x44ba83||[]))[_0x224f67(0x1e9)]());});},__asyncValues=this&&this[_0x3e640d(0x1fe)]||function(_0x2c6a01){var _0x1c8e61=_0x3e640d;if(!Symbol[_0x1c8e61(0x1e5)])throw new TypeError(_0x1c8e61(0x1f1));var _0x218ff0=_0x2c6a01[Symbol[_0x1c8e61(0x1e5)]],_0x46af99;return _0x218ff0?_0x218ff0['call'](_0x2c6a01):(_0x2c6a01=typeof __values==='function'?__values(_0x2c6a01):_0x2c6a01[Symbol['iterator']](),_0x46af99={},_0x2d403e(_0x1c8e61(0x1e9)),_0x2d403e('throw'),_0x2d403e(_0x1c8e61(0x1f6)),_0x46af99[Symbol[_0x1c8e61(0x1e5)]]=function(){return this;},_0x46af99);function _0x2d403e(_0x1e0ff1){_0x46af99[_0x1e0ff1]=_0x2c6a01[_0x1e0ff1]&&function(_0x1ba00d){return new Promise(function(_0x788eb2,_0x288f97){var _0x3d7754=_0x3bea;_0x1ba00d=_0x2c6a01[_0x1e0ff1](_0x1ba00d),_0x55ae0a(_0x788eb2,_0x288f97,_0x1ba00d[_0x3d7754(0x1f4)],_0x1ba00d[_0x3d7754(0x1e0)]);});};}function _0x55ae0a(_0x39e4d8,_0x47e63a,_0x2f6e6f,_0x2a22c5){var _0x2079b7=_0x1c8e61;Promise[_0x2079b7(0x200)](_0x2a22c5)[_0x2079b7(0x1e4)](function(_0xdd18fa){_0x39e4d8({'value':_0xdd18fa,'done':_0x2f6e6f});},_0x47e63a);}};Object[_0x3e640d(0x1fd)](exports,'__esModule',{'value':!![]}),exports[_0x3e640d(0x1e2)]=void 0x0;function _0x29ab(){var _0x2843d5=['error','resolve','1174660Kayqag','215947ZIAbbG','value','912921yXaRkd','AzureUtils','getAzureBlobsPaths','then','asyncIterator','918376kzmDCt','call','651THBSIg','next','StorageSharedKeyCredential','https://','__awaiter','.blob.core.windows.net','6648xrTqzo','name','createAzureBlobContainerClient','Symbol.asyncIterator\x20is\x20not\x20defined.','7173cNVJLd','deleted','done','2790534VlrJxT','return','createAzureBlobServiceClient','apply','390KAZScB','push','4sLECDy','throw','defineProperty','__asyncValues'];_0x29ab=function(){return _0x2843d5;};return _0x29ab();}function _0x3bea(_0x260ddc,_0x32d1e5){var _0x29ab49=_0x29ab();return _0x3bea=function(_0x3bea1e,_0x1de81d){_0x3bea1e=_0x3bea1e-0x1de;var _0x12e260=_0x29ab49[_0x3bea1e];return _0x12e260;},_0x3bea(_0x260ddc,_0x32d1e5);}const storage_blob_1=require('@azure/storage-blob');class AzureUtils{static['createAzureBlobServiceClient']({accountName:_0x455b59,accountKey:_0x37916a}){var _0x3df741=_0x3e640d;const _0x186291=new storage_blob_1[(_0x3df741(0x1ea))](_0x455b59,_0x37916a);return new storage_blob_1['BlobServiceClient'](_0x3df741(0x1eb)+_0x455b59+_0x3df741(0x1ed),_0x186291);}static[_0x3e640d(0x1f0)](_0x3baec7){var _0xb0df96=_0x3e640d;const _0x52b624=this[_0xb0df96(0x1f7)](_0x3baec7);return _0x52b624['getContainerClient'](_0x3baec7['containerName']);}static[_0x3e640d(0x1e3)](_0x3729bc,_0x5c7b84){var _0x3443e1,_0x28242b;return __awaiter(this,void 0x0,void 0x0,function*(){var _0x24cb5a=_0x3bea;const _0x2f0616=[];try{for(var _0x508eff=__asyncValues(_0x5c7b84['listBlobsFlat']({'prefix':_0x3729bc})),_0x4ab759;_0x4ab759=yield _0x508eff['next'](),!_0x4ab759[_0x24cb5a(0x1f4)];){const _0x32a7aa=_0x4ab759[_0x24cb5a(0x1e0)];!_0x32a7aa[_0x24cb5a(0x1f3)]&&_0x2f0616[_0x24cb5a(0x1fa)](_0x32a7aa[_0x24cb5a(0x1ef)]);}}catch(_0x5279df){_0x3443e1={'error':_0x5279df};}finally{try{if(_0x4ab759&&!_0x4ab759[_0x24cb5a(0x1f4)]&&(_0x28242b=_0x508eff['return']))yield _0x28242b[_0x24cb5a(0x1e7)](_0x508eff);}finally{if(_0x3443e1)throw _0x3443e1[_0x24cb5a(0x1ff)];}}return _0x2f0616;});}}exports[_0x3e640d(0x1e2)]=AzureUtils;
1
+ 'use strict';function _0x3e6b(){var _0x1a85e0=['done','25248BfjPaw','containerName','throw','value','error','resolve','https://','createAzureBlobContainerClient','15970LxxbZN','name','294hNUXsu','call','5106095EGwNbp','asyncIterator','22278dxnrhG','30SYETrk','856056mTGSvQ','.blob.core.windows.net','deleted','__awaiter','defineProperty','then','__asyncValues','createAzureBlobServiceClient','AzureUtils','getAzureBlobsPaths','9nuuSOz','__esModule','return','iterator','push','1917ZQIQtb','Symbol.asyncIterator\x20is\x20not\x20defined.','apply','next','6353824OoRGaV','function','21051954mWFJPU'];_0x3e6b=function(){return _0x1a85e0;};return _0x3e6b();}var _0x4e43fe=_0x75d3;(function(_0x340771,_0x3288ec){var _0x4a926e=_0x75d3,_0x48123f=_0x340771();while(!![]){try{var _0x24431b=parseInt(_0x4a926e(0x71))/0x1*(-parseInt(_0x4a926e(0x70))/0x2)+-parseInt(_0x4a926e(0x7c))/0x3*(parseInt(_0x4a926e(0x72))/0x4)+-parseInt(_0x4a926e(0x95))/0x5+parseInt(_0x4a926e(0x89))/0x6*(parseInt(_0x4a926e(0x93))/0x7)+parseInt(_0x4a926e(0x85))/0x8+parseInt(_0x4a926e(0x81))/0x9*(-parseInt(_0x4a926e(0x91))/0xa)+parseInt(_0x4a926e(0x87))/0xb;if(_0x24431b===_0x3288ec)break;else _0x48123f['push'](_0x48123f['shift']());}catch(_0x28c95d){_0x48123f['push'](_0x48123f['shift']());}}}(_0x3e6b,0x85972));function _0x75d3(_0x8fc00f,_0x50e40e){var _0x3e6bb5=_0x3e6b();return _0x75d3=function(_0x75d353,_0x5f3303){_0x75d353=_0x75d353-0x6f;var _0x424d98=_0x3e6bb5[_0x75d353];return _0x424d98;},_0x75d3(_0x8fc00f,_0x50e40e);}var __awaiter=this&&this[_0x4e43fe(0x75)]||function(_0x3947f9,_0x20d411,_0x3f1db0,_0x404426){function _0x5d7a5b(_0x358a4c){return _0x358a4c instanceof _0x3f1db0?_0x358a4c:new _0x3f1db0(function(_0x1cfc70){_0x1cfc70(_0x358a4c);});}return new(_0x3f1db0||(_0x3f1db0=Promise))(function(_0xc9070,_0x55d377){var _0x290688=_0x75d3;function _0x19246f(_0x2a66fb){var _0x5314b9=_0x75d3;try{_0x5a5c32(_0x404426[_0x5314b9(0x84)](_0x2a66fb));}catch(_0x434ba4){_0x55d377(_0x434ba4);}}function _0x3392f2(_0x322ba0){var _0x2c90a7=_0x75d3;try{_0x5a5c32(_0x404426[_0x2c90a7(0x8b)](_0x322ba0));}catch(_0x21701a){_0x55d377(_0x21701a);}}function _0x5a5c32(_0x3e08f3){var _0x181521=_0x75d3;_0x3e08f3[_0x181521(0x88)]?_0xc9070(_0x3e08f3['value']):_0x5d7a5b(_0x3e08f3[_0x181521(0x8c)])[_0x181521(0x77)](_0x19246f,_0x3392f2);}_0x5a5c32((_0x404426=_0x404426[_0x290688(0x83)](_0x3947f9,_0x20d411||[]))[_0x290688(0x84)]());});},__asyncValues=this&&this[_0x4e43fe(0x78)]||function(_0x5beedc){var _0x553c95=_0x4e43fe;if(!Symbol[_0x553c95(0x6f)])throw new TypeError(_0x553c95(0x82));var _0x11254b=_0x5beedc[Symbol['asyncIterator']],_0x1a2c11;return _0x11254b?_0x11254b[_0x553c95(0x94)](_0x5beedc):(_0x5beedc=typeof __values===_0x553c95(0x86)?__values(_0x5beedc):_0x5beedc[Symbol[_0x553c95(0x7f)]](),_0x1a2c11={},_0x291711(_0x553c95(0x84)),_0x291711(_0x553c95(0x8b)),_0x291711(_0x553c95(0x7e)),_0x1a2c11[Symbol[_0x553c95(0x6f)]]=function(){return this;},_0x1a2c11);function _0x291711(_0x5e3dd0){_0x1a2c11[_0x5e3dd0]=_0x5beedc[_0x5e3dd0]&&function(_0x316096){return new Promise(function(_0x12d98c,_0x4775c9){var _0x1dd40c=_0x75d3;_0x316096=_0x5beedc[_0x5e3dd0](_0x316096),_0x99aa10(_0x12d98c,_0x4775c9,_0x316096[_0x1dd40c(0x88)],_0x316096[_0x1dd40c(0x8c)]);});};}function _0x99aa10(_0x38d5fc,_0x6b00fe,_0xfeaa21,_0x27d52e){var _0x2d20ae=_0x553c95;Promise[_0x2d20ae(0x8e)](_0x27d52e)['then'](function(_0x5e750d){_0x38d5fc({'value':_0x5e750d,'done':_0xfeaa21});},_0x6b00fe);}};Object[_0x4e43fe(0x76)](exports,_0x4e43fe(0x7d),{'value':!![]}),exports[_0x4e43fe(0x7a)]=void 0x0;const storage_blob_1=require('@azure/storage-blob');class AzureUtils{static[_0x4e43fe(0x79)]({accountName:_0x23b989,accountKey:_0x1f7643}){var _0xae916e=_0x4e43fe;const _0x2d5647=new storage_blob_1['StorageSharedKeyCredential'](_0x23b989,_0x1f7643);return new storage_blob_1['BlobServiceClient'](_0xae916e(0x8f)+_0x23b989+_0xae916e(0x73),_0x2d5647);}static[_0x4e43fe(0x90)](_0x52c49c){var _0x39fb80=_0x4e43fe;const _0x14f02f=this[_0x39fb80(0x79)](_0x52c49c);return _0x14f02f['getContainerClient'](_0x52c49c[_0x39fb80(0x8a)]);}static[_0x4e43fe(0x7b)](_0x2943ba,_0x531236){var _0x3318ef,_0x489411;return __awaiter(this,void 0x0,void 0x0,function*(){var _0x4fafd=_0x75d3;const _0x15deb2=[];try{for(var _0xdef6bf=__asyncValues(_0x531236['listBlobsFlat']({'prefix':_0x2943ba})),_0x32167b;_0x32167b=yield _0xdef6bf[_0x4fafd(0x84)](),!_0x32167b[_0x4fafd(0x88)];){const _0x715d66=_0x32167b['value'];!_0x715d66[_0x4fafd(0x74)]&&_0x15deb2[_0x4fafd(0x80)](_0x715d66[_0x4fafd(0x92)]);}}catch(_0xb42996){_0x3318ef={'error':_0xb42996};}finally{try{if(_0x32167b&&!_0x32167b['done']&&(_0x489411=_0xdef6bf[_0x4fafd(0x7e)]))yield _0x489411[_0x4fafd(0x94)](_0xdef6bf);}finally{if(_0x3318ef)throw _0x3318ef[_0x4fafd(0x8d)];}}return _0x15deb2;});}}exports[_0x4e43fe(0x7a)]=AzureUtils;
@@ -1 +1 @@
1
- 'use strict';const _0x1d772b=_0x2463;(function(_0x1ca589,_0x27f55b){const _0x2a7821=_0x2463,_0x3072f5=_0x1ca589();while(!![]){try{const _0x10084c=parseInt(_0x2a7821(0xd7))/0x1*(parseInt(_0x2a7821(0xd9))/0x2)+-parseInt(_0x2a7821(0xc3))/0x3*(-parseInt(_0x2a7821(0xc5))/0x4)+-parseInt(_0x2a7821(0xda))/0x5*(parseInt(_0x2a7821(0xcc))/0x6)+-parseInt(_0x2a7821(0xc8))/0x7*(parseInt(_0x2a7821(0xc1))/0x8)+parseInt(_0x2a7821(0xd6))/0x9*(parseInt(_0x2a7821(0xd3))/0xa)+parseInt(_0x2a7821(0xc2))/0xb+parseInt(_0x2a7821(0xc4))/0xc*(-parseInt(_0x2a7821(0xcb))/0xd);if(_0x10084c===_0x27f55b)break;else _0x3072f5['push'](_0x3072f5['shift']());}catch(_0x3d1d56){_0x3072f5['push'](_0x3072f5['shift']());}}}(_0x1978,0x5c063));var __awaiter=this&&this[_0x1d772b(0xcf)]||function(_0x1235d1,_0x433168,_0xeb70fa,_0x125dc3){function _0x463546(_0x372215){return _0x372215 instanceof _0xeb70fa?_0x372215:new _0xeb70fa(function(_0x1ef018){_0x1ef018(_0x372215);});}return new(_0xeb70fa||(_0xeb70fa=Promise))(function(_0x1b724e,_0x469ad9){const _0x27d2aa=_0x2463;function _0x184fb8(_0x2dfa03){const _0x11a7a6=_0x2463;try{_0x3138b6(_0x125dc3[_0x11a7a6(0xd8)](_0x2dfa03));}catch(_0x537c8b){_0x469ad9(_0x537c8b);}}function _0x6dd41a(_0xf7a4f3){const _0x5be594=_0x2463;try{_0x3138b6(_0x125dc3[_0x5be594(0xca)](_0xf7a4f3));}catch(_0x3af3fb){_0x469ad9(_0x3af3fb);}}function _0x3138b6(_0x6e3a89){const _0x649913=_0x2463;_0x6e3a89['done']?_0x1b724e(_0x6e3a89['value']):_0x463546(_0x6e3a89[_0x649913(0xdb)])[_0x649913(0xd1)](_0x184fb8,_0x6dd41a);}_0x3138b6((_0x125dc3=_0x125dc3[_0x27d2aa(0xc9)](_0x1235d1,_0x433168||[]))[_0x27d2aa(0xd8)]());});},__importDefault=this&&this[_0x1d772b(0xce)]||function(_0x403e1c){const _0x5c7bc5=_0x1d772b;return _0x403e1c&&_0x403e1c[_0x5c7bc5(0xd0)]?_0x403e1c:{'default':_0x403e1c};};Object[_0x1d772b(0xc6)](exports,_0x1d772b(0xd0),{'value':!![]}),exports[_0x1d772b(0xcd)]=void 0x0;function _0x2463(_0x572f01,_0x19445b){const _0x197813=_0x1978();return _0x2463=function(_0x24637a,_0x3c081b){_0x24637a=_0x24637a-0xc1;let _0x59debb=_0x197813[_0x24637a];return _0x59debb;},_0x2463(_0x572f01,_0x19445b);}const path_1=__importDefault(require('path')),crypto_1=require(_0x1d772b(0xd4)),promises_1=require('fs/promises'),fs_1=require('fs');class CacheUtils{static[_0x1d772b(0xde)](_0x2ffb4d,_0x549a47){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4e5838=_0x2463,_0x3e8d38=path_1[_0x4e5838(0xdd)][_0x4e5838(0xdc)](_0x549a47,(0x0,crypto_1['randomUUID'])());yield(0x0,promises_1[_0x4e5838(0xc7)])(_0x3e8d38,_0x2ffb4d);const _0x26b77a=(0x0,fs_1[_0x4e5838(0xd2)])(_0x3e8d38);return _0x26b77a['on'](_0x4e5838(0xd5),()=>(0x0,promises_1['rm'])(_0x3e8d38)),_0x26b77a;});}}function _0x1978(){const _0x3c19bc=['then','createReadStream','50010zOGMlp','crypto','close','621zwcWfb','1xMDzPd','next','277286pGIrpP','5YvZnJM','value','join','default','createCacheFileStream','388440EjiJIB','3517151xSxnyY','116268cesBag','864DRyDeA','20SUjBPH','defineProperty','writeFile','63tWIdAX','apply','throw','15847HnbNQE','573234XwEGzz','CacheUtils','__importDefault','__awaiter','__esModule'];_0x1978=function(){return _0x3c19bc;};return _0x1978();}exports[_0x1d772b(0xcd)]=CacheUtils;
1
+ 'use strict';const _0x1b8645=_0x1478;function _0x1478(_0x46cf28,_0xf0efc4){const _0x5f3b71=_0x5f3b();return _0x1478=function(_0x1478d2,_0x33b476){_0x1478d2=_0x1478d2-0xc7;let _0x1a28e9=_0x5f3b71[_0x1478d2];return _0x1a28e9;},_0x1478(_0x46cf28,_0xf0efc4);}(function(_0x2ee091,_0x554d6b){const _0x58cc93=_0x1478,_0x3ef85d=_0x2ee091();while(!![]){try{const _0x56d2a0=parseInt(_0x58cc93(0xe1))/0x1*(parseInt(_0x58cc93(0xd0))/0x2)+parseInt(_0x58cc93(0xe7))/0x3*(-parseInt(_0x58cc93(0xca))/0x4)+-parseInt(_0x58cc93(0xd7))/0x5*(parseInt(_0x58cc93(0xdd))/0x6)+-parseInt(_0x58cc93(0xe3))/0x7+-parseInt(_0x58cc93(0xd4))/0x8*(-parseInt(_0x58cc93(0xe4))/0x9)+parseInt(_0x58cc93(0xd2))/0xa+-parseInt(_0x58cc93(0xe2))/0xb*(-parseInt(_0x58cc93(0xda))/0xc);if(_0x56d2a0===_0x554d6b)break;else _0x3ef85d['push'](_0x3ef85d['shift']());}catch(_0x59044){_0x3ef85d['push'](_0x3ef85d['shift']());}}}(_0x5f3b,0x58139));var __awaiter=this&&this[_0x1b8645(0xc7)]||function(_0x1230b2,_0x417ae0,_0x7c8436,_0x4799cb){function _0x1ec69b(_0x367691){return _0x367691 instanceof _0x7c8436?_0x367691:new _0x7c8436(function(_0x49ff2e){_0x49ff2e(_0x367691);});}return new(_0x7c8436||(_0x7c8436=Promise))(function(_0x395e03,_0x4ad9a3){const _0x511f29=_0x1478;function _0x40e2ec(_0x5db77d){const _0x9b43dd=_0x1478;try{_0x2c6742(_0x4799cb[_0x9b43dd(0xd8)](_0x5db77d));}catch(_0x1ec756){_0x4ad9a3(_0x1ec756);}}function _0x9fee93(_0x50852b){const _0x39ff19=_0x1478;try{_0x2c6742(_0x4799cb[_0x39ff19(0xd9)](_0x50852b));}catch(_0x15ece5){_0x4ad9a3(_0x15ece5);}}function _0x2c6742(_0x123160){const _0x25dc71=_0x1478;_0x123160[_0x25dc71(0xdf)]?_0x395e03(_0x123160[_0x25dc71(0xe6)]):_0x1ec69b(_0x123160['value'])[_0x25dc71(0xce)](_0x40e2ec,_0x9fee93);}_0x2c6742((_0x4799cb=_0x4799cb[_0x511f29(0xd3)](_0x1230b2,_0x417ae0||[]))['next']());});},__importDefault=this&&this[_0x1b8645(0xe5)]||function(_0x40c21a){const _0x346407=_0x1b8645;return _0x40c21a&&_0x40c21a[_0x346407(0xc9)]?_0x40c21a:{'default':_0x40c21a};};Object[_0x1b8645(0xdc)](exports,_0x1b8645(0xc9),{'value':!![]}),exports[_0x1b8645(0xe0)]=void 0x0;function _0x5f3b(){const _0x2e463a=['__awaiter','writeFile','__esModule','4ZoEOyu','randomUUID','close','crypto','then','createReadStream','703334netPdL','createCacheFileStream','1757820eUBTpR','apply','376DXcaUn','fs/promises','default','5qZnvDk','next','throw','1284OXlLZN','join','defineProperty','3052206MTCIYb','path','done','CacheUtils','1ZaNPsi','26653lwPImR','2294397MbwWMo','105561rzNert','__importDefault','value','422220VWZzld'];_0x5f3b=function(){return _0x2e463a;};return _0x5f3b();}const path_1=__importDefault(require(_0x1b8645(0xde))),crypto_1=require(_0x1b8645(0xcd)),promises_1=require(_0x1b8645(0xd5)),fs_1=require('fs');class CacheUtils{static[_0x1b8645(0xd1)](_0x4912f5,_0x5386b0){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x323d30=_0x1478,_0x30a3a4=path_1[_0x323d30(0xd6)][_0x323d30(0xdb)](_0x5386b0,(0x0,crypto_1[_0x323d30(0xcb)])());yield(0x0,promises_1[_0x323d30(0xc8)])(_0x30a3a4,_0x4912f5);const _0x27e48f=(0x0,fs_1[_0x323d30(0xcf)])(_0x30a3a4);return _0x27e48f['on'](_0x323d30(0xcc),()=>(0x0,promises_1['rm'])(_0x30a3a4)),_0x27e48f;});}}exports['CacheUtils']=CacheUtils;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flosum/storages",
3
- "version": "1.3.3",
3
+ "version": "1.3.4-backup.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [
@@ -33,8 +33,7 @@
33
33
  "@azure/storage-blob": "12.26.0",
34
34
  "@flosum/utils": "1.0.14",
35
35
  "@smithy/node-http-handler": "2.1.10",
36
- "https-proxy-agent": "^5.0.1",
37
- "request": "2.88.0"
36
+ "https-proxy-agent": "^5.0.1"
38
37
  },
39
38
  "devDependencies": {
40
39
  "@types/jest": "27.4.1",