node-opcua-samples 2.141.0 → 2.143.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.
@@ -12,8 +12,6 @@ const chalk = require("chalk");
12
12
  const treeify = require("treeify");
13
13
  const { sprintf } = require("sprintf-js");
14
14
 
15
- const _ = require("underscore");
16
-
17
15
  const { DataType, OPCUAClient, makeNodeId, coerceNodeId, ObjectIds, StatusCodes, parseEndpointUrl } = require("node-opcua");
18
16
  const { UAProxyManager } = require("node-opcua-client-proxy");
19
17
  const { analyze_object_binary_encoding } = require("node-opcua-packet-analyzer");
@@ -109,7 +107,7 @@ rl.setPrompt(the_prompt);
109
107
  rl.prompt();
110
108
 
111
109
  function save_history(callback) {
112
- const history_uniq = _.uniq(rl.history);
110
+ const history_uniq = [ ... new Set(rl.history)];
113
111
  fs.writeFileSync(history_file, history_uniq.join("\n"), "utf-8");
114
112
  callback();
115
113
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-opcua-samples",
3
- "version": "2.141.0",
3
+ "version": "2.143.0",
4
4
  "description": "pure nodejs OPCUA SDK - module samples",
5
5
  "bin": {
6
6
  "simple_client": "./dist/simple_client_ts.js",
@@ -24,20 +24,19 @@
24
24
  "easy-table": "^1.2.0",
25
25
  "env-paths": "2.2.1",
26
26
  "exit": "^0.1.2",
27
- "node-opcua": "2.141.0",
28
- "node-opcua-address-space": "2.141.0",
29
- "node-opcua-address-space-for-conformance-testing": "2.141.0",
27
+ "node-opcua": "2.143.0",
28
+ "node-opcua-address-space": "2.143.0",
29
+ "node-opcua-address-space-for-conformance-testing": "2.143.0",
30
30
  "node-opcua-assert": "2.139.0",
31
- "node-opcua-client-proxy": "2.141.0",
32
- "node-opcua-crypto": "4.15.0",
31
+ "node-opcua-client-proxy": "2.143.0",
32
+ "node-opcua-crypto": "4.16.0",
33
33
  "node-opcua-packet-analyzer": "2.139.0",
34
- "node-opcua-pki": "4.18.0",
35
- "node-opcua-server-configuration": "2.141.0",
34
+ "node-opcua-pki": "5.1.0",
35
+ "node-opcua-server-configuration": "2.143.0",
36
36
  "node-opcua-utils": "2.139.0",
37
- "node-opcua-vendor-diagnostic": "2.141.0",
37
+ "node-opcua-vendor-diagnostic": "2.143.0",
38
38
  "sprintf-js": "^1.1.3",
39
39
  "treeify": "^1.1.0",
40
- "underscore": "^1.13.7",
41
40
  "yargs": "15.4.1"
42
41
  },
43
42
  "author": "Etienne Rossignon",
@@ -55,7 +54,7 @@
55
54
  "internet of things"
56
55
  ],
57
56
  "homepage": "http://node-opcua.github.io/",
58
- "gitHead": "7467e145ce9ebad2c80cabb096189bda7714083d",
57
+ "gitHead": "3bd85d4036f219f6f7e401d54e60afb3592ff1ba",
59
58
  "files": [
60
59
  "dist"
61
60
  ]