victory-stack 36.9.2-next.0 → 36.9.2-next.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "victory-stack",
3
- "version": "36.9.2-next.0",
3
+ "version": "36.9.2-next.1",
4
4
  "description": "Stack Layout Component for Victory",
5
5
  "keywords": [
6
6
  "data visualization",
@@ -22,15 +22,15 @@
22
22
  "dependencies": {
23
23
  "lodash": "^4.17.19",
24
24
  "react-fast-compare": "^3.2.0",
25
- "victory-core": "^36.9.2-next.0",
26
- "victory-shared-events": "^36.9.2-next.0"
25
+ "victory-core": "^36.9.2-next.1",
26
+ "victory-shared-events": "^36.9.2-next.1"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "react": ">=16.6.0"
30
30
  },
31
31
  "devDependencies": {
32
- "victory-bar": "36.9.2-next.0",
33
- "victory-histogram": "36.9.2-next.0"
32
+ "victory-bar": "36.9.2-next.1",
33
+ "victory-histogram": "36.9.2-next.1"
34
34
  },
35
35
  "wireit": {
36
36
  "### THESE WIREIT CONFIGS ARE GENERATED ####": {},
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable no-use-before-define */
2
- import { keys, orderBy } from "lodash";
2
+ import { orderBy } from "lodash";
3
3
  import React from "react";
4
4
  import { Helpers, Scale, Wrapper } from "victory-core";
5
5
  import isEqual from "react-fast-compare";
@@ -19,7 +19,7 @@ function fillData(props, datasets) {
19
19
  });
20
20
  return prev;
21
21
  }, {});
22
- const xKeys = keys(xMap).map((k) => Number(k));
22
+ const xKeys = Object.keys(xMap).map((k) => Number(k));
23
23
  const xArr = orderBy(xKeys);
24
24
 
25
25
  return datasets.map((dataset) => {