@nx/shared-fs-cache 1.3.0-beta.1 → 1.3.0-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.
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.2",
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.2",
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';const a0_0x760da4=a0_0x17ae;(function(_0x407813,_0x251aa6){const _0x5aa64f=a0_0x17ae,_0x3e73d8=_0x407813();while(!![]){try{const _0x4e05c5=parseInt(_0x5aa64f(0x13e))/0x1*(-parseInt(_0x5aa64f(0x14a))/0x2)+parseInt(_0x5aa64f(0x137))/0x3*(-parseInt(_0x5aa64f(0x132))/0x4)+-parseInt(_0x5aa64f(0x13d))/0x5*(-parseInt(_0x5aa64f(0x138))/0x6)+parseInt(_0x5aa64f(0x13c))/0x7*(parseInt(_0x5aa64f(0x12d))/0x8)+parseInt(_0x5aa64f(0x131))/0x9*(parseInt(_0x5aa64f(0x134))/0xa)+parseInt(_0x5aa64f(0x142))/0xb*(-parseInt(_0x5aa64f(0x133))/0xc)+-parseInt(_0x5aa64f(0x139))/0xd*(-parseInt(_0x5aa64f(0x148))/0xe);if(_0x4e05c5===_0x251aa6)break;else _0x3e73d8['push'](_0x3e73d8['shift']());}catch(_0x2ed25d){_0x3e73d8['push'](_0x3e73d8['shift']());}}}(a0_0x4d2a,0x57503));Object[a0_0x760da4(0x141)](exports,a0_0x760da4(0x12f),{'value':!0x0}),exports[a0_0x760da4(0x147)]=t;function a0_0x17ae(_0x2a412b,_0x27e1b9){const _0x4d2a39=a0_0x4d2a();return a0_0x17ae=function(_0x17aeda,_0x5be859){_0x17aeda=_0x17aeda-0x12c;let _0x3cc127=_0x4d2a39[_0x17aeda];return _0x3cc127;},a0_0x17ae(_0x2a412b,_0x27e1b9);}const e=require(a0_0x760da4(0x14c)),n=require('@nx/key'),a=require('semver'),s=require(a0_0x760da4(0x13a));function a0_0x4d2a(){const _0x5d9303=['169596oZrAwu','package.json','382682KmzaSX','exists','@nx/devkit','name','1008680ddBGec','formatFiles','__esModule','gte','477WarDty','28tcmmXe','12CRoENo','91210zmjVat','updateJson','dependencies','264174glRvgF','96EuyITh','702XfPgtQ','../../../package.json','devDependencies','14PfRoPt','135055MrOppd','1ZiqKSg','20.0.0','updateNxJson','defineProperty','7221863Jkxuyf','getNxKeyInformationAsync','You\x20must\x20have\x20a\x20valid\x20Nx\x20key\x20to\x20use\x20@nx/shared-fs-cache,\x20read\x20more\x20about\x20Nx\x20keys\x20on\x20https://nx.dev/powerpack','workspaceRoot','readNxJson','initGenerator'];a0_0x4d2a=function(){return _0x5d9303;};return a0_0x4d2a();}async function t(_0x3f3388){const _0xdda4=a0_0x760da4;let _0x3ba6e6;if(!await(0x0,n[_0xdda4(0x143)])(e[_0xdda4(0x145)]))throw Error(_0xdda4(0x144));!function(_0x780e30){const _0x7b2bc8=_0xdda4;if((0x0,a[_0x7b2bc8(0x130)])(e['NX_VERSION'],_0x7b2bc8(0x13f)))return;let _0x26d3cd=(0x0,e[_0x7b2bc8(0x146)])(_0x780e30);_0x26d3cd['enableDbCache']=!0x0,(0x0,e[_0x7b2bc8(0x140)])(_0x780e30,_0x26d3cd);}(_0x3f3388);let _0x386e64=_0x3f3388[_0xdda4(0x14b)](_0xdda4(0x149))?(_0x3ba6e6=!0x1,(0x0,e[_0xdda4(0x135)])(_0x3f3388,'package.json',_0x134863=>(_0x134863[_0xdda4(0x136)]=_0x134863[_0xdda4(0x136)]||{},_0x134863['devDependencies']=_0x134863[_0xdda4(0x13b)]||{},_0x134863[_0xdda4(0x136)][s[_0xdda4(0x12c)]]&&(_0x134863[_0xdda4(0x13b)][s['name']]=_0x134863['dependencies'][s[_0xdda4(0x12c)]],delete _0x134863[_0xdda4(0x136)][s[_0xdda4(0x12c)]],_0x3ba6e6=!0x0),_0x134863)),_0x3ba6e6?()=>(0x0,e['installPackagesTask'])(_0x3f3388):()=>{}):()=>{};return await(0x0,e[_0xdda4(0x12e)])(_0x3f3388),_0x386e64;}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';function a1_0x228d(_0x4e2919,_0xeb578f){const _0x4b205a=a1_0x4b20();return a1_0x228d=function(_0x228d53,_0x1739ec){_0x228d53=_0x228d53-0x64;let _0x44cdbc=_0x4b205a[_0x228d53];return _0x44cdbc;},a1_0x228d(_0x4e2919,_0xeb578f);}const a1_0x9e396c=a1_0x228d;(function(_0x521008,_0x27b89d){const _0x32eda6=a1_0x228d,_0x162a87=_0x521008();while(!![]){try{const _0x1a0cde=parseInt(_0x32eda6(0x65))/0x1+-parseInt(_0x32eda6(0x66))/0x2+parseInt(_0x32eda6(0x71))/0x3+-parseInt(_0x32eda6(0x64))/0x4+parseInt(_0x32eda6(0x6c))/0x5+-parseInt(_0x32eda6(0x6e))/0x6+parseInt(_0x32eda6(0x69))/0x7;if(_0x1a0cde===_0x27b89d)break;else _0x162a87['push'](_0x162a87['shift']());}catch(_0xcbfac6){_0x162a87['push'](_0x162a87['shift']());}}}(a1_0x4b20,0xdeafd));function a1_0x4b20(){const _0x58432c=['4796619YlilwX','getNxKeyInformationAsync','__esModule','2459980WhkGyM','475630ULSTNN','545948MgJpVN','SharedFsCache','nx/src/utils/is-ci','681184pKEqpA','./remote-cache','defineProperty','6743745Ntyzhl','assertFeaturePermission','10322820IyAaQv','FeaturePermission','@nx/devkit'];a1_0x4b20=function(){return _0x58432c;};return a1_0x4b20();}Object[a1_0x9e396c(0x6b)](exports,a1_0x9e396c(0x73),{'value':!0x0}),exports['getRemoteCache']=i;const e=require(a1_0x9e396c(0x70)),r=require('@nx/key'),t=require(a1_0x9e396c(0x68)),s=require(a1_0x9e396c(0x6a));async function i(){const _0x5952ab=a1_0x9e396c;let _0x2bdaf2=await(0x0,r[_0x5952ab(0x72)])(e['workspaceRoot']);return(0x0,t['isCI'])()&&_0x2bdaf2?((0x0,r[_0x5952ab(0x6d)])(_0x2bdaf2,r[_0x5952ab(0x6f)]['SelfHostedCache']),new s[(_0x5952ab(0x67))]()):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_0x5e1ca7=a2_0x15ab;(function(_0x73c609,_0xc6955c){const _0x50ff31=a2_0x15ab,_0x305380=_0x73c609();while(!![]){try{const _0x1ceda5=-parseInt(_0x50ff31(0x1ec))/0x1*(-parseInt(_0x50ff31(0x1ef))/0x2)+parseInt(_0x50ff31(0x1f0))/0x3*(-parseInt(_0x50ff31(0x1f4))/0x4)+parseInt(_0x50ff31(0x1ed))/0x5+-parseInt(_0x50ff31(0x1f2))/0x6+-parseInt(_0x50ff31(0x1e7))/0x7+-parseInt(_0x50ff31(0x1e5))/0x8+parseInt(_0x50ff31(0x1f1))/0x9*(parseInt(_0x50ff31(0x1df))/0xa);if(_0x1ceda5===_0xc6955c)break;else _0x305380['push'](_0x305380['shift']());}catch(_0x2432db){_0x305380['push'](_0x305380['shift']());}}}(a2_0x1ecc,0xa7317));function a2_0x1ecc(){const _0x2e31b8=['@nx/devkit','cacheDir','nx/src/utils/db-connection','getDbConnection','SharedFsCache','8030640WsCEwR','cache','346864raLfoa','-backup','put','renameSync','defineProperty','1024327IZIiYU','6421045WeKaGn','path','2LYzeBV','39ihZZTv','36HYIcIi','5185044AwQfqw','get','308564GeCDcB','rmdirSync','join','shared','3241690uCmeeM'];a2_0x1ecc=function(){return _0x2e31b8;};return a2_0x1ecc();}function a2_0x15ab(_0x4cae3e,_0x4c6e51){const _0x1eccab=a2_0x1ecc();return a2_0x15ab=function(_0x15ab1c,_0x2efde9){_0x15ab1c=_0x15ab1c-0x1de;let _0x48c6e2=_0x1eccab[_0x15ab1c];return _0x48c6e2;},a2_0x15ab(_0x4cae3e,_0x4c6e51);}Object[a2_0x5e1ca7(0x1eb)](exports,'__esModule',{'value':!0x0}),exports['SharedFsCache']=void 0x0;const e=require(a2_0x5e1ca7(0x1e0)),r=require('fs'),c=require('nx/src/native'),t=require(a2_0x5e1ca7(0x1e2)),a=require(a2_0x5e1ca7(0x1ee));class i{['cache']=new c['NxCache'](e['workspaceRoot'],e[a2_0x5e1ca7(0x1e1)],(0x0,t[a2_0x5e1ca7(0x1e3)])({'directory':e[a2_0x5e1ca7(0x1e1)],'dbName':a2_0x5e1ca7(0x1de)}),!0x1);async['retrieve'](_0x26fb88){const _0x4e469d=a2_0x5e1ca7;return this[_0x4e469d(0x1e6)][_0x4e469d(0x1f3)](_0x26fb88);}async['store'](_0x7305c6,_0x1e8611,_0x28cef6,_0xb34188){const _0x53aa5d=a2_0x5e1ca7;try{let _0x42e44c=(0x0,a[_0x53aa5d(0x1f6)])(this[_0x53aa5d(0x1e6)]['cacheDirectory'],_0x7305c6),_0x5c204f=_0x42e44c+_0x53aa5d(0x1e8);return(0x0,r[_0x53aa5d(0x1ea)])(_0x42e44c,_0x5c204f),this[_0x53aa5d(0x1e6)][_0x53aa5d(0x1e9)](_0x7305c6,_0x28cef6,[],_0xb34188),(0x0,r[_0x53aa5d(0x1f5)])(_0x42e44c,{'recursive':!0x0}),(0x0,r[_0x53aa5d(0x1ea)])(_0x5c204f,_0x42e44c),!0x0;}catch(_0x1fab19){return!0x1;}}}exports[a2_0x5e1ca7(0x1e4)]=i;