@dereekb/rxjs 13.41.0 → 13.42.0

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.
Files changed (2) hide show
  1. package/index.esm.js +21 -33
  2. package/package.json +2 -2
package/index.esm.js CHANGED
@@ -992,7 +992,7 @@ function _array_like_to_array$a(arr, len) {
992
992
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
993
993
  return arr2;
994
994
  }
995
- function _array_without_holes$6(arr) {
995
+ function _array_without_holes$5(arr) {
996
996
  if (Array.isArray(arr)) return _array_like_to_array$a(arr);
997
997
  }
998
998
  function _class_call_check$8(instance, Constructor) {
@@ -1026,14 +1026,14 @@ function _define_property$c(obj, key, value) {
1026
1026
  }
1027
1027
  return obj;
1028
1028
  }
1029
- function _iterable_to_array$6(iter) {
1029
+ function _iterable_to_array$5(iter) {
1030
1030
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
1031
1031
  }
1032
- function _non_iterable_spread$6() {
1032
+ function _non_iterable_spread$5() {
1033
1033
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1034
1034
  }
1035
- function _to_consumable_array$6(arr) {
1036
- return _array_without_holes$6(arr) || _iterable_to_array$6(arr) || _unsupported_iterable_to_array$a(arr) || _non_iterable_spread$6();
1035
+ function _to_consumable_array$5(arr) {
1036
+ return _array_without_holes$5(arr) || _iterable_to_array$5(arr) || _unsupported_iterable_to_array$a(arr) || _non_iterable_spread$5();
1037
1037
  }
1038
1038
  function _unsupported_iterable_to_array$a(o, minLen) {
1039
1039
  if (!o) return;
@@ -1188,7 +1188,7 @@ function _unsupported_iterable_to_array$a(o, minLen) {
1188
1188
  */ key: "addSubs",
1189
1189
  value: function addSubs(subs) {
1190
1190
  var _this__subscriptions;
1191
- var nextSubscriptions = _to_consumable_array$6((_this__subscriptions = this._subscriptions) !== null && _this__subscriptions !== void 0 ? _this__subscriptions : []);
1191
+ var nextSubscriptions = _to_consumable_array$5((_this__subscriptions = this._subscriptions) !== null && _this__subscriptions !== void 0 ? _this__subscriptions : []);
1192
1192
  convertToArray(subs).forEach(function(sub) {
1193
1193
  if (!nextSubscriptions.includes(sub)) {
1194
1194
  nextSubscriptions.push(sub);
@@ -1464,7 +1464,7 @@ function _array_like_to_array$8(arr, len) {
1464
1464
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
1465
1465
  return arr2;
1466
1466
  }
1467
- function _array_without_holes$5(arr) {
1467
+ function _array_without_holes$4(arr) {
1468
1468
  if (Array.isArray(arr)) return _array_like_to_array$8(arr);
1469
1469
  }
1470
1470
  function _class_call_check$6(instance, Constructor) {
@@ -1498,14 +1498,14 @@ function _define_property$a(obj, key, value) {
1498
1498
  }
1499
1499
  return obj;
1500
1500
  }
1501
- function _iterable_to_array$5(iter) {
1501
+ function _iterable_to_array$4(iter) {
1502
1502
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
1503
1503
  }
1504
- function _non_iterable_spread$5() {
1504
+ function _non_iterable_spread$4() {
1505
1505
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1506
1506
  }
1507
- function _to_consumable_array$5(arr) {
1508
- return _array_without_holes$5(arr) || _iterable_to_array$5(arr) || _unsupported_iterable_to_array$8(arr) || _non_iterable_spread$5();
1507
+ function _to_consumable_array$4(arr) {
1508
+ return _array_without_holes$4(arr) || _iterable_to_array$4(arr) || _unsupported_iterable_to_array$8(arr) || _non_iterable_spread$4();
1509
1509
  }
1510
1510
  function _unsupported_iterable_to_array$8(o, minLen) {
1511
1511
  if (!o) return;
@@ -1693,7 +1693,7 @@ var FilterMapItem = /*#__PURE__*/ function() {
1693
1693
  _define_property$a(this, "_source", new FilterSourceInstance());
1694
1694
  _define_property$a(this, "_obs", new BehaviorSubject([]));
1695
1695
  _define_property$a(this, "_obs$", this._obs.pipe(switchMap(function(x) {
1696
- return merge.apply(void 0, _to_consumable_array$5(x.map(function(y) {
1696
+ return merge.apply(void 0, _to_consumable_array$4(x.map(function(y) {
1697
1697
  return y.obs;
1698
1698
  })));
1699
1699
  }), distinctUntilChanged()));
@@ -1734,7 +1734,7 @@ var FilterMapItem = /*#__PURE__*/ function() {
1734
1734
  var deleteOnComplete = obs.pipe(finalize(function() {
1735
1735
  _this._deleteFilterObs(i);
1736
1736
  })).subscribe();
1737
- var nextObs = _to_consumable_array$5(currentObs).concat([
1737
+ var nextObs = _to_consumable_array$4(currentObs).concat([
1738
1738
  {
1739
1739
  i: i,
1740
1740
  obs: obs,
@@ -2131,17 +2131,17 @@ function _array_like_to_array$7(arr, len) {
2131
2131
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
2132
2132
  return arr2;
2133
2133
  }
2134
- function _array_without_holes$4(arr) {
2134
+ function _array_without_holes$3(arr) {
2135
2135
  if (Array.isArray(arr)) return _array_like_to_array$7(arr);
2136
2136
  }
2137
- function _iterable_to_array$4(iter) {
2137
+ function _iterable_to_array$3(iter) {
2138
2138
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
2139
2139
  }
2140
- function _non_iterable_spread$4() {
2140
+ function _non_iterable_spread$3() {
2141
2141
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2142
2142
  }
2143
- function _to_consumable_array$4(arr) {
2144
- return _array_without_holes$4(arr) || _iterable_to_array$4(arr) || _unsupported_iterable_to_array$7(arr) || _non_iterable_spread$4();
2143
+ function _to_consumable_array$3(arr) {
2144
+ return _array_without_holes$3(arr) || _iterable_to_array$3(arr) || _unsupported_iterable_to_array$7(arr) || _non_iterable_spread$3();
2145
2145
  }
2146
2146
  function _unsupported_iterable_to_array$7(o, minLen) {
2147
2147
  if (!o) return;
@@ -2167,7 +2167,7 @@ function scanIntoArray() {
2167
2167
  return scan(function(acc, next) {
2168
2168
  if (next != null) {
2169
2169
  if (immutable) {
2170
- acc = _to_consumable_array$4(acc).concat(_to_consumable_array$4(asArray(next)));
2170
+ acc = _to_consumable_array$3(acc).concat(_to_consumable_array$3(asArray(next)));
2171
2171
  } else {
2172
2172
  acc = pushItemOrArrayItemsIntoArray(acc, next);
2173
2173
  }
@@ -2197,7 +2197,7 @@ function scanIntoArray() {
2197
2197
  }
2198
2198
  return acc;
2199
2199
  }, seed !== null && seed !== void 0 ? seed : []), distinctUntilArrayLengthChanges(), map(function(x) {
2200
- return _to_consumable_array$4(x);
2200
+ return _to_consumable_array$3(x);
2201
2201
  }), shareReplay(1));
2202
2202
  });
2203
2203
  }
@@ -3049,12 +3049,6 @@ function _array_like_to_array$5(arr, len) {
3049
3049
  function _array_with_holes$2(arr) {
3050
3050
  if (Array.isArray(arr)) return arr;
3051
3051
  }
3052
- function _array_without_holes$3(arr) {
3053
- if (Array.isArray(arr)) return _array_like_to_array$5(arr);
3054
- }
3055
- function _iterable_to_array$3(iter) {
3056
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
3057
- }
3058
3052
  function _iterable_to_array_limit$2(arr, i) {
3059
3053
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
3060
3054
  if (_i == null) return;
@@ -3082,15 +3076,9 @@ function _iterable_to_array_limit$2(arr, i) {
3082
3076
  function _non_iterable_rest$2() {
3083
3077
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3084
3078
  }
3085
- function _non_iterable_spread$3() {
3086
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3087
- }
3088
3079
  function _sliced_to_array$2(arr, i) {
3089
3080
  return _array_with_holes$2(arr) || _iterable_to_array_limit$2(arr, i) || _unsupported_iterable_to_array$5(arr, i) || _non_iterable_rest$2();
3090
3081
  }
3091
- function _to_consumable_array$3(arr) {
3092
- return _array_without_holes$3(arr) || _iterable_to_array$3(arr) || _unsupported_iterable_to_array$5(arr) || _non_iterable_spread$3();
3093
- }
3094
3082
  function _unsupported_iterable_to_array$5(o, minLen) {
3095
3083
  if (!o) return;
3096
3084
  if (typeof o === "string") return _array_like_to_array$5(o, minLen);
@@ -3108,7 +3096,7 @@ function _unsupported_iterable_to_array$5(o, minLen) {
3108
3096
  */ function combineLatestFromMapValuesObsFn(mapToObs) {
3109
3097
  var combineArrayFn = combineLatestFromArrayObsFn(mapToObs);
3110
3098
  return function(latestMap) {
3111
- var mapValues = _to_consumable_array$3(latestMap).map(function(y) {
3099
+ var mapValues = Array.from(latestMap).map(function(y) {
3112
3100
  return y[1];
3113
3101
  });
3114
3102
  return combineArrayFn(mapValues);
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dereekb/rxjs",
3
- "version": "13.41.0",
3
+ "version": "13.42.0",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
7
7
  "rxjs": "^7.8.2",
8
- "@dereekb/util": "13.41.0"
8
+ "@dereekb/util": "13.42.0"
9
9
  },
10
10
  "exports": {
11
11
  "./package.json": "./package.json",