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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # mobx
2
2
 
3
+ ## 6.13.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`4c077738776d5fc7ba0f108805a9ec816c2709b9`](https://github.com/mobxjs/mobx/commit/4c077738776d5fc7ba0f108805a9ec816c2709b9) [#3943](https://github.com/mobxjs/mobx/pull/3943) Thanks [@tonyraoul](https://github.com/tonyraoul)! - Fix browser compatability issue introduced in 6.13.4 release
8
+
3
9
  ## 6.13.4
4
10
 
5
11
  ### Patch Changes
@@ -5881,8 +5881,15 @@ function unwrap(a) {
5881
5881
  return a;
5882
5882
  }
5883
5883
 
5884
+ var _getGlobal$Iterator;
5885
+ // safely get iterator prototype if available
5886
+ var maybeIteratorPrototype = ((_getGlobal$Iterator = /*#__PURE__*/getGlobal().Iterator) == null ? void 0 : _getGlobal$Iterator.prototype) || {};
5884
5887
  function makeIterable(iterator) {
5885
- return Object.assign(Object.create(Iterator.prototype), iterator);
5888
+ iterator[Symbol.iterator] = getSelf;
5889
+ return Object.assign(Object.create(maybeIteratorPrototype), iterator);
5890
+ }
5891
+ function getSelf() {
5892
+ return this;
5886
5893
  }
5887
5894
 
5888
5895
  function isAnnotation(thing) {