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 23.1.40 to 23.1.41

README.md

2

bin/syncfusion-license.js
#! /usr/bin/env node
'use strict';var _0x4d6277=_0x3c4f;(function(_0x574d04,_0x5c2719){var _0x32a6d6=_0x3c4f,_0x53c47d=_0x574d04();while(!![]){try{var _0x35ce9a=-parseInt(_0x32a6d6(0x1a2))/0x1*(parseInt(_0x32a6d6(0x195))/0x2)+-parseInt(_0x32a6d6(0x1a5))/0x3*(parseInt(_0x32a6d6(0x1a0))/0x4)+-parseInt(_0x32a6d6(0x192))/0x5+parseInt(_0x32a6d6(0x1b3))/0x6*(-parseInt(_0x32a6d6(0x1ad))/0x7)+-parseInt(_0x32a6d6(0x1b4))/0x8*(parseInt(_0x32a6d6(0x1a1))/0x9)+-parseInt(_0x32a6d6(0x1b5))/0xa*(parseInt(_0x32a6d6(0x19f))/0xb)+parseInt(_0x32a6d6(0x1bc))/0xc*(parseInt(_0x32a6d6(0x1a8))/0xd);if(_0x35ce9a===_0x5c2719)break;else _0x53c47d['push'](_0x53c47d['shift']());}catch(_0x54dc1f){_0x53c47d['push'](_0x53c47d['shift']());}}}(_0x2765,0x56ca3));var fs=global['fs']=global['fs']||require('fs');function _0x3c4f(_0x382273,_0x90df1a){var _0x27650c=_0x2765();return _0x3c4f=function(_0x3c4f25,_0x4003cc){_0x3c4f25=_0x3c4f25-0x192;var _0x5d4fee=_0x27650c[_0x3c4f25];return _0x5d4fee;},_0x3c4f(_0x382273,_0x90df1a);}const args=process[_0x4d6277(0x19d)][_0x4d6277(0x1b2)](0x2),envKey=process['env'][_0x4d6277(0x1a7)];if(args=='activate'){var licKey='';if(fs['existsSync'](_0x4d6277(0x198)))licKey=fs['readFileSync'](_0x4d6277(0x198),'UTF8');else envKey&&(licKey=envKey);if(licKey!=''){var licKeySplit=licKey[_0x4d6277(0x199)](';'),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[_0x4d6277(0x1ac)];i++){var lKey=licKeySplit[i],decodeStr=getDecryptedData(lKey);if(!decodeStr)continue;var k=0x0,buffr='';for(var i=0x0;i<decodeStr[_0x4d6277(0x1ac)];i++,k++){k===pkey[_0x4d6277(0x1ac)]&&(k=0x0);var c=decodeStr['charCodeAt'](i);buffr+=String[_0x4d6277(0x1b0)](c^pkey[k]>>0x10);}decryptedStr=buffr[_0x4d6277(0x199)](';');if(decryptedStr[_0x4d6277(0x1ac)]>0x3){resultArray['push']({'currentPlatform':decryptedStr[0x0],'version':decryptedStr[0x1],'expiryDate':decryptedStr[0x2]});var licData=resultArray[0x0][_0x4d6277(0x1ae)]+';'+resultArray[0x0][_0x4d6277(0x1b6)]+';'+resultArray[0x0]['expiryDate']+';',encryptedKey=getEncryptedKey(licData),jsFiles=[_0x4d6277(0x19a),_0x4d6277(0x1bb),_0x4d6277(0x1b9),'./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js'];for(var n=0x0;n<jsFiles[_0x4d6277(0x1ac)];n++){if(fs[_0x4d6277(0x1a4)](jsFiles[n])){var content=fs[_0x4d6277(0x1af)](jsFiles[n],_0x4d6277(0x19e)),regex=jsFiles[n]===_0x4d6277(0x1b8)?/npxKeyReplace[^"]*/:/npxKeyReplace[^']*/;content=content[_0x4d6277(0x1a3)](regex,_0x4d6277(0x1aa)+encryptedKey),fs[_0x4d6277(0x19b)](jsFiles[n],content);}}console[_0x4d6277(0x1b7)](_0x4d6277(0x19c));}else console[_0x4d6277(0x1b7)](_0x4d6277(0x197));}}else console[_0x4d6277(0x1b7)](_0x4d6277(0x1a9));}else console['log'](_0x4d6277(0x1a6));function getEncryptedKey(_0xf7bfb5){var _0x81dcda=_0x4d6277,_0xb952c5='',_0x40b753=[],_0x36722b=[],_0x2ad8d6=new Array();for(var _0x305e91=0x0;_0x305e91<_0xf7bfb5[_0x81dcda(0x1ac)];_0x305e91++){_0x40b753[_0x305e91]=_0xf7bfb5[_0x305e91][_0x81dcda(0x1ab)](0x0);}for(var _0x1119e6=0x0,_0x43a82e=0x41;_0x1119e6<0x1a;_0x1119e6++,_0x43a82e++){_0x36722b[_0x1119e6]=String[_0x81dcda(0x1b0)](_0x43a82e);}var _0x4a6bf6=Math[_0x81dcda(0x194)](Math['random']()*(_0x36722b['length']-0x1-0x0+0x1)+0x0),_0x5379e1=_0x36722b[_0x4a6bf6][_0x81dcda(0x1ab)](0x0);for(var _0x305e91=0x0;_0x305e91<_0xf7bfb5[_0x81dcda(0x1ac)];_0x305e91++){_0x2ad8d6[_0x305e91]=parseInt(_0x40b753[_0x305e91])+parseInt(_0x36722b[_0x4a6bf6][_0x81dcda(0x1ab)](0x0));}_0x2ad8d6[_0x40b753[_0x81dcda(0x1ac)]]=_0x5379e1;for(var _0x305e91=0x0;_0x305e91<_0x2ad8d6[_0x81dcda(0x1ac)];_0x305e91++){_0xb952c5+=String[_0x81dcda(0x1b0)](_0x2ad8d6[_0x305e91]);}return Buffer[_0x81dcda(0x1b1)](_0xb952c5,'ascii')[_0x81dcda(0x193)](_0x81dcda(0x196));}function getDecryptedData(_0x245b59){var _0x509260=_0x4d6277;try{return Buffer['from'](_0x245b59,_0x509260(0x196))[_0x509260(0x193)]('binary');}catch(_0x1a65bd){return'';}};function _0x2765(){var _0x27e935=['78FxEsNu','replace','existsSync','1252956agXlrS','Supported\x20command:\x20npx\x20syncfusion-license\x20activate','SYNCFUSION_LICENSE','13vLIXNN','Please\x20add\x20the\x20syncfusion-license.txt\x20file\x20or\x20set\x20environment\x20variable\x20SYNCFUSION_LICENSE','npxKeyReplace','charCodeAt','length','538125AOmXrs','currentPlatform','readFileSync','fromCharCode','from','slice','42dTRmeG','536BKJxqb','30hjXbXM','version','log','./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es5.js','exit','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es2015.js','35889060SKClNj','2097535ThbMiX','toString','floor','11848tfXSJw','base64','(Error)\x20License\x20key\x20is\x20not\x20valid.','./syncfusion-license.txt','split','./node_modules/@syncfusion/ej2-base/src/validate-lic.js','writeFileSync','(INFO)\x20Syncfusion\x20License\x20imported\x20successfully.','argv','UTF8','1433729cMyUov','4hVxyBO','54657FxhGUa'];_0x2765=function(){return _0x27e935;};return _0x2765();}process[_0x4d6277(0x1ba)](0x0);
'use strict';var _0x1bd6fe=_0x45f7;(function(_0x3579b5,_0x4a14c8){var _0x9db74b=_0x45f7,_0x2d7761=_0x3579b5();while(!![]){try{var _0x3785af=-parseInt(_0x9db74b(0x163))/0x1*(parseInt(_0x9db74b(0x13c))/0x2)+parseInt(_0x9db74b(0x14a))/0x3*(-parseInt(_0x9db74b(0x14b))/0x4)+parseInt(_0x9db74b(0x14c))/0x5*(-parseInt(_0x9db74b(0x145))/0x6)+parseInt(_0x9db74b(0x14d))/0x7+-parseInt(_0x9db74b(0x155))/0x8*(-parseInt(_0x9db74b(0x15f))/0x9)+-parseInt(_0x9db74b(0x140))/0xa+parseInt(_0x9db74b(0x154))/0xb*(parseInt(_0x9db74b(0x153))/0xc);if(_0x3785af===_0x4a14c8)break;else _0x2d7761['push'](_0x2d7761['shift']());}catch(_0x4fc6db){_0x2d7761['push'](_0x2d7761['shift']());}}}(_0x49f9,0xe9447));var fs=global['fs']=global['fs']||require('fs');function _0x45f7(_0x198ed4,_0x11c3b3){var _0x49f92f=_0x49f9();return _0x45f7=function(_0x45f710,_0x1df1a0){_0x45f710=_0x45f710-0x13a;var _0x47923a=_0x49f92f[_0x45f710];return _0x47923a;},_0x45f7(_0x198ed4,_0x11c3b3);}const args=process[_0x1bd6fe(0x165)][_0x1bd6fe(0x15b)](0x2),envKey=process[_0x1bd6fe(0x13f)][_0x1bd6fe(0x13d)];if(args==_0x1bd6fe(0x161)){var licKey='';if(fs[_0x1bd6fe(0x15c)](_0x1bd6fe(0x13e)))licKey=fs[_0x1bd6fe(0x162)](_0x1bd6fe(0x13e),_0x1bd6fe(0x158));else envKey&&(licKey=envKey);if(licKey!=''){var licKeySplit=licKey[_0x1bd6fe(0x159)](';'),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[_0x1bd6fe(0x151)]&&(k=0x0);var c=decodeStr[_0x1bd6fe(0x160)](i);buffr+=String[_0x1bd6fe(0x164)](c^pkey[k]>>0x10);}decryptedStr=buffr[_0x1bd6fe(0x159)](';');if(decryptedStr[_0x1bd6fe(0x151)]>0x3){resultArray[_0x1bd6fe(0x146)]({'currentPlatform':decryptedStr[0x0],'version':decryptedStr[0x1],'expiryDate':decryptedStr[0x2]});var licData=resultArray[0x0][_0x1bd6fe(0x152)]+';'+resultArray[0x0][_0x1bd6fe(0x167)]+';'+resultArray[0x0][_0x1bd6fe(0x143)]+';',encryptedKey=getEncryptedKey(licData),jsFiles=[_0x1bd6fe(0x14f),_0x1bd6fe(0x13a),'./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es5.js',_0x1bd6fe(0x144)];for(var n=0x0;n<jsFiles['length'];n++){if(fs[_0x1bd6fe(0x15c)](jsFiles[n])){var content=fs[_0x1bd6fe(0x162)](jsFiles[n],_0x1bd6fe(0x158)),regex=jsFiles[n]==='./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js'?/npxKeyReplace[^"]*/:/npxKeyReplace[^']*/;content=content['replace'](regex,_0x1bd6fe(0x149)+encryptedKey),fs[_0x1bd6fe(0x168)](jsFiles[n],content);}}console[_0x1bd6fe(0x156)](_0x1bd6fe(0x13b));}else console[_0x1bd6fe(0x156)](_0x1bd6fe(0x148));}}else console[_0x1bd6fe(0x156)](_0x1bd6fe(0x166));}else console[_0x1bd6fe(0x156)](_0x1bd6fe(0x157));function getEncryptedKey(_0x1bbdae){var _0x42e5d5=_0x1bd6fe,_0x403f6f='',_0x59f722=[],_0x455e7c=[],_0x472d9f=new Array();for(var _0xcd9262=0x0;_0xcd9262<_0x1bbdae[_0x42e5d5(0x151)];_0xcd9262++){_0x59f722[_0xcd9262]=_0x1bbdae[_0xcd9262][_0x42e5d5(0x160)](0x0);}for(var _0x133486=0x0,_0x50cc63=0x41;_0x133486<0x1a;_0x133486++,_0x50cc63++){_0x455e7c[_0x133486]=String[_0x42e5d5(0x164)](_0x50cc63);}var _0x24d8b2=Math[_0x42e5d5(0x141)](Math[_0x42e5d5(0x15e)]()*(_0x455e7c[_0x42e5d5(0x151)]-0x1-0x0+0x1)+0x0),_0x2453c5=_0x455e7c[_0x24d8b2][_0x42e5d5(0x160)](0x0);for(var _0xcd9262=0x0;_0xcd9262<_0x1bbdae['length'];_0xcd9262++){_0x472d9f[_0xcd9262]=parseInt(_0x59f722[_0xcd9262])+parseInt(_0x455e7c[_0x24d8b2]['charCodeAt'](0x0));}_0x472d9f[_0x59f722[_0x42e5d5(0x151)]]=_0x2453c5;for(var _0xcd9262=0x0;_0xcd9262<_0x472d9f[_0x42e5d5(0x151)];_0xcd9262++){_0x403f6f+=String[_0x42e5d5(0x164)](_0x472d9f[_0xcd9262]);}return Buffer['from'](_0x403f6f,_0x42e5d5(0x150))[_0x42e5d5(0x147)](_0x42e5d5(0x15d));}function getDecryptedData(_0x3c0b99){var _0x23458a=_0x1bd6fe;try{return Buffer[_0x23458a(0x142)](_0x3c0b99,_0x23458a(0x15d))[_0x23458a(0x147)](_0x23458a(0x15a));}catch(_0x269b2a){return'';}};function _0x49f9(){var _0x561e82=['charCodeAt','activate','readFileSync','484234VpeQGC','fromCharCode','argv','Please\x20add\x20the\x20syncfusion-license.txt\x20file\x20or\x20set\x20environment\x20variable\x20SYNCFUSION_LICENSE','version','writeFileSync','./node_modules/@syncfusion/ej2-base/dist/es6/ej2-base.es2015.js','(INFO)\x20Syncfusion\x20License\x20imported\x20successfully.','2xpMolH','SYNCFUSION_LICENSE','./syncfusion-license.txt','env','10866600ZLpxhI','floor','from','expiryDate','./node_modules/@syncfusion/ej2-base/dist/ej2-base.umd.min.js','6oVSBlD','push','toString','(Error)\x20License\x20key\x20is\x20not\x20valid.','npxKeyReplace','12570jCerGn','1784rocSeI','1939165OVwFKk','3189249KCvIvR','exit','./node_modules/@syncfusion/ej2-base/src/validate-lic.js','ascii','length','currentPlatform','12zrlBjI','33696058eMsPFH','8392tgxSCt','log','Supported\x20command:\x20npx\x20syncfusion-license\x20activate','UTF8','split','binary','slice','existsSync','base64','random','10845QWphox'];_0x49f9=function(){return _0x561e82;};return _0x49f9();}process[_0x1bd6fe(0x14e)](0x0);

@@ -9,3 +9,6 @@ # Changelog

- `#I495294` - The issue with content sanitization in the tooltip component has been resolved.
- The issue with the "Tooltip component displays empty string when setting content as '${}'" has been resolved.
- `#I495294` - The issue with content sanitization in the tooltip component has been resolved
- `#I504425` - Issue with date parser designator conversion has been fixed.
- `#I503487` - The issue with the "action failure event argument is not displayed with full error details" has been resolved.

@@ -12,0 +15,0 @@ ## 23.1.38 (2023-09-26)

@@ -0,1 +1,10 @@

/*!
* filename: index.d.ts
* version : 23.1.41
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
* Use of this code is subject to the terms of our license.
* A copy of the current license can be obtained at any time by e-mailing
* licensing@syncfusion.com. Any infringement will be prosecuted under
* applicable laws.
*/
import * as _base from '@syncfusion/ej2-base';

@@ -2,0 +11,0 @@

{
"_from": "@syncfusion/ej2-base@*",
"_id": "@syncfusion/ej2-base@23.1.36",
"_inBundle": false,
"_integrity": "sha512-ur5hus1QokU6hi3FLOhO/jCvvQkYWy52M7yhCsaMR2mMFQ+0hVqUPjJ5kdk6c7Gy/b5LBzmdpw6PL58KL1nHUg==",
"_location": "/@syncfusion/ej2-base",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "@syncfusion/ej2-base@*",
"name": "@syncfusion/ej2-base",
"escapedName": "@syncfusion%2fej2-base",
"scope": "@syncfusion",
"rawSpec": "*",
"saveSpec": null,
"fetchSpec": "*"
},
"_requiredBy": [
"/",
"/@syncfusion/ej2",
"/@syncfusion/ej2-angular-base",
"/@syncfusion/ej2-angular-calendars",
"/@syncfusion/ej2-angular-charts",
"/@syncfusion/ej2-angular-circulargauge",
"/@syncfusion/ej2-angular-diagrams",
"/@syncfusion/ej2-angular-documenteditor",
"/@syncfusion/ej2-angular-dropdowns",
"/@syncfusion/ej2-angular-filemanager",
"/@syncfusion/ej2-angular-gantt",
"/@syncfusion/ej2-angular-grids",
"/@syncfusion/ej2-angular-image-editor",
"/@syncfusion/ej2-angular-inputs",
"/@syncfusion/ej2-angular-maps",
"/@syncfusion/ej2-angular-pdfviewer",
"/@syncfusion/ej2-angular-pivotview",
"/@syncfusion/ej2-angular-popups",
"/@syncfusion/ej2-angular-progressbar",
"/@syncfusion/ej2-angular-querybuilder",
"/@syncfusion/ej2-angular-ribbon",
"/@syncfusion/ej2-angular-schedule",
"/@syncfusion/ej2-angular-spreadsheet",
"/@syncfusion/ej2-barcode-generator",
"/@syncfusion/ej2-buttons",
"/@syncfusion/ej2-calendars",
"/@syncfusion/ej2-charts",
"/@syncfusion/ej2-circulargauge",
"/@syncfusion/ej2-data",
"/@syncfusion/ej2-diagrams",
"/@syncfusion/ej2-documenteditor",
"/@syncfusion/ej2-drawings",
"/@syncfusion/ej2-dropdowns",
"/@syncfusion/ej2-excel-export",
"/@syncfusion/ej2-filemanager",
"/@syncfusion/ej2-gantt",
"/@syncfusion/ej2-grids",
"/@syncfusion/ej2-heatmap",
"/@syncfusion/ej2-image-editor",
"/@syncfusion/ej2-inplace-editor",
"/@syncfusion/ej2-inputs",
"/@syncfusion/ej2-kanban",
"/@syncfusion/ej2-layouts",
"/@syncfusion/ej2-lineargauge",
"/@syncfusion/ej2-lists",
"/@syncfusion/ej2-maps",
"/@syncfusion/ej2-navigations",
"/@syncfusion/ej2-notifications",
"/@syncfusion/ej2-pdf",
"/@syncfusion/ej2-pdfviewer",
"/@syncfusion/ej2-pivotview",
"/@syncfusion/ej2-popups",
"/@syncfusion/ej2-progressbar",
"/@syncfusion/ej2-querybuilder",
"/@syncfusion/ej2-react-base",
"/@syncfusion/ej2-react-calendars",
"/@syncfusion/ej2-react-charts",
"/@syncfusion/ej2-react-circulargauge",
"/@syncfusion/ej2-react-diagrams",
"/@syncfusion/ej2-react-documenteditor",
"/@syncfusion/ej2-react-dropdowns",
"/@syncfusion/ej2-react-filemanager",
"/@syncfusion/ej2-react-gantt",
"/@syncfusion/ej2-react-grids",
"/@syncfusion/ej2-react-image-editor",
"/@syncfusion/ej2-react-inputs",
"/@syncfusion/ej2-react-maps",
"/@syncfusion/ej2-react-pdfviewer",
"/@syncfusion/ej2-react-pivotview",
"/@syncfusion/ej2-react-popups",
"/@syncfusion/ej2-react-progressbar",
"/@syncfusion/ej2-react-querybuilder",
"/@syncfusion/ej2-react-ribbon",
"/@syncfusion/ej2-react-schedule",
"/@syncfusion/ej2-react-spreadsheet",
"/@syncfusion/ej2-ribbon",
"/@syncfusion/ej2-richtexteditor",
"/@syncfusion/ej2-schedule",
"/@syncfusion/ej2-splitbuttons",
"/@syncfusion/ej2-spreadsheet",
"/@syncfusion/ej2-svg-base",
"/@syncfusion/ej2-treegrid",
"/@syncfusion/ej2-treemap",
"/@syncfusion/ej2-vue-base",
"/@syncfusion/ej2-vue-calendars",
"/@syncfusion/ej2-vue-charts",
"/@syncfusion/ej2-vue-circulargauge",
"/@syncfusion/ej2-vue-diagrams",
"/@syncfusion/ej2-vue-documenteditor",
"/@syncfusion/ej2-vue-dropdowns",
"/@syncfusion/ej2-vue-filemanager",
"/@syncfusion/ej2-vue-gantt",
"/@syncfusion/ej2-vue-grids",
"/@syncfusion/ej2-vue-image-editor",
"/@syncfusion/ej2-vue-inputs",
"/@syncfusion/ej2-vue-maps",
"/@syncfusion/ej2-vue-pdfviewer",
"/@syncfusion/ej2-vue-pivotview",
"/@syncfusion/ej2-vue-popups",
"/@syncfusion/ej2-vue-progressbar",
"/@syncfusion/ej2-vue-querybuilder",
"/@syncfusion/ej2-vue-ribbon",
"/@syncfusion/ej2-vue-schedule",
"/@syncfusion/ej2-vue-spreadsheet"
],
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-23.1.36.tgz",
"_shasum": "2d04974b81487ea7e2e6ba9510111549f49d1958",
"_spec": "@syncfusion/ej2-base@*",
"_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
"author": {
"name": "Syncfusion Inc."
},
"bin": {
"syncfusion-license": "bin/syncfusion-license.js"
},
"bugs": {
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues"
},
"bundleDependencies": false,
"dependencies": {
"@syncfusion/ej2-icons": "~23.1.36"
},
"deprecated": false,
"description": "A common package of Essential JS 2 base libraries, methods and class definitions",
"devDependencies": {},
"es2015": "./dist/es6/ej2-base.es5.js",
"homepage": "https://www.syncfusion.com/javascript-ui-controls",
"keywords": [
"ej2",
"syncfusion",
"ej2-base",
"web-components",
"typescript",
"base",
"common",
"core",
"library",
"ajax",
"animation",
"internationalization",
"drag",
"drop",
"drag-drop",
"template",
"template-engine",
"rtl",
"right-to-left",
"persistence",
"state-persistence",
"theme",
"styles"
],
"license": "SEE LICENSE IN license",
"main": "./dist/ej2-base.umd.min.js",
"module": "./index.js",
"name": "@syncfusion/ej2-base",
"repository": {
"type": "git",
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
},
"typings": "index.d.ts",
"version": "23.1.40",
"sideEffects": true
}
"_from": "@syncfusion/ej2-base@*",
"_id": "@syncfusion/ej2-base@23.1.38",
"_inBundle": false,
"_integrity": "sha512-Ew9FYxzz/3upk/+56r8JXVLuH78GLS6LG6ikBnm1ywYhRYz6LIaYHachox4M9vYq7d6JLT06LgeDuKYDBvwrUA==",
"_location": "/@syncfusion/ej2-base",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "@syncfusion/ej2-base@*",
"name": "@syncfusion/ej2-base",
"escapedName": "@syncfusion%2fej2-base",
"scope": "@syncfusion",
"rawSpec": "*",
"saveSpec": null,
"fetchSpec": "*"
},
"_requiredBy": [
"/",
"/@syncfusion/ej2",
"/@syncfusion/ej2-angular-base",
"/@syncfusion/ej2-angular-buttons",
"/@syncfusion/ej2-angular-calendars",
"/@syncfusion/ej2-angular-charts",
"/@syncfusion/ej2-angular-documenteditor",
"/@syncfusion/ej2-angular-dropdowns",
"/@syncfusion/ej2-angular-gantt",
"/@syncfusion/ej2-angular-grids",
"/@syncfusion/ej2-angular-image-editor",
"/@syncfusion/ej2-angular-inplace-editor",
"/@syncfusion/ej2-angular-navigations",
"/@syncfusion/ej2-angular-pdfviewer",
"/@syncfusion/ej2-angular-pivotview",
"/@syncfusion/ej2-angular-querybuilder",
"/@syncfusion/ej2-angular-ribbon",
"/@syncfusion/ej2-angular-richtexteditor",
"/@syncfusion/ej2-angular-splitbuttons",
"/@syncfusion/ej2-angular-spreadsheet",
"/@syncfusion/ej2-barcode-generator",
"/@syncfusion/ej2-buttons",
"/@syncfusion/ej2-calendars",
"/@syncfusion/ej2-charts",
"/@syncfusion/ej2-circulargauge",
"/@syncfusion/ej2-data",
"/@syncfusion/ej2-diagrams",
"/@syncfusion/ej2-documenteditor",
"/@syncfusion/ej2-drawings",
"/@syncfusion/ej2-dropdowns",
"/@syncfusion/ej2-excel-export",
"/@syncfusion/ej2-filemanager",
"/@syncfusion/ej2-gantt",
"/@syncfusion/ej2-grids",
"/@syncfusion/ej2-heatmap",
"/@syncfusion/ej2-image-editor",
"/@syncfusion/ej2-inplace-editor",
"/@syncfusion/ej2-inputs",
"/@syncfusion/ej2-kanban",
"/@syncfusion/ej2-layouts",
"/@syncfusion/ej2-lineargauge",
"/@syncfusion/ej2-lists",
"/@syncfusion/ej2-maps",
"/@syncfusion/ej2-navigations",
"/@syncfusion/ej2-notifications",
"/@syncfusion/ej2-pdf",
"/@syncfusion/ej2-pdfviewer",
"/@syncfusion/ej2-pivotview",
"/@syncfusion/ej2-popups",
"/@syncfusion/ej2-progressbar",
"/@syncfusion/ej2-querybuilder",
"/@syncfusion/ej2-react-base",
"/@syncfusion/ej2-react-buttons",
"/@syncfusion/ej2-react-calendars",
"/@syncfusion/ej2-react-charts",
"/@syncfusion/ej2-react-documenteditor",
"/@syncfusion/ej2-react-dropdowns",
"/@syncfusion/ej2-react-gantt",
"/@syncfusion/ej2-react-grids",
"/@syncfusion/ej2-react-image-editor",
"/@syncfusion/ej2-react-inplace-editor",
"/@syncfusion/ej2-react-navigations",
"/@syncfusion/ej2-react-pdfviewer",
"/@syncfusion/ej2-react-pivotview",
"/@syncfusion/ej2-react-querybuilder",
"/@syncfusion/ej2-react-ribbon",
"/@syncfusion/ej2-react-richtexteditor",
"/@syncfusion/ej2-react-splitbuttons",
"/@syncfusion/ej2-react-spreadsheet",
"/@syncfusion/ej2-ribbon",
"/@syncfusion/ej2-richtexteditor",
"/@syncfusion/ej2-schedule",
"/@syncfusion/ej2-splitbuttons",
"/@syncfusion/ej2-spreadsheet",
"/@syncfusion/ej2-svg-base",
"/@syncfusion/ej2-treegrid",
"/@syncfusion/ej2-treemap",
"/@syncfusion/ej2-vue-base",
"/@syncfusion/ej2-vue-buttons",
"/@syncfusion/ej2-vue-calendars",
"/@syncfusion/ej2-vue-charts",
"/@syncfusion/ej2-vue-documenteditor",
"/@syncfusion/ej2-vue-dropdowns",
"/@syncfusion/ej2-vue-gantt",
"/@syncfusion/ej2-vue-grids",
"/@syncfusion/ej2-vue-image-editor",
"/@syncfusion/ej2-vue-inplace-editor",
"/@syncfusion/ej2-vue-navigations",
"/@syncfusion/ej2-vue-pdfviewer",
"/@syncfusion/ej2-vue-pivotview",
"/@syncfusion/ej2-vue-querybuilder",
"/@syncfusion/ej2-vue-ribbon",
"/@syncfusion/ej2-vue-richtexteditor",
"/@syncfusion/ej2-vue-splitbuttons",
"/@syncfusion/ej2-vue-spreadsheet"
],
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-23.1.38.tgz",
"_shasum": "afe76a06937dbec7b6fb8197fdae74a5f50cce31",
"_spec": "@syncfusion/ej2-base@*",
"_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
"author": {
"name": "Syncfusion Inc."
},
"bin": {
"syncfusion-license": "bin/syncfusion-license.js"
},
"bugs": {
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues"
},
"bundleDependencies": false,
"dependencies": {
"@syncfusion/ej2-icons": "~23.1.36"
},
"deprecated": false,
"description": "A common package of Essential JS 2 base libraries, methods and class definitions",
"devDependencies": {},
"es2015": "./dist/es6/ej2-base.es5.js",
"homepage": "https://www.syncfusion.com/javascript-ui-controls",
"keywords": [
"ej2",
"syncfusion",
"ej2-base",
"web-components",
"typescript",
"base",
"common",
"core",
"library",
"ajax",
"animation",
"internationalization",
"drag",
"drop",
"drag-drop",
"template",
"template-engine",
"rtl",
"right-to-left",
"persistence",
"state-persistence",
"theme",
"styles"
],
"license": "SEE LICENSE IN license",
"main": "./dist/ej2-base.umd.min.js",
"module": "./index.js",
"name": "@syncfusion/ej2-base",
"repository": {
"type": "git",
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
},
"typings": "index.d.ts",
"version": "23.1.41",
"sideEffects": true
}

@@ -81,3 +81,3 @@ import { isNullOrUndefined as isNOU, isObject, merge } from './util';

if (!response.ok) {
throw new Error(response.statusText);
throw response;
}

@@ -84,0 +84,0 @@ var responseType = 'text';

@@ -344,2 +344,3 @@ import { IntlBase as base } from './intl-base';

? matchString[0].toUpperCase() + matchString.substring(1).toLowerCase() : matchString;
matchString = ((prop !== 'month') && (prop === 'designator') && parseOptions.culture === 'en-GB') ? matchString.toLowerCase() : matchString;
// eslint-disable-next-line

@@ -346,0 +347,0 @@ retOptions[prop] = parseOptions[prop][matchString];

@@ -34,3 +34,2 @@ interface BeforeSanitizeHtml {

static serializeValue(item: BeforeSanitizeHtml, value: string): string;
private static sanitizeQuotes;
private static removeElement;

@@ -37,0 +36,0 @@ private static removeXssTags;

@@ -131,3 +131,3 @@ /**

this.wrapElement = document.createElement('div');
this.wrapElement.innerHTML = this.sanitizeQuotes(value);
this.wrapElement.innerHTML = value;
this.removeXssTags();

@@ -140,43 +140,2 @@ this.removeJsEvents();

};
SanitizeHtmlHelper.sanitizeQuotes = function (input) {
var sanityChars = [96, 39, 34];
var escape = 92;
var sanitizedValue = '';
var quoteCounts = {
96: 0,
39: 0,
34: 0
};
var isPreviousCharBackslash = false;
for (var i = 0; i < input.length; i++) {
var currentChar = input.charCodeAt(i);
if (sanityChars.indexOf(currentChar) !== -1 && !isPreviousCharBackslash) {
quoteCounts[currentChar + '']++;
}
isPreviousCharBackslash = currentChar === escape;
}
try {
// Replace the quotes which has total count is in odd number
// Previous char is not backslash, open parenthesis and
// Next is not close parenthesis
for (var i = 0; i < input.length; i++) {
var currentChar = input.charCodeAt(i);
var previousChar = i > 0 ? input.charCodeAt(i - 1) : null;
var nextChar = i < input.length - 1 ? input.charCodeAt(i + 1) : null;
if (sanityChars.indexOf(currentChar) !== -1 && previousChar !== escape) {
if (quoteCounts[currentChar + ''] % 2 === 1 && previousChar !== 40 && nextChar !== 41) {
sanitizedValue += String.fromCharCode(escape);
}
sanitizedValue += input[i + ''];
}
else {
sanitizedValue += input[i + ''];
}
}
return sanitizedValue;
}
catch (error) {
return input;
}
};
SanitizeHtmlHelper.removeElement = function () {

@@ -183,0 +142,0 @@ // Removes an element's attibute to avoid html tag validation

@@ -184,3 +184,3 @@ /**

// evaluate normal expression
cnt = cnt !== '' ? '"+' + addNameSpace(cnt.replace(/,/gi, '+' + nameSpace + '.'), (localKeys.indexOf(cnt) === -1), nameSpace, localKeys, ignorePrefix) + '+"' : ' ';
cnt = cnt !== '' ? '"+' + addNameSpace(cnt.replace(/,/gi, '+' + nameSpace + '.'), (localKeys.indexOf(cnt) === -1), nameSpace, localKeys, ignorePrefix) + '+"' : '${}';
}

@@ -187,0 +187,0 @@ }

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

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