carbon-addons-iot-react 2.152.3 → 2.152.4-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/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.152.4-next.1](https://github.com/carbon-design-system/carbon-addons-iot-react/compare/v2.152.4-next.0...v2.152.4-next.1) (2023-02-28)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **cardutilityfunctions:** add null handler ([6dbd234](https://github.com/carbon-design-system/carbon-addons-iot-react/commit/6dbd23427f7498d27ed3a910df1f5bac4e34a984))
12
+
13
+
14
+
15
+
16
+
17
+ ## [2.152.4-next.0](https://github.com/carbon-design-system/carbon-addons-iot-react/compare/v2.152.3...v2.152.4-next.0) (2023-02-28)
18
+
19
+ **Note:** Version bump only for package carbon-addons-iot-react
20
+
21
+
22
+
23
+
24
+
6
25
  ## [2.152.3](https://github.com/carbon-design-system/carbon-addons-iot-react/compare/v2.152.1-next.2...v2.152.3) (2023-02-28)
7
26
 
8
27
 
@@ -491,6 +491,10 @@ var fetchDataURL = function fetchDataURL(url, callback) {
491
491
  */
492
492
 
493
493
  var findMatchingThresholds = function findMatchingThresholds(thresholds, item, columnId) {
494
+ if (!item) {
495
+ return [];
496
+ }
497
+
494
498
  return thresholds.filter(function (t) {
495
499
  var comparison = t.comparison,
496
500
  value = t.value,
@@ -504,6 +504,10 @@ var fetchDataURL = function fetchDataURL(url, callback) {
504
504
  */
505
505
 
506
506
  var findMatchingThresholds = function findMatchingThresholds(thresholds, item, columnId) {
507
+ if (!item) {
508
+ return [];
509
+ }
510
+
507
511
  return thresholds.filter(function (t) {
508
512
  var comparison = t.comparison,
509
513
  value = t.value,
package/package.json CHANGED
@@ -340,11 +340,11 @@
340
340
  "whatwg-fetch": "^3.0.0"
341
341
  },
342
342
  "sideEffects": false,
343
- "version": "2.152.3",
343
+ "version": "2.152.4-next.1",
344
344
  "resolutions": {
345
345
  "chokidar": "3.3.1",
346
346
  "react-grid-layout": "1.2.2",
347
347
  "got": "11.8.5"
348
348
  },
349
- "gitHead": "f2beb298ead09e4c517d5bca3b54fba076299db6"
349
+ "gitHead": "13b73ec9b6cae3d70370e70fb79a29cf7b5779fc"
350
350
  }
@@ -109403,6 +109403,10 @@
109403
109403
  */
109404
109404
 
109405
109405
  var findMatchingThresholds = function findMatchingThresholds(thresholds, item, columnId) {
109406
+ if (!item) {
109407
+ return [];
109408
+ }
109409
+
109406
109410
  return thresholds.filter(function (t) {
109407
109411
  var comparison = t.comparison,
109408
109412
  value = t.value,