@syncfusion/ej2-base
Advanced tools
Comparing version 26.1.36 to 26.1.37
#! /usr/bin/env node | ||
'use strict';var _0x558985=_0x3f0d;(function(_0x17be18,_0x34833d){var _0x362116=_0x3f0d,_0x227c97=_0x17be18();while(!![]){try{var _0x499373=parseInt(_0x362116(0xdf))/0x1+parseInt(_0x362116(0xe5))/0x2*(parseInt(_0x362116(0xd6))/0x3)+-parseInt(_0x362116(0xd0))/0x4*(parseInt(_0x362116(0xe2))/0x5)+-parseInt(_0x362116(0xd3))/0x6+-parseInt(_0x362116(0xed))/0x7+parseInt(_0x362116(0xd7))/0x8*(-parseInt(_0x362116(0xd9))/0x9)+parseInt(_0x362116(0xce))/0xa;if(_0x499373===_0x34833d)break;else _0x227c97['push'](_0x227c97['shift']());}catch(_0x1ed081){_0x227c97['push'](_0x227c97['shift']());}}}(_0x283d,0x7200f));var fs=global['fs']=global['fs']||require('fs');const args=process['argv'][_0x558985(0xcf)](0x2),isActivate=args[0x0]==_0x558985(0xe3),customPath=args[0x1],envKey=process[_0x558985(0xda)]['SYNCFUSION_LICENSE'];if(isActivate){var licKey='';if(fs['existsSync'](_0x558985(0xd4)))licKey=fs[_0x558985(0xef)](_0x558985(0xd4),_0x558985(0xec));else{if(envKey)licKey=envKey;else customPath&&fs[_0x558985(0xdd)](customPath)&&(licKey=fs[_0x558985(0xef)](customPath,_0x558985(0xec)));}if(licKey!=''){var licKeySplit=licKey[_0x558985(0xe9)](';'),pkey=[0x530000,0x790000,0x4e0000,0x630000,0x460000,0x750000,0x530000,0x690000,0x4f0000,0x6e0000,0x400000,0x440000,0x650000,0x760000,0x500000,0x6c0000,0x610000,0x740000,0x460000,0x6f0000,0x720000,0x6d0000],decryptedStr=[],resultArray=[];for(var i=0x0;i<licKeySplit['length'];i++){var lKey=licKeySplit[i],decodeStr=getDecryptedData(lKey);if(!decodeStr)continue;var k=0x0,buffr='';for(var i=0x0;i<decodeStr['length'];i++,k++){k===pkey[_0x558985(0xf0)]&&(k=0x0);var c=decodeStr[_0x558985(0xf1)](i);buffr+=String['fromCharCode'](c^pkey[k]>>0x10);}decryptedStr=buffr['split'](';');if(decryptedStr[_0x558985(0xf0)]>0x3){resultArray[_0x558985(0xe6)]({'currentPlatform':decryptedStr[0x0],'version':decryptedStr[0x1],'expiryDate':decryptedStr[0x2]});var licData=resultArray[0x0]['currentPlatform']+';'+resultArray[0x0]['version']+';'+resultArray[0x0]['expiryDate']+';',encryptedKey=getEncryptedKey(licData),jsFiles=[_0x558985(0xcd),'./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es2015.js',_0x558985(0xde),_0x558985(0xd1)];for(var n=0x0;n<jsFiles['length'];n++){if(fs[_0x558985(0xdd)](jsFiles[n])){var content=fs['readFileSync'](jsFiles[n],_0x558985(0xec)),regex=jsFiles[n]===_0x558985(0xd1)?/npxKeyReplace[^"]*/:/npxKeyReplace[^']*/;content=content[_0x558985(0xd8)](regex,_0x558985(0xcb)+encryptedKey),fs['writeFileSync'](jsFiles[n],content);}}console[_0x558985(0xcc)]('(INFO)\x20Syncfusion\x20License\x20imported\x20successfully.');}else console[_0x558985(0xcc)](_0x558985(0xe0));}}else console[_0x558985(0xcc)](_0x558985(0xeb));}else console['log'](_0x558985(0xea));function getEncryptedKey(_0x5e5c41){var _0x499ef1=_0x558985,_0xb797bd='',_0x100f1a=[],_0x3bbff6=[],_0x980fa8=new Array();for(var _0x3b73cf=0x0;_0x3b73cf<_0x5e5c41['length'];_0x3b73cf++){_0x100f1a[_0x3b73cf]=_0x5e5c41[_0x3b73cf]['charCodeAt'](0x0);}for(var _0x9300b=0x0,_0x3b8904=0x41;_0x9300b<0x1a;_0x9300b++,_0x3b8904++){_0x3bbff6[_0x9300b]=String[_0x499ef1(0xee)](_0x3b8904);}var _0x4bcd55=Math[_0x499ef1(0xe1)](Math[_0x499ef1(0xdc)]()*(_0x3bbff6[_0x499ef1(0xf0)]-0x1-0x0+0x1)+0x0),_0x52f8b2=_0x3bbff6[_0x4bcd55][_0x499ef1(0xf1)](0x0);for(var _0x3b73cf=0x0;_0x3b73cf<_0x5e5c41[_0x499ef1(0xf0)];_0x3b73cf++){_0x980fa8[_0x3b73cf]=parseInt(_0x100f1a[_0x3b73cf])+parseInt(_0x3bbff6[_0x4bcd55][_0x499ef1(0xf1)](0x0));}_0x980fa8[_0x100f1a[_0x499ef1(0xf0)]]=_0x52f8b2;for(var _0x3b73cf=0x0;_0x3b73cf<_0x980fa8['length'];_0x3b73cf++){_0xb797bd+=String[_0x499ef1(0xee)](_0x980fa8[_0x3b73cf]);}return Buffer['from'](_0xb797bd,_0x499ef1(0xe4))['toString'](_0x499ef1(0xdb));}function getDecryptedData(_0x4940ed){var _0x503d77=_0x558985;try{return Buffer[_0x503d77(0xd2)](_0x4940ed,_0x503d77(0xdb))[_0x503d77(0xd5)](_0x503d77(0xe7));}catch(_0x1af9a6){return'';}}function _0x3f0d(_0x40642a,_0x11a1fb){var _0x283d35=_0x283d();return _0x3f0d=function(_0x3f0d54,_0x4cbe25){_0x3f0d54=_0x3f0d54-0xcb;var _0x4dfa36=_0x283d35[_0x3f0d54];return _0x4dfa36;},_0x3f0d(_0x40642a,_0x11a1fb);};process[_0x558985(0xe8)](0x0);function _0x283d(){var _0x38b95e=['env','base64','random','existsSync','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es5.js','281490kfvDcO','(Error)\x20License\x20key\x20is\x20not\x20valid.','floor','150DpBuUf','activate','ascii','8nkpbhG','push','binary','exit','split','Supported\x20command:\x20npx\x20syncfusion-license\x20activate','Please\x20add\x20the\x20syncfusion-license.txt\x20file\x20or\x20set\x20environment\x20variable\x20SYNCFUSION_LICENSE','UTF8','4756976lGYvrg','fromCharCode','readFileSync','length','charCodeAt','npxKeyReplace','log','./node_modules/@syncfusion/ej2-base/src/validate-lic.js','25831670KiYjOW','slice','114184WPukMt','./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js','from','5172726BlKCRy','./syncfusion-license.txt','toString','141195tkxfcj','8YJlTuR','replace','1691001ClYxTS'];_0x283d=function(){return _0x38b95e;};return _0x283d();} | ||
'use strict';var _0x54c835=_0x4f75;(function(_0xd2a28e,_0x3ea23b){var _0x1a4c3d=_0x4f75,_0x4eeea5=_0xd2a28e();while(!![]){try{var _0x1230aa=-parseInt(_0x1a4c3d(0xb9))/0x1+parseInt(_0x1a4c3d(0xa2))/0x2+-parseInt(_0x1a4c3d(0xb4))/0x3+parseInt(_0x1a4c3d(0xbb))/0x4+-parseInt(_0x1a4c3d(0x9e))/0x5*(parseInt(_0x1a4c3d(0xb2))/0x6)+parseInt(_0x1a4c3d(0xbd))/0x7*(parseInt(_0x1a4c3d(0xa6))/0x8)+parseInt(_0x1a4c3d(0xb8))/0x9*(parseInt(_0x1a4c3d(0x9b))/0xa);if(_0x1230aa===_0x3ea23b)break;else _0x4eeea5['push'](_0x4eeea5['shift']());}catch(_0x427f2d){_0x4eeea5['push'](_0x4eeea5['shift']());}}}(_0x125e,0x43532));function _0x4f75(_0x550bcb,_0x50b2e2){var _0x125ebd=_0x125e();return _0x4f75=function(_0x4f7501,_0x1c9c7a){_0x4f7501=_0x4f7501-0x99;var _0x2daea0=_0x125ebd[_0x4f7501];return _0x2daea0;},_0x4f75(_0x550bcb,_0x50b2e2);}var fs=global['fs']=global['fs']||require('fs');const args=process[_0x54c835(0xb1)][_0x54c835(0x9f)](0x2),isActivate=args[0x0]==_0x54c835(0x99),customPath=args[0x1],envKey=process[_0x54c835(0xbe)][_0x54c835(0xb6)];if(isActivate){var licKey='';if(fs[_0x54c835(0xba)](_0x54c835(0x9c)))licKey=fs[_0x54c835(0xc0)]('./syncfusion-license.txt',_0x54c835(0xb3));else{if(envKey)licKey=envKey;else customPath&&fs[_0x54c835(0xba)](customPath)&&(licKey=fs[_0x54c835(0xc0)](customPath,_0x54c835(0xb3)));}if(licKey!=''){var licKeySplit=licKey[_0x54c835(0xa0)](';'),pkey=[0x530000,0x790000,0x4e0000,0x630000,0x460000,0x750000,0x530000,0x690000,0x4f0000,0x6e0000,0x400000,0x440000,0x650000,0x760000,0x500000,0x6c0000,0x610000,0x740000,0x460000,0x6f0000,0x720000,0x6d0000],decryptedStr=[],resultArray=[];for(var i=0x0;i<licKeySplit[_0x54c835(0xae)];i++){var lKey=licKeySplit[i],decodeStr=getDecryptedData(lKey);if(!decodeStr)continue;var k=0x0,buffr='';for(var i=0x0;i<decodeStr['length'];i++,k++){k===pkey[_0x54c835(0xae)]&&(k=0x0);var c=decodeStr[_0x54c835(0xa3)](i);buffr+=String[_0x54c835(0xb7)](c^pkey[k]>>0x10);}decryptedStr=buffr[_0x54c835(0xa0)](';');if(decryptedStr[_0x54c835(0xae)]>0x3){resultArray[_0x54c835(0xbf)]({'currentPlatform':decryptedStr[0x0],'version':decryptedStr[0x1],'expiryDate':decryptedStr[0x2]});var licData=resultArray[0x0][_0x54c835(0xa8)]+';'+resultArray[0x0][_0x54c835(0xa5)]+';'+resultArray[0x0]['expiryDate']+';',encryptedKey=getEncryptedKey(licData),jsFiles=[_0x54c835(0xaa),'./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es2015.js','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es5.js','./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js'];for(var n=0x0;n<jsFiles[_0x54c835(0xae)];n++){if(fs['existsSync'](jsFiles[n])){var content=fs[_0x54c835(0xc0)](jsFiles[n],'UTF8'),regex=jsFiles[n]===_0x54c835(0xad)?/npxKeyReplace[^"]*/:/npxKeyReplace[^']*/;content=content[_0x54c835(0xbc)](regex,_0x54c835(0xac)+encryptedKey),fs[_0x54c835(0xaf)](jsFiles[n],content);}}console[_0x54c835(0xa7)]('(INFO)\x20Syncfusion\x20License\x20imported\x20successfully.');}else console['log']('(Error)\x20License\x20key\x20is\x20not\x20valid.');}}else console[_0x54c835(0xa7)](_0x54c835(0xa9));}else console[_0x54c835(0xa7)](_0x54c835(0x9d));function _0x125e(){var _0x46c2f5=['Please\x20add\x20the\x20syncfusion-license.txt\x20file\x20or\x20set\x20environment\x20variable\x20SYNCFUSION_LICENSE','./node_modules/@syncfusion/ej2-base/src/validate-lic.js','floor','npxKeyReplace','./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js','length','writeFileSync','exit','argv','222qvrqzO','UTF8','1635864XEqeVV','base64','SYNCFUSION_LICENSE','fromCharCode','5877BTwjqO','232956JikLqI','existsSync','1855468OiEJaW','replace','1246eqYFpr','env','push','readFileSync','activate','from','9050orTPPQ','./syncfusion-license.txt','Supported\x20command:\x20npx\x20syncfusion-license\x20activate','69835CJavQB','slice','split','random','288934HTgIoV','charCodeAt','binary','version','16696BaLywI','log','currentPlatform'];_0x125e=function(){return _0x46c2f5;};return _0x125e();}function getEncryptedKey(_0x2f6688){var _0x4718e0=_0x54c835,_0x31db43='',_0x32a4b1=[],_0x8e6f8d=[],_0x129928=new Array();for(var _0x515f69=0x0;_0x515f69<_0x2f6688[_0x4718e0(0xae)];_0x515f69++){_0x32a4b1[_0x515f69]=_0x2f6688[_0x515f69][_0x4718e0(0xa3)](0x0);}for(var _0x5f0e6e=0x0,_0x66af21=0x41;_0x5f0e6e<0x1a;_0x5f0e6e++,_0x66af21++){_0x8e6f8d[_0x5f0e6e]=String[_0x4718e0(0xb7)](_0x66af21);}var _0x3d3f72=Math[_0x4718e0(0xab)](Math[_0x4718e0(0xa1)]()*(_0x8e6f8d[_0x4718e0(0xae)]-0x1-0x0+0x1)+0x0),_0x49ca18=_0x8e6f8d[_0x3d3f72][_0x4718e0(0xa3)](0x0);for(var _0x515f69=0x0;_0x515f69<_0x2f6688['length'];_0x515f69++){_0x129928[_0x515f69]=parseInt(_0x32a4b1[_0x515f69])+parseInt(_0x8e6f8d[_0x3d3f72]['charCodeAt'](0x0));}_0x129928[_0x32a4b1[_0x4718e0(0xae)]]=_0x49ca18;for(var _0x515f69=0x0;_0x515f69<_0x129928['length'];_0x515f69++){_0x31db43+=String[_0x4718e0(0xb7)](_0x129928[_0x515f69]);}return Buffer[_0x4718e0(0x9a)](_0x31db43,'ascii')['toString']('base64');}function getDecryptedData(_0x98038a){var _0x315a21=_0x54c835;try{return Buffer[_0x315a21(0x9a)](_0x98038a,_0x315a21(0xb5))['toString'](_0x315a21(0xa4));}catch(_0x5efe40){return'';}};process[_0x54c835(0xb0)](0x0); |
@@ -224,4 +224,4 @@ { | ||
"typings": "index.d.ts", | ||
"version": "26.1.36", | ||
"version": "26.1.37", | ||
"sideEffects": true | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13343298