mobx 6.13.4 → 6.13.5

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.
@@ -5877,8 +5877,15 @@ function unwrap(a) {
5877
5877
  return a;
5878
5878
  }
5879
5879
 
5880
+ var _getGlobal$Iterator;
5881
+ // safely get iterator prototype if available
5882
+ var maybeIteratorPrototype = ((_getGlobal$Iterator = /*#__PURE__*/getGlobal().Iterator) == null ? void 0 : _getGlobal$Iterator.prototype) || {};
5880
5883
  function makeIterable(iterator) {
5881
- return Object.assign(Object.create(Iterator.prototype), iterator);
5884
+ iterator[Symbol.iterator] = getSelf;
5885
+ return Object.assign(Object.create(maybeIteratorPrototype), iterator);
5886
+ }
5887
+ function getSelf() {
5888
+ return this;
5882
5889
  }
5883
5890
 
5884
5891
  function isAnnotation(thing) {