victory-histogram 37.3.1 → 37.3.2

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.
@@ -115,7 +115,7 @@ export declare const VictoryHistogram: {
115
115
  UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextContext: any): void;
116
116
  componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
117
117
  UNSAFE_componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
118
- componentEvents: import("victory-core/lib/victory-util/events").ComponentEvent[];
118
+ componentEvents: import("@/victory-core/lib/victory-util/events").ComponentEvent[];
119
119
  getSharedEventState: (key: string, value: string) => unknown;
120
120
  baseProps: Record<string, object>;
121
121
  dataKeys: string[];
@@ -9,7 +9,7 @@ const fallbackProps = {
9
9
  };
10
10
  const defaultData = [];
11
11
 
12
- // eslint-disable-next-line @typescript-eslint/no-empty-interface
12
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
13
13
 
14
14
  /**
15
15
  * Draw SVG histogram charts with React. VictoryHistogram is a composable component, so it doesn't include axes
@@ -115,7 +115,7 @@ export declare const VictoryHistogram: {
115
115
  UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextContext: any): void;
116
116
  componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
117
117
  UNSAFE_componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
118
- componentEvents: import("victory-core/lib/victory-util/events").ComponentEvent[];
118
+ componentEvents: import("@/victory-core/lib/victory-util/events").ComponentEvent[];
119
119
  getSharedEventState: (key: string, value: string) => unknown;
120
120
  baseProps: Record<string, object>;
121
121
  dataKeys: string[];
@@ -16,7 +16,7 @@ const fallbackProps = {
16
16
  };
17
17
  const defaultData = [];
18
18
 
19
- // eslint-disable-next-line @typescript-eslint/no-empty-interface
19
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
20
20
 
21
21
  /**
22
22
  * Draw SVG histogram charts with React. VictoryHistogram is a composable component, so it doesn't include axes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "victory-histogram",
3
- "version": "37.3.1",
3
+ "version": "37.3.2",
4
4
  "description": "Histogram Component for Victory",
5
5
  "keywords": [
6
6
  "data visualization",
@@ -22,9 +22,9 @@
22
22
  "dependencies": {
23
23
  "lodash": "^4.17.19",
24
24
  "react-fast-compare": "^3.2.0",
25
- "victory-bar": "37.3.1",
26
- "victory-core": "37.3.1",
27
- "victory-vendor": "37.3.1"
25
+ "victory-bar": "37.3.2",
26
+ "victory-core": "37.3.2",
27
+ "victory-vendor": "37.3.2"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "react": ">=16.6.0"
@@ -221,11 +221,9 @@
221
221
  ]
222
222
  },
223
223
  "lint": {
224
- "command": "nps lint:pkg",
224
+ "command": "eslint src",
225
225
  "files": [
226
- "src/**",
227
- "../../.eslintignore",
228
- "../../.eslintrc.js"
226
+ "src/**"
229
227
  ],
230
228
  "output": [],
231
229
  "dependencies": [
@@ -240,11 +238,9 @@
240
238
  ]
241
239
  },
242
240
  "lint:fix": {
243
- "command": "pnpm run lint || nps lint:pkg:fix",
241
+ "command": "eslint --fix src",
244
242
  "files": [
245
- "src/**",
246
- "../../.eslintignore",
247
- "../../.eslintrc.js"
243
+ "src/**"
248
244
  ],
249
245
  "output": [],
250
246
  "dependencies": [
@@ -57,7 +57,7 @@ const fallbackProps: Partial<VictoryHistogramProps> = {
57
57
 
58
58
  const defaultData = [];
59
59
 
60
- // eslint-disable-next-line @typescript-eslint/no-empty-interface
60
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
61
61
  interface VictoryHistogramBase
62
62
  extends EventsMixinClass<VictoryHistogramProps> {}
63
63