Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-base

Package Overview
Dependencies
Maintainers
3
Versions
206
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.52 to 20.1.47

src/validate-lic.d.ts

22

CHANGELOG.md

@@ -9,24 +9,2 @@ # Changelog

- 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)
### Common
#### Bug Fixes
- `I339589` - Resolved the `DropdownButton` issue with react component as target.
## 19.4.38 (2021-12-17)
### Common
#### Bug Fixes
- `I324684` - Resolved the `Treeview` check box issues in safari browser.

@@ -33,0 +11,0 @@

2

dist/global/index.d.ts
/*!
* filename: index.d.ts
* version : 19.4.52
* version : 20.1.47
* 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.48",
"_id": "@syncfusion/ej2-base@18.50.2",
"_inBundle": false,
"_integrity": "sha512-JeLsLtdfohTepI2YIJfTT9nMo6YkneoYWaqvZliO6C+kx790XeAZeFQnXTZuYaVTp24RKT8OUXntp5IhzzCwzA==",
"_integrity": "sha512-dM5GzGNob982ssCZQMmmD0HLByqVSeXEkRCinuf3LrKtoS9uoNXyLatmd4dE15ZNYGmUB4w/vo36J+Qys42U5A==",
"_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.48.tgz",
"_shasum": "fb9ac7685c8ad563c3251e56ec0c0e7394707e51",
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-base/-/ej2-base-18.50.2.tgz",
"_shasum": "8d3e103cae88a81f8f325ff98d93dccfe180f453",
"_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.52"
"@syncfusion/ej2-icons": "~20.1.47"
},

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

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

@@ -94,9 +94,9 @@ # ej2-base

Check the license detail [here](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/license).
Check the license detail [here](https://github.com/syncfusion/ej2-base/blob/master/license).
## Changelog
Check the changelog [here](https://ej2.syncfusion.com/documentation/release-notes/index?utm_source=npm&utm_campaign=ej2-base)
Check the changelog [here](https://ej2.syncfusion.com/documentation/release-notes?utm_source=npm&utm_campaign=ej2-base)
© 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.

@@ -1,2 +0,2 @@

import { isUndefined, getValue, isNullOrUndefined, setValue, uniqueID, isBlazor } from './util';import { ModuleLoader, ModuleDeclaration } from './module-loader';import { Base } from './base';import { Observer, BoundOptions } from './observer';import { ChildProperty } from './child-property';import { Property, NotifyPropertyChanges } from './notify-property-change';import { onIntlChange, rightToLeft, defaultCulture } from './internationalization';import { createElement, addClass, removeClass, ElementProperties, select } from './dom';
import { isUndefined, getValue, isNullOrUndefined, setValue, uniqueID, isBlazor } from './util';import { ModuleLoader, ModuleDeclaration } from './module-loader';import { Base } from './base';import { Observer, BoundOptions } from './observer';import { ChildProperty } from './child-property';import { Property, NotifyPropertyChanges } from './notify-property-change';import { onIntlChange, rightToLeft, defaultCulture } from './internationalization';import { createElement, addClass, removeClass, ElementProperties, select } from './dom';import {validateLicense} from './validate-lic';

@@ -3,0 +3,0 @@ /**

@@ -18,2 +18,3 @@ import { ModuleLoader, ModuleDeclaration } from './module-loader';

element: ElementType;
root: any;
private randomId;

@@ -176,3 +177,2 @@ ej2StatePersistenceVersion: string;

private setPersistData;
protected appendReactElement(element: any, container: HTMLElement): void;
protected renderReactTemplates(): void;

@@ -179,0 +179,0 @@ protected clearTemplate(templateName?: string[], index?: any): void;

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

import { createElement, addClass, removeClass, select } from './dom';
import { validateLicense } from './validate-lic';
var componentCount = 0;

@@ -74,2 +75,3 @@ var lastPageID;

onIntlChange.on('notifyExternalChange', _this.detectFunction, _this, _this.randomId);
validateLicense();
if (!isUndefined(selector)) {

@@ -363,7 +365,2 @@ _this.appendTo();

//tslint:disable-next-line
Component.prototype.appendReactElement = function (element, container) {
//No Code
};
;
//tslint:disable-next-line
Component.prototype.renderReactTemplates = function () {

@@ -370,0 +367,0 @@ //No Code

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

}
if (this.clone && evt.changedTouches && Browser.isDevice && Browser.isTouch) {
evt.preventDefault();
}
var left;

@@ -374,0 +377,0 @@ var top;

@@ -30,1 +30,2 @@ /**

export * from './sanitize-helper';
export * from './validate-lic';

@@ -26,1 +26,2 @@ /**

export * from './sanitize-helper';
export * from './validate-lic';

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

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

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

@@ -30,4 +30,4 @@ /**

// eslint-disable-next-line
return function (data, component, propName, templateId, isStringTemplate, index, element) {
var result = compiler(data, component, propName, element);
return function (data, component, propName, templateId, isStringTemplate, index, element, root) {
var result = compiler(data, component, propName, element, root);
var blazorTemplateId = 'BlazorTemplateId';

@@ -34,0 +34,0 @@ if (isBlazor() && !isStringTemplate) {

@@ -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)) && (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 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 fnCode = "var str=\"" + evalExpResult + "\";" + condtion + " return str;";

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

@@ -60,2 +60,6 @@ /**

/**
*@private
*/
export declare const containerObject: Window;
/**
* Check weather the given argument is only object.

@@ -62,0 +66,0 @@ *

@@ -117,2 +117,6 @@ var instances = 'ej2_instances';

/**
*@private
*/
export var containerObject = window;
/**
* Check weather the given argument is only object.

@@ -119,0 +123,0 @@ *

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

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