@hpcc-js/comms 3.4.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/dist/{index.browser.js → browser/index.js} +13 -9
- package/dist/browser/index.js.map +1 -0
- package/dist/{index.browser.umd.cjs → browser/index.umd.cjs} +3 -3
- package/dist/browser/index.umd.cjs.map +1 -0
- package/dist/node/index.cjs +926 -0
- package/dist/node/index.cjs.map +7 -0
- package/dist/{index.node.js → node/index.js} +5 -5
- package/dist/{index.node.js.map → node/index.js.map} +4 -4
- package/package.json +28 -12
- package/src/__package__.ts +2 -2
- package/src/ecl/dfuWorkunit.ts +1 -1
- package/src/ecl/logicalFile.ts +1 -1
- package/src/ecl/queryGraph.ts +6 -2
- package/src/ecl/workunit.ts +6 -2
- package/types/__package__.d.ts +2 -2
- package/dist/index.browser.js.map +0 -1
- package/dist/index.browser.umd.cjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,20 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hpcc-js/comms",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.1",
|
|
4
4
|
"description": "hpcc-js - Communications",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "./dist/index.
|
|
7
|
-
"module": "./dist/index.
|
|
6
|
+
"main": "./dist/node/index.cjs",
|
|
7
|
+
"module": "./dist/node/index.js",
|
|
8
|
+
"browser": "./dist/browser/index.umd.js",
|
|
8
9
|
"exports": {
|
|
9
10
|
".": {
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
"node": {
|
|
12
|
+
"types": "./types/index.node.d.ts",
|
|
13
|
+
"import": "./dist/node/index.js",
|
|
14
|
+
"require": "./dist/node/index.cjs",
|
|
15
|
+
"default": "./dist/node/index.js"
|
|
16
|
+
},
|
|
17
|
+
"browser": {
|
|
18
|
+
"types": "./types/index.browser.d.ts",
|
|
19
|
+
"import": "./dist/browser/index.js",
|
|
20
|
+
"require": "./dist/browser/index.umd.cjs",
|
|
21
|
+
"default": "./dist/browser/index.js"
|
|
22
|
+
},
|
|
23
|
+
"default": "./dist/node/index.js"
|
|
14
24
|
},
|
|
15
|
-
"./dist/*": "./dist/*"
|
|
25
|
+
"./dist/*": "./dist/*",
|
|
26
|
+
"./package.json": "./package.json"
|
|
16
27
|
},
|
|
17
|
-
"browser": "./dist/index.browser.umd.cjs",
|
|
18
28
|
"types": "./types/index.browser.d.ts",
|
|
19
29
|
"files": [
|
|
20
30
|
"dist/*",
|
|
@@ -62,7 +72,7 @@
|
|
|
62
72
|
"wsdl-all": "npm-run-all --aggregate-output -c --serial build --parallel wsdl-*"
|
|
63
73
|
},
|
|
64
74
|
"dependencies": {
|
|
65
|
-
"@hpcc-js/util": "^3.3.
|
|
75
|
+
"@hpcc-js/util": "^3.3.1",
|
|
66
76
|
"@xmldom/xmldom": "0.9.5",
|
|
67
77
|
"abort-controller": "3.0.0",
|
|
68
78
|
"data-uri-to-buffer": "6.0.2",
|
|
@@ -73,7 +83,7 @@
|
|
|
73
83
|
},
|
|
74
84
|
"devDependencies": {
|
|
75
85
|
"@hpcc-js/ddl-shim": "^3.0.0",
|
|
76
|
-
"@hpcc-js/esbuild-plugins": "^1.4.
|
|
86
|
+
"@hpcc-js/esbuild-plugins": "^1.4.1",
|
|
77
87
|
"@types/d3-request": "1.0.9",
|
|
78
88
|
"@types/d3-time-format": "2.3.4",
|
|
79
89
|
"@types/node": "^18",
|
|
@@ -95,5 +105,11 @@
|
|
|
95
105
|
"url": "https://github.com/hpcc-systems/Visualization/issues"
|
|
96
106
|
},
|
|
97
107
|
"homepage": "https://github.com/hpcc-systems/Visualization",
|
|
98
|
-
"
|
|
108
|
+
"keywords": [
|
|
109
|
+
"hpcc-systems",
|
|
110
|
+
"hpccsystems",
|
|
111
|
+
"esp",
|
|
112
|
+
"HPCC-Platform"
|
|
113
|
+
],
|
|
114
|
+
"gitHead": "521692e7cfd01c274d5cfff0c54e79d1686d3dd6"
|
|
99
115
|
}
|
package/src/__package__.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export const PKG_NAME = "@hpcc-js/comms";
|
|
2
|
-
export const PKG_VERSION = "3.
|
|
3
|
-
export const BUILD_VERSION = "3.
|
|
2
|
+
export const PKG_VERSION = "3.5.1";
|
|
3
|
+
export const BUILD_VERSION = "3.6.1";
|
package/src/ecl/dfuWorkunit.ts
CHANGED
|
@@ -355,7 +355,7 @@ export class DFUWorkunit extends StateObject<UDFUWorkunitState, IDFUWorkunitStat
|
|
|
355
355
|
return false;
|
|
356
356
|
});
|
|
357
357
|
if (!wuMissing) {
|
|
358
|
-
logger.warning(
|
|
358
|
+
logger.warning(`Unexpected ESP exception: ${e.message}`);
|
|
359
359
|
throw e;
|
|
360
360
|
}
|
|
361
361
|
return {} as FileSpray.GetDFUWorkunitResponse;
|
package/src/ecl/logicalFile.ts
CHANGED
|
@@ -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(
|
|
168
|
+
logger.warning(`Unexpected ESP exception: ${e.message}`);
|
|
169
169
|
throw e;
|
|
170
170
|
}
|
|
171
171
|
return {} as FileDetailEx;
|
package/src/ecl/queryGraph.ts
CHANGED
|
@@ -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
|
|
756
|
+
if (source) {
|
|
757
|
+
source._isSpill = true;
|
|
758
|
+
}
|
|
757
759
|
const target = edge.getTarget();
|
|
758
|
-
target
|
|
760
|
+
if (target) {
|
|
761
|
+
target._isSpill = true;
|
|
762
|
+
}
|
|
759
763
|
}
|
|
760
764
|
retVal.addEdge(edge);
|
|
761
765
|
break;
|
package/src/ecl/workunit.ts
CHANGED
|
@@ -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(
|
|
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(
|
|
1057
|
+
logger.warning(`Unexpected ESP exception: ${e.message}`);
|
|
1054
1058
|
throw e;
|
|
1055
1059
|
}
|
|
1056
1060
|
return {} as WsWorkunits.WUInfoResponse;
|
package/types/__package__.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const PKG_NAME = "@hpcc-js/comms";
|
|
2
|
-
export declare const PKG_VERSION = "3.
|
|
3
|
-
export declare const BUILD_VERSION = "3.
|
|
2
|
+
export declare const PKG_VERSION = "3.5.0";
|
|
3
|
+
export declare const BUILD_VERSION = "3.6.0";
|