@flosum/storages 1.3.2 → 1.3.3-beta.2

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 (49) hide show
  1. package/dist/credentials/aws-s3-credentials.js +1 -1
  2. package/dist/credentials/azure-credentials.js +1 -1
  3. package/dist/credentials/base-credentials.js +1 -1
  4. package/dist/credentials/index.js +1 -1
  5. package/dist/credentials/local-credentials.js +1 -1
  6. package/dist/delete/aws-s3-delete.js +1 -1
  7. package/dist/delete/azure-delete.js +1 -1
  8. package/dist/delete/base-delete.js +1 -1
  9. package/dist/delete/index.js +1 -1
  10. package/dist/delete/local-delete.js +1 -1
  11. package/dist/deploy/aws-s3-deploy.js +1 -1
  12. package/dist/deploy/azure-deploy.js +1 -1
  13. package/dist/deploy/base-deploy.js +1 -1
  14. package/dist/deploy/index.js +1 -1
  15. package/dist/deploy/local-deploy.js +1 -1
  16. package/dist/factory.d.ts +2 -1
  17. package/dist/factory.js +1 -1
  18. package/dist/file-size-retriever/aws-s3-file-size-retriever.js +1 -1
  19. package/dist/file-size-retriever/azure-file-size-retriever.js +1 -1
  20. package/dist/file-size-retriever/base-file-size-retriever.js +1 -1
  21. package/dist/file-size-retriever/index.js +1 -1
  22. package/dist/file-size-retriever/local-size-retriever.js +1 -1
  23. package/dist/index.js +1 -1
  24. package/dist/init.js +1 -1
  25. package/dist/retrieve/aws-s3-import-helper.js +1 -1
  26. package/dist/retrieve/aws-s3-retrieve.js +1 -1
  27. package/dist/retrieve/azure-retrieve.js +1 -1
  28. package/dist/retrieve/base-retrieve.js +1 -1
  29. package/dist/retrieve/helpers/aws-s3-helper.d.ts +20 -0
  30. package/dist/retrieve/helpers/aws-s3-helper.js +1 -0
  31. package/dist/retrieve/helpers/azure-helper.d.ts +10 -0
  32. package/dist/retrieve/helpers/azure-helper.js +1 -0
  33. package/dist/retrieve/helpers/base-helper.d.ts +7 -0
  34. package/dist/retrieve/helpers/base-helper.js +1 -0
  35. package/dist/retrieve/helpers/local-helper.d.ts +6 -0
  36. package/dist/retrieve/helpers/local-helper.js +1 -0
  37. package/dist/retrieve/index.d.ts +4 -0
  38. package/dist/retrieve/index.js +1 -1
  39. package/dist/retrieve/local-retrieve.js +1 -1
  40. package/dist/types/aws.types.js +1 -1
  41. package/dist/types/azure.types.js +1 -1
  42. package/dist/types/index.js +1 -1
  43. package/dist/types/internal.types.js +1 -1
  44. package/dist/types/retrieve-status.enum.js +1 -1
  45. package/dist/types/storage-type.enum.js +1 -1
  46. package/dist/utils/aws-s3.utils.js +1 -1
  47. package/dist/utils/azure.utils.js +1 -1
  48. package/dist/utils/cache.utils.js +1 -1
  49. package/package.json +4 -2
