victory-brush-line 37.3.0 → 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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # victory-brush-line
2
2
 
3
+ ## 37.3.2
4
+
5
+ ## 37.3.1
6
+
3
7
  ## 37.3.0
4
8
 
5
9
  ## 37.2.0
@@ -268,7 +268,6 @@ class VictoryBrushLine extends (react__WEBPACK_IMPORTED_MODULE_2___default().Com
268
268
  })
269
269
  }] : [];
270
270
  },
271
- // eslint-disable-next-line max-statements, complexity
272
271
  onMouseMove: (evt, targetProps) => {
273
272
  const {
274
273
  isPanning,
@@ -5223,7 +5222,6 @@ __webpack_require__.r(__webpack_exports__);
5223
5222
 
5224
5223
 
5225
5224
 
5226
- /* eslint-disable no-use-before-define */
5227
5225
 
5228
5226
 
5229
5227
 
@@ -5349,8 +5347,6 @@ function formatDataFromDomain(dataset, domain, defaultBaseline) {
5349
5347
  const isUnderMinY = underMin(minDomainY);
5350
5348
  const isOverMaxX = overMax(maxDomainX);
5351
5349
  const isOverMaxY = overMax(maxDomainY);
5352
-
5353
- // eslint-disable-next-line complexity
5354
5350
  return dataset.map(datum => {
5355
5351
  let {
5356
5352
  _x,
@@ -5461,7 +5457,6 @@ function formatData(dataset, props, expectedKeys) {
5461
5457
  };
5462
5458
  }
5463
5459
  const data = preformattedData ? dataset : dataset.reduce((dataArr, datum, index) => {
5464
- // eslint-disable-line complexity
5465
5460
  const parsedDatum = parseDatum(datum);
5466
5461
  const fallbackValues = {
5467
5462
  x: index,
@@ -5654,7 +5649,6 @@ __webpack_require__.r(__webpack_exports__);
5654
5649
 
5655
5650
 
5656
5651
 
5657
- /* eslint-disable no-use-before-define */
5658
5652
 
5659
5653
 
5660
5654
 
@@ -5710,8 +5704,6 @@ function getExtremeFromData(dataset, axis, type) {
5710
5704
  }, initialValue);
5711
5705
  return containsDate ? new Date(result) : result;
5712
5706
  }
5713
-
5714
- // eslint-disable-next-line max-statements
5715
5707
  function padDomain(domain, props, axis) {
5716
5708
  if (!props.domainPadding) {
5717
5709
  return domain;
@@ -6057,7 +6049,6 @@ __webpack_require__.r(__webpack_exports__);
6057
6049
 
6058
6050
 
6059
6051
 
6060
- /* eslint-disable no-use-before-define */
6061
6052
 
6062
6053
  // Private Functions
6063
6054
 
@@ -6529,7 +6520,6 @@ __webpack_require__.r(__webpack_exports__);
6529
6520
  /* harmony import */ var _collection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./collection */ "../../victory-core/es/victory-util/collection.js");
6530
6521
  /* harmony import */ var victory_vendor_d3_scale__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! victory-vendor/d3-scale */ "../../victory-vendor/es/d3-scale.js");
6531
6522
 
6532
- /* eslint-disable no-use-before-define */
6533
6523
 
6534
6524
 
6535
6525
 
@@ -229,7 +229,6 @@ export class VictoryBrushLine extends React.Component {
229
229
  })
230
230
  }] : [];
231
231
  },
232
- // eslint-disable-next-line max-statements, complexity
233
232
  onMouseMove: (evt, targetProps) => {
234
233
  const {
235
234
  isPanning,
@@ -236,7 +236,6 @@ class VictoryBrushLine extends _react.default.Component {
236
236
  })
237
237
  }] : [];
238
238
  },
239
- // eslint-disable-next-line max-statements, complexity
240
239
  onMouseMove: (evt, targetProps) => {
241
240
  const {
242
241
  isPanning,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "victory-brush-line",
3
- "version": "37.3.0",
3
+ "version": "37.3.2",
4
4
  "description": "Interactive Brush Line Component for Victory",
5
5
  "keywords": [
6
6
  "data visualization",
@@ -22,7 +22,7 @@
22
22
  "dependencies": {
23
23
  "lodash": "^4.17.19",
24
24
  "react-fast-compare": "^3.2.0",
25
- "victory-core": "37.3.0"
25
+ "victory-core": "37.3.2"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": ">=16.6.0"
@@ -208,11 +208,9 @@
208
208
  ]
209
209
  },
210
210
  "lint": {
211
- "command": "nps lint:pkg",
211
+ "command": "eslint src",
212
212
  "files": [
213
- "src/**",
214
- "../../.eslintignore",
215
- "../../.eslintrc.js"
213
+ "src/**"
216
214
  ],
217
215
  "output": [],
218
216
  "dependencies": [
@@ -225,11 +223,9 @@
225
223
  ]
226
224
  },
227
225
  "lint:fix": {
228
- "command": "pnpm run lint || nps lint:pkg:fix",
226
+ "command": "eslint --fix src",
229
227
  "files": [
230
- "src/**",
231
- "../../.eslintignore",
232
- "../../.eslintrc.js"
228
+ "src/**"
233
229
  ],
234
230
  "output": [],
235
231
  "dependencies": [
@@ -306,7 +306,7 @@ export class VictoryBrushLine<
306
306
  ]
307
307
  : [];
308
308
  },
309
- // eslint-disable-next-line max-statements, complexity
309
+
310
310
  onMouseMove: (evt, targetProps) => {
311
311
  const {
312
312
  isPanning,