Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-base

Package Overview
Dependencies
Maintainers
3
Versions
205
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-base - npm Package Compare versions

Comparing version 20.4.38 to 20.4.40

2

bin/syncfusion-license.js
#! /usr/bin/env node
'use strict';var _0x4fa54b=_0x4806;(function(_0x481fb9,_0x4e32d3){var _0x125b5e=_0x4806,_0x320c0a=_0x481fb9();while(!![]){try{var _0x16b268=-parseInt(_0x125b5e(0x160))/0x1+parseInt(_0x125b5e(0x15d))/0x2+parseInt(_0x125b5e(0x155))/0x3+parseInt(_0x125b5e(0x163))/0x4+-parseInt(_0x125b5e(0x15e))/0x5+parseInt(_0x125b5e(0x16c))/0x6*(parseInt(_0x125b5e(0x154))/0x7)+-parseInt(_0x125b5e(0x152))/0x8;if(_0x16b268===_0x4e32d3)break;else _0x320c0a['push'](_0x320c0a['shift']());}catch(_0x416db9){_0x320c0a['push'](_0x320c0a['shift']());}}}(_0x33e4,0x26ca6));var fs=global['fs']=global['fs']||require('fs');const args=process['argv']['slice'](0x2),envKey=process[_0x4fa54b(0x16d)]['SYNCFUSION_LICENSE'];if(args=='activate'){var licKey='';if(fs[_0x4fa54b(0x16a)]('./syncfusion-license.txt'))licKey=fs['readFileSync'](_0x4fa54b(0x170),_0x4fa54b(0x15f));else envKey&&(licKey=envKey);if(licKey!=''){var licKeySplit=licKey['split'](';'),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[_0x4fa54b(0x159)]&&(k=0x0);var c=decodeStr[_0x4fa54b(0x16b)](i);buffr+=String[_0x4fa54b(0x167)](c^pkey[k]>>0x10);}decryptedStr=buffr[_0x4fa54b(0x174)](';');if(decryptedStr[_0x4fa54b(0x159)]>0x3){resultArray['push']({'currentPlatform':decryptedStr[0x0],'version':decryptedStr[0x1],'expiryDate':decryptedStr[0x2]});var licData=resultArray[0x0][_0x4fa54b(0x169)]+';'+resultArray[0x0][_0x4fa54b(0x161)]+';'+resultArray[0x0][_0x4fa54b(0x165)]+';',encryptedKey=getEncryptedKey(licData),jsFiles=[_0x4fa54b(0x166),_0x4fa54b(0x164),_0x4fa54b(0x151),_0x4fa54b(0x153)];for(var n=0x0;n<jsFiles[_0x4fa54b(0x159)];n++){if(fs[_0x4fa54b(0x16a)](jsFiles[n])){var content=fs['readFileSync'](jsFiles[n],_0x4fa54b(0x15f)),regex=jsFiles[n]==='./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js'?/npxKeyReplace[^"]*/:/npxKeyReplace[^']*/;content=content[_0x4fa54b(0x16e)](regex,'npxKeyReplace'+encryptedKey),fs[_0x4fa54b(0x158)](jsFiles[n],content);}}console[_0x4fa54b(0x156)](_0x4fa54b(0x168));}else console[_0x4fa54b(0x156)](_0x4fa54b(0x171));}}else console['log']('Please\x20add\x20the\x20syncfusion-license.txt\x20file\x20or\x20set\x20environment\x20variable\x20SYNCFUSION_LICENSE');}else console[_0x4fa54b(0x156)](_0x4fa54b(0x157));function getEncryptedKey(_0x31da38){var _0x20b4f4=_0x4fa54b,_0x523b06='',_0x28a839=[],_0x25ff58=[],_0x40e85a=new Array();for(var _0x2e0225=0x0;_0x2e0225<_0x31da38['length'];_0x2e0225++){_0x28a839[_0x2e0225]=_0x31da38[_0x2e0225]['charCodeAt'](0x0);}for(var _0x53f1ab=0x0,_0x10a30c=0x41;_0x53f1ab<0x1a;_0x53f1ab++,_0x10a30c++){_0x25ff58[_0x53f1ab]=String[_0x20b4f4(0x167)](_0x10a30c);}var _0x2b44ab=Math[_0x20b4f4(0x15a)](Math[_0x20b4f4(0x172)]()*(_0x25ff58['length']-0x1-0x0+0x1)+0x0),_0x2bec68=_0x25ff58[_0x2b44ab][_0x20b4f4(0x16b)](0x0);for(var _0x2e0225=0x0;_0x2e0225<_0x31da38[_0x20b4f4(0x159)];_0x2e0225++){_0x40e85a[_0x2e0225]=parseInt(_0x28a839[_0x2e0225])+parseInt(_0x25ff58[_0x2b44ab]['charCodeAt'](0x0));}_0x40e85a[_0x28a839[_0x20b4f4(0x159)]]=_0x2bec68;for(var _0x2e0225=0x0;_0x2e0225<_0x40e85a['length'];_0x2e0225++){_0x523b06+=String[_0x20b4f4(0x167)](_0x40e85a[_0x2e0225]);}return Buffer['from'](_0x523b06,'ascii')[_0x20b4f4(0x173)](_0x20b4f4(0x15c));}function _0x4806(_0x4924fa,_0x274728){var _0x33e4b6=_0x33e4();return _0x4806=function(_0x48066f,_0x3060dd){_0x48066f=_0x48066f-0x151;var _0x144515=_0x33e4b6[_0x48066f];return _0x144515;},_0x4806(_0x4924fa,_0x274728);}function getDecryptedData(_0xce2f45){var _0x3957cd=_0x4fa54b;try{return Buffer[_0x3957cd(0x162)](_0xce2f45,'base64')[_0x3957cd(0x173)](_0x3957cd(0x15b));}catch(_0x489f83){return'';}}function _0x33e4(){var _0x85753b=['toString','split','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es5.js','1246600trrBlN','./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js','11403ScUYpZ','749202eeIlot','log','Supported\x20command:\x20npx\x20syncfusion-license\x20activate','writeFileSync','length','floor','binary','base64','198864kuNZZK','286210dePWll','UTF8','113444DcFUhk','version','from','440668sNYgQl','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es2015.js','expiryDate','./node_modules/@syncfusion/ej2-base/src/validate-lic.js','fromCharCode','(INFO)\x20Syncfusion\x20License\x20imported\x20successfully.','currentPlatform','existsSync','charCodeAt','96dqVUkZ','env','replace','exit','./syncfusion-license.txt','(Error)\x20License\x20key\x20is\x20not\x20valid.','random'];_0x33e4=function(){return _0x85753b;};return _0x33e4();};process[_0x4fa54b(0x16f)](0x0);
'use strict';var _0x18fb78=_0x56b8;(function(_0x267a58,_0x443587){var _0x22e3d2=_0x56b8,_0x94ac25=_0x267a58();while(!![]){try{var _0x3f52b4=-parseInt(_0x22e3d2(0xbb))/0x1*(-parseInt(_0x22e3d2(0xa7))/0x2)+parseInt(_0x22e3d2(0xb6))/0x3+-parseInt(_0x22e3d2(0xb1))/0x4+-parseInt(_0x22e3d2(0x9b))/0x5*(-parseInt(_0x22e3d2(0xaf))/0x6)+parseInt(_0x22e3d2(0xa4))/0x7*(parseInt(_0x22e3d2(0x9e))/0x8)+-parseInt(_0x22e3d2(0xae))/0x9+parseInt(_0x22e3d2(0x98))/0xa*(-parseInt(_0x22e3d2(0xb7))/0xb);if(_0x3f52b4===_0x443587)break;else _0x94ac25['push'](_0x94ac25['shift']());}catch(_0x51308a){_0x94ac25['push'](_0x94ac25['shift']());}}}(_0x535c,0x2445a));var fs=global['fs']=global['fs']||require('fs');function _0x56b8(_0xa965e1,_0x2ff7ab){var _0x535c3f=_0x535c();return _0x56b8=function(_0x56b803,_0x15ebdf){_0x56b803=_0x56b803-0x98;var _0x451499=_0x535c3f[_0x56b803];return _0x451499;},_0x56b8(_0xa965e1,_0x2ff7ab);}const args=process[_0x18fb78(0xb3)]['slice'](0x2),envKey=process[_0x18fb78(0xa3)][_0x18fb78(0xb2)];if(args==_0x18fb78(0xa1)){var licKey='';if(fs[_0x18fb78(0xa0)](_0x18fb78(0x9a)))licKey=fs['readFileSync'](_0x18fb78(0x9a),'UTF8');else envKey&&(licKey=envKey);if(licKey!=''){var licKeySplit=licKey[_0x18fb78(0xab)](';'),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[_0x18fb78(0xbf)];i++,k++){k===pkey[_0x18fb78(0xbf)]&&(k=0x0);var c=decodeStr['charCodeAt'](i);buffr+=String[_0x18fb78(0xa6)](c^pkey[k]>>0x10);}decryptedStr=buffr[_0x18fb78(0xab)](';');if(decryptedStr[_0x18fb78(0xbf)]>0x3){resultArray[_0x18fb78(0xa2)]({'currentPlatform':decryptedStr[0x0],'version':decryptedStr[0x1],'expiryDate':decryptedStr[0x2]});var licData=resultArray[0x0]['currentPlatform']+';'+resultArray[0x0]['version']+';'+resultArray[0x0][_0x18fb78(0xc2)]+';',encryptedKey=getEncryptedKey(licData),jsFiles=[_0x18fb78(0xa8),'./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es2015.js',_0x18fb78(0xbc),_0x18fb78(0x99)];for(var n=0x0;n<jsFiles['length'];n++){if(fs[_0x18fb78(0xa0)](jsFiles[n])){var content=fs[_0x18fb78(0xb0)](jsFiles[n],_0x18fb78(0xad)),regex=jsFiles[n]===_0x18fb78(0x99)?/npxKeyReplace[^"]*/:/npxKeyReplace[^']*/;content=content[_0x18fb78(0xba)](regex,_0x18fb78(0xb5)+encryptedKey),fs[_0x18fb78(0x9c)](jsFiles[n],content);}}console['log']('(INFO)\x20Syncfusion\x20License\x20imported\x20successfully.');}else console[_0x18fb78(0xc0)](_0x18fb78(0xb4));}}else console[_0x18fb78(0xc0)](_0x18fb78(0xb8));}else console[_0x18fb78(0xc0)](_0x18fb78(0xb9));function getEncryptedKey(_0x2e9859){var _0x55b3d0=_0x18fb78,_0x2c6464='',_0x479c8d=[],_0x49a054=[],_0x42ad77=new Array();for(var _0x346caf=0x0;_0x346caf<_0x2e9859[_0x55b3d0(0xbf)];_0x346caf++){_0x479c8d[_0x346caf]=_0x2e9859[_0x346caf][_0x55b3d0(0xa9)](0x0);}for(var _0x57b88e=0x0,_0x54b464=0x41;_0x57b88e<0x1a;_0x57b88e++,_0x54b464++){_0x49a054[_0x57b88e]=String['fromCharCode'](_0x54b464);}var _0x16767a=Math[_0x55b3d0(0x9d)](Math[_0x55b3d0(0x9f)]()*(_0x49a054[_0x55b3d0(0xbf)]-0x1-0x0+0x1)+0x0),_0x8681ef=_0x49a054[_0x16767a]['charCodeAt'](0x0);for(var _0x346caf=0x0;_0x346caf<_0x2e9859[_0x55b3d0(0xbf)];_0x346caf++){_0x42ad77[_0x346caf]=parseInt(_0x479c8d[_0x346caf])+parseInt(_0x49a054[_0x16767a][_0x55b3d0(0xa9)](0x0));}_0x42ad77[_0x479c8d[_0x55b3d0(0xbf)]]=_0x8681ef;for(var _0x346caf=0x0;_0x346caf<_0x42ad77[_0x55b3d0(0xbf)];_0x346caf++){_0x2c6464+=String[_0x55b3d0(0xa6)](_0x42ad77[_0x346caf]);}return Buffer['from'](_0x2c6464,_0x55b3d0(0xc1))['toString']('base64');}function getDecryptedData(_0xfe6925){var _0x47bb6a=_0x18fb78;try{return Buffer[_0x47bb6a(0xbe)](_0xfe6925,_0x47bb6a(0xac))[_0x47bb6a(0xbd)](_0x47bb6a(0xa5));}catch(_0x4a11e9){return'';}};function _0x535c(){var _0x1cafac=['from','length','log','ascii','expiryDate','6230ECXGZH','./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js','./syncfusion-license.txt','5kUMlJg','writeFileSync','floor','33432aPyRDy','random','existsSync','activate','push','env','413vrijZq','binary','fromCharCode','24842CvuQPt','./node_modules/@syncfusion/ej2-base/src/validate-lic.js','charCodeAt','exit','split','base64','UTF8','2093733XJQKjc','13938kEcOAC','readFileSync','33632maitoZ','SYNCFUSION_LICENSE','argv','(Error)\x20License\x20key\x20is\x20not\x20valid.','npxKeyReplace','222912PTgWfF','143yJswyL','Please\x20add\x20the\x20syncfusion-license.txt\x20file\x20or\x20set\x20environment\x20variable\x20SYNCFUSION_LICENSE','Supported\x20command:\x20npx\x20syncfusion-license\x20activate','replace','6ahYmOH','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es5.js','toString'];_0x535c=function(){return _0x1cafac;};return _0x535c();}process[_0x18fb78(0xaa)](0x0);

@@ -5,2 +5,4 @@ # Changelog

## 20.4.38 (2022-12-21)
### Common

@@ -7,0 +9,0 @@

/*!
* filename: index.d.ts
* version : 20.4.38
* version : 20.4.40
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.

@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license.

{
"_from": "@syncfusion/ej2-base@*",
"_id": "@syncfusion/ej2-base@18.73.0",
"_id": "@syncfusion/ej2-base@20.4.38",
"_inBundle": false,
"_integrity": "sha512-aTk3o950xviCAw2lrndoB4wwjKVY6OmqqcFuXNfSpysIe4oyyqOIEEfmQpKO20RKgUKXtuNxbFM3J4XQBXr3wg==",
"_integrity": "sha512-Yn+cPKDnIodXDSfHWnci1YZyGkSVOWtVmZ+zjQIep1bUsJsHrVmn12KLNf8ywC+R+kX8vTfdG+jBXdfPEKawuQ==",
"_location": "/@syncfusion/ej2-base",

@@ -36,3 +36,2 @@ "_phantomChildren": {},

"/@syncfusion/ej2-angular-image-editor",
"/@syncfusion/ej2-angular-inplace-editor",
"/@syncfusion/ej2-angular-inputs",

@@ -46,13 +45,6 @@ "/@syncfusion/ej2-angular-kanban",

"/@syncfusion/ej2-angular-notifications",
"/@syncfusion/ej2-angular-pdfviewer",
"/@syncfusion/ej2-angular-pivotview",
"/@syncfusion/ej2-angular-popups",
"/@syncfusion/ej2-angular-progressbar",
"/@syncfusion/ej2-angular-querybuilder",
"/@syncfusion/ej2-angular-richtexteditor",
"/@syncfusion/ej2-angular-schedule",
"/@syncfusion/ej2-angular-splitbuttons",
"/@syncfusion/ej2-angular-spreadsheet",
"/@syncfusion/ej2-angular-treegrid",
"/@syncfusion/ej2-angular-treemap",
"/@syncfusion/ej2-barcode-generator",

@@ -102,3 +94,2 @@ "/@syncfusion/ej2-buttons",

"/@syncfusion/ej2-react-image-editor",
"/@syncfusion/ej2-react-inplace-editor",
"/@syncfusion/ej2-react-inputs",

@@ -112,13 +103,6 @@ "/@syncfusion/ej2-react-kanban",

"/@syncfusion/ej2-react-notifications",
"/@syncfusion/ej2-react-pdfviewer",
"/@syncfusion/ej2-react-pivotview",
"/@syncfusion/ej2-react-popups",
"/@syncfusion/ej2-react-progressbar",
"/@syncfusion/ej2-react-querybuilder",
"/@syncfusion/ej2-react-richtexteditor",
"/@syncfusion/ej2-react-schedule",
"/@syncfusion/ej2-react-splitbuttons",
"/@syncfusion/ej2-react-spreadsheet",
"/@syncfusion/ej2-react-treegrid",
"/@syncfusion/ej2-react-treemap",
"/@syncfusion/ej2-richtexteditor",

@@ -166,4 +150,4 @@ "/@syncfusion/ej2-schedule",

],
"_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-base/-/ej2-base-18.73.0.tgz",
"_shasum": "3dc248bc8d8c7fdfdeeeff4d9e933618f40b2d23",
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-20.4.38.tgz",
"_shasum": "0d8b78b913c6a527c982dd43e7f91f67fd1de8e1",
"_spec": "@syncfusion/ej2-base@*",

@@ -182,3 +166,3 @@ "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",

"dependencies": {
"@syncfusion/ej2-icons": "~20.4.38"
"@syncfusion/ej2-icons": "~20.4.40"
},

@@ -224,4 +208,4 @@ "deprecated": false,

"typings": "index.d.ts",
"version": "20.4.38",
"version": "20.4.40",
"sideEffects": true
}

@@ -772,8 +772,2 @@ var __extends = (this && this.__extends) || (function () {

}
if (document.scrollingElement) {
var isVerticalScroll = document.scrollingElement.scrollHeight > 0 && document.scrollingElement.scrollHeight > document.scrollingElement.clientHeight && document.scrollingElement.scrollTop > 0;
var isHorrizontalScroll = document.scrollingElement.scrollWidth > 0 && document.scrollingElement.scrollWidth > document.scrollingElement.clientWidth && document.scrollingElement.scrollLeft > 0;
pageX = isHorrizontalScroll ? pageX - document.scrollingElement.scrollLeft : pageX;
pageY = isVerticalScroll ? pageY - document.scrollingElement.scrollTop : pageY;
}
return {

@@ -780,0 +774,0 @@ left: pageX - (this.margin.left + this.cursorAt.left),

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 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 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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc