@hpcc-js/comms 3.5.0 → 3.5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hpcc-js/comms",
3
- "version": "3.5.0",
3
+ "version": "3.5.1",
4
4
  "description": "hpcc-js - Communications",
5
5
  "type": "module",
6
6
  "main": "./dist/node/index.cjs",
@@ -72,7 +72,7 @@
72
72
  "wsdl-all": "npm-run-all --aggregate-output -c --serial build --parallel wsdl-*"
73
73
  },
74
74
  "dependencies": {
75
- "@hpcc-js/util": "^3.3.0",
75
+ "@hpcc-js/util": "^3.3.1",
76
76
  "@xmldom/xmldom": "0.9.5",
77
77
  "abort-controller": "3.0.0",
78
78
  "data-uri-to-buffer": "6.0.2",
@@ -83,7 +83,7 @@
83
83
  },
84
84
  "devDependencies": {
85
85
  "@hpcc-js/ddl-shim": "^3.0.0",
86
- "@hpcc-js/esbuild-plugins": "^1.4.0",
86
+ "@hpcc-js/esbuild-plugins": "^1.4.1",
87
87
  "@types/d3-request": "1.0.9",
88
88
  "@types/d3-time-format": "2.3.4",
89
89
  "@types/node": "^18",
@@ -111,5 +111,5 @@
111
111
  "esp",
112
112
  "HPCC-Platform"
113
113
  ],
114
- "gitHead": "220704148d2a9cc72a4bfa5160107d6fdf37c914"
114
+ "gitHead": "521692e7cfd01c274d5cfff0c54e79d1686d3dd6"
115
115
  }
@@ -1,3 +1,3 @@
1
1
  export const PKG_NAME = "@hpcc-js/comms";
2
- export const PKG_VERSION = "3.5.0";
3
- export const BUILD_VERSION = "3.5.0";
2
+ export const PKG_VERSION = "3.5.1";
3
+ export const BUILD_VERSION = "3.6.1";
@@ -355,7 +355,7 @@ export class DFUWorkunit extends StateObject<UDFUWorkunitState, IDFUWorkunitStat
355
355
  return false;
356
356
  });
357
357
  if (!wuMissing) {
358
- logger.warning("Unexpected exception: ");
358
+ logger.warning(`Unexpected ESP exception: ${e.message}`);
359
359
  throw e;
360
360
  }
361
361
  return {} as FileSpray.GetDFUWorkunitResponse;
@@ -165,7 +165,7 @@ export class LogicalFile extends StateObject<FileDetailEx, FileDetailEx> impleme
165
165
  return false;
166
166
  });
167
167
  if (!fileMissing) {
168
- logger.warning("Unexpected exception: ");
168
+ logger.warning(`Unexpected ESP exception: ${e.message}`);
169
169
  throw e;
170
170
  }
171
171
  return {} as FileDetailEx;
@@ -753,9 +753,13 @@ export class QueryGraph {
753
753
  } else if (edge._sourceActivity || edge._targetActivity) {
754
754
  edge._isSpill = true;
755
755
  const source = edge.getSource();
756
- source._isSpill = true;
756
+ if (source) {
757
+ source._isSpill = true;
758
+ }
757
759
  const target = edge.getTarget();
758
- target._isSpill = true;
760
+ if (target) {
761
+ target._isSpill = true;
762
+ }
759
763
  }
760
764
  retVal.addEdge(edge);
761
765
  break;
@@ -685,6 +685,10 @@ export class Workunit extends StateObject<UWorkunitState, IWorkunitState> implem
685
685
  if (scopeProperty.Measure === "ns") {
686
686
  scopeProperty.Measure = "s";
687
687
  }
688
+ if (scopeProperty.Name === "Kind") {
689
+ const rawValue = parseInt(scopeProperty.RawValue, 10);
690
+ scopeProperty.Formatted = meta.Activities.Activity.filter(a => a.Kind === rawValue)[0].Name ?? scopeProperty.RawValue;
691
+ }
688
692
  columns[scopeProperty.Name] = { ...scopeProperty };
689
693
  safeDelete(columns, scopeProperty.Name, "RawValue");
690
694
  safeDelete(columns, scopeProperty.Name, "Formatted");
@@ -1008,7 +1012,7 @@ export class Workunit extends StateObject<UWorkunitState, IWorkunitState> implem
1008
1012
  return false;
1009
1013
  });
1010
1014
  if (!wuMissing) {
1011
- logger.warning("Unexpected exception: ");
1015
+ logger.warning(`Unexpected ESP exception: ${e.message}`);
1012
1016
  throw e;
1013
1017
  }
1014
1018
  return {} as WsWorkunits.WUQueryResponse;
@@ -1050,7 +1054,7 @@ export class Workunit extends StateObject<UWorkunitState, IWorkunitState> implem
1050
1054
  return false;
1051
1055
  });
1052
1056
  if (!wuMissing) {
1053
- logger.warning("Unexpected exception: ");
1057
+ logger.warning(`Unexpected ESP exception: ${e.message}`);
1054
1058
  throw e;
1055
1059
  }
1056
1060
  return {} as WsWorkunits.WUInfoResponse;
@@ -1,3 +1,3 @@
1
1
  export declare const PKG_NAME = "@hpcc-js/comms";
2
- export declare const PKG_VERSION = "3.4.0";
3
- export declare const BUILD_VERSION = "3.4.0";
2
+ export declare const PKG_VERSION = "3.5.0";
3
+ export declare const BUILD_VERSION = "3.6.0";