@nx/key 4.0.0 → 5.0.1

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # [@nx/powerpack-license](https://nx.dev/powerpack)
1
+ # [@nx/key](https://nx.dev/powerpack)
2
2
 
3
3
  This package is part of the [Nx Powerpack](https://nx.dev/powerpack) extensions for [Nx](https://nx.dev).
4
4
 
@@ -32,7 +32,7 @@ SOFTWARE.
32
32
 
33
33
  ---
34
34
 
35
- Package: @emnapi/runtime (1.5.0)
35
+ Package: @emnapi/runtime (1.8.1)
36
36
  Type: npm
37
37
  License: MIT
38
38
 
@@ -138,7 +138,7 @@ SOFTWARE.
138
138
 
139
139
  ---
140
140
 
141
- Package: @tybys/wasm-util (0.10.0)
141
+ Package: @tybys/wasm-util (0.10.1)
142
142
  Type: npm
143
143
  License: MIT
144
144
 
@@ -322,7 +322,7 @@ SOFTWARE.
322
322
 
323
323
  ---
324
324
 
325
- Package: axios (1.7.9)
325
+ Package: axios (1.13.2)
326
326
  Type: npm
327
327
  License: MIT
328
328
 
@@ -904,6 +904,32 @@ THE SOFTWARE.
904
904
 
905
905
  ---
906
906
 
907
+ Package: core-util-is (1.0.2)
908
+ Type: npm
909
+ License: MIT
910
+
911
+ Copyright Node.js contributors. All rights reserved.
912
+
913
+ Permission is hereby granted, free of charge, to any person obtaining a copy
914
+ of this software and associated documentation files (the "Software"), to
915
+ deal in the Software without restriction, including without limitation the
916
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
917
+ sell copies of the Software, and to permit persons to whom the Software is
918
+ furnished to do so, subject to the following conditions:
919
+
920
+ The above copyright notice and this permission notice shall be included in
921
+ all copies or substantial portions of the Software.
922
+
923
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
924
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
925
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
926
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
927
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
928
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
929
+ IN THE SOFTWARE.
930
+
931
+ ---
932
+
907
933
  Package: defaults (1.0.4)
908
934
  Type: npm
909
935
  License: MIT
@@ -1477,6 +1503,34 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
1477
1503
 
1478
1504
  ---
1479
1505
 
1506
+ Package: isarray (2.0.5)
1507
+ Type: npm
1508
+ License: MIT
1509
+
1510
+ MIT License
1511
+
1512
+ Copyright (c) 2013 Julian Gruber <julian@juliangruber.com>
1513
+
1514
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1515
+ of this software and associated documentation files (the "Software"), to deal
1516
+ in the Software without restriction, including without limitation the rights
1517
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1518
+ copies of the Software, and to permit persons to whom the Software is
1519
+ furnished to do so, subject to the following conditions:
1520
+
1521
+ The above copyright notice and this permission notice shall be included in all
1522
+ copies or substantial portions of the Software.
1523
+
1524
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1525
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1526
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1527
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1528
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1529
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1530
+ SOFTWARE.
1531
+
1532
+ ---
1533
+
1480
1534
  Package: log-symbols (4.1.0)
1481
1535
  Type: npm
1482
1536
  License: MIT
@@ -1581,7 +1635,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1581
1635
 
1582
1636
  ---
1583
1637
 
1584
- Package: mimic-fn (2.1.0)
1638
+ Package: mimic-fn (1.2.0)
1585
1639
  Type: npm
1586
1640
  License: MIT
1587
1641
 
@@ -1723,6 +1777,32 @@ SOFTWARE.
1723
1777
 
1724
1778
  ---
1725
1779
 
1780
+ Package: process-nextick-args (2.0.1)
1781
+ Type: npm
1782
+ License: MIT
1783
+
1784
+ # Copyright (c) 2015 Calvin Metcalf
1785
+
1786
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1787
+ of this software and associated documentation files (the "Software"), to deal
1788
+ in the Software without restriction, including without limitation the rights
1789
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1790
+ copies of the Software, and to permit persons to whom the Software is
1791
+ furnished to do so, subject to the following conditions:
1792
+
1793
+ The above copyright notice and this permission notice shall be included in all
1794
+ copies or substantial portions of the Software.
1795
+
1796
+ **THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1797
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1798
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1799
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1800
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1801
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1802
+ SOFTWARE.**
1803
+
1804
+ ---
1805
+
1726
1806
  Package: proxy-from-env (1.1.0)
1727
1807
  Type: npm
1728
1808
  License: MIT
@@ -1750,7 +1830,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1750
1830
 
1751
1831
  ---
1752
1832
 
1753
- Package: readable-stream (3.6.2)
1833
+ Package: readable-stream (2.3.8)
1754
1834
  Type: npm
1755
1835
  License: MIT
1756
1836
 
@@ -1973,7 +2053,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1973
2053
 
1974
2054
  ---
1975
2055
 
1976
- Package: string_decoder (1.3.0)
2056
+ Package: string_decoder (1.1.1)
1977
2057
  Type: npm
1978
2058
  License: MIT
1979
2059
 
package/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x1bdc9c=a0_0x198c;(function(_0x3ab5b4,_0x5ef745){const _0x4577a8=a0_0x198c,_0x5b7848=_0x3ab5b4();while(!![]){try{const _0x13c077=-parseInt(_0x4577a8(0x14b))/0x1+parseInt(_0x4577a8(0x12c))/0x2+parseInt(_0x4577a8(0x134))/0x3*(parseInt(_0x4577a8(0x14c))/0x4)+-parseInt(_0x4577a8(0x17d))/0x5+-parseInt(_0x4577a8(0x14a))/0x6+parseInt(_0x4577a8(0x16b))/0x7*(-parseInt(_0x4577a8(0x138))/0x8)+parseInt(_0x4577a8(0x159))/0x9;if(_0x13c077===_0x5ef745)break;else _0x5b7848['push'](_0x5b7848['shift']());}catch(_0x164dbd){_0x5b7848['push'](_0x5b7848['shift']());}}}(a0_0x513c,0xd5e06));function a0_0x513c(){const _0x44b85e=['pipe','./src/auto-register','getNxKeyInformationAsync','resolve','./native','renameSync','./request','1558278JumznU','1577485dtbWNc','5383012jrHATO','nx_key.android-arm-eabi.node','exports','endsWith','update','nx-native-file-cache-','_load','existsSync','VERSION','env','nx_key.darwin-arm64.node','getNxKeyInformation','nx_key.freebsd-x64.node','13183578MrIjSA','apply','has','cache','random','getKeyInformation','assertFeaturePermission','utf8','execSync','@nx/key-win32-ia32-msvc','nx_key.linux-x64-musl.node','getKeyInformationAsync','@nx/key-android-arm-eabi','NX_NATIVE_FILE_CACHE_DIRECTORY','join','autoRegisterNxKey','hex','module','21aaXzKT','@nx/key-android-arm64','getPowerpackLicenseInformationAsync','./src/version','FeaturePermission','nx_key.android-arm64.node','requestLicense','trim','getPowerpackLicenseInformation','./native.js','@nx/key-win32-arm64-msvc','@nx/key-freebsd-x64','sha256','activatePowerpack','@nx/key-linux-arm64-musl','node:child_process','nx_key.win32-ia32-msvc.node','basename','7668010IdANIk','digest','@nx/key-linux-arm-gnueabihf','native\x20file\x20cache\x20location:\x20','debug','activateNxKey','2975224tpuiYc','@nx/key-linux-x64-gnu','nx_key.win32-arm64-msvc.node','@nx/key-darwin-arm64','node:crypto','homedir','nx_key.darwin-universal.node','createHash','3OScPyl','node:os','NX_MAJOR_VERSION','nx_key.linux-x64-gnu.node','136984NrPGeg','defineProperty','@nx/key-darwin-x64','registerNxKey','nx_key.linux-arm64-gnu.node','tmpdir','@nx/key-linux-x64-musl','some','username','nx_key.win32-x64-msvc.node','node\x20./request.js\x20child'];a0_0x513c=function(){return _0x44b85e;};return a0_0x513c();}let e;Object[a0_0x1bdc9c(0x139)](exports,'__esModule',{'value':!0x0}),exports['assertFeaturePermission']=void 0x0,exports[a0_0x1bdc9c(0x13b)]=function(_0x1109ef,_0x100468){const _0x417197=a0_0x1bdc9c;return(0x0,_[_0x417197(0x13b)])(_0x1109ef,_0x100468);},exports['autoRegisterNxKey']=l,exports[a0_0x1bdc9c(0x178)]=function(_0x11ec44,_0x53a082){p(_0x11ec44,_0x53a082);},exports['activateNxKey']=p,exports[a0_0x1bdc9c(0x16d)]=function(_0x33f49a){return v(_0x33f49a);},exports[a0_0x1bdc9c(0x145)]=v,exports[a0_0x1bdc9c(0x173)]=function(_0x527267){return k(_0x527267);},exports[a0_0x1bdc9c(0x157)]=k;const n=require(a0_0x1bdc9c(0x17a)),r=require(a0_0x1bdc9c(0x135)),i=require(a0_0x1bdc9c(0x149)),t=require('fs'),o=require(a0_0x1bdc9c(0x130)),s=require('path'),a=require(a0_0x1bdc9c(0x16e)),u=require(a0_0x1bdc9c(0x16a)),x=new Set([a0_0x1bdc9c(0x16c),a0_0x1bdc9c(0x165),'@nx/key-win32-x64-msvc',a0_0x1bdc9c(0x162),a0_0x1bdc9c(0x175),'@nx/key-darwin-universal',a0_0x1bdc9c(0x13a),a0_0x1bdc9c(0x12f),a0_0x1bdc9c(0x176),a0_0x1bdc9c(0x13e),a0_0x1bdc9c(0x12d),a0_0x1bdc9c(0x179),'@nx/key-linux-arm64-gnu',a0_0x1bdc9c(0x17f)]),c=[a0_0x1bdc9c(0x170),a0_0x1bdc9c(0x14d),a0_0x1bdc9c(0x141),a0_0x1bdc9c(0x17b),a0_0x1bdc9c(0x12e),a0_0x1bdc9c(0x132),'nx_key.darwin-x64.node',a0_0x1bdc9c(0x156),a0_0x1bdc9c(0x158),a0_0x1bdc9c(0x163),a0_0x1bdc9c(0x137),'nx_key.linux-arm64-musl.node',a0_0x1bdc9c(0x13c),'nx_key.linux-arm-gnueabihf.node'],d=u['_load'],y=require[a0_0x1bdc9c(0x146)](a0_0x1bdc9c(0x174));delete require[a0_0x1bdc9c(0x15c)][y],u[a0_0x1bdc9c(0x152)]=function(_0xabf009,_0x5614f8,_0x4f51f4){const _0x565abe=a0_0x1bdc9c;if(!(x[_0x565abe(0x15b)](_0xabf009)||c[_0x565abe(0x13f)](_0x3a8816=>_0xabf009[_0x565abe(0x14f)](_0x3a8816))))return d[_0x565abe(0x15a)](this,arguments);{let _0x4b920e=require[_0x565abe(0x146)](_0xabf009),_0x5c2f2e=(0x0,s[_0x565abe(0x17c)])(_0x4b920e),_0x3121ad=(function(){const _0x55e02e=_0x565abe;if(process[_0x55e02e(0x155)][_0x55e02e(0x166)])return process['env'][_0x55e02e(0x166)];{let _0x3e57f0=(0x0,o[_0x55e02e(0x133)])(_0x55e02e(0x177));e&&_0x3e57f0[_0x55e02e(0x150)](e);try{_0x3e57f0[_0x55e02e(0x150)]((0x0,r['userInfo'])()[_0x55e02e(0x140)]);}catch(_0x2c0c28){}return(0x0,s[_0x55e02e(0x167)])((0x0,r[_0x55e02e(0x13d)])(),_0x55e02e(0x151)+_0x3e57f0[_0x55e02e(0x17e)](_0x55e02e(0x169))['substring'](0x0,0x7));}}()),_0x987b4f=(0x0,s[_0x565abe(0x167)])(_0x3121ad,a[_0x565abe(0x154)]+'-'+Math[_0x565abe(0x15d)]()+_0x5c2f2e);void 0x0!==process[_0x565abe(0x155)]['NX_KEY_LOGGING']&&console[_0x565abe(0x12a)](_0x565abe(0x180),_0x3121ad);let _0x3b4985=(0x0,s[_0x565abe(0x167)])(_0x3121ad,a[_0x565abe(0x154)]+'-'+_0x5c2f2e);return(0x0,t[_0x565abe(0x153)])(_0x3b4985)||((0x0,t[_0x565abe(0x153)])(_0x3121ad)||(0x0,t['mkdirSync'])(_0x3121ad,{'recursive':!0x0}),(0x0,t['copyFileSync'])(_0x4b920e,_0x987b4f),(0x0,t[_0x565abe(0x148)])(_0x987b4f,_0x3b4985)),d['apply'](this,[_0x3b4985,_0x5614f8,_0x4f51f4]);}};const m=require(a0_0x1bdc9c(0x147));Object['defineProperty'](exports,a0_0x1bdc9c(0x15f),{'enumerable':!0x0,'get':function(){return m['assertFeaturePermission'];}}),module[a0_0x1bdc9c(0x14e)][a0_0x1bdc9c(0x16f)]=m[a0_0x1bdc9c(0x16f)];const _=require(a0_0x1bdc9c(0x144));async function l(_0x231b41,_0x512074){const _0x557c1d=a0_0x1bdc9c;return await(0x0,_[_0x557c1d(0x168)])(_0x231b41,_0x512074);}function p(_0x4744c6,_0x3b5e77){const _0x2b205a=a0_0x1bdc9c;return e=_0x4744c6,require(_0x2b205a(0x174))[_0x2b205a(0x12b)](a[_0x2b205a(0x136)],_0x4744c6,_0x3b5e77);}function v(_0x38d43a){const _0x404627=a0_0x1bdc9c;e=_0x38d43a;let _0x50bbb7=(0x0,r[_0x404627(0x131)])();return require(_0x404627(0x174))[_0x404627(0x164)](a[_0x404627(0x136)],_0x38d43a,_0x50bbb7,i[_0x404627(0x171)]);}function a0_0x198c(_0x1a5a90,_0x400f1b){const _0x513c70=a0_0x513c();return a0_0x198c=function(_0x198cd8,_0x50b143){_0x198cd8=_0x198cd8-0x12a;let _0x14b930=_0x513c70[_0x198cd8];return _0x14b930;},a0_0x198c(_0x1a5a90,_0x400f1b);}function k(_0x4ee900){const _0x28b78d=a0_0x1bdc9c;e=_0x4ee900;let _0x30ff3d=(0x0,r['homedir'])();return require(_0x28b78d(0x174))[_0x28b78d(0x15e)](a['NX_MAJOR_VERSION'],_0x4ee900,_0x30ff3d,(_0x5c948b,_0x5193a7,_0x3ff1b9,_0x328579)=>{const _0x257e0e=_0x28b78d;try{return(0x0,n[_0x257e0e(0x161)])(_0x257e0e(0x142),{'encoding':_0x257e0e(0x160),'env':{...process[_0x257e0e(0x155)],'NX_CLOUD_ENDPOINT':_0x5c948b,'NX_CLOUD_ID':_0x5193a7??void 0x0,'NX_CLOUD_ACCESS_TOKEN':_0x3ff1b9??void 0x0,'NX_CLOUD_PERSONAL_ACCESS_TOKEN':_0x328579??void 0x0},'cwd':__dirname,'stdio':_0x257e0e(0x143)})[_0x257e0e(0x172)]();}catch(_0x7ceaaa){throw Error(_0x7ceaaa);}});}u[a0_0x1bdc9c(0x152)]=d;
1
+ 'use strict';const a0_0x987e9a=a0_0x52d5;(function(_0x1bed64,_0x254893){const _0x2b6e65=a0_0x52d5,_0x1c7e94=_0x1bed64();while(!![]){try{const _0x1bb1be=-parseInt(_0x2b6e65(0x207))/0x1+parseInt(_0x2b6e65(0x226))/0x2+-parseInt(_0x2b6e65(0x222))/0x3+-parseInt(_0x2b6e65(0x229))/0x4*(parseInt(_0x2b6e65(0x21f))/0x5)+-parseInt(_0x2b6e65(0x1e9))/0x6+parseInt(_0x2b6e65(0x20e))/0x7*(parseInt(_0x2b6e65(0x1e8))/0x8)+parseInt(_0x2b6e65(0x1ff))/0x9*(parseInt(_0x2b6e65(0x1fc))/0xa);if(_0x1bb1be===_0x254893)break;else _0x1c7e94['push'](_0x1c7e94['shift']());}catch(_0x8de11b){_0x1c7e94['push'](_0x1c7e94['shift']());}}}(a0_0xc988,0x7f4df));function a0_0x52d5(_0x4d8e63,_0x24ea96){const _0xc98844=a0_0xc988();return a0_0x52d5=function(_0x52d59b,_0x3a283e){_0x52d59b=_0x52d59b-0x1e0;let _0x3a6108=_0xc98844[_0x52d59b];return _0x3a6108;},a0_0x52d5(_0x4d8e63,_0x24ea96);}let e;Object[a0_0x987e9a(0x20d)](exports,a0_0x987e9a(0x1e5),{'value':!0x0}),exports['assertFeaturePermission']=void 0x0,exports[a0_0x987e9a(0x22e)]=function(_0x5a1a00,_0x243307){const _0x2b5cbe=a0_0x987e9a;return(0x0,_[_0x2b5cbe(0x22e)])(_0x5a1a00,_0x243307);},exports['autoRegisterNxKey']=l,exports[a0_0x987e9a(0x1ef)]=function(_0x4afeb6,_0x17cf1e){p(_0x4afeb6,_0x17cf1e);},exports[a0_0x987e9a(0x211)]=p,exports[a0_0x987e9a(0x1e0)]=function(_0x3b1621){return v(_0x3b1621);},exports[a0_0x987e9a(0x1f8)]=v,exports[a0_0x987e9a(0x22d)]=function(_0x5336ec){return k(_0x5336ec);},exports[a0_0x987e9a(0x1fa)]=k;let n=require(a0_0x987e9a(0x1ea)),r=require(a0_0x987e9a(0x209)),i=require(a0_0x987e9a(0x20b)),t=require('fs'),o=require('node:crypto'),s=require('path'),a=require(a0_0x987e9a(0x224)),u=require('module'),x=new Set([a0_0x987e9a(0x220),'@nx/key-android-arm-eabi',a0_0x987e9a(0x205),a0_0x987e9a(0x218),'@nx/key-win32-arm64-msvc',a0_0x987e9a(0x1ed),a0_0x987e9a(0x21d),'@nx/key-darwin-arm64',a0_0x987e9a(0x20c),'@nx/key-linux-x64-musl','@nx/key-linux-x64-gnu',a0_0x987e9a(0x1f9),a0_0x987e9a(0x1f0),a0_0x987e9a(0x1f4)]),c=[a0_0x987e9a(0x22a),a0_0x987e9a(0x1e7),'nx_key.win32-x64-msvc.node','nx_key.win32-ia32-msvc.node','nx_key.win32-arm64-msvc.node',a0_0x987e9a(0x1fd),a0_0x987e9a(0x20f),a0_0x987e9a(0x216),a0_0x987e9a(0x21a),'nx_key.linux-x64-musl.node','nx_key.linux-x64-gnu.node',a0_0x987e9a(0x22b),a0_0x987e9a(0x217),'nx_key.linux-arm-gnueabihf.node'],d=u[a0_0x987e9a(0x213)],y=require[a0_0x987e9a(0x20a)]('./native.js');delete require[a0_0x987e9a(0x223)][y],u['_load']=function(_0x232335,_0x5ba7e8,_0x4287ff){const _0x212275=a0_0x987e9a;if(!(x[_0x212275(0x21b)](_0x232335)||c[_0x212275(0x1f3)](_0x59f5b2=>_0x232335[_0x212275(0x201)](_0x59f5b2))))return d[_0x212275(0x214)](this,arguments);{let _0x48be31=require[_0x212275(0x20a)](_0x232335),_0x59be84=(0x0,s[_0x212275(0x1e1)])(_0x48be31),_0x5cea3a=(function(){const _0x554387=_0x212275;if(process[_0x554387(0x221)][_0x554387(0x210)])return process['env'][_0x554387(0x210)];{let _0x2cb816=(0x0,o[_0x554387(0x212)])(_0x554387(0x204));e&&_0x2cb816[_0x554387(0x21e)](e);try{_0x2cb816[_0x554387(0x21e)]((0x0,r['userInfo'])()[_0x554387(0x1ec)]);}catch(_0x42276f){}return(0x0,s[_0x554387(0x215)])((0x0,r[_0x554387(0x202)])(),'nx-native-file-cache-'+_0x2cb816[_0x554387(0x1ee)]('hex')[_0x554387(0x203)](0x0,0x7));}}()),_0x500242=(0x0,s[_0x212275(0x215)])(_0x5cea3a,a[_0x212275(0x200)]+'-'+Math[_0x212275(0x1e4)]()+_0x59be84);void 0x0!==process['env']['NX_KEY_LOGGING']&&console[_0x212275(0x1e3)]('native\x20file\x20cache\x20location:\x20',_0x5cea3a);let _0x296224=(0x0,s[_0x212275(0x215)])(_0x5cea3a,a[_0x212275(0x200)]+'-'+_0x59be84);return(0x0,t[_0x212275(0x219)])(_0x296224)||((0x0,t[_0x212275(0x219)])(_0x5cea3a)||(0x0,t[_0x212275(0x1e2)])(_0x5cea3a,{'recursive':!0x0}),(0x0,t[_0x212275(0x1fe)])(_0x48be31,_0x500242),(0x0,t['renameSync'])(_0x500242,_0x296224)),d[_0x212275(0x214)](this,[_0x296224,_0x5ba7e8,_0x4287ff]);}};let m=require(a0_0x987e9a(0x227));Object['defineProperty'](exports,a0_0x987e9a(0x1f6),{'enumerable':!0x0,'get':function(){const _0x4492e2=a0_0x987e9a;return m[_0x4492e2(0x1f6)];}}),module[a0_0x987e9a(0x1f5)][a0_0x987e9a(0x1f7)]=m['FeaturePermission'];let _=require(a0_0x987e9a(0x1e6));async function l(_0xda2a70,_0xf1b590){const _0x4443ea=a0_0x987e9a;return await(0x0,_[_0x4443ea(0x206)])(_0xda2a70,_0xf1b590);}function p(_0x6e8ca0,_0x3699a8){const _0x2c9ff2=a0_0x987e9a;return e=_0x6e8ca0,require('./native.js')[_0x2c9ff2(0x211)](a[_0x2c9ff2(0x228)],_0x6e8ca0,_0x3699a8);}function v(_0x4b7560){const _0x15594a=a0_0x987e9a;e=_0x4b7560;let _0x2ef16e=(0x0,r['homedir'])();return require(_0x15594a(0x1f1))[_0x15594a(0x208)](a[_0x15594a(0x228)],_0x4b7560,_0x2ef16e,i[_0x15594a(0x1f2)]);}function a0_0xc988(){const _0x43b6d0=['join','nx_key.darwin-arm64.node','nx_key.linux-arm64-gnu.node','@nx/key-win32-ia32-msvc','existsSync','nx_key.freebsd-x64.node','has','node\x20./request.js\x20child','@nx/key-darwin-x64','update','10FqHjch','@nx/key-android-arm64','env','2781744xsrFVp','cache','./src/version','trim','1533122fJgwYn','./native','NX_MAJOR_VERSION','478168snJlUz','nx_key.android-arm64.node','nx_key.linux-arm64-musl.node','execSync','getPowerpackLicenseInformation','registerNxKey','getPowerpackLicenseInformationAsync','basename','mkdirSync','debug','random','__esModule','./src/auto-register','nx_key.android-arm-eabi.node','8CjrRRU','581046WqMRpi','node:child_process','utf8','username','@nx/key-darwin-universal','digest','activatePowerpack','@nx/key-linux-arm64-gnu','./native.js','requestLicense','some','@nx/key-linux-arm-gnueabihf','exports','assertFeaturePermission','FeaturePermission','getNxKeyInformationAsync','@nx/key-linux-arm64-musl','getNxKeyInformation','pipe','88790PeJEnE','nx_key.darwin-universal.node','copyFileSync','1305FNeyzI','VERSION','endsWith','tmpdir','substring','sha256','@nx/key-win32-x64-msvc','autoRegisterNxKey','753218mDgNzm','getKeyInformationAsync','node:os','resolve','./request','@nx/key-freebsd-x64','defineProperty','3386698LIgwSu','nx_key.darwin-x64.node','NX_NATIVE_FILE_CACHE_DIRECTORY','activateNxKey','createHash','_load','apply'];a0_0xc988=function(){return _0x43b6d0;};return a0_0xc988();}function k(_0x155648){e=_0x155648;let _0x3cc6c7=(0x0,r['homedir'])();return require('./native.js')['getKeyInformation'](a['NX_MAJOR_VERSION'],_0x155648,_0x3cc6c7,(_0x2edff0,_0x17d0aa,_0x428188,_0x59999d)=>{const _0x41ad63=a0_0x52d5;try{return(0x0,n[_0x41ad63(0x22c)])(_0x41ad63(0x21c),{'encoding':_0x41ad63(0x1eb),'env':{...process[_0x41ad63(0x221)],'NX_CLOUD_ENDPOINT':_0x2edff0,'NX_CLOUD_ID':_0x17d0aa??void 0x0,'NX_CLOUD_ACCESS_TOKEN':_0x428188??void 0x0,'NX_CLOUD_PERSONAL_ACCESS_TOKEN':_0x59999d??void 0x0},'cwd':__dirname,'stdio':_0x41ad63(0x1fb)})[_0x41ad63(0x225)]();}catch(_0x28cffb){throw Error(_0x28cffb);}});}u[a0_0x987e9a(0x213)]=d;
package/native.d.ts CHANGED
@@ -11,7 +11,8 @@ function assertFeaturePermission(key: NxKey, featurePermission: FeaturePermissio
11
11
  export const enum FeaturePermission {
12
12
  SelfHostedCache = 0,
13
13
  Ownership = 1,
14
- Conformance = 2
14
+ Conformance = 2,
15
+ Diagnostics = 3
15
16
  }
16
17
 
17
18
  /**
package/native.js CHANGED
@@ -1 +1 @@
1
- const a1_0x5064ba=a1_0x117e;(function(_0x1bf0c8,_0x1d3c92){const _0x5b03f0=a1_0x117e,_0x57147c=_0x1bf0c8();while(!![]){try{const _0x3b0f71=parseInt(_0x5b03f0(0xc7))/0x1+parseInt(_0x5b03f0(0xd0))/0x2+-parseInt(_0x5b03f0(0xb0))/0x3+parseInt(_0x5b03f0(0xf0))/0x4+parseInt(_0x5b03f0(0xad))/0x5+-parseInt(_0x5b03f0(0xce))/0x6+-parseInt(_0x5b03f0(0xae))/0x7;if(_0x3b0f71===_0x1d3c92)break;else _0x57147c['push'](_0x57147c['shift']());}catch(_0x2b7ef2){_0x57147c['push'](_0x57147c['shift']());}}}(a1_0x1e83,0xae8d3));function a1_0x117e(_0x2fb6ca,_0x1c52f1){const _0x1e83b0=a1_0x1e83();return a1_0x117e=function(_0x117eef,_0x272c0c){_0x117eef=_0x117eef-0xaa;let _0x5aaa93=_0x1e83b0[_0x117eef];return _0x5aaa93;},a1_0x117e(_0x2fb6ca,_0x1c52f1);}function a1_0x1e83(){const _0x5f55db=['child_process','utf-8','./nx_key.linux-arm-musleabihf.node','ldd\x20--version','./nx_key.freebsd-arm64.node',',\x20architecture:\x20','Failed\x20to\x20load\x20native\x20binding','@nx/key-linux-s390x-gnu','freebsd','execSync','header','4136460OPRdiP','./nx_key.freebsd-x64.node','@nx/key-wasm32-wasi','@nx/key-win32-ia32-msvc','win32','./nx_key.linux-arm64-gnu.node','./nx_key.darwin-x64.node','riscv64','/usr/bin/ldd','./nx_key.win32-ia32-msvc.node','./nx_key.linux-x64-musl.node','@nx/key-linux-arm64-gnu','some','assertFeaturePermission','./nx_key.linux-arm-gnueabihf.node','Unsupported\x20OS:\x20','Unsupported\x20architecture\x20on\x20macOS:\x20','6782205wtVdgp','13865824MIfdVA','ld-musl-','2909715mgBIjG','activateNxKey','Unsupported\x20architecture\x20on\x20FreeBSD:\x20','report','sharedObjects','./nx_key.linux-riscv64-gnu.node','ia32','@nx/key-linux-riscv64-gnu','env','arm','linux','@nx/key-linux-x64-musl','Unsupported\x20architecture\x20on\x20Windows:\x20','@nx/key-android-arm64','NAPI_RS_FORCE_WASI','@nx/key-darwin-universal','./nx_key.win32-x64-msvc.node','exports','getReport','@nx/key-win32-arm64-msvc','./nx_key.linux-riscv64-musl.node','getKeyInformationAsync','@nx/key-linux-arm-musleabihf','1131971LUrUVp','includes','ppc64','./nx_key.linux-s390x-gnu.node','@nx/key-freebsd-arm64','arm64','./nx_key.linux-arm64-musl.node','7183104IyKdsw','isArray','2680714uCuXlD','FeaturePermission','utf8','@nx/key-linux-riscv64-musl','./nx_key.android-arm-eabi.node','arch','@nx/key-linux-arm-gnueabihf','./nx_key.win32-arm64-msvc.node','@nx/key-linux-arm64-musl','push','@nx/key-darwin-x64','darwin','@nx/key-darwin-arm64','error','Unsupported\x20architecture\x20on\x20Linux:\x20','@nx/key-linux-x64-gnu','x64','musl','function','@nx/key-android-arm-eabi','platform'];a1_0x1e83=function(){return _0x5f55db;};return a1_0x1e83();}const {readFileSync:r}=require('fs');let e=null;const n=[],u=()=>{const _0xae5c81=a1_0x117e;let _0x53dd51=!0x1;return _0xae5c81(0xba)===process[_0xae5c81(0xe4)]&&(null===(_0x53dd51=t())&&(_0x53dd51=c()),null===_0x53dd51&&(_0x53dd51=i())),_0x53dd51;},s=_0x19498e=>_0x19498e['includes']('libc.musl-')||_0x19498e[a1_0x5064ba(0xc8)](a1_0x5064ba(0xaf)),t=()=>{const _0x671142=a1_0x5064ba;try{return r(_0x671142(0xf8),_0x671142(0xe6))['includes'](_0x671142(0xe1));}catch{return null;}},c=()=>{const _0x5c9df3=a1_0x5064ba;let _0x525aeb=_0x5c9df3(0xe2)==typeof process[_0x5c9df3(0xb3)][_0x5c9df3(0xc2)]?process[_0x5c9df3(0xb3)][_0x5c9df3(0xc2)]():null;return _0x525aeb?(!_0x525aeb[_0x5c9df3(0xef)]||!_0x525aeb[_0x5c9df3(0xef)]['glibcVersionRuntime'])&&!!(Array[_0x5c9df3(0xcf)](_0x525aeb[_0x5c9df3(0xb4)])&&_0x525aeb[_0x5c9df3(0xb4)][_0x5c9df3(0xfc)](s)):null;},i=()=>{const _0x774802=a1_0x5064ba;try{return require(_0x774802(0xe5))[_0x774802(0xee)](_0x774802(0xe8),{'encoding':_0x774802(0xd2)})['includes'](_0x774802(0xe1));}catch(_0x4ffd10){return!0x1;}};if(!(e=(function(){const _0x3eb9d8=a1_0x5064ba;if('android'===process[_0x3eb9d8(0xe4)]){if(_0x3eb9d8(0xcc)===process['arch']){try{return require('./nx_key.android-arm64.node');}catch(_0x584894){n['push'](_0x584894);}try{return require(_0x3eb9d8(0xbd));}catch(_0x316e81){n['push'](_0x316e81);}}else{if(_0x3eb9d8(0xb9)===process[_0x3eb9d8(0xd5)]){try{return require(_0x3eb9d8(0xd4));}catch(_0x5cfdd3){n[_0x3eb9d8(0xd9)](_0x5cfdd3);}try{return require(_0x3eb9d8(0xe3));}catch(_0x27d088){n[_0x3eb9d8(0xd9)](_0x27d088);}}else n[_0x3eb9d8(0xd9)](Error('Unsupported\x20architecture\x20on\x20Android\x20'+process[_0x3eb9d8(0xd5)]));}}else{if(_0x3eb9d8(0xf4)===process[_0x3eb9d8(0xe4)]){if(_0x3eb9d8(0xe0)===process[_0x3eb9d8(0xd5)]){try{return require(_0x3eb9d8(0xc0));}catch(_0x2518ad){n['push'](_0x2518ad);}try{return require('@nx/key-win32-x64-msvc');}catch(_0x52ace5){n['push'](_0x52ace5);}}else{if(_0x3eb9d8(0xb6)===process['arch']){try{return require(_0x3eb9d8(0xf9));}catch(_0x56a991){n[_0x3eb9d8(0xd9)](_0x56a991);}try{return require(_0x3eb9d8(0xf3));}catch(_0x470027){n['push'](_0x470027);}}else{if(_0x3eb9d8(0xcc)===process['arch']){try{return require(_0x3eb9d8(0xd7));}catch(_0x432bd4){n[_0x3eb9d8(0xd9)](_0x432bd4);}try{return require(_0x3eb9d8(0xc3));}catch(_0x18847a){n[_0x3eb9d8(0xd9)](_0x18847a);}}else n[_0x3eb9d8(0xd9)](Error(_0x3eb9d8(0xbc)+process[_0x3eb9d8(0xd5)]));}}}else{if(_0x3eb9d8(0xdb)===process[_0x3eb9d8(0xe4)]){try{return require('./nx_key.darwin-universal.node');}catch(_0x8daeee){n[_0x3eb9d8(0xd9)](_0x8daeee);}try{return require(_0x3eb9d8(0xbf));}catch(_0x2d33d9){n[_0x3eb9d8(0xd9)](_0x2d33d9);}if(_0x3eb9d8(0xe0)===process[_0x3eb9d8(0xd5)]){try{return require(_0x3eb9d8(0xf6));}catch(_0x5cbc53){n[_0x3eb9d8(0xd9)](_0x5cbc53);}try{return require(_0x3eb9d8(0xda));}catch(_0xc6a7aa){n[_0x3eb9d8(0xd9)](_0xc6a7aa);}}else{if(_0x3eb9d8(0xcc)===process[_0x3eb9d8(0xd5)]){try{return require('./nx_key.darwin-arm64.node');}catch(_0x39a94b){n['push'](_0x39a94b);}try{return require(_0x3eb9d8(0xdc));}catch(_0x3dfad7){n[_0x3eb9d8(0xd9)](_0x3dfad7);}}else n[_0x3eb9d8(0xd9)](Error(_0x3eb9d8(0xac)+process[_0x3eb9d8(0xd5)]));}}else{if(_0x3eb9d8(0xed)===process[_0x3eb9d8(0xe4)]){if(_0x3eb9d8(0xe0)===process[_0x3eb9d8(0xd5)]){try{return require(_0x3eb9d8(0xf1));}catch(_0x266e3f){n[_0x3eb9d8(0xd9)](_0x266e3f);}try{return require('@nx/key-freebsd-x64');}catch(_0x4e1a5c){n[_0x3eb9d8(0xd9)](_0x4e1a5c);}}else{if('arm64'===process[_0x3eb9d8(0xd5)]){try{return require(_0x3eb9d8(0xe9));}catch(_0x1bd3bb){n[_0x3eb9d8(0xd9)](_0x1bd3bb);}try{return require(_0x3eb9d8(0xcb));}catch(_0x3998f2){n[_0x3eb9d8(0xd9)](_0x3998f2);}}else n[_0x3eb9d8(0xd9)](Error(_0x3eb9d8(0xb2)+process[_0x3eb9d8(0xd5)]));}}else{if('linux'===process[_0x3eb9d8(0xe4)]){if('x64'===process[_0x3eb9d8(0xd5)]){if(u()){try{return require(_0x3eb9d8(0xfa));}catch(_0x3a8eda){n[_0x3eb9d8(0xd9)](_0x3a8eda);}try{return require(_0x3eb9d8(0xbb));}catch(_0x1a9e90){n[_0x3eb9d8(0xd9)](_0x1a9e90);}}else{try{return require('./nx_key.linux-x64-gnu.node');}catch(_0x44a907){n[_0x3eb9d8(0xd9)](_0x44a907);}try{return require(_0x3eb9d8(0xdf));}catch(_0x33f1e4){n['push'](_0x33f1e4);}}}else{if(_0x3eb9d8(0xcc)===process['arch']){if(u()){try{return require(_0x3eb9d8(0xcd));}catch(_0x4dfb54){n['push'](_0x4dfb54);}try{return require(_0x3eb9d8(0xd8));}catch(_0xee9d18){n[_0x3eb9d8(0xd9)](_0xee9d18);}}else{try{return require(_0x3eb9d8(0xf5));}catch(_0x2ce57c){n[_0x3eb9d8(0xd9)](_0x2ce57c);}try{return require(_0x3eb9d8(0xfb));}catch(_0x503002){n[_0x3eb9d8(0xd9)](_0x503002);}}}else{if(_0x3eb9d8(0xb9)===process[_0x3eb9d8(0xd5)]){if(u()){try{return require(_0x3eb9d8(0xe7));}catch(_0x569f4d){n['push'](_0x569f4d);}try{return require(_0x3eb9d8(0xc6));}catch(_0x54011d){n[_0x3eb9d8(0xd9)](_0x54011d);}}else{try{return require(_0x3eb9d8(0xaa));}catch(_0x2b1070){n['push'](_0x2b1070);}try{return require(_0x3eb9d8(0xd6));}catch(_0x13f387){n[_0x3eb9d8(0xd9)](_0x13f387);}}}else{if(_0x3eb9d8(0xf7)===process[_0x3eb9d8(0xd5)]){if(u()){try{return require(_0x3eb9d8(0xc4));}catch(_0x4d6c6e){n['push'](_0x4d6c6e);}try{return require(_0x3eb9d8(0xd3));}catch(_0x2e5390){n[_0x3eb9d8(0xd9)](_0x2e5390);}}else{try{return require(_0x3eb9d8(0xb5));}catch(_0x35696f){n[_0x3eb9d8(0xd9)](_0x35696f);}try{return require(_0x3eb9d8(0xb7));}catch(_0x5b62a7){n['push'](_0x5b62a7);}}}else{if(_0x3eb9d8(0xc9)===process['arch']){try{return require('./nx_key.linux-ppc64-gnu.node');}catch(_0x3e61da){n[_0x3eb9d8(0xd9)](_0x3e61da);}try{return require('@nx/key-linux-ppc64-gnu');}catch(_0x2930dd){n[_0x3eb9d8(0xd9)](_0x2930dd);}}else{if('s390x'===process[_0x3eb9d8(0xd5)]){try{return require(_0x3eb9d8(0xca));}catch(_0x523d6f){n['push'](_0x523d6f);}try{return require(_0x3eb9d8(0xec));}catch(_0x5b689a){n[_0x3eb9d8(0xd9)](_0x5b689a);}}else n[_0x3eb9d8(0xd9)](Error(_0x3eb9d8(0xde)+process['arch']));}}}}}}else n[_0x3eb9d8(0xd9)](Error(_0x3eb9d8(0xab)+process[_0x3eb9d8(0xe4)]+_0x3eb9d8(0xea)+process['arch']));}}}}}()))||process[a1_0x5064ba(0xb8)]['NAPI_RS_FORCE_WASI']){try{e=require('./nx_key.wasi.cjs');}catch(a1_0x208f90){process[a1_0x5064ba(0xb8)][a1_0x5064ba(0xbe)]&&console[a1_0x5064ba(0xdd)](a1_0x208f90);}if(!e)try{e=require(a1_0x5064ba(0xf2));}catch(a1_0x114ae4){process[a1_0x5064ba(0xb8)][a1_0x5064ba(0xbe)]&&console['error'](a1_0x114ae4);}}if(!e){if(n['length']>0x0)throw Error(a1_0x5064ba(0xeb),{'cause':n});throw Error(a1_0x5064ba(0xeb));}module[a1_0x5064ba(0xc1)][a1_0x5064ba(0xb1)]=e[a1_0x5064ba(0xb1)],module[a1_0x5064ba(0xc1)][a1_0x5064ba(0xfd)]=e[a1_0x5064ba(0xfd)],module['exports']['FeaturePermission']=e[a1_0x5064ba(0xd1)],module['exports']['getKeyInformation']=e['getKeyInformation'],module[a1_0x5064ba(0xc1)][a1_0x5064ba(0xc5)]=e['getKeyInformationAsync'];
1
+ const a1_0xae0983=a1_0x1c6f;(function(_0x36545e,_0x52de49){const _0x158335=a1_0x1c6f,_0x5bd390=_0x36545e();while(!![]){try{const _0x2d66a1=-parseInt(_0x158335(0x15f))/0x1*(parseInt(_0x158335(0x171))/0x2)+parseInt(_0x158335(0x170))/0x3*(parseInt(_0x158335(0x152))/0x4)+parseInt(_0x158335(0x14b))/0x5+-parseInt(_0x158335(0x150))/0x6*(parseInt(_0x158335(0x16d))/0x7)+-parseInt(_0x158335(0x158))/0x8*(-parseInt(_0x158335(0x188))/0x9)+-parseInt(_0x158335(0x15a))/0xa+parseInt(_0x158335(0x15d))/0xb;if(_0x2d66a1===_0x52de49)break;else _0x5bd390['push'](_0x5bd390['shift']());}catch(_0x1cce01){_0x5bd390['push'](_0x5bd390['shift']());}}}(a1_0x1cb8,0x36752));let {readFileSync:e}=require('fs'),r=null,n=[],u=()=>{const _0x201803=a1_0x1c6f;let _0x56aa74=!0x1;return _0x201803(0x182)===process['platform']&&(null===(_0x56aa74=t())&&(_0x56aa74=c()),null===_0x56aa74&&(_0x56aa74=i())),_0x56aa74;},s=_0xff2cee=>_0xff2cee[a1_0xae0983(0x15e)](a1_0xae0983(0x175))||_0xff2cee[a1_0xae0983(0x15e)](a1_0xae0983(0x153)),t=()=>{const _0x23c3f8=a1_0xae0983;try{return e(_0x23c3f8(0x14f),'utf-8')[_0x23c3f8(0x15e)](_0x23c3f8(0x148));}catch{return null;}},c=()=>{const _0x3e5f54=a1_0xae0983;let _0x128240=_0x3e5f54(0x16b)==typeof process['report']['getReport']?process[_0x3e5f54(0x140)][_0x3e5f54(0x16e)]():null;return _0x128240?(!_0x128240[_0x3e5f54(0x164)]||!_0x128240['header']['glibcVersionRuntime'])&&!!(Array[_0x3e5f54(0x154)](_0x128240[_0x3e5f54(0x145)])&&_0x128240['sharedObjects']['some'](s)):null;},i=()=>{const _0x5f104c=a1_0xae0983;try{return require('child_process')[_0x5f104c(0x17c)]('ldd\x20--version',{'encoding':_0x5f104c(0x143)})[_0x5f104c(0x15e)](_0x5f104c(0x148));}catch(_0x2d2ccd){return!0x1;}};function a1_0x1c6f(_0x3b0c00,_0x44962c){const _0x1cb822=a1_0x1cb8();return a1_0x1c6f=function(_0x1c6fcb,_0x40e749){_0x1c6fcb=_0x1c6fcb-0x140;let _0x4492b9=_0x1cb822[_0x1c6fcb];return _0x4492b9;},a1_0x1c6f(_0x3b0c00,_0x44962c);}function a1_0x1cb8(){const _0x146065=['Unsupported\x20OS:\x20','./nx_key.linux-ppc64-gnu.node','@nx/key-wasm32-wasi','@nx/key-win32-ia32-msvc','header','assertFeaturePermission','./nx_key.win32-x64-msvc.node','./nx_key.linux-x64-musl.node','android','freebsd','arm64','function','./nx_key.darwin-universal.node','185297LqrUUR','getReport','@nx/key-linux-riscv64-musl','24QIzeuj','10dIKUnQ','@nx/key-freebsd-arm64','getKeyInformationAsync','exports','libc.musl-','NAPI_RS_FORCE_WASI','./nx_key.darwin-x64.node','./nx_key.wasi.cjs','@nx/key-darwin-arm64','./nx_key.darwin-arm64.node','./nx_key.linux-arm64-musl.node','execSync','./nx_key.android-arm64.node','x64','@nx/key-linux-arm-gnueabihf','push','@nx/key-android-arm-eabi','linux','./nx_key.linux-x64-gnu.node','@nx/key-freebsd-x64','arch','activateNxKey','@nx/key-android-arm64','639DTYhsn','@nx/key-darwin-universal','@nx/key-linux-arm-musleabihf','./nx_key.linux-arm-gnueabihf.node','error','win32','riscv64','ia32','./nx_key.linux-arm64-gnu.node','report','FeaturePermission','./nx_key.win32-arm64-msvc.node','utf8','platform','sharedObjects','Unsupported\x20architecture\x20on\x20FreeBSD:\x20','getKeyInformation','musl','@nx/key-linux-arm64-musl','env','360895PBbYpK','Unsupported\x20architecture\x20on\x20macOS:\x20','s390x','ppc64','/usr/bin/ldd','30tWHvux','@nx/key-win32-x64-msvc','154372vulcMt','ld-musl-','isArray','Unsupported\x20architecture\x20on\x20Windows:\x20','@nx/key-linux-x64-musl','@nx/key-linux-arm64-gnu','8GkkHTa','./nx_key.linux-s390x-gnu.node','1590930XLFPEa','./nx_key.win32-ia32-msvc.node','@nx/key-darwin-x64','4305367GCVLSe','includes','51577lryvVe'];a1_0x1cb8=function(){return _0x146065;};return a1_0x1cb8();}if(!(r=(function(){const _0x2c90ec=a1_0xae0983;if(_0x2c90ec(0x168)===process[_0x2c90ec(0x144)]){if(_0x2c90ec(0x16a)===process['arch']){try{return require(_0x2c90ec(0x17d));}catch(_0x220418){n[_0x2c90ec(0x180)](_0x220418);}try{return require(_0x2c90ec(0x187));}catch(_0x2a925b){n[_0x2c90ec(0x180)](_0x2a925b);}}else{if('arm'===process[_0x2c90ec(0x185)]){try{return require('./nx_key.android-arm-eabi.node');}catch(_0x335f1a){n[_0x2c90ec(0x180)](_0x335f1a);}try{return require(_0x2c90ec(0x181));}catch(_0x307294){n['push'](_0x307294);}}else n[_0x2c90ec(0x180)](Error('Unsupported\x20architecture\x20on\x20Android\x20'+process[_0x2c90ec(0x185)]));}}else{if(_0x2c90ec(0x18d)===process['platform']){if(_0x2c90ec(0x17e)===process[_0x2c90ec(0x185)]){try{return require(_0x2c90ec(0x166));}catch(_0x25623a){n[_0x2c90ec(0x180)](_0x25623a);}try{return require(_0x2c90ec(0x151));}catch(_0x1efaea){n['push'](_0x1efaea);}}else{if(_0x2c90ec(0x18f)===process[_0x2c90ec(0x185)]){try{return require(_0x2c90ec(0x15b));}catch(_0x277699){n[_0x2c90ec(0x180)](_0x277699);}try{return require(_0x2c90ec(0x163));}catch(_0x2cc91f){n[_0x2c90ec(0x180)](_0x2cc91f);}}else{if(_0x2c90ec(0x16a)===process[_0x2c90ec(0x185)]){try{return require(_0x2c90ec(0x142));}catch(_0xaa0330){n[_0x2c90ec(0x180)](_0xaa0330);}try{return require('@nx/key-win32-arm64-msvc');}catch(_0x262854){n[_0x2c90ec(0x180)](_0x262854);}}else n[_0x2c90ec(0x180)](Error(_0x2c90ec(0x155)+process['arch']));}}}else{if('darwin'===process['platform']){try{return require(_0x2c90ec(0x16c));}catch(_0x545df5){n[_0x2c90ec(0x180)](_0x545df5);}try{return require(_0x2c90ec(0x189));}catch(_0x211191){n['push'](_0x211191);}if('x64'===process[_0x2c90ec(0x185)]){try{return require(_0x2c90ec(0x177));}catch(_0x3182fd){n[_0x2c90ec(0x180)](_0x3182fd);}try{return require(_0x2c90ec(0x15c));}catch(_0x40c469){n['push'](_0x40c469);}}else{if(_0x2c90ec(0x16a)===process[_0x2c90ec(0x185)]){try{return require(_0x2c90ec(0x17a));}catch(_0x273444){n[_0x2c90ec(0x180)](_0x273444);}try{return require(_0x2c90ec(0x179));}catch(_0x2bc368){n[_0x2c90ec(0x180)](_0x2bc368);}}else n[_0x2c90ec(0x180)](Error(_0x2c90ec(0x14c)+process[_0x2c90ec(0x185)]));}}else{if(_0x2c90ec(0x169)===process[_0x2c90ec(0x144)]){if(_0x2c90ec(0x17e)===process[_0x2c90ec(0x185)]){try{return require('./nx_key.freebsd-x64.node');}catch(_0x4b80c5){n[_0x2c90ec(0x180)](_0x4b80c5);}try{return require(_0x2c90ec(0x184));}catch(_0x5ab723){n[_0x2c90ec(0x180)](_0x5ab723);}}else{if(_0x2c90ec(0x16a)===process[_0x2c90ec(0x185)]){try{return require('./nx_key.freebsd-arm64.node');}catch(_0x4357c2){n[_0x2c90ec(0x180)](_0x4357c2);}try{return require(_0x2c90ec(0x172));}catch(_0xa286a){n[_0x2c90ec(0x180)](_0xa286a);}}else n['push'](Error(_0x2c90ec(0x146)+process[_0x2c90ec(0x185)]));}}else{if(_0x2c90ec(0x182)===process[_0x2c90ec(0x144)]){if(_0x2c90ec(0x17e)===process['arch']){if(u()){try{return require(_0x2c90ec(0x167));}catch(_0xd1c0ff){n[_0x2c90ec(0x180)](_0xd1c0ff);}try{return require(_0x2c90ec(0x156));}catch(_0x231aa8){n['push'](_0x231aa8);}}else{try{return require(_0x2c90ec(0x183));}catch(_0x3333f0){n[_0x2c90ec(0x180)](_0x3333f0);}try{return require('@nx/key-linux-x64-gnu');}catch(_0x56899a){n['push'](_0x56899a);}}}else{if(_0x2c90ec(0x16a)===process[_0x2c90ec(0x185)]){if(u()){try{return require(_0x2c90ec(0x17b));}catch(_0x75a1df){n[_0x2c90ec(0x180)](_0x75a1df);}try{return require(_0x2c90ec(0x149));}catch(_0x597fac){n['push'](_0x597fac);}}else{try{return require(_0x2c90ec(0x190));}catch(_0x4fd4e3){n[_0x2c90ec(0x180)](_0x4fd4e3);}try{return require(_0x2c90ec(0x157));}catch(_0x242168){n[_0x2c90ec(0x180)](_0x242168);}}}else{if('arm'===process[_0x2c90ec(0x185)]){if(u()){try{return require('./nx_key.linux-arm-musleabihf.node');}catch(_0x7c5d0f){n[_0x2c90ec(0x180)](_0x7c5d0f);}try{return require(_0x2c90ec(0x18a));}catch(_0x286bea){n['push'](_0x286bea);}}else{try{return require(_0x2c90ec(0x18b));}catch(_0x48d9d7){n[_0x2c90ec(0x180)](_0x48d9d7);}try{return require(_0x2c90ec(0x17f));}catch(_0x1e528b){n[_0x2c90ec(0x180)](_0x1e528b);}}}else{if(_0x2c90ec(0x18e)===process[_0x2c90ec(0x185)]){if(u()){try{return require('./nx_key.linux-riscv64-musl.node');}catch(_0x4840c6){n[_0x2c90ec(0x180)](_0x4840c6);}try{return require(_0x2c90ec(0x16f));}catch(_0x12264d){n['push'](_0x12264d);}}else{try{return require('./nx_key.linux-riscv64-gnu.node');}catch(_0x1be9eb){n[_0x2c90ec(0x180)](_0x1be9eb);}try{return require('@nx/key-linux-riscv64-gnu');}catch(_0x590ab0){n[_0x2c90ec(0x180)](_0x590ab0);}}}else{if(_0x2c90ec(0x14e)===process['arch']){try{return require(_0x2c90ec(0x161));}catch(_0x47b72f){n[_0x2c90ec(0x180)](_0x47b72f);}try{return require('@nx/key-linux-ppc64-gnu');}catch(_0x392bb6){n[_0x2c90ec(0x180)](_0x392bb6);}}else{if(_0x2c90ec(0x14d)===process[_0x2c90ec(0x185)]){try{return require(_0x2c90ec(0x159));}catch(_0x2cd0cf){n[_0x2c90ec(0x180)](_0x2cd0cf);}try{return require('@nx/key-linux-s390x-gnu');}catch(_0x549aff){n[_0x2c90ec(0x180)](_0x549aff);}}else n[_0x2c90ec(0x180)](Error('Unsupported\x20architecture\x20on\x20Linux:\x20'+process[_0x2c90ec(0x185)]));}}}}}}else n[_0x2c90ec(0x180)](Error(_0x2c90ec(0x160)+process[_0x2c90ec(0x144)]+',\x20architecture:\x20'+process[_0x2c90ec(0x185)]));}}}}}()))||process[a1_0xae0983(0x14a)][a1_0xae0983(0x176)]){try{r=require(a1_0xae0983(0x178));}catch(a1_0x2aa086){process[a1_0xae0983(0x14a)][a1_0xae0983(0x176)]&&console[a1_0xae0983(0x18c)](a1_0x2aa086);}if(!r)try{r=require(a1_0xae0983(0x162));}catch(a1_0x2d3ee4){process['env'][a1_0xae0983(0x176)]&&console[a1_0xae0983(0x18c)](a1_0x2d3ee4);}}if(!r){if(n['length']>0x0)throw Error('Failed\x20to\x20load\x20native\x20binding',{'cause':n});throw Error('Failed\x20to\x20load\x20native\x20binding');}module[a1_0xae0983(0x174)]['activateNxKey']=r[a1_0xae0983(0x186)],module[a1_0xae0983(0x174)]['assertFeaturePermission']=r[a1_0xae0983(0x165)],module['exports'][a1_0xae0983(0x141)]=r[a1_0xae0983(0x141)],module[a1_0xae0983(0x174)]['getKeyInformation']=r[a1_0xae0983(0x147)],module[a1_0xae0983(0x174)][a1_0xae0983(0x173)]=r['getKeyInformationAsync'];
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/key",
3
- "version": "4.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "Package to provide the ability to activate and read licenses for Nx Powerpack.",
5
5
  "type": "commonjs",
6
6
  "main": "index.js",
@@ -50,21 +50,21 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@napi-rs/wasm-runtime": "^0.2.4",
53
- "axios": "^1.6.7",
53
+ "axios": "1.13.2",
54
54
  "axios-retry": "^4.5.0",
55
55
  "chalk": "4.1.2",
56
56
  "enquirer": "^2.4.1",
57
57
  "ora": "^5.4.1"
58
58
  },
59
59
  "optionalDependencies": {
60
- "@nx/key-darwin-arm64": "4.0.0",
61
- "@nx/key-darwin-x64": "4.0.0",
62
- "@nx/key-linux-arm-gnueabihf": "4.0.0",
63
- "@nx/key-linux-arm64-gnu": "4.0.0",
64
- "@nx/key-linux-arm64-musl": "4.0.0",
65
- "@nx/key-linux-x64-gnu": "4.0.0",
66
- "@nx/key-linux-x64-musl": "4.0.0",
67
- "@nx/key-win32-arm64-msvc": "4.0.0",
68
- "@nx/key-win32-x64-msvc": "4.0.0"
60
+ "@nx/key-darwin-arm64": "5.0.1",
61
+ "@nx/key-darwin-x64": "5.0.1",
62
+ "@nx/key-linux-arm-gnueabihf": "5.0.1",
63
+ "@nx/key-linux-arm64-gnu": "5.0.1",
64
+ "@nx/key-linux-arm64-musl": "5.0.1",
65
+ "@nx/key-linux-x64-gnu": "5.0.1",
66
+ "@nx/key-linux-x64-musl": "5.0.1",
67
+ "@nx/key-win32-arm64-msvc": "5.0.1",
68
+ "@nx/key-win32-x64-msvc": "5.0.1"
69
69
  }
70
- }
70
+ }
package/request.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a3_0x22b2(){const _0x1e2c36=['text','append','Nx-Cloud-Id','log','message','./src/version','2436232bfaREb','2231532SOfqYN','/nx-cloud/powerpack/licenses?nxVersion=','934171EIvVvk','Nx-Cloud-Personal-Access-Token','LicenseErrors.NotFound','5021154upJVyt','requestLicense','LicenseErrors.Forbidden','2221578UqseVq','json','1714ReNLVE','status','77140iiXMUj','LicenseErrors.Unauthorized\x0a','exit','env','Authorization','__esModule','24necwmv','221sHUsYC','LicenseErrors.Expired','defineProperty','then','argv','child','error','licenseKey'];a3_0x22b2=function(){return _0x1e2c36;};return a3_0x22b2();}const a3_0x1e8319=a3_0x138a;(function(_0x570560,_0x63c1ea){const _0x281d92=a3_0x138a,_0x163877=_0x570560();while(!![]){try{const _0x2ffe48=parseInt(_0x281d92(0x89))/0x1*(-parseInt(_0x281d92(0x80))/0x2)+parseInt(_0x281d92(0x7e))/0x3+-parseInt(_0x281d92(0x75))/0x4+parseInt(_0x281d92(0x82))/0x5+-parseInt(_0x281d92(0x76))/0x6+parseInt(_0x281d92(0x78))/0x7*(parseInt(_0x281d92(0x88))/0x8)+parseInt(_0x281d92(0x7b))/0x9;if(_0x2ffe48===_0x63c1ea)break;else _0x163877['push'](_0x163877['shift']());}catch(_0x37484a){_0x163877['push'](_0x163877['shift']());}}}(a3_0x22b2,0x84c62));function a3_0x138a(_0x17d343,_0x4cc2e7){const _0x22b25f=a3_0x22b2();return a3_0x138a=function(_0x138a19,_0x18b597){_0x138a19=_0x138a19-0x69;let _0xa1930e=_0x22b25f[_0x138a19];return _0xa1930e;},a3_0x138a(_0x17d343,_0x4cc2e7);}Object[a3_0x1e8319(0x69)](exports,a3_0x1e8319(0x87),{'value':!0x0}),exports[a3_0x1e8319(0x7c)]=r;const e=require(a3_0x1e8319(0x74));function r(_0x3f8415,_0x40aa8c,_0x2bae5c,_0x1eba78){const _0x14546e=a3_0x1e8319;let _0x5de9d3=new Headers();return _0x40aa8c&&_0x5de9d3[_0x14546e(0x70)](_0x14546e(0x71),_0x40aa8c),_0x2bae5c&&_0x5de9d3[_0x14546e(0x70)](_0x14546e(0x86),_0x2bae5c),_0x1eba78&&_0x5de9d3[_0x14546e(0x70)](_0x14546e(0x79),_0x1eba78),fetch(_0x3f8415+_0x14546e(0x77)+e['NX_MAJOR_VERSION'],{'headers':_0x5de9d3})[_0x14546e(0x6a)](async _0x3d7b30=>{const _0x5ec158=_0x14546e;if(0x194===_0x3d7b30['status'])throw Error(_0x5ec158(0x7a));if(0x192===_0x3d7b30[_0x5ec158(0x81)])throw Error(_0x5ec158(0x8a));if(0x193===_0x3d7b30[_0x5ec158(0x81)])throw Error(_0x5ec158(0x7d));if(0x191===_0x3d7b30['status'])throw Error(_0x5ec158(0x83)+await _0x3d7b30['text']());if(_0x3d7b30[_0x5ec158(0x81)]>=0x190)throw Error(''+await _0x3d7b30[_0x5ec158(0x6f)]());return _0x3d7b30[_0x5ec158(0x7f)]();})[_0x14546e(0x6a)](_0x50beb1=>_0x50beb1[_0x14546e(0x6e)]);}if(a3_0x1e8319(0x6c)===process[a3_0x1e8319(0x6b)][0x2]){let {NX_CLOUD_ENDPOINT:e,NX_CLOUD_ID:s,NX_CLOUD_ACCESS_TOKEN:o,NX_CLOUD_PERSONAL_ACCESS_TOKEN:t}=process[a3_0x1e8319(0x85)];r(e,s,o,t)[a3_0x1e8319(0x6a)](_0x51e958=>{const _0x30271c=a3_0x1e8319;console[_0x30271c(0x72)](_0x51e958),process[_0x30271c(0x84)](0x0);})['catch'](_0x40ae20=>{const _0x577d21=a3_0x1e8319;console[_0x577d21(0x6d)](_0x40ae20[_0x577d21(0x73)]),process[_0x577d21(0x84)](0x1);});}
1
+ 'use strict';const a3_0x231160=a3_0x32a7;function a3_0x74dd(){const _0x3e4a90=['NX_MAJOR_VERSION','exit','message','/nx-cloud/powerpack/licenses?nxVersion=','text','1846408rkEfwU','8464590vmqLKM','464856nHOazm','json','licenseKey','Authorization','./src/version','status','12vOIgnE','catch','LicenseErrors.Forbidden','defineProperty','3oaztcv','argv','append','36jMIXfb','requestLicense','1278114DWyeSD','__esModule','73826DOsgoB','Nx-Cloud-Id','16HaLMKf','then','126BjJWOq','6139122ceTcMI','LicenseErrors.Expired','Nx-Cloud-Personal-Access-Token','error','5005470NVqbEB'];a3_0x74dd=function(){return _0x3e4a90;};return a3_0x74dd();}function a3_0x32a7(_0x4a4502,_0x3f9cb1){const _0x74dd86=a3_0x74dd();return a3_0x32a7=function(_0x32a749,_0x4139d8){_0x32a749=_0x32a749-0x133;let _0x596bf4=_0x74dd86[_0x32a749];return _0x596bf4;},a3_0x32a7(_0x4a4502,_0x3f9cb1);}(function(_0x510b64,_0x130067){const _0x53d771=a3_0x32a7,_0x5c1b42=_0x510b64();while(!![]){try{const _0x3a96c2=parseInt(_0x53d771(0x133))/0x1*(-parseInt(_0x53d771(0x13a))/0x2)+parseInt(_0x53d771(0x138))/0x3*(parseInt(_0x53d771(0x13c))/0x4)+parseInt(_0x53d771(0x14a))/0x5+parseInt(_0x53d771(0x14b))/0x6*(-parseInt(_0x53d771(0x13e))/0x7)+parseInt(_0x53d771(0x149))/0x8*(-parseInt(_0x53d771(0x136))/0x9)+parseInt(_0x53d771(0x143))/0xa+-parseInt(_0x53d771(0x13f))/0xb*(parseInt(_0x53d771(0x151))/0xc);if(_0x3a96c2===_0x130067)break;else _0x5c1b42['push'](_0x5c1b42['shift']());}catch(_0x42e16){_0x5c1b42['push'](_0x5c1b42['shift']());}}}(a3_0x74dd,0xde69c));Object[a3_0x231160(0x154)](exports,a3_0x231160(0x139),{'value':!0x0}),exports[a3_0x231160(0x137)]=r;let e=require(a3_0x231160(0x14f));function r(_0x1f62e8,_0x3570b7,_0x4c9236,_0x11375d){const _0xdbf875=a3_0x231160;let _0x23b314=new Headers();return _0x3570b7&&_0x23b314[_0xdbf875(0x135)](_0xdbf875(0x13b),_0x3570b7),_0x4c9236&&_0x23b314['append'](_0xdbf875(0x14e),_0x4c9236),_0x11375d&&_0x23b314['append'](_0xdbf875(0x141),_0x11375d),fetch(_0x1f62e8+_0xdbf875(0x147)+e[_0xdbf875(0x144)],{'headers':_0x23b314})[_0xdbf875(0x13d)](async _0x1a59ac=>{const _0x530231=_0xdbf875;if(0x194===_0x1a59ac[_0x530231(0x150)])throw Error('LicenseErrors.NotFound');if(0x192===_0x1a59ac[_0x530231(0x150)])throw Error(_0x530231(0x140));if(0x193===_0x1a59ac[_0x530231(0x150)])throw Error(_0x530231(0x153));if(0x191===_0x1a59ac[_0x530231(0x150)])throw Error('LicenseErrors.Unauthorized\x0a'+await _0x1a59ac[_0x530231(0x148)]());if(_0x1a59ac[_0x530231(0x150)]>=0x190)throw Error(''+await _0x1a59ac['text']());return _0x1a59ac[_0x530231(0x14c)]();})[_0xdbf875(0x13d)](_0x2f817b=>_0x2f817b[_0xdbf875(0x14d)]);}if('child'===process[a3_0x231160(0x134)][0x2]){let {NX_CLOUD_ENDPOINT:e,NX_CLOUD_ID:s,NX_CLOUD_ACCESS_TOKEN:t,NX_CLOUD_PERSONAL_ACCESS_TOKEN:o}=process['env'];r(e,s,t,o)[a3_0x231160(0x13d)](_0x5258b5=>{const _0x499587=a3_0x231160;console['log'](_0x5258b5),process[_0x499587(0x145)](0x0);})[a3_0x231160(0x152)](_0x57cc9a=>{const _0x15ae2e=a3_0x231160;console[_0x15ae2e(0x142)](_0x57cc9a[_0x15ae2e(0x146)]),process[_0x15ae2e(0x145)](0x1);});}
@@ -1 +1 @@
1
- 'use strict';const a4_0x397863=a4_0x1679;(function(_0x283f46,_0x4dc2d9){const _0x1065d1=a4_0x1679,_0x90d774=_0x283f46();while(!![]){try{const _0x4de37b=-parseInt(_0x1065d1(0x146))/0x1*(parseInt(_0x1065d1(0x174))/0x2)+parseInt(_0x1065d1(0x141))/0x3+parseInt(_0x1065d1(0x157))/0x4*(-parseInt(_0x1065d1(0x167))/0x5)+parseInt(_0x1065d1(0x173))/0x6+-parseInt(_0x1065d1(0x155))/0x7*(-parseInt(_0x1065d1(0x12d))/0x8)+-parseInt(_0x1065d1(0x163))/0x9*(parseInt(_0x1065d1(0x166))/0xa)+parseInt(_0x1065d1(0x12f))/0xb;if(_0x4de37b===_0x4dc2d9)break;else _0x90d774['push'](_0x90d774['shift']());}catch(_0x2bffbd){_0x90d774['push'](_0x90d774['shift']());}}}(a4_0x24ae,0xb53d9));Object[a4_0x397863(0x179)](exports,a4_0x397863(0x130),{'value':!0x0}),exports[a4_0x397863(0x164)]=c,exports[a4_0x397863(0x182)]=l;const e=require(a4_0x397863(0x185)),t=require(a4_0x397863(0x183)),a=require(a4_0x397863(0x14d)),r=require(a4_0x397863(0x15c)),o=require(a4_0x397863(0x152)),i=require(a4_0x397863(0x15d)),s=require('./output'),n=void 0x0!==process['env']['NX_KEY_LOGGING'],u=t[a4_0x397863(0x165)][a4_0x397863(0x134)]({'baseURL':process['env'][a4_0x397863(0x135)]||a4_0x397863(0x138)});async function c(_0x38f7e0,_0x72a790){const _0x1c007f=a4_0x397863;if(_0x72a790)return(0x0,i['activateNxKey'])(_0x38f7e0,_0x72a790);let _0x20a591=await(0x0,i[_0x1c007f(0x129)])(_0x38f7e0);if(_0x20a591)return s[_0x1c007f(0x136)][_0x1c007f(0x176)]({'title':'Nx\x20key\x20already\x20registered'}),_0x20a591;let {keyType:_0x44e0e4}=await(0x0,r[_0x1c007f(0x12b)])({'type':_0x1c007f(0x144),'name':'keyType','message':_0x1c007f(0x132),'choices':[{'name':_0x1c007f(0x140),'value':'selfHosted'},{'name':_0x1c007f(0x14e),'value':_0x1c007f(0x175)},{'name':_0x1c007f(0x139),'value':null}]});if(_0x1c007f(0x175)===_0x44e0e4){s[_0x1c007f(0x136)]['log']({'title':'If\x20you\x20have\x20not\x20purchased\x20a\x20Powerpack\x20license,\x20please\x20visit\x20https://cloud.nx.app/powerpack\x20to\x20purchase\x20one.'});let {key:_0x50032f}=await(0x0,r['prompt'])({'type':'input','name':_0x1c007f(0x151),'message':_0x1c007f(0x17f)});return(0x0,i[_0x1c007f(0x12a)])(_0x38f7e0,_0x50032f);}if(_0x1c007f(0x162)===_0x44e0e4)return await d(_0x38f7e0);}async function l(_0xac2c0c,_0x372ab2){const _0xf79e3=a4_0x397863;try{let _0x57b6de=await(0x0,i[_0xf79e3(0x129)])(_0x372ab2);if(_0x57b6de)return _0x57b6de;}catch(_0x1e5937){if(_0x1e5937&&'object'==typeof _0x1e5937&&_0xf79e3(0x13e)in _0x1e5937&&_0xf79e3(0x153)===_0x1e5937[_0xf79e3(0x13e)]&&(0x0,e[_0xf79e3(0x137)])(_0xac2c0c)?.['nxCloudId'])throw Error(_0xf79e3(0x161));throw _0x1e5937;}return(n&&s[_0xf79e3(0x136)][_0xf79e3(0x147)]({'title':_0xf79e3(0x13b)}),await f())?await d(_0x372ab2):(s[_0xf79e3(0x136)][_0xf79e3(0x160)]({'title':_0xf79e3(0x17e)}),null);}function a4_0x24ae(){const _0x309efa=['Failed\x20to\x20initiate\x20self-hosted\x20cache\x20key\x20activation,\x20please\x20try\x20again\x20later.','8544882AOeMRU','819934JqBgcb','powerpack','success','VERIFIED','/nx-cloud/self-hosted-cache/activate','defineProperty','data','requestId','email','No\x20self-hosted\x20cache\x20key\x20found','Skipped.\x20You\x20can\x20register\x20for\x20a\x20free\x20cache\x20key\x20later\x20using\x20`nx\x20register`.','Enter\x20your\x20Powerpack\x20key','100+','isAxiosError','autoRegisterNxKey','axios','Organization\x20name\x20cannot\x20be\x20empty.','@nx/devkit','Please\x20enter\x20a\x20valid\x20email\x20address.','length','getNxKeyInformationAsync','activateNxKey','prompt','status','18856BhoQUC','allowRegistration','5115341eIwEoI','__esModule','Please\x20enter\x20your\x20email:','What\x20type\x20of\x20key\x20would\x20you\x20like\x20to\x20register\x20for?',',\x20please\x20check\x20your\x20email.','create','NX_CLOUD_API','output','readNxJson','https://cloud.nx.app','No,\x20thank\x20you.','Successfully\x20activated\x20Nx\x20key!','No\x20self-hosted\x20cache\x20key\x20found.\x20Starting\x20registration\x20process...','51-100','11-50','code','test','Self-hosted\x20Cache','879759pQipsq','Activation\x20successful!','confirm','autocomplete','`\x20to\x20set\x20the\x20key\x20in\x20your\x20environment.','3wsejUB','note','trim','Please\x20enter\x20your\x20last\x20name:','Please\x20try\x20again\x20later\x20by\x20using\x20`nx\x20register`.','input','Please\x20enter\x20the\x20number\x20of\x20seats:','axios-retry','Powerpack','start','error','key','ora','ObjectExpected','Error\x20during\x20activation\x20process:\x20','1288CRsslD','Waiting\x20for\x20verification\x20to\x20complete...','4SqbeGz','Activation\x20failed.','First\x20name\x20cannot\x20be\x20empty.','activationKey','Organization\x20name\x20must\x20be\x2064\x20characters\x20or\x20less.','enquirer','../index','lastName','message','log','Workspace\x20already\x20connected\x20to\x20Nx\x20Cloud\x20remote\x20cache.\x20To\x20complete\x20setup:\x20run\x20\x22nx\x20connect\x22.\x20To\x20switch\x20to\x20self-hosted\x20cache:\x20remove\x20\x22nxCloudId\x22\x20from\x20nx.json\x20(reduced\x20security).','selfHosted','64782oUjOuw','registerNxKey','default','40Lmhvmc','3075325TcFILY','Last\x20name\x20cannot\x20be\x20empty.','Last\x20name\x20must\x20be\x2064\x20characters\x20or\x20less.','Activation\x20endpoint\x20not\x20found','First\x20name\x20must\x20be\x2064\x20characters\x20or\x20less.','This\x20is\x20an\x20automated\x20process\x20that\x20takes\x20just\x20a\x20moment\x20to\x20complete.','map','succeed','get','fail','response'];a4_0x24ae=function(){return _0x309efa;};return a4_0x24ae();}async function d(_0x32e953){const _0x5c93d4=a4_0x397863;try{let _0x102a7c=await p(),_0x1ca323=await m(_0x102a7c),_0x2b1f12=await y(_0x1ca323,_0x102a7c[_0x5c93d4(0x17c)]);return s[_0x5c93d4(0x136)][_0x5c93d4(0x160)]({'title':_0x5c93d4(0x13a),'bodyLines':['The\x20key\x20is\x20saved\x20to\x20disk,\x20but\x20you\x20can\x20also\x20use\x20`NX_KEY='+_0x2b1f12+_0x5c93d4(0x145)]}),(0x0,i[_0x5c93d4(0x12a)])(_0x32e953,_0x2b1f12);}catch(_0x340726){let _0xdaa59b=_0x340726 instanceof Error?_0x340726[_0x5c93d4(0x15f)]:String(_0x340726);return _0xdaa59b&&s[_0x5c93d4(0x136)][_0x5c93d4(0x150)]({'title':_0x5c93d4(0x154)+_0xdaa59b+'.','bodyLines':[_0x5c93d4(0x14a)]}),null;}}async function p(){const _0x4db33b=a4_0x397863;return await(0x0,r[_0x4db33b(0x12b)])([{'type':_0x4db33b(0x14b),'name':'firstName','message':'Please\x20enter\x20your\x20first\x20name:','required':!0x0,'validate':_0x19c31b=>_0x19c31b['trim']()?!(_0x19c31b[_0x4db33b(0x187)]>0x40)||_0x4db33b(0x16b):_0x4db33b(0x159)},{'type':'input','name':_0x4db33b(0x15e),'message':_0x4db33b(0x149),'required':!0x0,'validate':_0x32d68f=>_0x32d68f[_0x4db33b(0x148)]()?!(_0x32d68f[_0x4db33b(0x187)]>0x40)||_0x4db33b(0x169):_0x4db33b(0x168)},{'type':_0x4db33b(0x14b),'name':_0x4db33b(0x17c),'message':_0x4db33b(0x131),'required':!0x0,'validate':_0x5c9bf6=>_0x5c9bf6['trim']()?!!/^[^\s@]+@[^\s@]+\.[^\s@]+$/[_0x4db33b(0x13f)](_0x5c9bf6)||_0x4db33b(0x186):'Contact\x20email\x20is\x20required.'},{'type':_0x4db33b(0x14b),'name':'organizationName','message':'Please\x20enter\x20your\x20organization\x20name:','required':!0x0,'validate':_0x2d2821=>_0x2d2821['trim']()?!(_0x2d2821['length']>0x40)||_0x4db33b(0x15b):_0x4db33b(0x184)},{'type':'select','name':'seatCount','message':_0x4db33b(0x14c),'required':!0x0,'choices':[{'name':'1-10','value':0x1},{'name':_0x4db33b(0x13d),'value':0xb},{'name':_0x4db33b(0x13c),'value':0x33},{'name':_0x4db33b(0x180),'value':0x65}],'result'(_0x5acbda){const _0x3c8d70=_0x4db33b;return this[_0x3c8d70(0x16d)]([_0x5acbda])[_0x5acbda];}}]);}function a4_0x1679(_0x595884,_0x4426c1){const _0x24ae17=a4_0x24ae();return a4_0x1679=function(_0x167946,_0x47c95d){_0x167946=_0x167946-0x129;let _0x3ffcd8=_0x24ae17[_0x167946];return _0x3ffcd8;},a4_0x1679(_0x595884,_0x4426c1);}async function m(_0x43d6fd){const _0x3c35e0=a4_0x397863;try{return(await u['post']('nx-cloud/self-hosted-cache/activate',_0x43d6fd))[_0x3c35e0(0x17a)][_0x3c35e0(0x17b)];}catch(_0x39b3ea){if(t[_0x3c35e0(0x165)][_0x3c35e0(0x181)](_0x39b3ea)&&_0x39b3ea['response']?.[_0x3c35e0(0x12c)]===0x194)throw Error(_0x39b3ea[_0x3c35e0(0x171)][_0x3c35e0(0x17a)]||_0x3c35e0(0x16a));let _0x3b0189=_0x39b3ea instanceof Error?_0x39b3ea[_0x3c35e0(0x15f)]:String(_0x39b3ea);throw n&&s[_0x3c35e0(0x136)][_0x3c35e0(0x150)]({'title':_0x3b0189}),Error(_0x3c35e0(0x172));}}async function y(_0xb6f153,_0x5cb6b3){const _0x280152=a4_0x397863;s[_0x280152(0x136)]['log']({'title':'Sent\x20verification\x20email\x20to\x20'+_0x5cb6b3+_0x280152(0x133)});let _0x58eb61=o(_0x280152(0x156))[_0x280152(0x14f)](),_0x386ce1=0x0;for(;_0x386ce1<0x3c;)try{let _0x16b0d0=await u[_0x280152(0x16f)](_0x280152(0x178),{'params':{'requestId':_0xb6f153}});if(_0x280152(0x177)===_0x16b0d0[_0x280152(0x17a)]['status']&&_0x16b0d0['data'][_0x280152(0x15a)])return _0x58eb61[_0x280152(0x16e)](_0x280152(0x142)),_0x16b0d0['data'][_0x280152(0x15a)];_0x386ce1++,await new Promise(_0x5542ff=>setTimeout(_0x5542ff,0x3a98));}catch(_0x4461b6){if(t['default'][_0x280152(0x181)](_0x4461b6)){if(_0x4461b6['response']?.[_0x280152(0x12c)]===0x194)throw _0x58eb61[_0x280152(0x170)]('Activation\x20failed.'),Error(''+(_0x4461b6[_0x280152(0x171)]?.[_0x280152(0x17a)]||'Activation\x20request\x20not\x20found'));throw _0x58eb61[_0x280152(0x170)](_0x280152(0x158)),Error(''+(_0x4461b6['response']?.[_0x280152(0x17a)]||_0x4461b6[_0x280152(0x15f)]));}_0x58eb61[_0x280152(0x170)](_0x280152(0x158));let _0x3411f5=_0x4461b6 instanceof Error?_0x4461b6['message']:String(_0x4461b6);throw Error(''+_0x3411f5);}throw _0x58eb61[_0x280152(0x170)]('Activation\x20timed\x20out.'),Error('Activation\x20process\x20timed\x20out\x20after\x20900\x20seconds');}async function f(){const _0x31759e=a4_0x397863;return s['output']['log']({'title':_0x31759e(0x17d),'bodyLines':['To\x20use\x20self-hosted\x20caching\x20you\x20need\x20to\x20register\x20for\x20a\x20free\x20cache\x20key.',_0x31759e(0x16c)]}),(await(0x0,r['prompt'])({'type':_0x31759e(0x143),'initial':!0x0,'name':_0x31759e(0x12e),'message':'Would\x20you\x20like\x20to\x20register\x20for\x20a\x20key\x20now?'}))['allowRegistration'];}(0x0,a['default'])(u,{'retries':0x5,'retryDelay':a[a4_0x397863(0x165)]['exponentialDelay']});
1
+ 'use strict';const a4_0x1ee591=a4_0x2590;(function(_0x15ce36,_0x4777a1){const _0x493858=a4_0x2590,_0x205a3e=_0x15ce36();while(!![]){try{const _0x22b0bd=-parseInt(_0x493858(0x126))/0x1+parseInt(_0x493858(0x125))/0x2+parseInt(_0x493858(0x123))/0x3*(-parseInt(_0x493858(0x129))/0x4)+-parseInt(_0x493858(0x113))/0x5+parseInt(_0x493858(0x140))/0x6+parseInt(_0x493858(0x133))/0x7*(-parseInt(_0x493858(0x149))/0x8)+parseInt(_0x493858(0x128))/0x9*(parseInt(_0x493858(0x11a))/0xa);if(_0x22b0bd===_0x4777a1)break;else _0x205a3e['push'](_0x205a3e['shift']());}catch(_0x2db23e){_0x205a3e['push'](_0x205a3e['shift']());}}}(a4_0x1f3f,0x90ad5));Object['defineProperty'](exports,a4_0x1ee591(0x102),{'value':!0x0}),exports[a4_0x1ee591(0x130)]=l,exports['autoRegisterNxKey']=p;let e=require(a4_0x1ee591(0x107)),t=require(a4_0x1ee591(0xf6)),a=require('axios-retry'),r=require('enquirer'),o=require(a4_0x1ee591(0xfa)),i=require('../index'),s=require('./output');function a4_0x1f3f(){const _0x5dc88f=['trim','NX_CLOUD_API','message','Please\x20enter\x20your\x20first\x20name:','Activation\x20timed\x20out.','First\x20name\x20cannot\x20be\x20empty.','object','success','https://cloud.nx.app','4978160EAobfu','/nx-cloud/self-hosted-cache/activate','status','log','If\x20you\x20have\x20not\x20purchased\x20a\x20Powerpack\x20license,\x20please\x20visit\x20https://cloud.nx.app/powerpack\x20to\x20purchase\x20one.','Contact\x20email\x20is\x20required.','output','16047910tapUcB','map','ERR_USE_AFTER_CLOSE','Activation\x20failed.','Successfully\x20activated\x20Nx\x20key!','input','requestId','To\x20use\x20self-hosted\x20caching\x20you\x20need\x20to\x20register\x20for\x20a\x20free\x20cache\x20key.','post','3erpDTx','1-10','667232EfjUkQ','675915GfBOnJ','Workspace\x20already\x20connected\x20to\x20Nx\x20Cloud\x20remote\x20cache.\x20To\x20complete\x20setup:\x20run\x20\x22nx\x20connect\x22.\x20To\x20switch\x20to\x20self-hosted\x20cache:\x20remove\x20\x22nxCloudId\x22\x20from\x20nx.json\x20(reduced\x20security).','18AwXzCO','1831452ZVVIBw','isAxiosError','exponentialDelay','default','51-100','The\x20key\x20is\x20saved\x20to\x20disk,\x20but\x20you\x20can\x20also\x20use\x20`NX_KEY=','Last\x20name\x20cannot\x20be\x20empty.','registerNxKey','nxCloudId','100+','35IxbCKr','Would\x20you\x20like\x20to\x20register\x20for\x20a\x20key\x20now?','Sent\x20verification\x20email\x20to\x20','Activation\x20process\x20timed\x20out\x20after\x20900\x20seconds','error','code','Activation\x20successful!','Please\x20enter\x20your\x20organization\x20name:','Organization\x20name\x20must\x20be\x2064\x20characters\x20or\x20less.','keyType','data','succeed','Self-hosted\x20Cache','944784nePDPk','select','response','NX_KEY_LOGGING',',\x20please\x20check\x20your\x20email.','Organization\x20name\x20cannot\x20be\x20empty.','Nx\x20key\x20already\x20registered','ObjectExpected','Last\x20name\x20must\x20be\x2064\x20characters\x20or\x20less.','1565848QMZqpn','lastName','activateNxKey','powerpack','exit','Skipped.\x20You\x20can\x20register\x20for\x20a\x20free\x20cache\x20key\x20later\x20using\x20`nx\x20register`.','confirm','Please\x20try\x20again\x20later\x20by\x20using\x20`nx\x20register`.','autocomplete','email','What\x20type\x20of\x20key\x20would\x20you\x20like\x20to\x20register\x20for?','env','nx-cloud/self-hosted-cache/activate','key','Please\x20enter\x20a\x20valid\x20email\x20address.','11-50','`\x20to\x20set\x20the\x20key\x20in\x20your\x20environment.','axios','allowRegistration','getNxKeyInformationAsync','fail','ora','selfHosted','Enter\x20your\x20Powerpack\x20key','Waiting\x20for\x20verification\x20to\x20complete...','Please\x20enter\x20your\x20email:','start','get','No,\x20thank\x20you.','__esModule','test','Please\x20enter\x20the\x20number\x20of\x20seats:','prompt','No\x20self-hosted\x20cache\x20key\x20found','@nx/devkit','Failed\x20to\x20initiate\x20self-hosted\x20cache\x20key\x20activation,\x20please\x20try\x20again\x20later.','length'];a4_0x1f3f=function(){return _0x5dc88f;};return a4_0x1f3f();}function n(_0x2d8043){const _0x2d9106=a4_0x1ee591;return null!=_0x2d8043&&_0x2d9106(0x110)==typeof _0x2d8043&&_0x2d9106(0x138)in _0x2d8043&&_0x2d9106(0x11c)===_0x2d8043[_0x2d9106(0x138)];}let c=void 0x0!==process[a4_0x1ee591(0xf0)][a4_0x1ee591(0x143)],u=t[a4_0x1ee591(0x12c)]['create']({'baseURL':process['env'][a4_0x1ee591(0x10b)]||a4_0x1ee591(0x112)});async function l(_0x5e6d53,_0x178ea2){const _0x3a82c2=a4_0x1ee591;let _0x2b2cf1;if(_0x178ea2)return(0x0,i['activateNxKey'])(_0x5e6d53,_0x178ea2);let _0x15f23a=await(0x0,i[_0x3a82c2(0xf8)])(_0x5e6d53);if(_0x15f23a)return s[_0x3a82c2(0x119)][_0x3a82c2(0x111)]({'title':_0x3a82c2(0x146)}),_0x15f23a;try{({keyType:_0x2b2cf1}=await(0x0,r[_0x3a82c2(0x105)])({'type':_0x3a82c2(0xed),'name':_0x3a82c2(0x13c),'message':_0x3a82c2(0xef),'choices':[{'name':_0x3a82c2(0x13f),'value':_0x3a82c2(0xfb)},{'name':'Powerpack','value':'powerpack'},{'name':_0x3a82c2(0x101),'value':null}]}));}catch(_0x543075){throw n(_0x543075)&&process[_0x3a82c2(0xe9)](0x0),_0x543075;}if(_0x3a82c2(0xe8)===_0x2b2cf1){let _0x1af364;s[_0x3a82c2(0x119)][_0x3a82c2(0x116)]({'title':_0x3a82c2(0x117)});try{({key:_0x1af364}=await(0x0,r[_0x3a82c2(0x105)])({'type':_0x3a82c2(0x11f),'name':_0x3a82c2(0xf2),'message':_0x3a82c2(0xfc)}));}catch(_0x12e938){throw n(_0x12e938)&&process['exit'](0x0),_0x12e938;}return(0x0,i[_0x3a82c2(0xe7)])(_0x5e6d53,_0x1af364);}if(_0x3a82c2(0xfb)===_0x2b2cf1)return await d(_0x5e6d53);}async function p(_0x264795,_0x5e6af7){const _0xd3871b=a4_0x1ee591;try{let _0x2b0435=await(0x0,i['getNxKeyInformationAsync'])(_0x5e6af7);if(_0x2b0435)return _0x2b0435;}catch(_0x225df4){if(_0x225df4&&'object'==typeof _0x225df4&&_0xd3871b(0x138)in _0x225df4&&_0xd3871b(0x147)===_0x225df4[_0xd3871b(0x138)]&&(0x0,e['readNxJson'])(_0x264795)?.[_0xd3871b(0x131)])throw Error(_0xd3871b(0x127));throw _0x225df4;}return(c&&s[_0xd3871b(0x119)]['note']({'title':'No\x20self-hosted\x20cache\x20key\x20found.\x20Starting\x20registration\x20process...'}),await h())?await d(_0x5e6af7):(s['output'][_0xd3871b(0x116)]({'title':_0xd3871b(0xea)}),null);}async function d(_0x4f4369){const _0x4c7be6=a4_0x1ee591;try{let _0x4de214=await y(),_0x434c57=await m(_0x4de214),_0x3eacf9=await f(_0x434c57,_0x4de214[_0x4c7be6(0xee)]);return s['output'][_0x4c7be6(0x116)]({'title':_0x4c7be6(0x11e),'bodyLines':[_0x4c7be6(0x12e)+_0x3eacf9+_0x4c7be6(0xf5)]}),(0x0,i[_0x4c7be6(0xe7)])(_0x4f4369,_0x3eacf9);}catch(_0x1bacc6){let _0x1118fd=_0x1bacc6 instanceof Error?_0x1bacc6[_0x4c7be6(0x10c)]:String(_0x1bacc6);return _0x1118fd&&s[_0x4c7be6(0x119)][_0x4c7be6(0x137)]({'title':'Error\x20during\x20activation\x20process:\x20'+_0x1118fd+'.','bodyLines':[_0x4c7be6(0xec)]}),null;}}async function y(){const _0x212f9e=a4_0x1ee591;let _0x4a6875;try{_0x4a6875=await(0x0,r['prompt'])([{'type':'input','name':'firstName','message':_0x212f9e(0x10d),'required':!0x0,'validate':_0x13d925=>_0x13d925[_0x212f9e(0x10a)]()?!(_0x13d925[_0x212f9e(0x109)]>0x40)||'First\x20name\x20must\x20be\x2064\x20characters\x20or\x20less.':_0x212f9e(0x10f)},{'type':_0x212f9e(0x11f),'name':_0x212f9e(0xe6),'message':'Please\x20enter\x20your\x20last\x20name:','required':!0x0,'validate':_0x141bf6=>_0x141bf6[_0x212f9e(0x10a)]()?!(_0x141bf6['length']>0x40)||_0x212f9e(0x148):_0x212f9e(0x12f)},{'type':'input','name':'email','message':_0x212f9e(0xfe),'required':!0x0,'validate':_0x4280ce=>_0x4280ce[_0x212f9e(0x10a)]()?!!/^[^\s@]+@[^\s@]+\.[^\s@]+$/[_0x212f9e(0x103)](_0x4280ce)||_0x212f9e(0xf3):_0x212f9e(0x118)},{'type':_0x212f9e(0x11f),'name':'organizationName','message':_0x212f9e(0x13a),'required':!0x0,'validate':_0x5b8b82=>_0x5b8b82['trim']()?!(_0x5b8b82['length']>0x40)||_0x212f9e(0x13b):_0x212f9e(0x145)},{'type':_0x212f9e(0x141),'name':'seatCount','message':_0x212f9e(0x104),'required':!0x0,'choices':[{'name':_0x212f9e(0x124),'value':0x1},{'name':_0x212f9e(0xf4),'value':0xb},{'name':_0x212f9e(0x12d),'value':0x33},{'name':_0x212f9e(0x132),'value':0x65}],'result'(_0x155528){const _0x379205=_0x212f9e;return this[_0x379205(0x11b)]([_0x155528])[_0x155528];}}]);}catch(_0x166bb4){throw n(_0x166bb4)&&process[_0x212f9e(0xe9)](0x0),_0x166bb4;}return _0x4a6875;}async function m(_0x35ee88){const _0xd6de62=a4_0x1ee591;try{return(await u[_0xd6de62(0x122)](_0xd6de62(0xf1),_0x35ee88))[_0xd6de62(0x13d)][_0xd6de62(0x120)];}catch(_0x146774){if(t[_0xd6de62(0x12c)][_0xd6de62(0x12a)](_0x146774)&&_0x146774['response']?.[_0xd6de62(0x115)]===0x194)throw Error(_0x146774[_0xd6de62(0x142)][_0xd6de62(0x13d)]||'Activation\x20endpoint\x20not\x20found');let _0x49688b=_0x146774 instanceof Error?_0x146774[_0xd6de62(0x10c)]:String(_0x146774);throw c&&s[_0xd6de62(0x119)][_0xd6de62(0x137)]({'title':_0x49688b}),Error(_0xd6de62(0x108));}}async function f(_0x192c02,_0x465271){const _0x11f4b5=a4_0x1ee591;s[_0x11f4b5(0x119)]['log']({'title':_0x11f4b5(0x135)+_0x465271+_0x11f4b5(0x144)});let _0x5554a2=o(_0x11f4b5(0xfd))[_0x11f4b5(0xff)](),_0x1441b2=0x0;for(;_0x1441b2<0x3c;)try{let _0x1ac723=await u[_0x11f4b5(0x100)](_0x11f4b5(0x114),{'params':{'requestId':_0x192c02}});if('VERIFIED'===_0x1ac723['data'][_0x11f4b5(0x115)]&&_0x1ac723['data']['activationKey'])return _0x5554a2[_0x11f4b5(0x13e)](_0x11f4b5(0x139)),_0x1ac723[_0x11f4b5(0x13d)]['activationKey'];_0x1441b2++,await new Promise(_0x2226e8=>setTimeout(_0x2226e8,0x3a98));}catch(_0x1509d1){if(t[_0x11f4b5(0x12c)][_0x11f4b5(0x12a)](_0x1509d1)){if(_0x1509d1[_0x11f4b5(0x142)]?.[_0x11f4b5(0x115)]===0x194)throw _0x5554a2[_0x11f4b5(0xf9)](_0x11f4b5(0x11d)),Error(''+(_0x1509d1[_0x11f4b5(0x142)]?.[_0x11f4b5(0x13d)]||'Activation\x20request\x20not\x20found'));throw _0x5554a2[_0x11f4b5(0xf9)](_0x11f4b5(0x11d)),Error(''+(_0x1509d1[_0x11f4b5(0x142)]?.['data']||_0x1509d1[_0x11f4b5(0x10c)]));}_0x5554a2[_0x11f4b5(0xf9)](_0x11f4b5(0x11d));let _0x2b66aa=_0x1509d1 instanceof Error?_0x1509d1[_0x11f4b5(0x10c)]:String(_0x1509d1);throw Error(''+_0x2b66aa);}throw _0x5554a2[_0x11f4b5(0xf9)](_0x11f4b5(0x10e)),Error(_0x11f4b5(0x136));}async function h(){const _0x5ca054=a4_0x1ee591;s['output'][_0x5ca054(0x116)]({'title':_0x5ca054(0x106),'bodyLines':[_0x5ca054(0x121),'This\x20is\x20an\x20automated\x20process\x20that\x20takes\x20just\x20a\x20moment\x20to\x20complete.']});try{return(await(0x0,r[_0x5ca054(0x105)])({'type':_0x5ca054(0xeb),'initial':!0x0,'name':_0x5ca054(0xf7),'message':_0x5ca054(0x134)}))[_0x5ca054(0xf7)];}catch(_0x15faaf){throw n(_0x15faaf)&&process[_0x5ca054(0xe9)](0x0),_0x15faaf;}}function a4_0x2590(_0x4a909f,_0x3ecf74){const _0x1f3fcb=a4_0x1f3f();return a4_0x2590=function(_0x2590ad,_0x4dda1a){_0x2590ad=_0x2590ad-0xe6;let _0x1bebc5=_0x1f3fcb[_0x2590ad];return _0x1bebc5;},a4_0x2590(_0x4a909f,_0x3ecf74);}(0x0,a[a4_0x1ee591(0x12c)])(u,{'retries':0x5,'retryDelay':a[a4_0x1ee591(0x12c)][a4_0x1ee591(0x12b)]});
package/src/output.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a5_0xbb74(_0x1033e6,_0x5d4441){const _0x908cc3=a5_0x908c();return a5_0xbb74=function(_0xbb7498,_0x127f23){_0xbb7498=_0xbb7498-0xc1;let _0x2da83b=_0x908cc3[_0xbb7498];return _0x2da83b;},a5_0xbb74(_0x1033e6,_0x5d4441);}const a5_0x1a6970=a5_0xbb74;(function(_0x553e99,_0x5f3b3d){const _0x546a9e=a5_0xbb74,_0x59d684=_0x553e99();while(!![]){try{const _0x210fd4=parseInt(_0x546a9e(0xc5))/0x1+-parseInt(_0x546a9e(0xd6))/0x2+parseInt(_0x546a9e(0xdd))/0x3+parseInt(_0x546a9e(0xcc))/0x4*(parseInt(_0x546a9e(0xc2))/0x5)+-parseInt(_0x546a9e(0xdf))/0x6+-parseInt(_0x546a9e(0xc9))/0x7+parseInt(_0x546a9e(0xd8))/0x8;if(_0x210fd4===_0x5f3b3d)break;else _0x59d684['push'](_0x59d684['shift']());}catch(_0x1a05af){_0x59d684['push'](_0x59d684['shift']());}}}(a5_0x908c,0x52e23));Object['defineProperty'](exports,a5_0x1a6970(0xd7),{'value':!0x0}),exports[a5_0x1a6970(0xdb)]=void 0x0;const t=require(a5_0x1a6970(0xd2)),e=require('os');exports[a5_0x1a6970(0xdb)]=new class{[a5_0x1a6970(0xcf)]='NX';[a5_0x1a6970(0xd0)](_0x163ea6){const _0x340b6f=a5_0x1a6970;process[_0x340b6f(0xc1)][_0x340b6f(0xc3)](_0x163ea6);}[a5_0x1a6970(0xca)]({color:_0x19526c,title:_0x3a2465}){const _0x310d59=a5_0x1a6970;this[_0x310d59(0xd0)](''+this[_0x310d59(0xce)](_0x19526c,_0x3a2465)+e[_0x310d59(0xcd)]);}[a5_0x1a6970(0xd4)](_0x41e727){const _0x8912a6=a5_0x1a6970;_0x41e727&&(this['addNewline'](),_0x41e727[_0x8912a6(0xc8)](_0x181199=>this[_0x8912a6(0xd0)](''+_0x181199+e[_0x8912a6(0xcd)])));}[a5_0x1a6970(0xce)](_0x2a70ce=a5_0x1a6970(0xd3),_0x45ebfa){const _0x46f700=a5_0x1a6970;let _0x25f933=t[_0x46f700(0xc6)][_0x46f700(0xda)][_0x46f700(0xcb)][_0x2a70ce]('\x20'+this['cliName']+'\x20');return _0x25f933+'\x20\x20'+_0x45ebfa;}[a5_0x1a6970(0xd1)](){const _0x557ba5=a5_0x1a6970;this[_0x557ba5(0xd0)](e[_0x557ba5(0xcd)]);}[a5_0x1a6970(0xdc)]({title:_0x4cf4a8,bodyLines:_0x1b4b8d}){const _0x5ecba7=a5_0x1a6970;this['addNewline'](),this[_0x5ecba7(0xca)]({'color':_0x5ecba7(0xd9),'title':t[_0x5ecba7(0xd9)](_0x4cf4a8)}),this[_0x5ecba7(0xd4)](_0x1b4b8d),this[_0x5ecba7(0xd1)]();}[a5_0x1a6970(0xd5)]({title:_0x122a4d,bodyLines:_0x3bb651}){const _0x179856=a5_0x1a6970;this['addNewline'](),this[_0x179856(0xca)]({'color':_0x179856(0xd3),'title':t[_0x179856(0xd3)](_0x122a4d)}),this[_0x179856(0xd4)](_0x3bb651),this[_0x179856(0xd1)]();}[a5_0x1a6970(0xc7)]({title:_0x381103,bodyLines:_0x8e0d10}){const _0x36119d=a5_0x1a6970;this[_0x36119d(0xd1)](),this['writeOutputTitle']({'color':_0x36119d(0xd3),'title':_0x381103}),this['writeOptionalOutputBody'](_0x8e0d10),this[_0x36119d(0xd1)]();}[a5_0x1a6970(0xde)]({title:_0x242c27,bodyLines:_0x49b8f6}){const _0x4bf5e9=a5_0x1a6970;this[_0x4bf5e9(0xd1)](),this[_0x4bf5e9(0xca)]({'color':_0x4bf5e9(0xc4),'title':t[_0x4bf5e9(0xc4)](_0x242c27)}),this[_0x4bf5e9(0xd4)](_0x49b8f6),this[_0x4bf5e9(0xd1)]();}}();function a5_0x908c(){const _0x4e1bee=['stdout','125590hwTvbj','write','green','608838tAPXEN','reset','log','forEach','2845640QVAbdI','writeOutputTitle','bold','48SkdJeo','EOL','applyNxPrefix','cliName','writeToStdOut','addNewline','chalk','cyan','writeOptionalOutputBody','note','218790UevHYw','__esModule','308744ZIOKIY','red','inverse','output','error','1416228XwvrES','success','3393102bHrUys'];a5_0x908c=function(){return _0x4e1bee;};return a5_0x908c();}
1
+ 'use strict';const a5_0x507c1e=a5_0x4041;(function(_0x117873,_0x2f26b5){const _0x18eaec=a5_0x4041,_0x2a573c=_0x117873();while(!![]){try{const _0x3be116=-parseInt(_0x18eaec(0xae))/0x1*(parseInt(_0x18eaec(0xb5))/0x2)+-parseInt(_0x18eaec(0xab))/0x3+parseInt(_0x18eaec(0xad))/0x4+parseInt(_0x18eaec(0xb3))/0x5+-parseInt(_0x18eaec(0xbb))/0x6+-parseInt(_0x18eaec(0xc1))/0x7*(-parseInt(_0x18eaec(0xb7))/0x8)+parseInt(_0x18eaec(0xc2))/0x9;if(_0x3be116===_0x2f26b5)break;else _0x2a573c['push'](_0x2a573c['shift']());}catch(_0x36d30a){_0x2a573c['push'](_0x2a573c['shift']());}}}(a5_0x5a65,0x912cd));function a5_0x5a65(){const _0x45246b=['1396936HZgMpj','329EhKOiK','note','write','inverse','green','1587240ddPWmX','applyNxPrefix','4936vrayBh','log','109360AYJQEu','cyan','addNewline','red','3168354DKfadH','writeOutputTitle','EOL','cliName','chalk','__esModule','98BUgbFw','10151433uRxaCG','writeToStdOut','writeOptionalOutputBody','reset','forEach','output','153993RAnKcF','stdout'];a5_0x5a65=function(){return _0x45246b;};return a5_0x5a65();}Object['defineProperty'](exports,a5_0x507c1e(0xc0),{'value':!0x0}),exports[a5_0x507c1e(0xc7)]=void 0x0;let t=require(a5_0x507c1e(0xbf)),e=require('os');function a5_0x4041(_0x49ad26,_0x590c6b){const _0x5a652b=a5_0x5a65();return a5_0x4041=function(_0x4041ee,_0x19d90a){_0x4041ee=_0x4041ee-0xab;let _0x529c06=_0x5a652b[_0x4041ee];return _0x529c06;},a5_0x4041(_0x49ad26,_0x590c6b);}exports[a5_0x507c1e(0xc7)]=new class{[a5_0x507c1e(0xbe)]='NX';[a5_0x507c1e(0xc3)](_0x116a4d){const _0x2adbcd=a5_0x507c1e;process[_0x2adbcd(0xac)][_0x2adbcd(0xb0)](_0x116a4d);}['writeOutputTitle']({color:_0x374538,title:_0x28055c}){const _0x2f2356=a5_0x507c1e;this[_0x2f2356(0xc3)](''+this[_0x2f2356(0xb4)](_0x374538,_0x28055c)+e[_0x2f2356(0xbd)]);}[a5_0x507c1e(0xc4)](_0x5ebf13){const _0x4a1de6=a5_0x507c1e;_0x5ebf13&&(this[_0x4a1de6(0xb9)](),_0x5ebf13[_0x4a1de6(0xc6)](_0x178be2=>this['writeToStdOut'](''+_0x178be2+e[_0x4a1de6(0xbd)])));}[a5_0x507c1e(0xb4)](_0x2fd10c=a5_0x507c1e(0xb8),_0x5b6ea4){const _0x647be2=a5_0x507c1e;let _0xef4ea6=t[_0x647be2(0xc5)][_0x647be2(0xb1)]['bold'][_0x2fd10c]('\x20'+this[_0x647be2(0xbe)]+'\x20');return _0xef4ea6+'\x20\x20'+_0x5b6ea4;}[a5_0x507c1e(0xb9)](){const _0x470507=a5_0x507c1e;this[_0x470507(0xc3)](e['EOL']);}['error']({title:_0x4fdafe,bodyLines:_0x2b9128}){const _0x5f0cc8=a5_0x507c1e;this[_0x5f0cc8(0xb9)](),this['writeOutputTitle']({'color':_0x5f0cc8(0xba),'title':t['red'](_0x4fdafe)}),this[_0x5f0cc8(0xc4)](_0x2b9128),this[_0x5f0cc8(0xb9)]();}[a5_0x507c1e(0xaf)]({title:_0x5f430b,bodyLines:_0xc2e849}){const _0x5426e4=a5_0x507c1e;this[_0x5426e4(0xb9)](),this['writeOutputTitle']({'color':_0x5426e4(0xb8),'title':t[_0x5426e4(0xb8)](_0x5f430b)}),this[_0x5426e4(0xc4)](_0xc2e849),this[_0x5426e4(0xb9)]();}[a5_0x507c1e(0xb6)]({title:_0x290176,bodyLines:_0x58a356}){const _0x43b13c=a5_0x507c1e;this['addNewline'](),this[_0x43b13c(0xbc)]({'color':'cyan','title':_0x290176}),this[_0x43b13c(0xc4)](_0x58a356),this['addNewline']();}['success']({title:_0x551361,bodyLines:_0x11e600}){const _0x30e1ed=a5_0x507c1e;this[_0x30e1ed(0xb9)](),this[_0x30e1ed(0xbc)]({'color':_0x30e1ed(0xb2),'title':t[_0x30e1ed(0xb2)](_0x551361)}),this[_0x30e1ed(0xc4)](_0x11e600),this[_0x30e1ed(0xb9)]();}}();
package/src/version.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a6_0x226bef=a6_0x10f0;(function(_0x4b0744,_0x28723d){const _0x320386=a6_0x10f0,_0x6eea40=_0x4b0744();while(!![]){try{const _0x5efbef=-parseInt(_0x320386(0x1ac))/0x1+-parseInt(_0x320386(0x19f))/0x2*(-parseInt(_0x320386(0x1b0))/0x3)+-parseInt(_0x320386(0x1a4))/0x4*(parseInt(_0x320386(0x1a7))/0x5)+-parseInt(_0x320386(0x1ab))/0x6*(-parseInt(_0x320386(0x1b1))/0x7)+parseInt(_0x320386(0x1af))/0x8+-parseInt(_0x320386(0x1a6))/0x9+parseInt(_0x320386(0x1a3))/0xa;if(_0x5efbef===_0x28723d)break;else _0x6eea40['push'](_0x6eea40['shift']());}catch(_0x116fd9){_0x6eea40['push'](_0x6eea40['shift']());}}}(a6_0x5351,0x796e2));function a6_0x10f0(_0x3fc64d,_0x77821e){const _0x535183=a6_0x5351();return a6_0x10f0=function(_0x10f07a,_0x15ab8e){_0x10f07a=_0x10f07a-0x19f;let _0x3d9201=_0x535183[_0x10f07a];return _0x3d9201;},a6_0x10f0(_0x3fc64d,_0x77821e);}function a6_0x5351(){const _0x3d2593=['version','package.json','989808uIguhy','6kUZUYL','791JpGuse','627446DwvNuA','defineProperty','join','__esModule','5169130cTOCgC','225548OYrljq','NX_MAJOR_VERSION','3454659jSviwV','85zktJMc','VERSION','path','split','47688hoSEWp','326401cmZrGl'];a6_0x5351=function(){return _0x3d2593;};return a6_0x5351();}Object[a6_0x226bef(0x1a0)](exports,a6_0x226bef(0x1a2),{'value':!0x0}),exports[a6_0x226bef(0x1a5)]=exports['VERSION']=void 0x0;const e=require(a6_0x226bef(0x1a9));exports[a6_0x226bef(0x1a8)]=require('../package.json')[a6_0x226bef(0x1ad)],exports['NX_MAJOR_VERSION']=Number(require((0x0,e[a6_0x226bef(0x1a1)])('nx',a6_0x226bef(0x1ae)))[a6_0x226bef(0x1ad)][a6_0x226bef(0x1aa)]('.')[0x0]);
1
+ 'use strict';const a6_0x2a6481=a6_0x1b73;function a6_0x2a4a(){const _0x461734=['6205948xrIlly','path','11836150xDWpJL','17615JmgWBT','40jewRfl','7654563lIOAov','68848AgbIrJ','VERSION','split','../package.json','package.json','join','__esModule','1330614hORPLX','4490444MbsMaj','2682tLIWqI','version','8UoKTMi','NX_MAJOR_VERSION'];a6_0x2a4a=function(){return _0x461734;};return a6_0x2a4a();}(function(_0x4e254c,_0x42a9ee){const _0x42c056=a6_0x1b73,_0x13b9bb=_0x4e254c();while(!![]){try{const _0x40e7bf=parseInt(_0x42c056(0x195))/0x1*(-parseInt(_0x42c056(0x193))/0x2)+-parseInt(_0x42c056(0x19c))/0x3+parseInt(_0x42c056(0x18f))/0x4+parseInt(_0x42c056(0x192))/0x5*(-parseInt(_0x42c056(0x19e))/0x6)+parseInt(_0x42c056(0x19d))/0x7*(parseInt(_0x42c056(0x18d))/0x8)+parseInt(_0x42c056(0x194))/0x9+parseInt(_0x42c056(0x191))/0xa;if(_0x40e7bf===_0x42a9ee)break;else _0x13b9bb['push'](_0x13b9bb['shift']());}catch(_0x162ca8){_0x13b9bb['push'](_0x13b9bb['shift']());}}}(a6_0x2a4a,0xcb14e));Object['defineProperty'](exports,a6_0x2a6481(0x19b),{'value':!0x0}),exports[a6_0x2a6481(0x18e)]=exports[a6_0x2a6481(0x196)]=void 0x0;let e=require(a6_0x2a6481(0x190));function a6_0x1b73(_0x233ad3,_0x34e458){const _0x2a4a07=a6_0x2a4a();return a6_0x1b73=function(_0x1b7378,_0x2a4726){_0x1b7378=_0x1b7378-0x18d;let _0x4394fe=_0x2a4a07[_0x1b7378];return _0x4394fe;},a6_0x1b73(_0x233ad3,_0x34e458);}exports[a6_0x2a6481(0x196)]=require(a6_0x2a6481(0x198))[a6_0x2a6481(0x19f)],exports[a6_0x2a6481(0x18e)]=Number(require((0x0,e[a6_0x2a6481(0x19a)])('nx',a6_0x2a6481(0x199)))[a6_0x2a6481(0x19f)][a6_0x2a6481(0x197)]('.')[0x0]);