fable 3.1.49 → 3.1.50

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": "fable",
3
- "version": "3.1.49",
3
+ "version": "3.1.50",
4
4
  "description": "A service dependency injection, configuration and logging library.",
5
5
  "main": "source/Fable.js",
6
6
  "scripts": {
@@ -64,7 +64,7 @@
64
64
  "fable-serviceproviderbase": "^3.0.15",
65
65
  "fable-settings": "^3.0.12",
66
66
  "fable-uuid": "^3.0.11",
67
- "manyfest": "^1.0.42",
67
+ "manyfest": "^1.0.43",
68
68
  "simple-get": "^4.0.1"
69
69
  }
70
70
  }
@@ -1060,7 +1060,11 @@ class FableServiceMath extends libFableServiceBase
1060
1060
  let tmpHistogram = {};
1061
1061
  for (let i = 0; i < pValueObjectSet.length; i++)
1062
1062
  {
1063
- let tmpValue = this.fable.Utility.getValueByHash(pValueObjectSet[i], pValueAddress, pManifest).toString();
1063
+ let tmpValue = this.fable.Utility.getValueByHash(pValueObjectSet[i], pValueAddress, pManifest);
1064
+ if (typeof(tmpValue) === undefined)
1065
+ {
1066
+ continue;
1067
+ }
1064
1068
  let tmpAmount = this.parsePrecise(this.fable.Utility.getValueByHash(pValueObjectSet[i], pValueAmountAddress, pManifest), NaN);
1065
1069
 
1066
1070
  if (!(tmpValue in tmpHistogram))