victory-shared-events 36.3.2 → 36.5.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "victory-shared-events",
3
- "version": "36.3.2",
3
+ "version": "36.5.0",
4
4
  "description": "Shared Event Helper for Victory",
5
5
  "keywords": [
6
6
  "data visualization",
@@ -21,16 +21,16 @@
21
21
  "dependencies": {
22
22
  "json-stringify-safe": "^5.0.1",
23
23
  "lodash": "^4.17.19",
24
- "prop-types": "^15.5.8",
25
- "react-fast-compare": "^2.0.0",
26
- "victory-core": "^36.3.2"
24
+ "prop-types": "^15.8.1",
25
+ "react-fast-compare": "^3.2.0",
26
+ "victory-core": "^36.5.0"
27
27
  },
28
28
  "peerDependencies": {
29
- "react": "^16.6.0 || ^17.0.0"
29
+ "react": ">=16.6.0"
30
30
  },
31
31
  "scripts": {
32
32
  "version": "yarn run nps build-libs && nps build-dists"
33
33
  },
34
34
  "sideEffects": false,
35
- "gitHead": "18895d1290245732d14332bbbda10336032c9aab"
35
+ "gitHead": "7cecba921f751c3decc8215f7e866f51d11203c1"
36
36
  }
@@ -19,6 +19,11 @@ import {
19
19
  import isEqual from "react-fast-compare";
20
20
  import stringify from "json-stringify-safe";
21
21
 
22
+ // DISCLAIMER:
23
+ // This file is not currently tested, and it is first on the list of files
24
+ // to refactor in our current refactoring effort. Please do not make changes
25
+ // to this file without manual testing and/or refactoring and adding tests.
26
+
22
27
  export default class VictorySharedEvents extends React.Component {
23
28
  static displayName = "VictorySharedEvents";
24
29
 
@@ -57,7 +62,7 @@ export default class VictorySharedEvents extends React.Component {
57
62
  ),
58
63
  externalEventMutations: PropTypes.arrayOf(
59
64
  PropTypes.shape({
60
- callback: PropTypes.function,
65
+ callback: PropTypes.func,
61
66
  childName: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),
62
67
  eventKey: PropTypes.oneOfType([
63
68
  PropTypes.array,
@@ -67,7 +72,7 @@ export default class VictorySharedEvents extends React.Component {
67
72
  ]),
68
73
  PropTypes.string
69
74
  ]),
70
- mutation: PropTypes.function,
75
+ mutation: PropTypes.func,
71
76
  target: PropTypes.oneOfType([PropTypes.string, PropTypes.array])
72
77
  })
73
78
  ),