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.40 to 20.4.42

2

bin/syncfusion-license.js
#! /usr/bin/env node
'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);
'use strict';var _0x58b776=_0x23d9;(function(_0x3e1d35,_0x3f5ad8){var _0x2c46a3=_0x23d9,_0xf78ee2=_0x3e1d35();while(!![]){try{var _0x1efd9c=-parseInt(_0x2c46a3(0x8f))/0x1+-parseInt(_0x2c46a3(0x87))/0x2+-parseInt(_0x2c46a3(0x88))/0x3+-parseInt(_0x2c46a3(0x85))/0x4+-parseInt(_0x2c46a3(0x90))/0x5+parseInt(_0x2c46a3(0x8d))/0x6+parseInt(_0x2c46a3(0x82))/0x7*(parseInt(_0x2c46a3(0x8a))/0x8);if(_0x1efd9c===_0x3f5ad8)break;else _0xf78ee2['push'](_0xf78ee2['shift']());}catch(_0x1b65ae){_0xf78ee2['push'](_0xf78ee2['shift']());}}}(_0x1167,0x855b1));var fs=global['fs']=global['fs']||require('fs');const args=process['argv'][_0x58b776(0x86)](0x2),envKey=process[_0x58b776(0x98)]['SYNCFUSION_LICENSE'];if(args==_0x58b776(0x99)){var licKey='';if(fs[_0x58b776(0x83)](_0x58b776(0x9a)))licKey=fs[_0x58b776(0x7d)]('./syncfusion-license.txt',_0x58b776(0x8e));else envKey&&(licKey=envKey);if(licKey!=''){var licKeySplit=licKey[_0x58b776(0x7a)](';'),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[_0x58b776(0x79)];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['length']&&(k=0x0);var c=decodeStr[_0x58b776(0x7f)](i);buffr+=String[_0x58b776(0x7e)](c^pkey[k]>>0x10);}decryptedStr=buffr[_0x58b776(0x7a)](';');if(decryptedStr[_0x58b776(0x79)]>0x3){resultArray['push']({'currentPlatform':decryptedStr[0x0],'version':decryptedStr[0x1],'expiryDate':decryptedStr[0x2]});var licData=resultArray[0x0][_0x58b776(0x93)]+';'+resultArray[0x0][_0x58b776(0x84)]+';'+resultArray[0x0][_0x58b776(0x94)]+';',encryptedKey=getEncryptedKey(licData),jsFiles=[_0x58b776(0x8c),'./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es2015.js',_0x58b776(0x92),_0x58b776(0x89)];for(var n=0x0;n<jsFiles[_0x58b776(0x79)];n++){if(fs[_0x58b776(0x83)](jsFiles[n])){var content=fs[_0x58b776(0x7d)](jsFiles[n],_0x58b776(0x8e)),regex=jsFiles[n]===_0x58b776(0x89)?/npxKeyReplace[^"]*/:/npxKeyReplace[^']*/;content=content['replace'](regex,_0x58b776(0x8b)+encryptedKey),fs['writeFileSync'](jsFiles[n],content);}}console[_0x58b776(0x7c)]('(INFO)\x20Syncfusion\x20License\x20imported\x20successfully.');}else console[_0x58b776(0x7c)]('(Error)\x20License\x20key\x20is\x20not\x20valid.');}}else console[_0x58b776(0x7c)](_0x58b776(0x77));}else console[_0x58b776(0x7c)](_0x58b776(0x81));function getEncryptedKey(_0x5ec99b){var _0x2398a0=_0x58b776,_0x1b4c26='',_0x304324=[],_0x414e9c=[],_0x25a2cd=new Array();for(var _0x4e3af6=0x0;_0x4e3af6<_0x5ec99b[_0x2398a0(0x79)];_0x4e3af6++){_0x304324[_0x4e3af6]=_0x5ec99b[_0x4e3af6][_0x2398a0(0x7f)](0x0);}for(var _0xfe2582=0x0,_0x420cd4=0x41;_0xfe2582<0x1a;_0xfe2582++,_0x420cd4++){_0x414e9c[_0xfe2582]=String[_0x2398a0(0x7e)](_0x420cd4);}var _0xc3dce5=Math[_0x2398a0(0x80)](Math[_0x2398a0(0x7b)]()*(_0x414e9c[_0x2398a0(0x79)]-0x1-0x0+0x1)+0x0),_0x323e72=_0x414e9c[_0xc3dce5][_0x2398a0(0x7f)](0x0);for(var _0x4e3af6=0x0;_0x4e3af6<_0x5ec99b[_0x2398a0(0x79)];_0x4e3af6++){_0x25a2cd[_0x4e3af6]=parseInt(_0x304324[_0x4e3af6])+parseInt(_0x414e9c[_0xc3dce5][_0x2398a0(0x7f)](0x0));}_0x25a2cd[_0x304324[_0x2398a0(0x79)]]=_0x323e72;for(var _0x4e3af6=0x0;_0x4e3af6<_0x25a2cd[_0x2398a0(0x79)];_0x4e3af6++){_0x1b4c26+=String[_0x2398a0(0x7e)](_0x25a2cd[_0x4e3af6]);}return Buffer[_0x2398a0(0x97)](_0x1b4c26,_0x2398a0(0x91))[_0x2398a0(0x78)](_0x2398a0(0x95));}function getDecryptedData(_0x226889){var _0x556b82=_0x58b776;try{return Buffer[_0x556b82(0x97)](_0x226889,_0x556b82(0x95))[_0x556b82(0x78)](_0x556b82(0x96));}catch(_0x2a7717){return'';}};function _0x1167(){var _0x3d7fd1=['activate','./syncfusion-license.txt','exit','Please\x20add\x20the\x20syncfusion-license.txt\x20file\x20or\x20set\x20environment\x20variable\x20SYNCFUSION_LICENSE','toString','length','split','random','log','readFileSync','fromCharCode','charCodeAt','floor','Supported\x20command:\x20npx\x20syncfusion-license\x20activate','7tJddUA','existsSync','version','1110732MIvDyk','slice','1020696HyCrsj','1114599liDaPd','./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js','21923816gBRycb','npxKeyReplace','./node_modules/@syncfusion/ej2-base/src/validate-lic.js','3644718oOMFfX','UTF8','1052450AoemeT','2948455JUfAOm','ascii','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es5.js','currentPlatform','expiryDate','base64','binary','from','env'];_0x1167=function(){return _0x3d7fd1;};return _0x1167();}function _0x23d9(_0x4792b5,_0x1dfe04){var _0x116741=_0x1167();return _0x23d9=function(_0x23d938,_0x5ef97e){_0x23d938=_0x23d938-0x77;var _0x5c6a32=_0x116741[_0x23d938];return _0x5c6a32;},_0x23d9(_0x4792b5,_0x1dfe04);}process[_0x58b776(0x9b)](0x0);

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

### Common
#### Bug Fixes
- `I427250` - Resolved window undefined in server side rendering with React next JS.
## 20.4.38 (2022-12-21)

@@ -7,0 +13,0 @@

/*!
* filename: index.d.ts
* version : 20.4.40
* version : 20.4.42
* 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@20.4.38",
"_id": "@syncfusion/ej2-base@20.4.40",
"_inBundle": false,
"_integrity": "sha512-Yn+cPKDnIodXDSfHWnci1YZyGkSVOWtVmZ+zjQIep1bUsJsHrVmn12KLNf8ywC+R+kX8vTfdG+jBXdfPEKawuQ==",
"_integrity": "sha512-TKMjeY0MemXqNL0djtbWwlwq5P0K7Qve11YOXkJG7/cVQ9qciEnGdmnNcCeomheffeeUbBN7NRnOAS+mFfHBXQ==",
"_location": "/@syncfusion/ej2-base",

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

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

@@ -45,6 +46,13 @@ "/@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",

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

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

@@ -103,6 +112,13 @@ "/@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",

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

],
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-20.4.38.tgz",
"_shasum": "0d8b78b913c6a527c982dd43e7f91f67fd1de8e1",
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-20.4.40.tgz",
"_shasum": "48bcc3755140048000ff65b7f17ba48225d8116f",
"_spec": "@syncfusion/ej2-base@*",

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

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

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

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

@@ -99,3 +99,3 @@ # ej2-base

© Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
© Copyright 2023 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
The Syncfusion Essential Studio license and copyright applies to this distribution.

@@ -124,4 +124,4 @@ import { isUndefined } from './util';

Browser.getValue = function (key, regX) {
var browserDetails = window.browserDetails;
if (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1 && Browser.isTouch === true) {
var browserDetails = typeof window !== 'undefined' ? window.browserDetails : {};
if (typeof navigator !== 'undefined' && navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1 && Browser.isTouch === true) {
browserDetails['isIos'] = true;

@@ -128,0 +128,0 @@ browserDetails['isDevice'] = true;

@@ -81,3 +81,3 @@ var __extends = (this && this.__extends) || (function () {

// Based on the considered control list we have count the instance
if (!validateLicense()) {
if (typeof window !== "undefined" && typeof document !== "undefined" && !validateLicense()) {
if (componentList.indexOf(_this.getModuleName()) !== -1) {

@@ -84,0 +84,0 @@ instancecount = instancecount + 1;

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 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