util-helpers 5.0.0 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/util-helpers.js
CHANGED
|
@@ -2069,7 +2069,7 @@
|
|
|
2069
2069
|
return internalFindTreeSelect(tree, predicate, childrenField);
|
|
2070
2070
|
}
|
|
2071
2071
|
|
|
2072
|
-
var VERSION = "5.0.
|
|
2072
|
+
var VERSION = "5.0.2";
|
|
2073
2073
|
|
|
2074
2074
|
var EmitterPro = /** @class */ (function () {
|
|
2075
2075
|
function EmitterPro() {
|
|
@@ -2213,7 +2213,6 @@
|
|
|
2213
2213
|
function stringify(value, replacer) {
|
|
2214
2214
|
return JSON.stringify(value, replacer);
|
|
2215
2215
|
}
|
|
2216
|
-
var inWindow = typeof window !== 'undefined' && typeof window === 'object' && window.window === window;
|
|
2217
2216
|
|
|
2218
2217
|
var cache = {};
|
|
2219
2218
|
var MemoryStorage = /** @class */ (function () {
|
|
@@ -2499,10 +2498,6 @@
|
|
|
2499
2498
|
return Cache;
|
|
2500
2499
|
}(EmitterPro));
|
|
2501
2500
|
|
|
2502
|
-
new Storage(inWindow ? window.localStorage : undefined);
|
|
2503
|
-
|
|
2504
|
-
new Storage(inWindow ? window.sessionStorage : undefined);
|
|
2505
|
-
|
|
2506
2501
|
var AsyncMemo = (function () {
|
|
2507
2502
|
function AsyncMemo(options) {
|
|
2508
2503
|
this.promiseCache = {};
|