mol_db 0.0.874 → 0.0.876

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/node.test.js CHANGED
@@ -1087,7 +1087,7 @@ var $;
1087
1087
  var $;
1088
1088
  (function ($) {
1089
1089
  function $mol_promise_like(val) {
1090
- return val && typeof val.then === 'function';
1090
+ return val && typeof val === 'object' && 'then' in val && typeof val.then === 'function';
1091
1091
  }
1092
1092
  $.$mol_promise_like = $mol_promise_like;
1093
1093
  })($ || ($ = {}));