@@ -1 +1 @@
1
- 'use strict';function _0x5c30(_0x502c39,_0x225251){const _0x33844e=_0x3384();return _0x5c30=function(_0x5c30e7,_0x329048){_0x5c30e7=_0x5c30e7-0x81;let _0x5ced66=_0x33844e[_0x5c30e7];return _0x5ced66;},_0x5c30(_0x502c39,_0x225251);}const _0x334cc8=_0x5c30;(function(_0x22043b,_0x1e6476){const _0x26993c=_0x5c30,_0x4af4b5=_0x22043b();while(!![]){try{const _0x48e5a3=parseInt(_0x26993c(0x81))/0x1+-parseInt(_0x26993c(0x8d))/0x2*(parseInt(_0x26993c(0x94))/0x3)+parseInt(_0x26993c(0x9a))/0x4*(parseInt(_0x26993c(0x87))/0x5)+-parseInt(_0x26993c(0x98))/0x6*(-parseInt(_0x26993c(0x89))/0x7)+-parseInt(_0x26993c(0x82))/0x8*(parseInt(_0x26993c(0x85))/0x9)+-parseInt(_0x26993c(0x91))/0xa*(-parseInt(_0x26993c(0x90))/0xb)+parseInt(_0x26993c(0x8b))/0xc*(parseInt(_0x26993c(0x96))/0xd);if(_0x48e5a3===_0x1e6476)break;else _0x4af4b5['push'](_0x4af4b5['shift']());}catch(_0x1c5e4d){_0x4af4b5['push'](_0x4af4b5['shift']());}}}(_0x3384,0x827c6));var __awaiter=this&&this[_0x334cc8(0x83)]||function(_0x24cadb,_0x1dfa56,_0x2b4e24,_0x215c8c){function _0x1398ca(_0x42c79d){return _0x42c79d instanceof _0x2b4e24?_0x42c79d:new _0x2b4e24(function(_0x531f2b){_0x531f2b(_0x42c79d);});}return new(_0x2b4e24||(_0x2b4e24=Promise))(function(_0x45c27b,_0x4ccdb1){const _0x59f0c5=_0x5c30;function _0x2f38ca(_0x819599){const _0x4784f3=_0x5c30;try{_0x437fdc(_0x215c8c[_0x4784f3(0x95)](_0x819599));}catch(_0x4e7a04){_0x4ccdb1(_0x4e7a04);}}function _0x55962b(_0x1170a2){const _0x4c46cf=_0x5c30;try{_0x437fdc(_0x215c8c[_0x4c46cf(0x8e)](_0x1170a2));}catch(_0x3f59ae){_0x4ccdb1(_0x3f59ae);}}function _0x437fdc(_0x191b5c){const _0x5ce9d9=_0x5c30;_0x191b5c[_0x5ce9d9(0x8a)]?_0x45c27b(_0x191b5c[_0x5ce9d9(0x9b)]):_0x1398ca(_0x191b5c[_0x5ce9d9(0x9b)])['then'](_0x2f38ca,_0x55962b);}_0x437fdc((_0x215c8c=_0x215c8c[_0x59f0c5(0x92)](_0x24cadb,_0x1dfa56||[]))['next']());});},__importDefault=this&&this[_0x334cc8(0x9d)]||function(_0x19b364){const _0x17b1cf=_0x334cc8;return _0x19b364&&_0x19b364[_0x17b1cf(0x88)]?_0x19b364:{'default':_0x19b364};};Object[_0x334cc8(0x97)](exports,_0x334cc8(0x88),{'value':!![]}),exports[_0x334cc8(0x9c)]=void 0x0;function _0x3384(){const _0x35d762=['next','78GJoyhg','defineProperty','24FwfEnf','createReadStream','251164XjuGtY','value','CacheUtils','__importDefault','fs/promises','299934WTCLoa','8dZuzqA','__awaiter','randomUUID','8030691AWCtJw','path','15pnhcPo','__esModule','1118537MWNUrs','done','341736KuuaXv','close','687490kjNqag','throw','crypto','6160htVkUK','14570qLUfnU','apply','default','6vSiapd'];_0x3384=function(){return _0x35d762;};return _0x3384();}const path_1=__importDefault(require(_0x334cc8(0x86))),crypto_1=require(_0x334cc8(0x8f)),promises_1=require(_0x334cc8(0x9e)),fs_1=require('fs');class CacheUtils{static['createCacheFileStream'](_0x13ecb7,_0x47d45e){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3a0ad2=_0x5c30,_0x13cb99=path_1[_0x3a0ad2(0x93)]['join'](_0x47d45e,(0x0,crypto_1[_0x3a0ad2(0x84)])());yield(0x0,promises_1['writeFile'])(_0x13cb99,_0x13ecb7);const _0x398686=(0x0,fs_1[_0x3a0ad2(0x99)])(_0x13cb99);return _0x398686['on'](_0x3a0ad2(0x8c),()=>(0x0,promises_1['rm'])(_0x13cb99)),_0x398686;});}}exports['CacheUtils']=CacheUtils;
1
+ 'use strict';const _0x9c24e3=_0x4ded;function _0x4ded(_0x12b2f9,_0x418951){const _0x51c3a6=_0x51c3();return _0x4ded=function(_0x4ded1c,_0x473230){_0x4ded1c=_0x4ded1c-0xee;let _0x495fe4=_0x51c3a6[_0x4ded1c];return _0x495fe4;},_0x4ded(_0x12b2f9,_0x418951);}(function(_0x2a0a98,_0x336c6b){const _0x250076=_0x4ded,_0x52f770=_0x2a0a98();while(!![]){try{const _0x4cd7c0=-parseInt(_0x250076(0xee))/0x1*(parseInt(_0x250076(0x10a))/0x2)+-parseInt(_0x250076(0x102))/0x3*(-parseInt(_0x250076(0xfb))/0x4)+-parseInt(_0x250076(0x105))/0x5+parseInt(_0x250076(0xff))/0x6+-parseInt(_0x250076(0xf4))/0x7*(-parseInt(_0x250076(0xf3))/0x8)+parseInt(_0x250076(0x103))/0x9+parseInt(_0x250076(0xf7))/0xa*(-parseInt(_0x250076(0xf2))/0xb);if(_0x4cd7c0===_0x336c6b)break;else _0x52f770['push'](_0x52f770['shift']());}catch(_0x2618d3){_0x52f770['push'](_0x52f770['shift']());}}}(_0x51c3,0xf0ff7));var __awaiter=this&&this[_0x9c24e3(0xfd)]||function(_0xb98ee9,_0x23ed29,_0x14a1a3,_0x4f2ee4){function _0x3ea348(_0x1673ec){return _0x1673ec instanceof _0x14a1a3?_0x1673ec:new _0x14a1a3(function(_0x221ba9){_0x221ba9(_0x1673ec);});}return new(_0x14a1a3||(_0x14a1a3=Promise))(function(_0x3daa3a,_0x173b1c){const _0x2d52c6=_0x4ded;function _0x1836a7(_0x13f921){const _0x5f3212=_0x4ded;try{_0x46080b(_0x4f2ee4[_0x5f3212(0x107)](_0x13f921));}catch(_0x4981de){_0x173b1c(_0x4981de);}}function _0x464300(_0x55e65f){const _0x4cf1ec=_0x4ded;try{_0x46080b(_0x4f2ee4[_0x4cf1ec(0xfe)](_0x55e65f));}catch(_0x43cc43){_0x173b1c(_0x43cc43);}}function _0x46080b(_0x2b7785){const _0x3a70e9=_0x4ded;_0x2b7785[_0x3a70e9(0x100)]?_0x3daa3a(_0x2b7785[_0x3a70e9(0xf5)]):_0x3ea348(_0x2b7785[_0x3a70e9(0xf5)])[_0x3a70e9(0xf9)](_0x1836a7,_0x464300);}_0x46080b((_0x4f2ee4=_0x4f2ee4[_0x2d52c6(0x106)](_0xb98ee9,_0x23ed29||[]))[_0x2d52c6(0x107)]());});},__importDefault=this&&this[_0x9c24e3(0xf0)]||function(_0x2623d7){const _0x257531=_0x9c24e3;return _0x2623d7&&_0x2623d7[_0x257531(0xef)]?_0x2623d7:{'default':_0x2623d7};};Object[_0x9c24e3(0x104)](exports,_0x9c24e3(0xef),{'value':!![]}),exports[_0x9c24e3(0xfa)]=void 0x0;function _0x51c3(){const _0x2a19c0=['__importDefault','fs/promises','29051ADeiIL','9051272GXvukl','7IVfYjC','value','close','12820BOoBNJ','default','then','CacheUtils','183332ILuIpp','createReadStream','__awaiter','throw','5974128Rzfkpf','done','writeFile','123OTUdwi','14025879jyYRkl','defineProperty','4338960EBAhJx','apply','next','createCacheFileStream','randomUUID','1600dBTQsS','405xksWNh','__esModule'];_0x51c3=function(){return _0x2a19c0;};return _0x51c3();}const path_1=__importDefault(require('path')),crypto_1=require('crypto'),promises_1=require(_0x9c24e3(0xf1)),fs_1=require('fs');class CacheUtils{static[_0x9c24e3(0x108)](_0x1c5e29,_0x35386f){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5687d8=_0x4ded,_0x60814b=path_1[_0x5687d8(0xf8)]['join'](_0x35386f,(0x0,crypto_1[_0x5687d8(0x109)])());yield(0x0,promises_1[_0x5687d8(0x101)])(_0x60814b,_0x1c5e29);const _0x505049=(0x0,fs_1[_0x5687d8(0xfc)])(_0x60814b);return _0x505049['on'](_0x5687d8(0xf6),()=>(0x0,promises_1['rm'])(_0x60814b)),_0x505049;});}}exports[_0x9c24e3(0xfa)]=CacheUtils;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flosum/storages",
3
- "version": "1.3.2",
3
+ "version": "1.3.3-beta.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [
@@ -33,11 +33,13 @@
33
33
  "@azure/storage-blob": "12.26.0",
34
34
  "@flosum/utils": "1.0.13",
35
35
  "@smithy/node-http-handler": "2.1.10",
36
- "https-proxy-agent": "^5.0.1"
36
+ "https-proxy-agent": "^5.0.1",
37
+ "request": "2.88.0"
37
38
  },
38
39
  "devDependencies": {
39
40
  "@types/jest": "27.4.1",
40
41
  "@types/node": "18.14.6",
42
+ "@types/request": "2.48.12",
41
43
  "@types/unzipper": "^0.10.10",
42
44
  "@typescript-eslint/eslint-plugin": "5.30.5",
43
45
  "@typescript-eslint/parser": "5.30.5",