Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@syncfusion/ej2-base

Package Overview
Dependencies
Maintainers
3
Versions
211
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 19.4.48 to 19.4.52

12

CHANGELOG.md

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

### Common
#### Bug Fixes
- Resolved the svg template issue in template compilation
### Common
#### New Features
- `I360098` - Provided the Space Grouping support for Custom Number format.
## 19.4.42 (2022-01-11)

@@ -7,0 +19,0 @@

2

dist/global/index.d.ts
/*!
* filename: index.d.ts
* version : 19.4.48
* version : 19.4.52
* 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@19.4.42",
"_id": "@syncfusion/ej2-base@19.4.48",
"_inBundle": false,
"_integrity": "sha512-5sUnTFrcn0b0iV+QptrmAC8rLqhp128hAJL46jKHHNSww18bBBeyKT6Z0pEPHCtmRd3AgCkttZwFkCzc+J3T+w==",
"_integrity": "sha512-JeLsLtdfohTepI2YIJfTT9nMo6YkneoYWaqvZliO6C+kx790XeAZeFQnXTZuYaVTp24RKT8OUXntp5IhzzCwzA==",
"_location": "/@syncfusion/ej2-base",

@@ -158,4 +158,4 @@ "_phantomChildren": {},

],
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-19.4.42.tgz",
"_shasum": "3673e43b227409ef85f396ec756b7f9b0654ee29",
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-19.4.48.tgz",
"_shasum": "fb9ac7685c8ad563c3251e56ec0c0e7394707e51",
"_spec": "@syncfusion/ej2-base@*",

@@ -171,3 +171,3 @@ "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",

"dependencies": {
"@syncfusion/ej2-icons": "~19.4.48"
"@syncfusion/ej2-icons": "~19.4.52"
},

@@ -213,4 +213,4 @@ "deprecated": false,

"typings": "index.d.ts",
"version": "19.4.48",
"version": "19.4.52",
"sideEffects": true
}

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

© Copyright 2021 Syncfusion, Inc. All Rights Reserved.
© Copyright 2022 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.

@@ -36,3 +36,3 @@ import { defaultCurrencyCode } from '../internationalization';

IntlBase.negativeDataRegex = /^(('[^']+'|''|[^*#@0,.E])*)(\*.)?((([#,]*[0,]*0+)(\.0*[0-9]*#*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/;
IntlBase.customRegex = /^(('[^']+'|''|[^*#@0,.])*)(\*.)?((([0#,]*[0,]*[0#]*)(\.[0#]*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/;
IntlBase.customRegex = /^(('[^']+'|''|[^*#@0,.])*)(\*.)?((([0#,]*[0,]*[0#]*[0#\ ]*)(\.[0#]*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/;
IntlBase.latnParseRegex = /0|1|2|3|4|5|6|7|8|9/g;

@@ -891,4 +891,6 @@ var fractionRegex = /[0-9]/g;

var integerPart = pattern[6];
cOptions.useGrouping = integerPart.indexOf(',') !== -1;
integerPart = integerPart.replace(/,/g, '');
var spaceCapture = integerPart.match(/\ $/g) ? true : false;
var spaceGrouping = integerPart.replace(/\ $/g, '').indexOf(' ') !== -1;
cOptions.useGrouping = integerPart.indexOf(',') !== -1 || spaceGrouping;
integerPart = spaceGrouping ? integerPart.replace(/,/g, '') : integerPart.replace(/,/g, '').replace(/\ $/g, '');
var fractionPart = pattern[7];

@@ -921,7 +923,7 @@ if (integerPart.indexOf('0') !== -1) {

// eslint-disable-next-line
cOptions.groupSeparator = dOptions.numberMapper.numberSymbols[mapper[2]];
cOptions.groupSeparator = spaceGrouping ? ' ' : dOptions.numberMapper.numberSymbols[mapper[2]];
cOptions.groupData = NumberFormat.getGroupingDetails(symbolPattern.split(';')[0]);
}
cOptions.nlead = cOptions.nlead.replace(/'/g, '');
cOptions.nend = cOptions.nend.replace(/'/g, '');
cOptions.nend = spaceCapture ? ' ' + cOptions.nend.replace(/'/g, '') : cOptions.nend.replace(/'/g, '');
}

@@ -928,0 +930,0 @@ return cOptions;

@@ -64,3 +64,3 @@ /**

var evalExpResult = evalExp(template, argName, helper, ignorePrefix);
var condtion = "var valueRegEx = (/value=\\'([A-Za-z0-9 _]*)((.)([\\w)(!-;?-\u25A0\\s]+)['])/g);\n var hrefRegex = (/(?:href)([\\s='\"./]+)([\\w-./?=&\\\\#\"]+)((.)([\\w)(!-;/?-\u25A0\\s]+)['])/g);\n if(str.match(valueRegEx)){\n var check = str.match(valueRegEx);\n var str1 = str;\n for (var i=0; i < check.length; i++) {\n var check1 = str.match(valueRegEx)[i].split('value=')[1];\n var change = check1.match(/^'/) !== null ? check1.replace(/^'/, '\"') : check1;\n change =change.match(/.$/)[0] === '\\'' ? change.replace(/.$/,'\"') : change;\n str1 = str1.replace(check1, change);\n }\n str = str.replace(str, str1);\n }\n else if (str.match(/(?:href='')/) === null) {\n if(str.match(hrefRegex)) {\n var check = str.match(hrefRegex);\n var str1 = str;\n for (var i=0; i < check.length; i++) {\n var check1 = str.match(hrefRegex)[i].split('href=')[1];\n var change = check1.match(/^'/) !== null ? check1.replace(/^'/, '\"') : check1;\n change =change.match(/.$/)[0] === '\\'' ? change.replace(/.$/,'\"') : change;\n str1 = str1.replace(check1, change);\n }\n str = str.replace(str, str1);\n }\n }\n ";
var condtion = "var valueRegEx = (/value=\\'([A-Za-z0-9 _]*)((.)([\\w)(!-;?-\u25A0\\s]+)['])/g);\n var hrefRegex = (/(?:href)([\\s='\"./]+)([\\w-./?=&\\\\#\"]+)((.)([\\w)(!-;/?-\u25A0\\s]+)['])/g);\n if((str.match(valueRegEx)) && (str.match('svg') === null)){\n var check = str.match(valueRegEx);\n var str1 = str;\n for (var i=0; i < check.length; i++) {\n var check1 = str.match(valueRegEx)[i].split('value=')[1];\n var change = check1.match(/^'/) !== null ? check1.replace(/^'/, '\"') : check1;\n change =change.match(/.$/)[0] === '\\'' ? change.replace(/.$/,'\"') : change;\n str1 = str1.replace(check1, change);\n }\n str = str.replace(str, str1);\n }\n else if (str.match(/(?:href='')/) === null) {\n if((str.match(hrefRegex)) && (str.match('svg') === null)) {\n var check = str.match(hrefRegex);\n var str1 = str;\n for (var i=0; i < check.length; i++) {\n var check1 = str.match(hrefRegex)[i].split('href=')[1];\n var change = check1.match(/^'/) !== null ? check1.replace(/^'/, '\"') : check1;\n change =change.match(/.$/)[0] === '\\'' ? change.replace(/.$/,'\"') : change;\n str1 = str1.replace(check1, change);\n }\n str = str.replace(str, str1);\n }\n }\n ";
var fnCode = "var str=\"" + evalExpResult + "\";" + condtion + " return str;";

@@ -67,0 +67,0 @@ var fn = new Function(argName, fnCode);

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