@hpcc-js/comms 2.99.0 → 2.99.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/dist/index.es6.js +16 -9
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +16 -9
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/index.node.js +16 -9
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.min.js +1 -1
- package/dist/index.node.min.js.map +1 -1
- package/lib-es6/__package__.js +2 -2
- package/lib-es6/ecl/dfuWorkunit.js +1 -1
- package/lib-es6/ecl/dfuWorkunit.js.map +1 -1
- package/lib-es6/ecl/logicalFile.js +1 -1
- package/lib-es6/ecl/logicalFile.js.map +1 -1
- package/lib-es6/ecl/workunit.js +12 -5
- package/lib-es6/ecl/workunit.js.map +1 -1
- package/package.json +2 -2
- package/src/__package__.ts +2 -2
- package/src/ecl/dfuWorkunit.ts +1 -1
- package/src/ecl/logicalFile.ts +1 -1
- package/src/ecl/workunit.ts +6 -2
- package/types/__package__.d.ts +2 -2
- package/types/ecl/workunit.d.ts.map +1 -1
- package/types-3.4/__package__.d.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -648,8 +648,8 @@
|
|
|
648
648
|
}
|
|
649
649
|
|
|
650
650
|
var PKG_NAME = "@hpcc-js/comms";
|
|
651
|
-
var PKG_VERSION = "2.99.
|
|
652
|
-
var BUILD_VERSION = "2.107.
|
|
651
|
+
var PKG_VERSION = "2.99.1";
|
|
652
|
+
var BUILD_VERSION = "2.107.3";
|
|
653
653
|
|
|
654
654
|
/******************************************************************************
|
|
655
655
|
Copyright (c) Microsoft Corporation.
|
|
@@ -6746,7 +6746,7 @@
|
|
|
6746
6746
|
return this.WUDetails(request).then(function (response) { return response.Scopes.Scope; });
|
|
6747
6747
|
};
|
|
6748
6748
|
Workunit.prototype.normalizeDetails = function (meta, scopes) {
|
|
6749
|
-
var _a;
|
|
6749
|
+
var _a, _b;
|
|
6750
6750
|
var columns = {
|
|
6751
6751
|
id: {
|
|
6752
6752
|
Measure: "label"
|
|
@@ -6763,11 +6763,15 @@
|
|
|
6763
6763
|
var props = {};
|
|
6764
6764
|
var formattedProps = {};
|
|
6765
6765
|
if (scope && scope.Id && scope.Properties && scope.Properties.Property) {
|
|
6766
|
-
|
|
6766
|
+
var _loop_2 = function (key) {
|
|
6767
6767
|
var scopeProperty = scope.Properties.Property[key];
|
|
6768
6768
|
if (scopeProperty.Measure === "ns") {
|
|
6769
6769
|
scopeProperty.Measure = "s";
|
|
6770
6770
|
}
|
|
6771
|
+
if (scopeProperty.Name === "Kind") {
|
|
6772
|
+
var rawValue_1 = parseInt(scopeProperty.RawValue, 10);
|
|
6773
|
+
scopeProperty.Formatted = (_a = meta.Activities.Activity.filter(function (a) { return a.Kind === rawValue_1; })[0].Name) !== null && _a !== void 0 ? _a : scopeProperty.RawValue;
|
|
6774
|
+
}
|
|
6771
6775
|
columns[scopeProperty.Name] = __assign({}, scopeProperty);
|
|
6772
6776
|
safeDelete(columns, scopeProperty.Name, "RawValue");
|
|
6773
6777
|
safeDelete(columns, scopeProperty.Name, "Formatted");
|
|
@@ -6806,7 +6810,10 @@
|
|
|
6806
6810
|
default:
|
|
6807
6811
|
props[scopeProperty.Name] = scopeProperty.RawValue;
|
|
6808
6812
|
}
|
|
6809
|
-
formattedProps[scopeProperty.Name] = formatNum((
|
|
6813
|
+
formattedProps[scopeProperty.Name] = formatNum((_b = scopeProperty.Formatted) !== null && _b !== void 0 ? _b : props[scopeProperty.Name]);
|
|
6814
|
+
};
|
|
6815
|
+
for (var key in scope.Properties.Property) {
|
|
6816
|
+
_loop_2(key);
|
|
6810
6817
|
}
|
|
6811
6818
|
// Other properties ---
|
|
6812
6819
|
}
|
|
@@ -7091,7 +7098,7 @@
|
|
|
7091
7098
|
return false;
|
|
7092
7099
|
});
|
|
7093
7100
|
if (!wuMissing) {
|
|
7094
|
-
logger$3.warning("Unexpected exception:
|
|
7101
|
+
logger$3.warning("Unexpected ESP exception: ".concat(e.message));
|
|
7095
7102
|
throw e;
|
|
7096
7103
|
}
|
|
7097
7104
|
return {};
|
|
@@ -7128,7 +7135,7 @@
|
|
|
7128
7135
|
return false;
|
|
7129
7136
|
});
|
|
7130
7137
|
if (!wuMissing) {
|
|
7131
|
-
logger$3.warning("Unexpected exception:
|
|
7138
|
+
logger$3.warning("Unexpected ESP exception: ".concat(e.message));
|
|
7132
7139
|
throw e;
|
|
7133
7140
|
}
|
|
7134
7141
|
return {};
|
|
@@ -7887,7 +7894,7 @@
|
|
|
7887
7894
|
return false;
|
|
7888
7895
|
});
|
|
7889
7896
|
if (!fileMissing) {
|
|
7890
|
-
logger$2.warning("Unexpected exception:
|
|
7897
|
+
logger$2.warning("Unexpected ESP exception: ".concat(e.message));
|
|
7891
7898
|
throw e;
|
|
7892
7899
|
}
|
|
7893
7900
|
return {};
|
|
@@ -10288,7 +10295,7 @@
|
|
|
10288
10295
|
return false;
|
|
10289
10296
|
});
|
|
10290
10297
|
if (!wuMissing) {
|
|
10291
|
-
logger.warning("Unexpected exception:
|
|
10298
|
+
logger.warning("Unexpected ESP exception: ".concat(e.message));
|
|
10292
10299
|
throw e;
|
|
10293
10300
|
}
|
|
10294
10301
|
return {};
|