@nx/shared-fs-cache 1.3.0-beta.1 → 1.3.0-beta.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/shared-fs-cache",
3
- "version": "1.3.0-beta.1",
3
+ "version": "1.3.0-beta.3",
4
4
  "description": "A Nx plugin to enable you to use a shared file system directory",
5
5
  "type": "commonjs",
6
6
  "main": "src/index.js",
@@ -21,7 +21,7 @@
21
21
  ],
22
22
  "dependencies": {
23
23
  "@nx/devkit": ">= 19 < 21",
24
- "@nx/key": "1.3.0-beta.1",
24
+ "@nx/key": "1.3.0-beta.3",
25
25
  "semver": "7.5.4"
26
26
  }
27
27
  }
@@ -1 +1 @@
1
- 'use strict';const a0_0x3bbc46=a0_0xaa59;(function(_0x54f070,_0x261ed3){const _0x487a9e=a0_0xaa59,_0x5b1ed1=_0x54f070();while(!![]){try{const _0x9657be=-parseInt(_0x487a9e(0x119))/0x1*(-parseInt(_0x487a9e(0x117))/0x2)+-parseInt(_0x487a9e(0x11d))/0x3*(parseInt(_0x487a9e(0x124))/0x4)+-parseInt(_0x487a9e(0x123))/0x5+parseInt(_0x487a9e(0x126))/0x6*(-parseInt(_0x487a9e(0x125))/0x7)+parseInt(_0x487a9e(0x113))/0x8*(-parseInt(_0x487a9e(0x11a))/0x9)+-parseInt(_0x487a9e(0x12c))/0xa*(-parseInt(_0x487a9e(0x130))/0xb)+parseInt(_0x487a9e(0x11f))/0xc;if(_0x9657be===_0x261ed3)break;else _0x5b1ed1['push'](_0x5b1ed1['shift']());}catch(_0x13a5d7){_0x5b1ed1['push'](_0x5b1ed1['shift']());}}}(a0_0x3c1e,0x9d041));function a0_0x3c1e(){const _0x52c1fb=['13JBLxjt','2592HfZGXh','initGenerator','exists','3shqkQx','package.json','15209304BQvhaN','formatFiles','default','@nx/devkit','1422190VmyAnS','1841908GDmrTP','3003BqIrCR','13962GnPYeN','__esModule','dependencies','readNxJson','name','../../../package.json','1470qlpalu','@nx/key','semver','updateJson','90299UBMMIr','getNxKeyInformationAsync','NX_VERSION','33392ofyKFp','20.0.0','gte','devDependencies','171428FQpPxC','updateNxJson'];a0_0x3c1e=function(){return _0x52c1fb;};return a0_0x3c1e();}Object['defineProperty'](exports,a0_0x3bbc46(0x127),{'value':!0x0}),exports[a0_0x3bbc46(0x11b)]=t;const e=require(a0_0x3bbc46(0x122)),n=require(a0_0x3bbc46(0x12d)),a=require(a0_0x3bbc46(0x12e)),s=require(a0_0x3bbc46(0x12b));function a0_0xaa59(_0x3030e7,_0x5ea856){const _0x3c1e46=a0_0x3c1e();return a0_0xaa59=function(_0xaa596b,_0x3722b8){_0xaa596b=_0xaa596b-0x112;let _0x126cd1=_0x3c1e46[_0xaa596b];return _0x126cd1;},a0_0xaa59(_0x3030e7,_0x5ea856);}async function t(_0x188207){const _0x215688=a0_0x3bbc46;let _0x1c59f7;if(!await(0x0,n[_0x215688(0x131)])(e['workspaceRoot']))throw Error('You\x20must\x20have\x20a\x20valid\x20Nx\x20key\x20to\x20use\x20@nx/shared-fs-cache,\x20read\x20more\x20about\x20Nx\x20keys\x20on\x20https://nx.dev/powerpack');!function(_0x562a60){const _0x26e461=_0x215688;if((0x0,a[_0x26e461(0x115)])(e[_0x26e461(0x112)],_0x26e461(0x114)))return;let _0x59fe45=(0x0,e[_0x26e461(0x129)])(_0x562a60);_0x59fe45['enableDbCache']=!0x0,(0x0,e[_0x26e461(0x118)])(_0x562a60,_0x59fe45);}(_0x188207);let _0x2fdd59=_0x188207[_0x215688(0x11c)](_0x215688(0x11e))?(_0x1c59f7=!0x1,(0x0,e[_0x215688(0x12f)])(_0x188207,'package.json',_0x5ef811=>(_0x5ef811['dependencies']=_0x5ef811[_0x215688(0x128)]||{},_0x5ef811[_0x215688(0x116)]=_0x5ef811[_0x215688(0x116)]||{},_0x5ef811[_0x215688(0x128)][s[_0x215688(0x12a)]]&&(_0x5ef811[_0x215688(0x116)][s[_0x215688(0x12a)]]=_0x5ef811['dependencies'][s[_0x215688(0x12a)]],delete _0x5ef811[_0x215688(0x128)][s[_0x215688(0x12a)]],_0x1c59f7=!0x0),_0x5ef811)),_0x1c59f7?()=>(0x0,e['installPackagesTask'])(_0x188207):()=>{}):()=>{};return await(0x0,e[_0x215688(0x120)])(_0x188207),_0x2fdd59;}exports[a0_0x3bbc46(0x121)]=t;
1
+ 'use strict';function a0_0x333f(){const _0x44aa93=['installPackagesTask','defineProperty','You\x20must\x20have\x20a\x20valid\x20Nx\x20key\x20to\x20use\x20@nx/shared-fs-cache,\x20read\x20more\x20about\x20Nx\x20keys\x20on\x20https://nx.dev/powerpack','updateNxJson','8EsoxvD','formatFiles','initGenerator','gte','updateJson','652512rgMLFi','dependencies','readNxJson','420091TpUCps','@nx/devkit','443448hDmCTj','85vicRQO','../../../package.json','package.json','26396mSrFZS','@nx/key','name','workspaceRoot','devDependencies','__esModule','116733jMXaVu','semver','1016466hGBjbQ','151602gksmaN','enableDbCache'];a0_0x333f=function(){return _0x44aa93;};return a0_0x333f();}const a0_0x3b7bd1=a0_0x3e68;(function(_0x5150c9,_0x1fb128){const _0xab8095=a0_0x3e68,_0x373a5b=_0x5150c9();while(!![]){try{const _0x112922=-parseInt(_0xab8095(0x142))/0x1+parseInt(_0xab8095(0x148))/0x2*(parseInt(_0xab8095(0x13f))/0x3)+parseInt(_0xab8095(0x139))/0x4*(-parseInt(_0xab8095(0x136))/0x5)+parseInt(_0xab8095(0x141))/0x6+-parseInt(_0xab8095(0x150))/0x7+parseInt(_0xab8095(0x14d))/0x8+parseInt(_0xab8095(0x152))/0x9;if(_0x112922===_0x1fb128)break;else _0x373a5b['push'](_0x373a5b['shift']());}catch(_0x351d10){_0x373a5b['push'](_0x373a5b['shift']());}}}(a0_0x333f,0x203fd));function a0_0x3e68(_0x4ba8df,_0x56c12b){const _0x333f35=a0_0x333f();return a0_0x3e68=function(_0x3e682f,_0x437686){_0x3e682f=_0x3e682f-0x136;let _0x4d17b9=_0x333f35[_0x3e682f];return _0x4d17b9;},a0_0x3e68(_0x4ba8df,_0x56c12b);}Object[a0_0x3b7bd1(0x145)](exports,a0_0x3b7bd1(0x13e),{'value':!0x0}),exports[a0_0x3b7bd1(0x14a)]=t;const e=require(a0_0x3b7bd1(0x151)),n=require(a0_0x3b7bd1(0x13a)),a=require(a0_0x3b7bd1(0x140)),s=require(a0_0x3b7bd1(0x137));async function t(_0x52f05c){const _0x5b5982=a0_0x3b7bd1;let _0x21dc4e;if(!await(0x0,n['getNxKeyInformationAsync'])(e[_0x5b5982(0x13c)]))throw Error(_0x5b5982(0x146));!function(_0x56b6fd){const _0xf844f4=_0x5b5982;if((0x0,a[_0xf844f4(0x14b)])(e['NX_VERSION'],'20.0.0'))return;let _0x42b19a=(0x0,e[_0xf844f4(0x14f)])(_0x56b6fd);_0x42b19a[_0xf844f4(0x143)]=!0x0,(0x0,e[_0xf844f4(0x147)])(_0x56b6fd,_0x42b19a);}(_0x52f05c);let _0x44f63c=_0x52f05c['exists'](_0x5b5982(0x138))?(_0x21dc4e=!0x1,(0x0,e[_0x5b5982(0x14c)])(_0x52f05c,_0x5b5982(0x138),_0xff6fa0=>(_0xff6fa0['dependencies']=_0xff6fa0['dependencies']||{},_0xff6fa0[_0x5b5982(0x13d)]=_0xff6fa0[_0x5b5982(0x13d)]||{},_0xff6fa0[_0x5b5982(0x14e)][s[_0x5b5982(0x13b)]]&&(_0xff6fa0['devDependencies'][s[_0x5b5982(0x13b)]]=_0xff6fa0[_0x5b5982(0x14e)][s[_0x5b5982(0x13b)]],delete _0xff6fa0[_0x5b5982(0x14e)][s[_0x5b5982(0x13b)]],_0x21dc4e=!0x0),_0xff6fa0)),_0x21dc4e?()=>(0x0,e[_0x5b5982(0x144)])(_0x52f05c):()=>{}):()=>{};return await(0x0,e[_0x5b5982(0x149)])(_0x52f05c),_0x44f63c;}exports['default']=t;
package/src/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a1_0x2c7c99=a1_0x1011;function a1_0x5568(){const _0x51b0b1=['423840BjpAXK','FeaturePermission','3NUYGeg','SharedFsCache','SelfHostedCache','nx/src/utils/is-ci','4828054RYhsJp','__esModule','3354704vwjDFU','@nx/key','workspaceRoot','isCI','9234306NYZjrL','getNxKeyInformationAsync','getRemoteCache','7673776BvnsfM','12angvvt','2065042fRITup','106116VUYTrl'];a1_0x5568=function(){return _0x51b0b1;};return a1_0x5568();}(function(_0x2466a5,_0x74ef93){const _0x5021e6=a1_0x1011,_0x1dc3ea=_0x2466a5();while(!![]){try{const _0x370330=parseInt(_0x5021e6(0x142))/0x1+parseInt(_0x5021e6(0x141))/0x2*(parseInt(_0x5021e6(0x145))/0x3)+-parseInt(_0x5021e6(0x14b))/0x4+parseInt(_0x5021e6(0x143))/0x5*(-parseInt(_0x5021e6(0x140))/0x6)+parseInt(_0x5021e6(0x149))/0x7+parseInt(_0x5021e6(0x13f))/0x8+-parseInt(_0x5021e6(0x13c))/0x9;if(_0x370330===_0x74ef93)break;else _0x1dc3ea['push'](_0x1dc3ea['shift']());}catch(_0x4dc4c8){_0x1dc3ea['push'](_0x1dc3ea['shift']());}}}(a1_0x5568,0xb7eb7));Object['defineProperty'](exports,a1_0x2c7c99(0x14a),{'value':!0x0}),exports[a1_0x2c7c99(0x13e)]=i;const e=require('@nx/devkit'),r=require(a1_0x2c7c99(0x14c)),t=require(a1_0x2c7c99(0x148)),s=require('./remote-cache');function a1_0x1011(_0x5dc21b,_0x109ec7){const _0x556872=a1_0x5568();return a1_0x1011=function(_0x101144,_0x126975){_0x101144=_0x101144-0x13c;let _0x54cd19=_0x556872[_0x101144];return _0x54cd19;},a1_0x1011(_0x5dc21b,_0x109ec7);}async function i(){const _0x495319=a1_0x2c7c99;return(0x0,t[_0x495319(0x14e)])()&&await(0x0,r[_0x495319(0x13d)])(e[_0x495319(0x14d)],r[_0x495319(0x144)][_0x495319(0x147)])?new s[(_0x495319(0x146))]():null;}
1
+ 'use strict';const a1_0x23c884=a1_0x4c21;function a1_0x4f7f(){const _0x4d3c98=['assertFeaturePermission','27457ftsIBg','56024RCZReA','defineProperty','34aXXXQJ','getRemoteCache','668JSqDhi','7PaPluF','2737647qgFfSB','isCI','@nx/devkit','10IihUON','8042452qydxph','SharedFsCache','861980HYRhAe','getNxKeyInformationAsync','SelfHostedCache','@nx/key','./remote-cache','18mdXgrf','659586hgODhT'];a1_0x4f7f=function(){return _0x4d3c98;};return a1_0x4f7f();}(function(_0x1352b5,_0x14a1c3){const _0x2480eb=a1_0x4c21,_0x1d12cd=_0x1352b5();while(!![]){try{const _0x170802=-parseInt(_0x2480eb(0x107))/0x1*(parseInt(_0x2480eb(0x10a))/0x2)+-parseInt(_0x2480eb(0x104))/0x3*(parseInt(_0x2480eb(0x10c))/0x4)+-parseInt(_0x2480eb(0x114))/0x5+-parseInt(_0x2480eb(0x105))/0x6*(parseInt(_0x2480eb(0x10d))/0x7)+-parseInt(_0x2480eb(0x108))/0x8+-parseInt(_0x2480eb(0x10e))/0x9*(-parseInt(_0x2480eb(0x111))/0xa)+parseInt(_0x2480eb(0x112))/0xb;if(_0x170802===_0x14a1c3)break;else _0x1d12cd['push'](_0x1d12cd['shift']());}catch(_0x5c622d){_0x1d12cd['push'](_0x1d12cd['shift']());}}}(a1_0x4f7f,0x43ec6));function a1_0x4c21(_0x3a9aef,_0x1a6594){const _0x4f7f1b=a1_0x4f7f();return a1_0x4c21=function(_0x4c2100,_0x23b250){_0x4c2100=_0x4c2100-0x101;let _0xfe5ee9=_0x4f7f1b[_0x4c2100];return _0xfe5ee9;},a1_0x4c21(_0x3a9aef,_0x1a6594);}Object[a1_0x23c884(0x109)](exports,'__esModule',{'value':!0x0}),exports[a1_0x23c884(0x10b)]=i;const e=require(a1_0x23c884(0x110)),r=require(a1_0x23c884(0x102)),t=require('nx/src/utils/is-ci'),s=require(a1_0x23c884(0x103));async function i(){const _0x5c3691=a1_0x23c884;let _0x23a22f=await(0x0,r[_0x5c3691(0x115)])(e['workspaceRoot']);return(0x0,t[_0x5c3691(0x10f)])()&&_0x23a22f?((0x0,r[_0x5c3691(0x106)])(_0x23a22f,r['FeaturePermission'][_0x5c3691(0x101)]),new s[(_0x5c3691(0x113))]()):null;}
@@ -1 +1 @@
1
- 'use strict';const a2_0x54a95e=a2_0x1b1c;(function(_0x46f9cc,_0x4894bc){const _0x2b4f76=a2_0x1b1c,_0x34c04c=_0x46f9cc();while(!![]){try{const _0x2d3c8d=-parseInt(_0x2b4f76(0x80))/0x1+-parseInt(_0x2b4f76(0x89))/0x2+-parseInt(_0x2b4f76(0x82))/0x3*(parseInt(_0x2b4f76(0x87))/0x4)+parseInt(_0x2b4f76(0x83))/0x5+-parseInt(_0x2b4f76(0x7e))/0x6+-parseInt(_0x2b4f76(0x7c))/0x7*(parseInt(_0x2b4f76(0x85))/0x8)+parseInt(_0x2b4f76(0x7f))/0x9;if(_0x2d3c8d===_0x4894bc)break;else _0x34c04c['push'](_0x34c04c['shift']());}catch(_0x2d8da8){_0x34c04c['push'](_0x34c04c['shift']());}}}(a2_0x9e7e,0x60eab));Object[a2_0x54a95e(0x84)](exports,'__esModule',{'value':!0x0}),exports[a2_0x54a95e(0x7d)]=void 0x0;function a2_0x9e7e(){const _0x304274=['store','path','cacheDir','cache','workspaceRoot','7WHExcf','SharedFsCache','2234442VYCpha','13779189mZwvgh','212383yINQel','retrieve','144JWUFwT','865385riYWJj','defineProperty','1281416lyNJgO','renameSync','33296gZxuzC','shared','325216fPBaZj','get','-backup','nx/src/utils/db-connection','@nx/devkit'];a2_0x9e7e=function(){return _0x304274;};return a2_0x9e7e();}const e=require(a2_0x54a95e(0x76)),r=require('fs'),c=require('nx/src/native'),t=require(a2_0x54a95e(0x8c)),a=require(a2_0x54a95e(0x78));function a2_0x1b1c(_0x18ae3b,_0x1d4e4c){const _0x9e7e10=a2_0x9e7e();return a2_0x1b1c=function(_0x1b1c19,_0x1d8d49){_0x1b1c19=_0x1b1c19-0x76;let _0x30f3f4=_0x9e7e10[_0x1b1c19];return _0x30f3f4;},a2_0x1b1c(_0x18ae3b,_0x1d4e4c);}class i{[a2_0x54a95e(0x7a)]=new c['NxCache'](e[a2_0x54a95e(0x7b)],e[a2_0x54a95e(0x79)],(0x0,t['getDbConnection'])({'directory':e['cacheDir'],'dbName':a2_0x54a95e(0x88)}),!0x1);async[a2_0x54a95e(0x81)](_0x56d218){const _0x1ec0b4=a2_0x54a95e;return this[_0x1ec0b4(0x7a)][_0x1ec0b4(0x8a)](_0x56d218);}async[a2_0x54a95e(0x77)](_0xd643f,_0x253f89,_0x9510f4,_0x577826){const _0x54895f=a2_0x54a95e;try{let _0xb69123=(0x0,a['join'])(this[_0x54895f(0x7a)]['cacheDirectory'],_0xd643f),_0x14fcfb=_0xb69123+_0x54895f(0x8b);return(0x0,r[_0x54895f(0x86)])(_0xb69123,_0x14fcfb),this[_0x54895f(0x7a)]['put'](_0xd643f,_0x9510f4,[],_0x577826),(0x0,r['rmdirSync'])(_0xb69123,{'recursive':!0x0}),(0x0,r['renameSync'])(_0x14fcfb,_0xb69123),!0x0;}catch(_0x33d078){return!0x1;}}}exports['SharedFsCache']=i;
1
+ 'use strict';const a2_0x12fae5=a2_0xc97c;(function(_0xf10884,_0x1d3f0c){const _0x1b98fd=a2_0xc97c,_0x1517ac=_0xf10884();while(!![]){try{const _0x27fe80=-parseInt(_0x1b98fd(0x132))/0x1*(parseInt(_0x1b98fd(0x131))/0x2)+-parseInt(_0x1b98fd(0x11d))/0x3+parseInt(_0x1b98fd(0x11b))/0x4+-parseInt(_0x1b98fd(0x127))/0x5*(parseInt(_0x1b98fd(0x126))/0x6)+parseInt(_0x1b98fd(0x129))/0x7*(parseInt(_0x1b98fd(0x12d))/0x8)+-parseInt(_0x1b98fd(0x120))/0x9*(parseInt(_0x1b98fd(0x128))/0xa)+-parseInt(_0x1b98fd(0x11f))/0xb*(-parseInt(_0x1b98fd(0x122))/0xc);if(_0x27fe80===_0x1d3f0c)break;else _0x1517ac['push'](_0x1517ac['shift']());}catch(_0x396414){_0x1517ac['push'](_0x1517ac['shift']());}}}(a2_0x24a7,0xc4c38));function a2_0x24a7(){const _0x2576f=['nx/src/native','NxCache','cacheDirectory','176CHtBUc','cache','store','-backup','14254gWFbAw','155lDIkRt','renameSync','join','709188fTFTim','SharedFsCache','2185620XHhQey','get','9411105kaCRWQ','9116586eoDugu','rmdirSync','60oYnrox','path','workspaceRoot','cacheDir','1681578mlKWrB','15FsifbV','10RIjmpn','12040HlRNrj'];a2_0x24a7=function(){return _0x2576f;};return a2_0x24a7();}function a2_0xc97c(_0xe2e536,_0x12e29c){const _0x24a78c=a2_0x24a7();return a2_0xc97c=function(_0xc97c25,_0x18cc2b){_0xc97c25=_0xc97c25-0x11a;let _0x410926=_0x24a78c[_0xc97c25];return _0x410926;},a2_0xc97c(_0xe2e536,_0x12e29c);}Object['defineProperty'](exports,'__esModule',{'value':!0x0}),exports[a2_0x12fae5(0x11c)]=void 0x0;const e=require('@nx/devkit'),r=require('fs'),c=require(a2_0x12fae5(0x12a)),t=require('nx/src/utils/db-connection'),a=require(a2_0x12fae5(0x123));class i{['cache']=new c[(a2_0x12fae5(0x12b))](e[a2_0x12fae5(0x124)],e['cacheDir'],(0x0,t['getDbConnection'])({'directory':e[a2_0x12fae5(0x125)],'dbName':'shared'}),!0x1);async['retrieve'](_0x330a9b){const _0x1f9c32=a2_0x12fae5;return this[_0x1f9c32(0x12e)][_0x1f9c32(0x11e)](_0x330a9b);}async[a2_0x12fae5(0x12f)](_0x542333,_0x4ca6e4,_0x5bd150,_0x59f14f){const _0x1cb590=a2_0x12fae5;try{let _0x4d4d51=(0x0,a[_0x1cb590(0x11a)])(this[_0x1cb590(0x12e)][_0x1cb590(0x12c)],_0x542333),_0x230109=_0x4d4d51+_0x1cb590(0x130);return(0x0,r[_0x1cb590(0x133)])(_0x4d4d51,_0x230109),this['cache']['put'](_0x542333,_0x5bd150,[],_0x59f14f),(0x0,r[_0x1cb590(0x121)])(_0x4d4d51,{'recursive':!0x0}),(0x0,r[_0x1cb590(0x133)])(_0x230109,_0x4d4d51),!0x0;}catch(_0x474473){return!0x1;}}}exports[a2_0x12fae5(0x11c)]=i;