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 +6 -0
- package/dist/mobx.cjs.development.js +8 -1
- package/dist/mobx.cjs.development.js.map +1 -1
- package/dist/mobx.cjs.production.min.js +1 -1
- package/dist/mobx.cjs.production.min.js.map +1 -1
- package/dist/mobx.esm.development.js +8 -1
- package/dist/mobx.esm.development.js.map +1 -1
- package/dist/mobx.esm.js +8 -1
- package/dist/mobx.esm.js.map +1 -1
- package/dist/mobx.esm.production.min.js +1 -1
- package/dist/mobx.esm.production.min.js.map +1 -1
- package/dist/mobx.umd.development.js +8 -1
- package/dist/mobx.umd.development.js.map +1 -1
- package/dist/mobx.umd.production.min.js +1 -1
- package/dist/mobx.umd.production.min.js.map +1 -1
- package/package.json +1 -1
- package/src/utils/iterable.ts +11 -1
|
@@ -5883,8 +5883,15 @@
|
|
|
5883
5883
|
return a;
|
|
5884
5884
|
}
|
|
5885
5885
|
|
|
5886
|
+
var _getGlobal$Iterator;
|
|
5887
|
+
// safely get iterator prototype if available
|
|
5888
|
+
var maybeIteratorPrototype = ((_getGlobal$Iterator = /*#__PURE__*/getGlobal().Iterator) == null ? void 0 : _getGlobal$Iterator.prototype) || {};
|
|
5886
5889
|
function makeIterable(iterator) {
|
|
5887
|
-
|
|
5890
|
+
iterator[Symbol.iterator] = getSelf;
|
|
5891
|
+
return Object.assign(Object.create(maybeIteratorPrototype), iterator);
|
|
5892
|
+
}
|
|
5893
|
+
function getSelf() {
|
|
5894
|
+
return this;
|
|
5888
5895
|
}
|
|
5889
5896
|
|
|
5890
5897
|
function isAnnotation(thing) {
|