@devexpress/dx-core
Advanced tools
Comparing version 1.4.0 to 1.5.0
/** | ||
* Bundle of @devexpress/dx-core | ||
* Generated: 2018-06-22 | ||
* Version: 1.4.0 | ||
* Generated: 2018-07-26 | ||
* Version: 1.5.0 | ||
* License: https://js.devexpress.com/Licensing | ||
@@ -177,3 +177,3 @@ */ | ||
this.plugins = []; | ||
this.subscriptions = []; | ||
this.subscriptions = new Set(); | ||
this.gettersCache = {}; | ||
@@ -290,6 +290,3 @@ } | ||
value: function registerSubscription(subscription) { | ||
var index = this.subscriptions.indexOf(subscription); | ||
if (index === -1) { | ||
this.subscriptions.push(subscription); | ||
} | ||
this.subscriptions.add(subscription); | ||
} | ||
@@ -299,6 +296,3 @@ }, { | ||
value: function unregisterSubscription(subscription) { | ||
var index = this.subscriptions.indexOf(subscription); | ||
if (index !== -1) { | ||
this.subscriptions.splice(this.subscriptions.indexOf(subscription), 1); | ||
} | ||
this.subscriptions.delete(subscription); | ||
} | ||
@@ -305,0 +299,0 @@ }, { |
/** | ||
* Bundle of @devexpress/dx-core | ||
* Generated: 2018-06-22 | ||
* Version: 1.4.0 | ||
* Generated: 2018-07-26 | ||
* Version: 1.5.0 | ||
* License: https://js.devexpress.com/Licensing | ||
@@ -183,3 +183,3 @@ */ | ||
this.plugins = []; | ||
this.subscriptions = []; | ||
this.subscriptions = new Set(); | ||
this.gettersCache = {}; | ||
@@ -296,6 +296,3 @@ } | ||
value: function registerSubscription(subscription) { | ||
var index = this.subscriptions.indexOf(subscription); | ||
if (index === -1) { | ||
this.subscriptions.push(subscription); | ||
} | ||
this.subscriptions.add(subscription); | ||
} | ||
@@ -305,6 +302,3 @@ }, { | ||
value: function unregisterSubscription(subscription) { | ||
var index = this.subscriptions.indexOf(subscription); | ||
if (index !== -1) { | ||
this.subscriptions.splice(this.subscriptions.indexOf(subscription), 1); | ||
} | ||
this.subscriptions.delete(subscription); | ||
} | ||
@@ -311,0 +305,0 @@ }, { |
{ | ||
"name": "@devexpress/dx-core", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"description": "Core library for DevExtreme Reactive Components", | ||
@@ -43,3 +43,3 @@ "author": { | ||
"babel-core": "^6.26.3", | ||
"babel-jest": "^23.0.1", | ||
"babel-jest": "^23.4.0", | ||
"babel-plugin-external-helpers": "^6.22.0", | ||
@@ -50,8 +50,8 @@ "babel-plugin-transform-object-rest-spread": "^6.26.0", | ||
"core-js": "^2.5.7", | ||
"eslint": "^4.19.1", | ||
"eslint-config-airbnb-base": "^12.1.0", | ||
"eslint": "^5.1.0", | ||
"eslint-config-airbnb-base": "^13.0.0", | ||
"eslint-plugin-filenames": "^1.3.2", | ||
"eslint-plugin-import": "^2.12.0", | ||
"eslint-plugin-jest": "^21.17.0", | ||
"jest": "^23.1.0", | ||
"eslint-plugin-import": "^2.13.0", | ||
"eslint-plugin-jest": "^21.18.0", | ||
"jest": "^23.4.1", | ||
"rollup": "0.50.0", | ||
@@ -58,0 +58,0 @@ "rollup-plugin-babel": "^3.0.4", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53477
779