@deck.gl/aggregation-layers 9.1.9 → 9.1.10

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
@@ -3,7 +3,7 @@
3
3
  "description": "deck.gl layers that aggregate the input data into alternative representations",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
- "version": "9.1.9",
6
+ "version": "9.1.10",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -50,5 +50,5 @@
50
50
  "@luma.gl/core": "^9.1.5",
51
51
  "@luma.gl/engine": "^9.1.5"
52
52
  },
53
- "gitHead": "475ddb7430a845490f29a0a171b945b801b031f6"
53
+ "gitHead": "f0dc529ad3196bcdbf4acb842c7aa81ca13cb689"
54
54
  }
@@ -87,7 +87,10 @@ export function aggregate({
87
87
  if (!target || target.length < bins.length) {
88
88
  target = new Float32Array(bins.length);
89
89
  }
90
+
91
+ // eslint-disable-next-line @typescript-eslint/no-shadow
90
92
  let min = Infinity;
93
+ // eslint-disable-next-line @typescript-eslint/no-shadow
91
94
  let max = -Infinity;
92
95
 
93
96
  for (let j = 0; j < bins.length; j++) {
@@ -75,6 +75,7 @@ export class CPUAggregator implements Aggregator {
75
75
  }
76
76
 
77
77
  /** Update aggregation props */
78
+ // eslint-disable-next-line complexity
78
79
  setProps(props: Partial<CPUAggregationProps>) {
79
80
  const oldProps = this.props;
80
81
 
@@ -2,7 +2,6 @@
2
2
  // SPDX-License-Identifier: MIT
3
3
  // Copyright (c) vis.gl contributors
4
4
 
5
- import {ModelProps} from '@luma.gl/engine';
6
5
  import {WebGLBinSorter} from './webgl-bin-sorter';
7
6
  import {WebGLAggregationTransform} from './webgl-aggregation-transform';
8
7
  import {_deepEqual as deepEqual, log, BinaryAttribute} from '@deck.gl/core';
@@ -169,6 +168,7 @@ export class WebGLAggregator implements Aggregator {
169
168
  }
170
169
 
171
170
  /** Update aggregation props. Normalize prop values and set change flags. */
171
+ // eslint-disable-next-line complexity, max-statements
172
172
  setProps(props: Partial<WebGLAggregationProps>) {
173
173
  const oldProps = this.props;
174
174
 
@@ -368,6 +368,7 @@ export default class GridLayer<DataT = any, ExtraPropsT extends {} = {}> extends
368
368
  });
369
369
  }
370
370
 
371
+ // eslint-disable-next-line complexity
371
372
  updateState(params: UpdateParameters<this>) {
372
373
  const aggregatorChanged = super.updateState(params);
373
374
 
@@ -373,6 +373,7 @@ export default class HexagonLayer<
373
373
  });
374
374
  }
375
375
 
376
+ // eslint-disable-next-line complexity
376
377
  updateState(params: UpdateParameters<this>) {
377
378
  const aggregatorChanged = super.updateState(params);
378
379