@nx/key 1.3.2 → 2.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/native.js +1 -1
- package/nx_key.wasi-browser.js +1 -1
- package/nx_key.wasm32-wasi.wasm +0 -0
- package/package.json +10 -10
- package/request.js +1 -1
- package/src/auto-register.js +1 -1
- package/src/output.js +1 -1
- package/src/version.js +1 -1
package/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
1
|
+
'use strict';const a0_0x14f284=a0_0x403b;(function(_0x5c1e32,_0x1283d3){const _0x4bc099=a0_0x403b,_0x49ffef=_0x5c1e32();while(!![]){try{const _0x51e3fd=parseInt(_0x4bc099(0xc6))/0x1*(-parseInt(_0x4bc099(0xd6))/0x2)+-parseInt(_0x4bc099(0xb4))/0x3*(parseInt(_0x4bc099(0xb8))/0x4)+-parseInt(_0x4bc099(0xc7))/0x5+-parseInt(_0x4bc099(0xbc))/0x6+-parseInt(_0x4bc099(0xd1))/0x7+parseInt(_0x4bc099(0xe1))/0x8*(parseInt(_0x4bc099(0xc4))/0x9)+parseInt(_0x4bc099(0xae))/0xa;if(_0x51e3fd===_0x1283d3)break;else _0x49ffef['push'](_0x49ffef['shift']());}catch(_0x13f750){_0x49ffef['push'](_0x49ffef['shift']());}}}(a0_0x1a02,0x453c5));let e;Object[a0_0x14f284(0xcc)](exports,a0_0x14f284(0xdc),{'value':!0x0}),exports[a0_0x14f284(0xaa)]=void 0x0,exports[a0_0x14f284(0xd4)]=function(_0x33e8bd,_0x1b8ee8){const _0x10ce5d=a0_0x14f284;return(0x0,_[_0x10ce5d(0xd4)])(_0x33e8bd,_0x1b8ee8);},exports[a0_0x14f284(0xc2)]=function(_0x374c88){const _0x5cd7ca=a0_0x14f284;return(0x0,_[_0x5cd7ca(0xc2)])(_0x374c88);},exports[a0_0x14f284(0xd0)]=function(_0x584d9b,_0x3ce81b){l(_0x584d9b,_0x3ce81b);},exports[a0_0x14f284(0xac)]=l,exports[a0_0x14f284(0xbf)]=function(_0x24fed1){return p(_0x24fed1);},exports[a0_0x14f284(0xcf)]=p,exports['getPowerpackLicenseInformation']=function(_0x574fc8){return v(_0x574fc8);},exports['getNxKeyInformation']=v;function a0_0x403b(_0x44f8bd,_0x37b9f1){const _0x1a02e0=a0_0x1a02();return a0_0x403b=function(_0x403bb0,_0x186462){_0x403bb0=_0x403bb0-0x9e;let _0x12dce2=_0x1a02e0[_0x403bb0];return _0x12dce2;},a0_0x403b(_0x44f8bd,_0x37b9f1);}const n=require('node:child_process'),r=require('node:os'),i=require(a0_0x14f284(0xce)),t=require('fs'),o=require('node:crypto'),s=require(a0_0x14f284(0xe5)),a=require(a0_0x14f284(0xcb)),u=require('module'),x=new Set([a0_0x14f284(0xa9),a0_0x14f284(0xd9),a0_0x14f284(0xe4),a0_0x14f284(0xca),'@nx/key-win32-arm64-msvc',a0_0x14f284(0xd5),a0_0x14f284(0xa4),a0_0x14f284(0xba),'@nx/key-freebsd-x64',a0_0x14f284(0xdb),a0_0x14f284(0x9f),a0_0x14f284(0xc3),a0_0x14f284(0xc9),a0_0x14f284(0xa7)]),c=[a0_0x14f284(0xe6),a0_0x14f284(0xb9),'nx_key.win32-x64-msvc.node','nx_key.win32-ia32-msvc.node',a0_0x14f284(0xe8),'nx_key.darwin-universal.node','nx_key.darwin-x64.node',a0_0x14f284(0xb6),'nx_key.freebsd-x64.node',a0_0x14f284(0xc0),a0_0x14f284(0xd7),a0_0x14f284(0xec),a0_0x14f284(0xa2),'nx_key.linux-arm-gnueabihf.node'],d=u[a0_0x14f284(0xd3)],y=require[a0_0x14f284(0xa8)](a0_0x14f284(0xbd));function a0_0x1a02(){const _0x2fab13=['NX_KEY_LOGGING','@nx/key-linux-x64-musl','__esModule','utf8','env','random','renameSync','8tSUCFy','execSync','NX_NATIVE_FILE_CACHE_DIRECTORY','@nx/key-win32-x64-msvc','path','nx_key.android-arm64.node','has','nx_key.win32-arm64-msvc.node','exports','./native','basename','nx_key.linux-arm64-musl.node','node\x20./request.js\x20child','@nx/key-linux-x64-gnu','endsWith','update','nx_key.linux-arm64-gnu.node','./src/auto-register','@nx/key-darwin-x64','getKeyInformation','getKeyInformationAsync','@nx/key-linux-arm-gnueabihf','resolve','@nx/key-android-arm64','assertFeaturePermission','VERSION','activateNxKey','hex','8307880aBuBoK','apply','NX_MAJOR_VERSION','mkdirSync','pipe','FeaturePermission','42ajNZJc','copyFileSync','nx_key.darwin-arm64.node','username','48388vZktmg','nx_key.android-arm-eabi.node','@nx/key-darwin-arm64','tmpdir','30876HReejq','./native.js','nx-native-file-cache-','getPowerpackLicenseInformationAsync','nx_key.linux-x64-musl.node','substring','autoRegisterNxKey','@nx/key-linux-arm64-musl','701208EDSWUF','cache','77JVLIZj','665840sPqzzx','join','@nx/key-linux-arm64-gnu','@nx/key-win32-ia32-msvc','./src/version','defineProperty','sha256','./request','getNxKeyInformationAsync','activatePowerpack','1652350UiTvvH','trim','_load','registerNxKey','@nx/key-darwin-universal','2114xIzqDa','nx_key.linux-x64-gnu.node','createHash','@nx/key-android-arm-eabi'];a0_0x1a02=function(){return _0x2fab13;};return a0_0x1a02();}delete require[a0_0x14f284(0xc5)][y],u[a0_0x14f284(0xd3)]=function(_0x2ae7b8,_0xd5053d,_0x20dfd4){const _0x38346=a0_0x14f284;if(!(x[_0x38346(0xe7)](_0x2ae7b8)||c['some'](_0x5878a3=>_0x2ae7b8[_0x38346(0xa0)](_0x5878a3))))return d[_0x38346(0xaf)](this,arguments);{let _0x5f45d0=require[_0x38346(0xa8)](_0x2ae7b8),_0x281874=(0x0,s[_0x38346(0xeb)])(_0x5f45d0),_0x40a2a5=(function(){const _0x35d5ee=_0x38346;if(process[_0x35d5ee(0xde)][_0x35d5ee(0xe3)])return process[_0x35d5ee(0xde)]['NX_NATIVE_FILE_CACHE_DIRECTORY'];{let _0x46f959=(0x0,o[_0x35d5ee(0xd8)])(_0x35d5ee(0xcd));e&&_0x46f959[_0x35d5ee(0xa1)](e);try{_0x46f959[_0x35d5ee(0xa1)]((0x0,r['userInfo'])()[_0x35d5ee(0xb7)]);}catch(_0x32f5aa){}return(0x0,s[_0x35d5ee(0xc8)])((0x0,r[_0x35d5ee(0xbb)])(),_0x35d5ee(0xbe)+_0x46f959['digest'](_0x35d5ee(0xad))[_0x35d5ee(0xc1)](0x0,0x7));}}()),_0x2f125d=(0x0,s[_0x38346(0xc8)])(_0x40a2a5,a[_0x38346(0xab)]+'-'+Math[_0x38346(0xdf)]()+_0x281874);void 0x0!==process[_0x38346(0xde)][_0x38346(0xda)]&&console['debug']('native\x20file\x20cache\x20location:\x20',_0x40a2a5);let _0x19c047=(0x0,s[_0x38346(0xc8)])(_0x40a2a5,a[_0x38346(0xab)]+'-'+_0x281874);return(0x0,t['existsSync'])(_0x19c047)||((0x0,t['existsSync'])(_0x40a2a5)||(0x0,t[_0x38346(0xb1)])(_0x40a2a5,{'recursive':!0x0}),(0x0,t[_0x38346(0xb5)])(_0x5f45d0,_0x2f125d),(0x0,t[_0x38346(0xe0)])(_0x2f125d,_0x19c047)),d['apply'](this,[_0x19c047,_0xd5053d,_0x20dfd4]);}};const m=require(a0_0x14f284(0xea));Object[a0_0x14f284(0xcc)](exports,a0_0x14f284(0xaa),{'enumerable':!0x0,'get':function(){const _0x40b832=a0_0x14f284;return m[_0x40b832(0xaa)];}}),module[a0_0x14f284(0xe9)]['FeaturePermission']=m[a0_0x14f284(0xb3)];const _=require(a0_0x14f284(0xa3));function l(_0x26f6e7,_0x2654ee){const _0x26330a=a0_0x14f284;return e=_0x26f6e7,require(_0x26330a(0xbd))[_0x26330a(0xac)](a[_0x26330a(0xb0)],_0x26f6e7,_0x2654ee);}function p(_0x2aaa31){const _0x1802b9=a0_0x14f284;e=_0x2aaa31;let _0x5d620b=(0x0,r['homedir'])();return require(_0x1802b9(0xbd))[_0x1802b9(0xa6)](a[_0x1802b9(0xb0)],_0x2aaa31,_0x5d620b,i['requestLicense']);}function v(_0xf79c61){const _0x1aef0a=a0_0x14f284;e=_0xf79c61;let _0x585e85=(0x0,r['homedir'])();return require(_0x1aef0a(0xbd))[_0x1aef0a(0xa5)](a[_0x1aef0a(0xb0)],_0xf79c61,_0x585e85,(_0xf5e29b,_0x3702f2,_0x954f9b,_0xbe1c4a)=>{const _0x392071=_0x1aef0a;try{return(0x0,n[_0x392071(0xe2)])(_0x392071(0x9e),{'encoding':_0x392071(0xdd),'env':{...process[_0x392071(0xde)],'NX_CLOUD_ENDPOINT':_0xf5e29b,'NX_CLOUD_ID':_0x3702f2??void 0x0,'NX_CLOUD_ACCESS_TOKEN':_0x954f9b??void 0x0,'NX_CLOUD_PERSONAL_ACCESS_TOKEN':_0xbe1c4a??void 0x0},'cwd':__dirname,'stdio':_0x392071(0xb2)})[_0x392071(0xd2)]();}catch(_0x4b258e){throw Error(_0x4b258e);}});}u[a0_0x14f284(0xd3)]=d;
|
package/native.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const a1_0x2e027a=a1_0x5562;(function(_0x8cdcd6,_0x226fed){const _0x4153d8=a1_0x5562,_0x160b24=_0x8cdcd6();while(!![]){try{const _0x5811f8=-parseInt(_0x4153d8(0x13c))/0x1+-parseInt(_0x4153d8(0x15a))/0x2*(-parseInt(_0x4153d8(0x149))/0x3)+-parseInt(_0x4153d8(0x16d))/0x4+parseInt(_0x4153d8(0x123))/0x5*(parseInt(_0x4153d8(0x169))/0x6)+parseInt(_0x4153d8(0x14c))/0x7+parseInt(_0x4153d8(0x157))/0x8+parseInt(_0x4153d8(0x150))/0x9;if(_0x5811f8===_0x226fed)break;else _0x160b24['push'](_0x160b24['shift']());}catch(_0x61f9f){_0x160b24['push'](_0x160b24['shift']());}}}(a1_0x48a3,0x45476));function a1_0x5562(_0x5f5de2,_0x21df3e){const _0x48a37b=a1_0x48a3();return a1_0x5562=function(_0x5562e6,_0x2b104b){_0x5562e6=_0x5562e6-0x11f;let _0x5006dc=_0x48a37b[_0x5562e6];return _0x5006dc;},a1_0x5562(_0x5f5de2,_0x21df3e);}const {readFileSync:r}=require('fs');function a1_0x48a3(){const _0x2cede3=['some','riscv64','utf8','./nx_key.linux-arm-musleabihf.node','env','@nx/key-linux-arm64-gnu','ld-musl-','./nx_key.linux-riscv64-gnu.node','@nx/key-win32-ia32-msvc','1958424DEzBoL','error','arch','./nx_key.linux-riscv64-musl.node','2220080STRccP','ppc64','./nx_key.android-arm64.node','header','getReport','child_process','getKeyInformation','5iHoMkq','utf-8','@nx/key-darwin-x64','./nx_key.linux-arm64-musl.node','@nx/key-linux-ppc64-gnu','getKeyInformationAsync','function','Unsupported\x20architecture\x20on\x20Linux:\x20','@nx/key-linux-arm-musleabihf','./nx_key.linux-s390x-gnu.node','@nx/key-darwin-arm64','@nx/key-linux-x64-gnu','@nx/key-linux-riscv64-gnu','push','./nx_key.darwin-universal.node','@nx/key-wasm32-wasi','./nx_key.darwin-x64.node','ldd\x20--version','./nx_key.freebsd-x64.node','./nx_key.win32-x64-msvc.node','NAPI_RS_FORCE_WASI','./nx_key.linux-x64-musl.node','musl','@nx/key-darwin-universal','includes','366573xNgfsb','./nx_key.linux-arm-gnueabihf.node','activateNxKey','freebsd','assertFeaturePermission','win32','Failed\x20to\x20load\x20native\x20binding','platform','@nx/key-win32-arm64-msvc','@nx/key-linux-s390x-gnu','./nx_key.linux-arm64-gnu.node','./nx_key.win32-arm64-msvc.node','./nx_key.darwin-arm64.node','1519431JrhvaY','@nx/key-linux-riscv64-musl','./nx_key.freebsd-arm64.node','1351063WtqvwO','arm','Unsupported\x20architecture\x20on\x20macOS:\x20','./nx_key.android-arm-eabi.node','1484352qivmYi','Unsupported\x20OS:\x20','report','arm64','execSync','exports','./nx_key.wasi.cjs','116328dONjXe','/usr/bin/ldd','x64','2OOGyXq','android','./nx_key.linux-x64-gnu.node','isArray','length','FeaturePermission'];a1_0x48a3=function(){return _0x2cede3;};return a1_0x48a3();}let e=null;const n=[],u=()=>{const _0x58a6b2=a1_0x5562;let _0x3b726d=!0x1;return'linux'===process[_0x58a6b2(0x143)]&&(null===(_0x3b726d=t())&&(_0x3b726d=c()),null===_0x3b726d&&(_0x3b726d=i())),_0x3b726d;},s=_0x5db4e3=>_0x5db4e3[a1_0x2e027a(0x13b)]('libc.musl-')||_0x5db4e3[a1_0x2e027a(0x13b)](a1_0x2e027a(0x166)),t=()=>{const _0x530ead=a1_0x2e027a;try{return r(_0x530ead(0x158),_0x530ead(0x124))[_0x530ead(0x13b)](_0x530ead(0x139));}catch{return null;}},c=()=>{const _0x4b85b8=a1_0x2e027a;let _0x2190f7=_0x4b85b8(0x129)==typeof process[_0x4b85b8(0x152)][_0x4b85b8(0x120)]?process[_0x4b85b8(0x152)][_0x4b85b8(0x120)]():null;return _0x2190f7?(!_0x2190f7[_0x4b85b8(0x11f)]||!_0x2190f7[_0x4b85b8(0x11f)]['glibcVersionRuntime'])&&!!(Array[_0x4b85b8(0x15d)](_0x2190f7['sharedObjects'])&&_0x2190f7['sharedObjects'][_0x4b85b8(0x160)](s)):null;},i=()=>{const _0x2b1665=a1_0x2e027a;try{return require(_0x2b1665(0x121))[_0x2b1665(0x154)](_0x2b1665(0x134),{'encoding':_0x2b1665(0x162)})['includes'](_0x2b1665(0x139));}catch(_0x41b299){return!0x1;}};if(!(e=(function(){const _0x390a0f=a1_0x2e027a;if(_0x390a0f(0x15b)===process['platform']){if(_0x390a0f(0x153)===process['arch']){try{return require(_0x390a0f(0x16f));}catch(_0x43cfe2){n[_0x390a0f(0x130)](_0x43cfe2);}try{return require('@nx/key-android-arm64');}catch(_0x1a7675){n[_0x390a0f(0x130)](_0x1a7675);}}else{if(_0x390a0f(0x14d)===process[_0x390a0f(0x16b)]){try{return require(_0x390a0f(0x14f));}catch(_0xe02a38){n[_0x390a0f(0x130)](_0xe02a38);}try{return require('@nx/key-android-arm-eabi');}catch(_0x3fdb07){n[_0x390a0f(0x130)](_0x3fdb07);}}else n[_0x390a0f(0x130)](Error('Unsupported\x20architecture\x20on\x20Android\x20'+process['arch']));}}else{if(_0x390a0f(0x141)===process[_0x390a0f(0x143)]){if(_0x390a0f(0x159)===process[_0x390a0f(0x16b)]){try{return require(_0x390a0f(0x136));}catch(_0x3d5640){n[_0x390a0f(0x130)](_0x3d5640);}try{return require('@nx/key-win32-x64-msvc');}catch(_0x7368ca){n[_0x390a0f(0x130)](_0x7368ca);}}else{if('ia32'===process[_0x390a0f(0x16b)]){try{return require('./nx_key.win32-ia32-msvc.node');}catch(_0x1b3f32){n[_0x390a0f(0x130)](_0x1b3f32);}try{return require(_0x390a0f(0x168));}catch(_0xef8d46){n['push'](_0xef8d46);}}else{if(_0x390a0f(0x153)===process['arch']){try{return require(_0x390a0f(0x147));}catch(_0x4166ea){n[_0x390a0f(0x130)](_0x4166ea);}try{return require(_0x390a0f(0x144));}catch(_0x17cd54){n[_0x390a0f(0x130)](_0x17cd54);}}else n['push'](Error('Unsupported\x20architecture\x20on\x20Windows:\x20'+process[_0x390a0f(0x16b)]));}}}else{if('darwin'===process[_0x390a0f(0x143)]){try{return require(_0x390a0f(0x131));}catch(_0xfff802){n[_0x390a0f(0x130)](_0xfff802);}try{return require(_0x390a0f(0x13a));}catch(_0x2b96b7){n['push'](_0x2b96b7);}if(_0x390a0f(0x159)===process[_0x390a0f(0x16b)]){try{return require(_0x390a0f(0x133));}catch(_0x3ed1cf){n['push'](_0x3ed1cf);}try{return require(_0x390a0f(0x125));}catch(_0x55d825){n[_0x390a0f(0x130)](_0x55d825);}}else{if('arm64'===process[_0x390a0f(0x16b)]){try{return require(_0x390a0f(0x148));}catch(_0x16be76){n[_0x390a0f(0x130)](_0x16be76);}try{return require(_0x390a0f(0x12d));}catch(_0x41307a){n[_0x390a0f(0x130)](_0x41307a);}}else n[_0x390a0f(0x130)](Error(_0x390a0f(0x14e)+process['arch']));}}else{if(_0x390a0f(0x13f)===process[_0x390a0f(0x143)]){if('x64'===process['arch']){try{return require(_0x390a0f(0x135));}catch(_0x5323ce){n[_0x390a0f(0x130)](_0x5323ce);}try{return require('@nx/key-freebsd-x64');}catch(_0x582ba4){n[_0x390a0f(0x130)](_0x582ba4);}}else{if(_0x390a0f(0x153)===process[_0x390a0f(0x16b)]){try{return require(_0x390a0f(0x14b));}catch(_0x724c38){n[_0x390a0f(0x130)](_0x724c38);}try{return require('@nx/key-freebsd-arm64');}catch(_0x3f5413){n['push'](_0x3f5413);}}else n['push'](Error('Unsupported\x20architecture\x20on\x20FreeBSD:\x20'+process['arch']));}}else{if('linux'===process[_0x390a0f(0x143)]){if('x64'===process['arch']){if(u()){try{return require(_0x390a0f(0x138));}catch(_0x416e4e){n['push'](_0x416e4e);}try{return require('@nx/key-linux-x64-musl');}catch(_0x560ea4){n[_0x390a0f(0x130)](_0x560ea4);}}else{try{return require(_0x390a0f(0x15c));}catch(_0x5b3ce0){n[_0x390a0f(0x130)](_0x5b3ce0);}try{return require(_0x390a0f(0x12e));}catch(_0x11ba91){n['push'](_0x11ba91);}}}else{if(_0x390a0f(0x153)===process[_0x390a0f(0x16b)]){if(u()){try{return require(_0x390a0f(0x126));}catch(_0x3722d1){n[_0x390a0f(0x130)](_0x3722d1);}try{return require('@nx/key-linux-arm64-musl');}catch(_0x27876c){n[_0x390a0f(0x130)](_0x27876c);}}else{try{return require(_0x390a0f(0x146));}catch(_0x5c7d47){n['push'](_0x5c7d47);}try{return require(_0x390a0f(0x165));}catch(_0x32acfc){n[_0x390a0f(0x130)](_0x32acfc);}}}else{if(_0x390a0f(0x14d)===process[_0x390a0f(0x16b)]){if(u()){try{return require(_0x390a0f(0x163));}catch(_0x41253d){n[_0x390a0f(0x130)](_0x41253d);}try{return require(_0x390a0f(0x12b));}catch(_0x3271c7){n[_0x390a0f(0x130)](_0x3271c7);}}else{try{return require(_0x390a0f(0x13d));}catch(_0x1edcc4){n[_0x390a0f(0x130)](_0x1edcc4);}try{return require('@nx/key-linux-arm-gnueabihf');}catch(_0x20e19e){n[_0x390a0f(0x130)](_0x20e19e);}}}else{if(_0x390a0f(0x161)===process[_0x390a0f(0x16b)]){if(u()){try{return require(_0x390a0f(0x16c));}catch(_0x10e3d0){n['push'](_0x10e3d0);}try{return require(_0x390a0f(0x14a));}catch(_0x17dfdb){n[_0x390a0f(0x130)](_0x17dfdb);}}else{try{return require(_0x390a0f(0x167));}catch(_0x1d043b){n[_0x390a0f(0x130)](_0x1d043b);}try{return require(_0x390a0f(0x12f));}catch(_0x28fa85){n[_0x390a0f(0x130)](_0x28fa85);}}}else{if(_0x390a0f(0x16e)===process[_0x390a0f(0x16b)]){try{return require('./nx_key.linux-ppc64-gnu.node');}catch(_0x42b76d){n[_0x390a0f(0x130)](_0x42b76d);}try{return require(_0x390a0f(0x127));}catch(_0x4ab1df){n[_0x390a0f(0x130)](_0x4ab1df);}}else{if('s390x'===process[_0x390a0f(0x16b)]){try{return require(_0x390a0f(0x12c));}catch(_0x40c2d1){n[_0x390a0f(0x130)](_0x40c2d1);}try{return require(_0x390a0f(0x145));}catch(_0x2806b8){n[_0x390a0f(0x130)](_0x2806b8);}}else n[_0x390a0f(0x130)](Error(_0x390a0f(0x12a)+process[_0x390a0f(0x16b)]));}}}}}}else n['push'](Error(_0x390a0f(0x151)+process[_0x390a0f(0x143)]+',\x20architecture:\x20'+process[_0x390a0f(0x16b)]));}}}}}()))||process['env']['NAPI_RS_FORCE_WASI']){try{e=require(a1_0x2e027a(0x156));}catch(a1_0x46b154){process[a1_0x2e027a(0x164)][a1_0x2e027a(0x137)]&&console[a1_0x2e027a(0x16a)](a1_0x46b154);}if(!e)try{e=require(a1_0x2e027a(0x132));}catch(a1_0x59d022){process[a1_0x2e027a(0x164)][a1_0x2e027a(0x137)]&&console[a1_0x2e027a(0x16a)](a1_0x59d022);}}if(!e){if(n[a1_0x2e027a(0x15e)]>0x0)throw Error(a1_0x2e027a(0x142),{'cause':n});throw Error('Failed\x20to\x20load\x20native\x20binding');}module['exports'][a1_0x2e027a(0x13e)]=e['activateNxKey'],module['exports'][a1_0x2e027a(0x140)]=e[a1_0x2e027a(0x140)],module['exports'][a1_0x2e027a(0x15f)]=e[a1_0x2e027a(0x15f)],module[a1_0x2e027a(0x155)][a1_0x2e027a(0x122)]=e['getKeyInformation'],module[a1_0x2e027a(0x155)][a1_0x2e027a(0x128)]=e['getKeyInformationAsync'];
|
package/nx_key.wasi-browser.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
import{instantiateNapiModuleSync as e,getDefaultContext as r,WASI as t}from"@napi-rs/wasm-runtime";import o from"./nx_key.wasm32-wasi.wasm?url";let s=new t({version:"preview1"}),i=r(),n=new WebAssembly.Memory({initial:4e3,maximum:65536,shared:!0}),{instance:a,module:_,napiModule:m}=e(await fetch(o).then(e=>e.arrayBuffer()),{context:i,asyncWorkPoolSize:4,wasi:s,onCreateWorker:()=>new Worker(new URL("./wasi-worker-browser.mjs",import.meta.url),{type:"module"}),overwriteImports:e=>(e.env={...e.env,...e.napi,...e.emnapi,memory:n},e),beforeInit({instance:e}){e.exports.__napi_register__NxKey_struct_0?.(),
|
1
|
+
import{instantiateNapiModuleSync as e,getDefaultContext as r,WASI as t}from"@napi-rs/wasm-runtime";import o from"./nx_key.wasm32-wasi.wasm?url";let s=new t({version:"preview1"}),i=r(),n=new WebAssembly.Memory({initial:4e3,maximum:65536,shared:!0}),{instance:a,module:_,napiModule:m}=e(await fetch(o).then(e=>e.arrayBuffer()),{context:i,asyncWorkPoolSize:4,wasi:s,onCreateWorker:()=>new Worker(new URL("./wasi-worker-browser.mjs",import.meta.url),{type:"module"}),overwriteImports:e=>(e.env={...e.env,...e.napi,...e.emnapi,memory:n},e),beforeInit({instance:e}){var r;r=e,r.exports.__napi_register__NxKey_struct_0?.(),r.exports.__napi_register__FeaturePermission_1?.(),r.exports.__napi_register__activate_nx_key_2?.(),r.exports.__napi_register__get_key_information_3?.(),r.exports.__napi_register__get_key_information_async_4?.(),r.exports.__napi_register__assert_feature_permission_5?.()}});export const activateNxKey=m.exports.activateNxKey;export const assertFeaturePermission=m.exports.assertFeaturePermission;export const FeaturePermission=m.exports.FeaturePermission;export const getKeyInformation=m.exports.getKeyInformation;export const getKeyInformationAsync=m.exports.getKeyInformationAsync;
|
package/nx_key.wasm32-wasi.wasm
CHANGED
Binary file
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nx/key",
|
3
|
-
"version": "
|
3
|
+
"version": "2.0.0-rc.0",
|
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",
|
@@ -57,14 +57,14 @@
|
|
57
57
|
"ora": "^5.4.1"
|
58
58
|
},
|
59
59
|
"optionalDependencies": {
|
60
|
-
"@nx/key-darwin-arm64": "
|
61
|
-
"@nx/key-darwin-x64": "
|
62
|
-
"@nx/key-linux-arm-gnueabihf": "
|
63
|
-
"@nx/key-linux-arm64-gnu": "
|
64
|
-
"@nx/key-linux-arm64-musl": "
|
65
|
-
"@nx/key-linux-x64-gnu": "
|
66
|
-
"@nx/key-linux-x64-musl": "
|
67
|
-
"@nx/key-win32-arm64-msvc": "
|
68
|
-
"@nx/key-win32-x64-msvc": "
|
60
|
+
"@nx/key-darwin-arm64": "2.0.0-rc.0",
|
61
|
+
"@nx/key-darwin-x64": "2.0.0-rc.0",
|
62
|
+
"@nx/key-linux-arm-gnueabihf": "2.0.0-rc.0",
|
63
|
+
"@nx/key-linux-arm64-gnu": "2.0.0-rc.0",
|
64
|
+
"@nx/key-linux-arm64-musl": "2.0.0-rc.0",
|
65
|
+
"@nx/key-linux-x64-gnu": "2.0.0-rc.0",
|
66
|
+
"@nx/key-linux-x64-musl": "2.0.0-rc.0",
|
67
|
+
"@nx/key-win32-arm64-msvc": "2.0.0-rc.0",
|
68
|
+
"@nx/key-win32-x64-msvc": "2.0.0-rc.0"
|
69
69
|
}
|
70
70
|
}
|
package/request.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';function
|
1
|
+
'use strict';function a3_0x3f9f(){const _0x94ba63=['LicenseErrors.Expired','140368wZaMKk','/nx-cloud/powerpack/licenses?nxVersion=','child','NX_MAJOR_VERSION','157308IBZuPD','201zpiwvA','status','requestLicense','./src/version','119AejNuc','json','5kVcBeL','then','687636uiZPJh','23576QOAiKG','1045665fNdxov','__esModule','append','LicenseErrors.Unauthorized\x0a','env','LicenseErrors.NotFound','argv','exit','log','text','3962150McvCHf','catch','defineProperty','Authorization','LicenseErrors.Forbidden','4MPkYEk','14654871pIsxlG','error'];a3_0x3f9f=function(){return _0x94ba63;};return a3_0x3f9f();}const a3_0x258ef0=a3_0xefdf;function a3_0xefdf(_0x4f3c27,_0x3bbad0){const _0x3f9fa9=a3_0x3f9f();return a3_0xefdf=function(_0xefdf4,_0x4d9da1){_0xefdf4=_0xefdf4-0xe3;let _0x422fcf=_0x3f9fa9[_0xefdf4];return _0x422fcf;},a3_0xefdf(_0x4f3c27,_0x3bbad0);}(function(_0x3e69f5,_0x5a0213){const _0x5e051c=a3_0xefdf,_0x2a3844=_0x3e69f5();while(!![]){try{const _0x22f7bd=parseInt(_0x5e051c(0xe4))/0x1*(parseInt(_0x5e051c(0xec))/0x2)+parseInt(_0x5e051c(0xed))/0x3*(-parseInt(_0x5e051c(0xf6))/0x4)+parseInt(_0x5e051c(0xf3))/0x5*(-parseInt(_0x5e051c(0xf5))/0x6)+parseInt(_0x5e051c(0xf1))/0x7*(-parseInt(_0x5e051c(0xe8))/0x8)+-parseInt(_0x5e051c(0xf7))/0x9+-parseInt(_0x5e051c(0x101))/0xa+parseInt(_0x5e051c(0xe5))/0xb;if(_0x22f7bd===_0x5a0213)break;else _0x2a3844['push'](_0x2a3844['shift']());}catch(_0x218bf5){_0x2a3844['push'](_0x2a3844['shift']());}}}(a3_0x3f9f,0x4fc23));Object[a3_0x258ef0(0x103)](exports,a3_0x258ef0(0xf8),{'value':!0x0}),exports[a3_0x258ef0(0xef)]=r;const e=require(a3_0x258ef0(0xf0));function r(_0x4e8a14,_0x37dc9e,_0x21a11d,_0x3fd00a){const _0x5205e4=a3_0x258ef0;let _0x39fb93=new Headers();return _0x37dc9e&&_0x39fb93[_0x5205e4(0xf9)]('Nx-Cloud-Id',_0x37dc9e),_0x21a11d&&_0x39fb93[_0x5205e4(0xf9)](_0x5205e4(0x104),_0x21a11d),_0x3fd00a&&_0x39fb93[_0x5205e4(0xf9)]('Nx-Cloud-Personal-Access-Token',_0x3fd00a),fetch(_0x4e8a14+_0x5205e4(0xe9)+e[_0x5205e4(0xeb)],{'headers':_0x39fb93})[_0x5205e4(0xf4)](async _0x5ef5c3=>{const _0x30351a=_0x5205e4;if(0x194===_0x5ef5c3['status'])throw Error(_0x30351a(0xfc));if(0x192===_0x5ef5c3[_0x30351a(0xee)])throw Error(_0x30351a(0xe7));if(0x193===_0x5ef5c3['status'])throw Error(_0x30351a(0xe3));if(0x191===_0x5ef5c3[_0x30351a(0xee)])throw Error(_0x30351a(0xfa)+await _0x5ef5c3[_0x30351a(0x100)]());if(_0x5ef5c3[_0x30351a(0xee)]>=0x190)throw Error(''+await _0x5ef5c3[_0x30351a(0x100)]());return _0x5ef5c3[_0x30351a(0xf2)]();})[_0x5205e4(0xf4)](_0x333f00=>_0x333f00['licenseKey']);}if(a3_0x258ef0(0xea)===process[a3_0x258ef0(0xfd)][0x2]){let {NX_CLOUD_ENDPOINT:e,NX_CLOUD_ID:s,NX_CLOUD_ACCESS_TOKEN:o,NX_CLOUD_PERSONAL_ACCESS_TOKEN:t}=process[a3_0x258ef0(0xfb)];r(e,s,o,t)[a3_0x258ef0(0xf4)](_0x4c1d81=>{const _0x5adf94=a3_0x258ef0;console[_0x5adf94(0xff)](_0x4c1d81),process['exit'](0x0);})[a3_0x258ef0(0x102)](_0x3fc65b=>{const _0x1282f5=a3_0x258ef0;console[_0x1282f5(0xe6)](_0x3fc65b['message']),process[_0x1282f5(0xfe)](0x1);});}
|
package/src/auto-register.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const a4_0x39d94d=a4_0x128a;(function(_0x55d68f,_0x46cd4c){const _0x397a52=a4_0x128a,_0x43e916=_0x55d68f();while(!![]){try{const _0x5c4149=parseInt(_0x397a52(0xdc))/0x1*(parseInt(_0x397a52(0xf0))/0x2)+parseInt(_0x397a52(0xfc))/0x3*(-parseInt(_0x397a52(0xd1))/0x4)+parseInt(_0x397a52(0xb8))/0x5+-parseInt(_0x397a52(0xc0))/0x6*(-parseInt(_0x397a52(0xc6))/0x7)+parseInt(_0x397a52(0xf3))/0x8+-parseInt(_0x397a52(0xd2))/0x9*(-parseInt(_0x397a52(0x103))/0xa)+parseInt(_0x397a52(0xcc))/0xb*(-parseInt(_0x397a52(0xff))/0xc);if(_0x5c4149===_0x46cd4c)break;else _0x43e916['push'](_0x43e916['shift']());}catch(_0x156ff1){_0x43e916['push'](_0x43e916['shift']());}}}(a4_0x5883,0xb8025));function a4_0x128a(_0x136684,_0x4ceb26){const _0x588348=a4_0x5883();return a4_0x128a=function(_0x128ae6,_0x29563c){_0x128ae6=_0x128ae6-0xad;let _0x5a8055=_0x588348[_0x128ae6];return _0x5a8055;},a4_0x128a(_0x136684,_0x4ceb26);}Object[a4_0x39d94d(0xfb)](exports,'__esModule',{'value':!0x0}),exports[a4_0x39d94d(0x106)]=u,exports['autoRegisterNxKey']=l;const e=require(a4_0x39d94d(0xce)),t=require('axios-retry'),a=require('enquirer'),r=require(a4_0x39d94d(0xd5)),i=require(a4_0x39d94d(0xcf)),o=require(a4_0x39d94d(0xad)),s=void 0x0!==process[a4_0x39d94d(0x105)]['NX_KEY_LOGGING'],n=e['default'][a4_0x39d94d(0xe7)]({'baseURL':process[a4_0x39d94d(0x105)][a4_0x39d94d(0xee)]||a4_0x39d94d(0xbb)});async function u(_0x5c870a,_0x3c60ca){const _0x37a251=a4_0x39d94d;if(_0x3c60ca)return(0x0,i[_0x37a251(0xed)])(_0x5c870a,_0x3c60ca);let _0x4e2d38=await(0x0,i[_0x37a251(0xc3)])(_0x5c870a);if(_0x4e2d38)return o[_0x37a251(0xd8)][_0x37a251(0xf5)]({'title':_0x37a251(0xe5)}),_0x4e2d38;let {keyType:_0x37a95c}=await(0x0,a['prompt'])({'type':'autocomplete','name':'keyType','message':'What\x20type\x20of\x20key\x20would\x20you\x20like\x20to\x20register\x20for?','choices':[{'name':'Self-hosted\x20Cache','value':_0x37a251(0xc7)},{'name':_0x37a251(0x104),'value':_0x37a251(0xbc)},{'name':'No,\x20thank\x20you.','value':null}]});if(_0x37a251(0xbc)===_0x37a95c){o['output'][_0x37a251(0xf7)]({'title':_0x37a251(0xec)});let {key:_0x593e4a}=await(0x0,a['prompt'])({'type':_0x37a251(0xdb),'name':_0x37a251(0xb5),'message':_0x37a251(0x107)});return(0x0,i[_0x37a251(0xed)])(_0x5c870a,_0x593e4a);}if(_0x37a251(0xc7)===_0x37a95c)return await c(_0x5c870a);}async function l(_0x13019c){const _0x305b4d=a4_0x39d94d;let _0x5545=await(0x0,i[_0x305b4d(0xc3)])(_0x13019c);return _0x5545||((s&&o[_0x305b4d(0xd8)]['note']({'title':_0x305b4d(0xba)}),await d())?await c(_0x13019c):(o[_0x305b4d(0xd8)][_0x305b4d(0xf7)]({'title':'Skipped.\x20You\x20can\x20register\x20for\x20a\x20free\x20cache\x20key\x20later\x20using\x20`nx\x20register`.'}),null));}function a4_0x5883(){const _0x36594f=['2YQVNjO','Waiting\x20for\x20verification\x20to\x20complete...','Please\x20enter\x20the\x20number\x20of\x20seats:','11954304FeUEOd','Error\x20during\x20activation\x20process:\x20','success','Activation\x20failed.','log','/nx-cloud/self-hosted-cache/activate','Last\x20name\x20cannot\x20be\x20empty.','51-100','defineProperty','1929fpWNMn','select','100+','12NANJST','Activation\x20process\x20timed\x20out\x20after\x20900\x20seconds','Failed\x20to\x20initiate\x20self-hosted\x20cache\x20key\x20activation,\x20please\x20try\x20again\x20later.','nx-cloud/self-hosted-cache/activate','267550UHyECl','Powerpack','env','registerNxKey','Enter\x20your\x20Powerpack\x20key','./output','VERIFIED','Please\x20enter\x20your\x20email:','Activation\x20successful!','lastName','1-10','To\x20use\x20self-hosted\x20caching\x20you\x20need\x20to\x20register\x20for\x20a\x20free\x20cache\x20key.','allowRegistration','key','prompt','`\x20to\x20set\x20the\x20key\x20in\x20your\x20environment.','6422220NzoIcW','Please\x20enter\x20your\x20organization\x20name:','No\x20self-hosted\x20cache\x20key\x20found.\x20Starting\x20registration\x20process...','https://cloud.nx.app','powerpack','organizationName','Activation\x20endpoint\x20not\x20found','message','150582zuUeZC','length','First\x20name\x20must\x20be\x2064\x20characters\x20or\x20less.','getNxKeyInformationAsync','get','exponentialDelay','21FuDqEW','selfHosted','Please\x20try\x20again\x20later\x20by\x20using\x20`nx\x20register`.','data','Successfully\x20activated\x20Nx\x20key!','confirm','19242652PzhBPb','trim','axios','../index','test','7108AhFABr','198AFEuSm','Please\x20enter\x20your\x20first\x20name:','Organization\x20name\x20must\x20be\x2064\x20characters\x20or\x20less.','ora','Activation\x20request\x20not\x20found','response','output','default','No\x20self-hosted\x20cache\x20key\x20found','input','203011zFlutb','11-50','Please\x20enter\x20a\x20valid\x20email\x20address.','This\x20is\x20an\x20automated\x20process\x20that\x20takes\x20just\x20a\x20moment\x20to\x20complete.','error','isAxiosError','First\x20name\x20cannot\x20be\x20empty.','succeed','Contact\x20email\x20is\x20required.','Nx\x20key\x20already\x20registered','Activation\x20timed\x20out.','create','firstName','Organization\x20name\x20cannot\x20be\x20empty.','status','fail','If\x20you\x20have\x20not\x20purchased\x20a\x20Powerpack\x20license,\x20please\x20visit\x20https://cloud.nx.app/powerpack\x20to\x20purchase\x20one.','activateNxKey','NX_CLOUD_API','activationKey'];a4_0x5883=function(){return _0x36594f;};return a4_0x5883();}async function c(_0x30ab3a){const _0x4bf053=a4_0x39d94d;try{let _0x5344b3=await p(),_0x4dfe46=await m(_0x5344b3),_0x508b9c=await y(_0x4dfe46,_0x5344b3['email']);return o[_0x4bf053(0xd8)][_0x4bf053(0xf7)]({'title':_0x4bf053(0xca),'bodyLines':['The\x20key\x20is\x20saved\x20to\x20disk,\x20but\x20you\x20can\x20also\x20use\x20`NX_KEY='+_0x508b9c+_0x4bf053(0xb7)]}),(0x0,i[_0x4bf053(0xed)])(_0x30ab3a,_0x508b9c);}catch(_0x4395e9){let _0x17d1a3=_0x4395e9 instanceof Error?_0x4395e9[_0x4bf053(0xbf)]:String(_0x4395e9);return _0x17d1a3&&o[_0x4bf053(0xd8)][_0x4bf053(0xe0)]({'title':_0x4bf053(0xf4)+_0x17d1a3+'.','bodyLines':[_0x4bf053(0xc8)]}),null;}}async function p(){const _0x34f1f6=a4_0x39d94d;return await(0x0,a['prompt'])([{'type':_0x34f1f6(0xdb),'name':_0x34f1f6(0xe8),'message':_0x34f1f6(0xd3),'required':!0x0,'validate':_0x570436=>_0x570436[_0x34f1f6(0xcd)]()?!(_0x570436[_0x34f1f6(0xc1)]>0x40)||_0x34f1f6(0xc2):_0x34f1f6(0xe2)},{'type':_0x34f1f6(0xdb),'name':_0x34f1f6(0xb1),'message':'Please\x20enter\x20your\x20last\x20name:','required':!0x0,'validate':_0x36f19a=>_0x36f19a['trim']()?!(_0x36f19a[_0x34f1f6(0xc1)]>0x40)||'Last\x20name\x20must\x20be\x2064\x20characters\x20or\x20less.':_0x34f1f6(0xf9)},{'type':_0x34f1f6(0xdb),'name':'email','message':_0x34f1f6(0xaf),'required':!0x0,'validate':_0x26970b=>_0x26970b['trim']()?!!/^[^\s@]+@[^\s@]+\.[^\s@]+$/[_0x34f1f6(0xd0)](_0x26970b)||_0x34f1f6(0xde):_0x34f1f6(0xe4)},{'type':'input','name':_0x34f1f6(0xbd),'message':_0x34f1f6(0xb9),'required':!0x0,'validate':_0x4a77ec=>_0x4a77ec[_0x34f1f6(0xcd)]()?!(_0x4a77ec[_0x34f1f6(0xc1)]>0x40)||_0x34f1f6(0xd4):_0x34f1f6(0xe9)},{'type':_0x34f1f6(0xfd),'name':'seatCount','message':_0x34f1f6(0xf2),'required':!0x0,'choices':[{'name':_0x34f1f6(0xb2),'value':0x1},{'name':_0x34f1f6(0xdd),'value':0xb},{'name':_0x34f1f6(0xfa),'value':0x33},{'name':_0x34f1f6(0xfe),'value':0x65}],'result'(_0x40301e){return this['map']([_0x40301e])[_0x40301e];}}]);}async function m(_0x15200f){const _0x385a4d=a4_0x39d94d;try{return(await n['post'](_0x385a4d(0x102),_0x15200f))['data']['requestId'];}catch(_0x475d87){if(e[_0x385a4d(0xd9)][_0x385a4d(0xe1)](_0x475d87)&&_0x475d87[_0x385a4d(0xd7)]?.[_0x385a4d(0xea)]===0x194)throw Error(_0x475d87[_0x385a4d(0xd7)][_0x385a4d(0xc9)]||_0x385a4d(0xbe));let _0x1590d8=_0x475d87 instanceof Error?_0x475d87[_0x385a4d(0xbf)]:String(_0x475d87);throw s&&o[_0x385a4d(0xd8)]['error']({'title':_0x1590d8}),Error(_0x385a4d(0x101));}}async function y(_0x4726ec,_0x1eabd4){const _0x26b55c=a4_0x39d94d;o[_0x26b55c(0xd8)]['log']({'title':'Sent\x20verification\x20email\x20to\x20'+_0x1eabd4+',\x20please\x20check\x20your\x20email.'});let _0x394205=r(_0x26b55c(0xf1))['start'](),_0x53a2c1=0x0;for(;_0x53a2c1<0x3c;)try{let _0x429514=await n[_0x26b55c(0xc4)](_0x26b55c(0xf8),{'params':{'requestId':_0x4726ec}});if(_0x26b55c(0xae)===_0x429514['data'][_0x26b55c(0xea)]&&_0x429514[_0x26b55c(0xc9)][_0x26b55c(0xef)])return _0x394205[_0x26b55c(0xe3)](_0x26b55c(0xb0)),_0x429514['data'][_0x26b55c(0xef)];_0x53a2c1++,await new Promise(_0x2e0232=>setTimeout(_0x2e0232,0x3a98));}catch(_0x4e4329){if(e['default'][_0x26b55c(0xe1)](_0x4e4329)){if(_0x4e4329[_0x26b55c(0xd7)]?.[_0x26b55c(0xea)]===0x194)throw _0x394205[_0x26b55c(0xeb)](_0x26b55c(0xf6)),Error(''+(_0x4e4329['response']?.[_0x26b55c(0xc9)]||_0x26b55c(0xd6)));throw _0x394205['fail'](_0x26b55c(0xf6)),Error(''+(_0x4e4329[_0x26b55c(0xd7)]?.[_0x26b55c(0xc9)]||_0x4e4329[_0x26b55c(0xbf)]));}_0x394205[_0x26b55c(0xeb)](_0x26b55c(0xf6));let _0x37a93b=_0x4e4329 instanceof Error?_0x4e4329['message']:String(_0x4e4329);throw Error(''+_0x37a93b);}throw _0x394205[_0x26b55c(0xeb)](_0x26b55c(0xe6)),Error(_0x26b55c(0x100));}async function d(){const _0x7a0a43=a4_0x39d94d;return o[_0x7a0a43(0xd8)][_0x7a0a43(0xf7)]({'title':_0x7a0a43(0xda),'bodyLines':[_0x7a0a43(0xb3),_0x7a0a43(0xdf)]}),(await(0x0,a[_0x7a0a43(0xb6)])({'type':_0x7a0a43(0xcb),'initial':!0x0,'name':_0x7a0a43(0xb4),'message':'Would\x20you\x20like\x20to\x20register\x20for\x20a\x20key\x20now?'}))[_0x7a0a43(0xb4)];}(0x0,t['default'])(n,{'retries':0x5,'retryDelay':t[a4_0x39d94d(0xd9)][a4_0x39d94d(0xc5)]});
|
package/src/output.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
1
|
+
'use strict';const a5_0x1b99c8=a5_0xfdae;(function(_0x47544f,_0xd6e5bb){const _0x104d6c=a5_0xfdae,_0x473c8f=_0x47544f();while(!![]){try{const _0x42ae05=parseInt(_0x104d6c(0x138))/0x1*(parseInt(_0x104d6c(0x123))/0x2)+-parseInt(_0x104d6c(0x12d))/0x3*(parseInt(_0x104d6c(0x12a))/0x4)+parseInt(_0x104d6c(0x12b))/0x5*(parseInt(_0x104d6c(0x11d))/0x6)+parseInt(_0x104d6c(0x134))/0x7*(parseInt(_0x104d6c(0x126))/0x8)+parseInt(_0x104d6c(0x12c))/0x9+-parseInt(_0x104d6c(0x137))/0xa*(-parseInt(_0x104d6c(0x125))/0xb)+-parseInt(_0x104d6c(0x129))/0xc*(parseInt(_0x104d6c(0x122))/0xd);if(_0x42ae05===_0xd6e5bb)break;else _0x473c8f['push'](_0x473c8f['shift']());}catch(_0x3610a7){_0x473c8f['push'](_0x473c8f['shift']());}}}(a5_0x27b1,0x4e51a));function a5_0x27b1(){const _0x96182d=['63089MGUxRx','112116TsGpes','writeOptionalOutputBody','11UtBiTY','8dSNRMp','output','addNewline','1692uiyVpT','1107416ZAYsQn','5uJeCtU','4877829IFasAe','6uElLrW','green','success','EOL','stdout','write','cliName','2427530GwMRWj','inverse','writeToStdOut','1359670RxIXEH','5cGVSQn','defineProperty','bold','cyan','chalk','red','applyNxPrefix','log','1522482UQJsFw','writeOutputTitle','reset','note','__esModule'];a5_0x27b1=function(){return _0x96182d;};return a5_0x27b1();}function a5_0xfdae(_0x572935,_0x52a56b){const _0x27b1c4=a5_0x27b1();return a5_0xfdae=function(_0xfdaee2,_0x32adde){_0xfdaee2=_0xfdaee2-0x11b;let _0x4aac8d=_0x27b1c4[_0xfdaee2];return _0x4aac8d;},a5_0xfdae(_0x572935,_0x52a56b);}Object[a5_0x1b99c8(0x139)](exports,a5_0x1b99c8(0x121),{'value':!0x0}),exports[a5_0x1b99c8(0x127)]=void 0x0;const t=require(a5_0x1b99c8(0x13c)),e=require('os');exports['output']=new class{[a5_0x1b99c8(0x133)]='NX';['writeToStdOut'](_0xee484a){const _0x42292f=a5_0x1b99c8;process[_0x42292f(0x131)][_0x42292f(0x132)](_0xee484a);}[a5_0x1b99c8(0x11e)]({color:_0x35930f,title:_0x3bf5cb}){const _0x56b37a=a5_0x1b99c8;this[_0x56b37a(0x136)](''+this[_0x56b37a(0x11b)](_0x35930f,_0x3bf5cb)+e['EOL']);}[a5_0x1b99c8(0x124)](_0x2bbfc3){_0x2bbfc3&&(this['addNewline'](),_0x2bbfc3['forEach'](_0x244d75=>this['writeToStdOut'](''+_0x244d75+e['EOL'])));}[a5_0x1b99c8(0x11b)](_0x58fbef=a5_0x1b99c8(0x13b),_0x29cdab){const _0x1408fb=a5_0x1b99c8;let _0x352b3f=t[_0x1408fb(0x11f)][_0x1408fb(0x135)][_0x1408fb(0x13a)][_0x58fbef]('\x20'+this[_0x1408fb(0x133)]+'\x20');return _0x352b3f+'\x20\x20'+_0x29cdab;}[a5_0x1b99c8(0x128)](){const _0x4a6cfd=a5_0x1b99c8;this[_0x4a6cfd(0x136)](e[_0x4a6cfd(0x130)]);}['error']({title:_0x32642c,bodyLines:_0x5af589}){const _0x422b1b=a5_0x1b99c8;this[_0x422b1b(0x128)](),this['writeOutputTitle']({'color':_0x422b1b(0x13d),'title':t[_0x422b1b(0x13d)](_0x32642c)}),this['writeOptionalOutputBody'](_0x5af589),this[_0x422b1b(0x128)]();}[a5_0x1b99c8(0x120)]({title:_0x1754a2,bodyLines:_0x42c6bf}){const _0x4dc8f9=a5_0x1b99c8;this[_0x4dc8f9(0x128)](),this[_0x4dc8f9(0x11e)]({'color':'cyan','title':t[_0x4dc8f9(0x13b)](_0x1754a2)}),this[_0x4dc8f9(0x124)](_0x42c6bf),this[_0x4dc8f9(0x128)]();}[a5_0x1b99c8(0x11c)]({title:_0x1f74b5,bodyLines:_0x5dd41e}){const _0x5dc8d0=a5_0x1b99c8;this[_0x5dc8d0(0x128)](),this[_0x5dc8d0(0x11e)]({'color':_0x5dc8d0(0x13b),'title':_0x1f74b5}),this['writeOptionalOutputBody'](_0x5dd41e),this[_0x5dc8d0(0x128)]();}[a5_0x1b99c8(0x12f)]({title:_0x1f4be6,bodyLines:_0x140391}){const _0x1343bf=a5_0x1b99c8;this[_0x1343bf(0x128)](),this[_0x1343bf(0x11e)]({'color':_0x1343bf(0x12e),'title':t[_0x1343bf(0x12e)](_0x1f4be6)}),this[_0x1343bf(0x124)](_0x140391),this[_0x1343bf(0x128)]();}}();
|
package/src/version.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
1
|
+
'use strict';const a6_0x39a5f0=a6_0x2d1f;(function(_0x28a87d,_0x6be341){const _0x5351e6=a6_0x2d1f,_0x5ec380=_0x28a87d();while(!![]){try{const _0xccea9f=-parseInt(_0x5351e6(0x1b0))/0x1+parseInt(_0x5351e6(0x1b1))/0x2*(-parseInt(_0x5351e6(0x1b6))/0x3)+parseInt(_0x5351e6(0x1b5))/0x4+-parseInt(_0x5351e6(0x1ab))/0x5*(-parseInt(_0x5351e6(0x1af))/0x6)+parseInt(_0x5351e6(0x1ae))/0x7*(-parseInt(_0x5351e6(0x1b4))/0x8)+-parseInt(_0x5351e6(0x1a6))/0x9+parseInt(_0x5351e6(0x1aa))/0xa*(parseInt(_0x5351e6(0x1ac))/0xb);if(_0xccea9f===_0x6be341)break;else _0x5ec380['push'](_0x5ec380['shift']());}catch(_0x3a6454){_0x5ec380['push'](_0x5ec380['shift']());}}}(a6_0x2e2e,0x34ed6));function a6_0x2d1f(_0xa67321,_0x1ba0f4){const _0x2e2e29=a6_0x2e2e();return a6_0x2d1f=function(_0x2d1f9a,_0x5caaee){_0x2d1f9a=_0x2d1f9a-0x1a6;let _0x3d0788=_0x2e2e29[_0x2d1f9a];return _0x3d0788;},a6_0x2d1f(_0xa67321,_0x1ba0f4);}Object[a6_0x39a5f0(0x1b3)](exports,a6_0x39a5f0(0x1a7),{'value':!0x0}),exports['NX_MAJOR_VERSION']=exports[a6_0x39a5f0(0x1a8)]=void 0x0;function a6_0x2e2e(){const _0x1e899e=['9955FeeyAJ','version','42ZIEXWx','1650YIFAAX','238766AjxdrK','53194RfVpeO','NX_MAJOR_VERSION','defineProperty','53296XeBIAn','1712228SwMeWN','48qGvBXF','3780108GoVZtV','__esModule','VERSION','package.json','7120izERzT','4885UarzVI'];a6_0x2e2e=function(){return _0x1e899e;};return a6_0x2e2e();}const e=require('path');exports['VERSION']=require('../package.json')['version'],exports[a6_0x39a5f0(0x1b2)]=Number(require((0x0,e['join'])('nx',a6_0x39a5f0(0x1a9)))[a6_0x39a5f0(0x1ad)]['split']('.')[0x0]);
|