victory-core 36.8.3 → 36.8.4

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,7 @@
1
1
  # victory-core
2
2
 
3
+ ## 36.8.4
4
+
3
5
  ## 36.8.3
4
6
 
5
7
  ### Patch Changes
@@ -6512,9 +6512,9 @@ function getScopedEvents(events, namespace, childType, baseProps) {
6512
6512
  }
6513
6513
 
6514
6514
  if (eventReturn.eventKey === "all") {
6515
- return baseProps[childName] ? lodash_without__WEBPACK_IMPORTED_MODULE_5___default()(lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(baseProps[childName]), "parent") : lodash_without__WEBPACK_IMPORTED_MODULE_5___default()(lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(baseProps), "parent");
6515
+ return newBaseProps[childName] ? lodash_without__WEBPACK_IMPORTED_MODULE_5___default()(lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(newBaseProps[childName]), "parent") : lodash_without__WEBPACK_IMPORTED_MODULE_5___default()(lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(newBaseProps), "parent");
6516
6516
  } else if (eventReturn.eventKey === undefined && eventKey === "parent") {
6517
- return baseProps[childName] ? lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(baseProps[childName]) : lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(baseProps);
6517
+ return newBaseProps[childName] ? lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(newBaseProps[childName]) : lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(newBaseProps);
6518
6518
  }
6519
6519
 
6520
6520
  return eventReturn.eventKey !== undefined ? eventReturn.eventKey : eventKey;
@@ -6539,7 +6539,7 @@ function getScopedEvents(events, namespace, childType, baseProps) {
6539
6539
  key: key,
6540
6540
  target: target
6541
6541
  }, "state");
6542
- var mutatedProps = eventReturn.mutation(lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()({}, mutationTargetProps, mutationTargetState), baseProps);
6542
+ var mutatedProps = eventReturn.mutation(lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()({}, mutationTargetProps, mutationTargetState), newBaseProps);
6543
6543
  var childState = baseState[childName] || {};
6544
6544
 
6545
6545
  var filterState = function (state) {
@@ -6574,7 +6574,7 @@ function getScopedEvents(events, namespace, childType, baseProps) {
6574
6574
  }; // returns an entire mutated state for all children
6575
6575
 
6576
6576
 
6577
- var allChildNames = childNames === "all" ? lodash_without__WEBPACK_IMPORTED_MODULE_5___default()(lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(baseProps), "parent") : childNames;
6577
+ var allChildNames = childNames === "all" ? lodash_without__WEBPACK_IMPORTED_MODULE_5___default()(lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(newBaseProps), "parent") : childNames;
6578
6578
  return Array.isArray(allChildNames) ? allChildNames.reduce(function (memo, childName) {
6579
6579
  return lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()(memo, getReturnByChild(childName));
6580
6580
  }, {}) : getReturnByChild(allChildNames);