node-opcua 2.152.0 → 2.154.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/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +45 -45
- package/source/index.ts +3 -3
package/dist/index.js
CHANGED
|
@@ -28,10 +28,10 @@ exports.setDebugLogger = exports.setLogLevel = exports.hexDump = exports.LogLeve
|
|
|
28
28
|
exports.is_valid_endpointUrl = exports.parseEndpointUrl = exports.setErrorLogger = exports.setWarningLogger = void 0;
|
|
29
29
|
const chalk_1 = __importDefault(require("chalk"));
|
|
30
30
|
const semver = require("semver");
|
|
31
|
-
const
|
|
31
|
+
const minimumNodeJsVersionRequired = ">=16.7.0"; // minimum
|
|
32
32
|
// istanbul ignore next
|
|
33
|
-
if (typeof process === "object" && !semver.satisfies(process.version,
|
|
34
|
-
console.log(chalk_1.default.cyan(`warning node-opcua: Required nodejs version ${
|
|
33
|
+
if (typeof process === "object" && !semver.satisfies(process.version, minimumNodeJsVersionRequired)) {
|
|
34
|
+
console.log(chalk_1.default.cyan(`warning node-opcua: Required nodejs version ${minimumNodeJsVersionRequired} not satisfied with current nodejs version ${process.version}.`));
|
|
35
35
|
}
|
|
36
36
|
__exportStar(require("node-opcua-common"), exports);
|
|
37
37
|
var node_opcua_assert_1 = require("node-opcua-assert");
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,iCAAiC;AACjC,iCAAiC;AACjC,4BAA4B;AAC5B,+BAA+B;;;;;;;;;;;;;;;;;;;;;AAE/B,kDAA0B;AAE1B,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AACjC,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,iCAAiC;A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AAClC,6DAA8E;AAArE,wHAAA,gBAAgB,OAAA;AAAE,4HAAA,oBAAoB,OAAA;AAE/C,6GAA6G;AAC7G,oBAAoB;AACpB,6GAA6G;AAC7G,iDAA+B;AAC/B,kBAAkB;AAClB,4DAA0C;AAE1C,kBAAkB;AAClB,uDAAqC;AAErC,wDAAsC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.154.0",
|
|
4
4
|
"description": "pure nodejs OPCUA SDK - module node-opcua",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -15,53 +15,53 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@types/semver": "^7.7.0",
|
|
17
17
|
"chalk": "4.1.2",
|
|
18
|
-
"node-opcua-address-space": "2.
|
|
19
|
-
"node-opcua-address-space-for-conformance-testing": "2.
|
|
20
|
-
"node-opcua-aggregates": "2.
|
|
18
|
+
"node-opcua-address-space": "2.154.0",
|
|
19
|
+
"node-opcua-address-space-for-conformance-testing": "2.154.0",
|
|
20
|
+
"node-opcua-aggregates": "2.154.0",
|
|
21
21
|
"node-opcua-assert": "2.139.0",
|
|
22
|
-
"node-opcua-basic-types": "2.
|
|
23
|
-
"node-opcua-binary-stream": "2.
|
|
24
|
-
"node-opcua-certificate-manager": "2.
|
|
25
|
-
"node-opcua-client": "2.
|
|
26
|
-
"node-opcua-client-proxy": "2.
|
|
27
|
-
"node-opcua-common": "2.
|
|
22
|
+
"node-opcua-basic-types": "2.154.0",
|
|
23
|
+
"node-opcua-binary-stream": "2.153.0",
|
|
24
|
+
"node-opcua-certificate-manager": "2.154.0",
|
|
25
|
+
"node-opcua-client": "2.154.0",
|
|
26
|
+
"node-opcua-client-proxy": "2.154.0",
|
|
27
|
+
"node-opcua-common": "2.154.0",
|
|
28
28
|
"node-opcua-constants": "2.139.0",
|
|
29
29
|
"node-opcua-crypto": "4.16.0",
|
|
30
|
-
"node-opcua-data-access": "2.
|
|
31
|
-
"node-opcua-data-model": "2.
|
|
32
|
-
"node-opcua-data-value": "2.
|
|
33
|
-
"node-opcua-debug": "2.
|
|
34
|
-
"node-opcua-enum": "2.
|
|
35
|
-
"node-opcua-factory": "2.
|
|
30
|
+
"node-opcua-data-access": "2.154.0",
|
|
31
|
+
"node-opcua-data-model": "2.154.0",
|
|
32
|
+
"node-opcua-data-value": "2.154.0",
|
|
33
|
+
"node-opcua-debug": "2.153.0",
|
|
34
|
+
"node-opcua-enum": "2.153.0",
|
|
35
|
+
"node-opcua-factory": "2.154.0",
|
|
36
36
|
"node-opcua-hostname": "2.139.0",
|
|
37
|
-
"node-opcua-nodeid": "2.
|
|
38
|
-
"node-opcua-nodesets": "2.
|
|
39
|
-
"node-opcua-numeric-range": "2.
|
|
40
|
-
"node-opcua-packet-analyzer": "2.
|
|
41
|
-
"node-opcua-secure-channel": "2.
|
|
42
|
-
"node-opcua-server": "2.
|
|
43
|
-
"node-opcua-server-discovery": "2.
|
|
44
|
-
"node-opcua-service-browse": "2.
|
|
45
|
-
"node-opcua-service-call": "2.
|
|
46
|
-
"node-opcua-service-discovery": "2.
|
|
47
|
-
"node-opcua-service-endpoints": "2.
|
|
48
|
-
"node-opcua-service-filter": "2.
|
|
49
|
-
"node-opcua-service-history": "2.
|
|
50
|
-
"node-opcua-service-node-management": "2.
|
|
51
|
-
"node-opcua-service-query": "2.
|
|
52
|
-
"node-opcua-service-read": "2.
|
|
53
|
-
"node-opcua-service-register-node": "2.
|
|
54
|
-
"node-opcua-service-secure-channel": "2.
|
|
55
|
-
"node-opcua-service-session": "2.
|
|
56
|
-
"node-opcua-service-subscription": "2.
|
|
57
|
-
"node-opcua-service-translate-browse-path": "2.
|
|
58
|
-
"node-opcua-service-write": "2.
|
|
59
|
-
"node-opcua-status-code": "2.
|
|
60
|
-
"node-opcua-transport": "2.
|
|
61
|
-
"node-opcua-types": "2.
|
|
62
|
-
"node-opcua-utils": "2.
|
|
63
|
-
"node-opcua-variant": "2.
|
|
64
|
-
"node-opcua-vendor-diagnostic": "2.
|
|
37
|
+
"node-opcua-nodeid": "2.153.0",
|
|
38
|
+
"node-opcua-nodesets": "2.154.0",
|
|
39
|
+
"node-opcua-numeric-range": "2.154.0",
|
|
40
|
+
"node-opcua-packet-analyzer": "2.154.0",
|
|
41
|
+
"node-opcua-secure-channel": "2.154.0",
|
|
42
|
+
"node-opcua-server": "2.154.0",
|
|
43
|
+
"node-opcua-server-discovery": "2.154.0",
|
|
44
|
+
"node-opcua-service-browse": "2.154.0",
|
|
45
|
+
"node-opcua-service-call": "2.154.0",
|
|
46
|
+
"node-opcua-service-discovery": "2.154.0",
|
|
47
|
+
"node-opcua-service-endpoints": "2.154.0",
|
|
48
|
+
"node-opcua-service-filter": "2.154.0",
|
|
49
|
+
"node-opcua-service-history": "2.154.0",
|
|
50
|
+
"node-opcua-service-node-management": "2.154.0",
|
|
51
|
+
"node-opcua-service-query": "2.154.0",
|
|
52
|
+
"node-opcua-service-read": "2.154.0",
|
|
53
|
+
"node-opcua-service-register-node": "2.154.0",
|
|
54
|
+
"node-opcua-service-secure-channel": "2.154.0",
|
|
55
|
+
"node-opcua-service-session": "2.154.0",
|
|
56
|
+
"node-opcua-service-subscription": "2.154.0",
|
|
57
|
+
"node-opcua-service-translate-browse-path": "2.154.0",
|
|
58
|
+
"node-opcua-service-write": "2.154.0",
|
|
59
|
+
"node-opcua-status-code": "2.153.0",
|
|
60
|
+
"node-opcua-transport": "2.154.0",
|
|
61
|
+
"node-opcua-types": "2.154.0",
|
|
62
|
+
"node-opcua-utils": "2.153.0",
|
|
63
|
+
"node-opcua-variant": "2.154.0",
|
|
64
|
+
"node-opcua-vendor-diagnostic": "2.154.0",
|
|
65
65
|
"semver": "^7.7.1"
|
|
66
66
|
},
|
|
67
67
|
"author": "Etienne Rossignon",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"url": "https://github.com/sponsors/erossignon"
|
|
83
83
|
},
|
|
84
84
|
"homepage": "http://node-opcua.github.io/",
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "134c73195f93f46c0101b2837bed22754156c916",
|
|
86
86
|
"files": [
|
|
87
87
|
"dist",
|
|
88
88
|
"source"
|
package/source/index.ts
CHANGED
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
import chalk from "chalk";
|
|
10
10
|
|
|
11
11
|
const semver = require("semver");
|
|
12
|
-
const
|
|
12
|
+
const minimumNodeJsVersionRequired = ">=16.7.0"; // minimum
|
|
13
13
|
|
|
14
14
|
// istanbul ignore next
|
|
15
|
-
if (typeof process === "object" && !semver.satisfies(process.version,
|
|
15
|
+
if (typeof process === "object" && !semver.satisfies(process.version, minimumNodeJsVersionRequired)) {
|
|
16
16
|
console.log(
|
|
17
17
|
chalk.cyan(
|
|
18
|
-
`warning node-opcua: Required nodejs version ${
|
|
18
|
+
`warning node-opcua: Required nodejs version ${minimumNodeJsVersionRequired} not satisfied with current nodejs version ${process.version}.`
|
|
19
19
|
)
|
|
20
20
|
);
|
|
21
21
|
}
|