victory-canvas 36.7.0 → 36.8.1

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,9 @@
1
1
  # victory-canvas
2
2
 
3
+ ## 36.8.1
4
+
5
+ ## 36.8.0
6
+
3
7
  ## 36.7.0
4
8
 
5
9
  ## 36.6.12
@@ -6847,10 +6847,11 @@ function reduceChildren(children, iteratee) {
6847
6847
  }, initialMemo);
6848
6848
  };
6849
6849
 
6850
- var childNames = children.map(function (c, i) {
6850
+ var validChildren = children.filter(react__WEBPACK_IMPORTED_MODULE_6__.isValidElement);
6851
+ var childNames = validChildren.map(function (c, i) {
6851
6852
  return i;
6852
6853
  });
6853
- return traverseChildren(children, childNames);
6854
+ return traverseChildren(validChildren, childNames);
6854
6855
  }
6855
6856
  /**
6856
6857
  * @param {Object} props: the props object
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "victory-canvas",
3
- "version": "36.7.0",
3
+ "version": "36.8.1",
4
4
  "description": "HTML5 Canvas Components for Victory",
5
5
  "keywords": [
6
6
  "data visualization",
@@ -22,8 +22,8 @@
22
22
  "dependencies": {
23
23
  "lodash": "^4.17.19",
24
24
  "prop-types": "^15.8.1",
25
- "victory-bar": "^36.7.0",
26
- "victory-core": "^36.7.0"
25
+ "victory-bar": "^36.8.1",
26
+ "victory-core": "^36.8.1"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "react": ">=16.6.0"