@nstc-business/imes 1.0.38 → 1.0.39

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": "@nstc-business/imes",
3
- "version": "1.0.38",
3
+ "version": "1.0.39",
4
4
  "private": false,
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -141,6 +141,8 @@ export function sumIndicatorScores(nodes) {
141
141
  items.forEach(n => {
142
142
  const val = nodeScoreValue(n)
143
143
  if (val === null) return
144
+ const num = Number(val)
145
+ if (Number.isNaN(num)) return
144
146
  has = true
145
147
  total += num
146
148
  })