node-opcua-samples 2.84.0 → 2.86.0
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/bin/interactive_client.js +1 -1
- package/bin/simple_server.js +8 -2
- package/package.json +12 -10
|
@@ -355,7 +355,7 @@ function dump_historyDataValues(nodeToRead, startDate, endDate, historyReadResul
|
|
|
355
355
|
log(" Node : ", chalk.cyan.bold(nodeToRead.nodeId.toString()), nodeToRead.attributeId.toString());
|
|
356
356
|
log(" startDate : ", startDate);
|
|
357
357
|
log(" endDate : ", endDate);
|
|
358
|
-
if (historyReadResult.statusCode
|
|
358
|
+
if (historyReadResult.statusCode.isNotGood()) {
|
|
359
359
|
log(" error ", historyReadResult.statusCode.toString());
|
|
360
360
|
return;
|
|
361
361
|
}
|
package/bin/simple_server.js
CHANGED
|
@@ -20,14 +20,20 @@ const {
|
|
|
20
20
|
standardUnits,
|
|
21
21
|
makeApplicationUrn,
|
|
22
22
|
nodesets,
|
|
23
|
-
install_optional_cpu_and_memory_usage_node,
|
|
24
|
-
build_address_space_for_conformance_testing,
|
|
25
23
|
RegisterServerMethod,
|
|
26
24
|
extractFullyQualifiedDomainName,
|
|
27
25
|
makeRoles,
|
|
28
26
|
WellKnownRoles
|
|
29
27
|
} = require("node-opcua");
|
|
30
28
|
|
|
29
|
+
const {
|
|
30
|
+
install_optional_cpu_and_memory_usage_node,
|
|
31
|
+
} = require("node-opcua-vendor-diagnostic");
|
|
32
|
+
|
|
33
|
+
const {
|
|
34
|
+
build_address_space_for_conformance_testing,
|
|
35
|
+
}= require("node-opcua-address-space-for-conformance-testing");
|
|
36
|
+
|
|
31
37
|
Error.stackTraceLimit = Infinity;
|
|
32
38
|
|
|
33
39
|
const argv = yargs(process.argv)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-samples",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.86.0",
|
|
4
4
|
"description": "pure nodejs OPCUA SDK - module -samples",
|
|
5
5
|
"bin": {
|
|
6
6
|
"simple_client": "./dist/simple_client_ts.js",
|
|
@@ -17,19 +17,21 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@types/underscore": "^1.11.4",
|
|
20
|
-
"@types/yargs": "17.0.
|
|
20
|
+
"@types/yargs": "17.0.14",
|
|
21
21
|
"chalk": "4.1.2",
|
|
22
22
|
"easy-table": "^1.2.0",
|
|
23
23
|
"env-paths": "2.2.1",
|
|
24
24
|
"exit": "^0.1.2",
|
|
25
|
-
"node-opcua": "2.
|
|
26
|
-
"node-opcua-address-space": "2.
|
|
25
|
+
"node-opcua": "2.86.0",
|
|
26
|
+
"node-opcua-address-space": "2.86.0",
|
|
27
|
+
"node-opcua-address-space-for-conformance-testing": "2.86.0",
|
|
27
28
|
"node-opcua-assert": "2.77.0",
|
|
28
|
-
"node-opcua-client-crawler": "2.
|
|
29
|
-
"node-opcua-crypto": "^1.
|
|
30
|
-
"node-opcua-pki": "^
|
|
31
|
-
"node-opcua-server-configuration": "2.
|
|
32
|
-
"node-opcua-utils": "2.
|
|
29
|
+
"node-opcua-client-crawler": "2.86.0",
|
|
30
|
+
"node-opcua-crypto": "^2.1.2",
|
|
31
|
+
"node-opcua-pki": "^3.0.1",
|
|
32
|
+
"node-opcua-server-configuration": "2.86.0",
|
|
33
|
+
"node-opcua-utils": "2.86.0",
|
|
34
|
+
"node-opcua-vendor-diagnostic": "2.86.0",
|
|
33
35
|
"sprintf-js": "^1.1.2",
|
|
34
36
|
"treeify": "^1.1.0",
|
|
35
37
|
"underscore": "^1.13.6",
|
|
@@ -50,5 +52,5 @@
|
|
|
50
52
|
"internet of things"
|
|
51
53
|
],
|
|
52
54
|
"homepage": "http://node-opcua.github.io/",
|
|
53
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "36afc46fe2c91aa5664a8c5418f4db5a354670c3"
|
|
54
56
|
}
|