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.
- package/dist/util-helpers.js +3 -3
- package/dist/util-helpers.js.map +1 -1
- package/dist/util-helpers.min.js +1 -1
- package/dist/util-helpers.min.js.map +1 -1
- package/esm/AsyncMemo.js +1 -1
- package/esm/VERSION.js +1 -1
- package/esm/index.js +1 -1
- package/lib/AsyncMemo.js +1 -1
- package/lib/VERSION.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/esm/AsyncMemo.js
CHANGED
package/esm/VERSION.js
CHANGED
package/esm/index.js
CHANGED
package/lib/AsyncMemo.js
CHANGED
|
@@ -11,7 +11,7 @@ var AsyncMemo = (function () {
|
|
|
11
11
|
}
|
|
12
12
|
AsyncMemo.prototype.run = function (asyncFn, key, options) {
|
|
13
13
|
var _this = this;
|
|
14
|
-
if (!ut2.isString(key)) {
|
|
14
|
+
if (!key || !ut2.isString(key)) {
|
|
15
15
|
return asyncFn();
|
|
16
16
|
}
|
|
17
17
|
var opts = tslib.__assign({ persisted: true }, options);
|
package/lib/VERSION.js
CHANGED
package/lib/index.js
CHANGED
|
@@ -67,7 +67,7 @@ var config = require('./utils/config.js');
|
|
|
67
67
|
var VERSION = require('./VERSION.js');
|
|
68
68
|
var AsyncMemo = require('./AsyncMemo.js');
|
|
69
69
|
|
|
70
|
-
exports.version = "4.22.
|
|
70
|
+
exports.version = "4.22.2";
|
|
71
71
|
|
|
72
72
|
exports.isMobile = isMobile;
|
|
73
73
|
exports.isTelephone = isTelephone;
|