util-helpers 4.22.1 → 4.22.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.
@@ -2243,7 +2243,7 @@
2243
2243
  return internalFindTreeSelect(tree, predicate, childrenField);
2244
2244
  }
2245
2245
 
2246
- var VERSION = "4.22.1";
2246
+ var VERSION = "4.22.2";
2247
2247
 
2248
2248
  // 随机字符串
2249
2249
  function randomString() {
@@ -2587,7 +2587,7 @@
2587
2587
  }
2588
2588
  AsyncMemo.prototype.run = function (asyncFn, key, options) {
2589
2589
  var _this = this;
2590
- if (!isString(key)) {
2590
+ if (!key || !isString(key)) {
2591
2591
  return asyncFn();
2592
2592
  }
2593
2593
  var opts = __assign({ persisted: true }, options);
@@ -2614,7 +2614,7 @@
2614
2614
  return AsyncMemo;
2615
2615
  }());
2616
2616
 
2617
- var version = "4.22.1";
2617
+ var version = "4.22.2";
2618
2618
 
2619
2619
  exports.AsyncMemo = AsyncMemo;
2620
2620
  exports.VERSION = VERSION;