node-opcua 2.103.0 → 2.104.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.d.ts +1 -2
- package/dist/index.js +7 -5
- package/dist/index.js.map +1 -1
- package/package.json +51 -50
- package/source/index.ts +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export { VariableTypeIds, VariableIds, MethodIds, ObjectIds, ObjectTypeIds, Refe
|
|
|
11
11
|
export { DataType, Variant, VariantArrayType, buildVariantArray } from "node-opcua-variant";
|
|
12
12
|
export { DataValue, sameDataValue } from "node-opcua-data-value";
|
|
13
13
|
export { NumericRange } from "node-opcua-numeric-range";
|
|
14
|
-
export { AccessLevelFlag, makeAccessLevelFlag, LocalizedText, coerceLocalizedText, QualifiedName, coerceQualifiedName, NodeClass, NodeClassMask, AttributeIds, BrowseDirection } from "node-opcua-data-model";
|
|
14
|
+
export { AccessLevelFlag, makeAccessLevelFlag, LocalizedText, coerceLocalizedText, QualifiedName, coerceQualifiedName, NodeClass, NodeClassMask, AttributeIds, BrowseDirection, DiagnosticInfo } from "node-opcua-data-model";
|
|
15
15
|
export * from "node-opcua-basic-types";
|
|
16
16
|
export { standardUnits, makeEUInformation, Range } from "node-opcua-data-access";
|
|
17
17
|
export * from "node-opcua-hostname";
|
|
@@ -28,7 +28,6 @@ export * from "node-opcua-service-secure-channel";
|
|
|
28
28
|
export * from "node-opcua-service-translate-browse-path";
|
|
29
29
|
export * from "node-opcua-service-query";
|
|
30
30
|
export * from "node-opcua-service-node-management";
|
|
31
|
-
export { DiagnosticInfo } from "node-opcua-data-model";
|
|
32
31
|
export { nodesets } from "node-opcua-nodesets";
|
|
33
32
|
export { get_empty_nodeset_filename, get_mini_nodeset_filename } from "node-opcua-address-space/testHelpers";
|
|
34
33
|
export * from "node-opcua-address-space/nodeJS";
|
package/dist/index.js
CHANGED
|
@@ -20,14 +20,17 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
20
20
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
21
21
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
22
22
|
};
|
|
23
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
24
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
25
|
+
};
|
|
23
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
-
exports.is_valid_endpointUrl = exports.parseEndpointUrl = exports.hexDump = exports.get_mini_nodeset_filename = exports.get_empty_nodeset_filename = exports.nodesets = exports.
|
|
25
|
-
const
|
|
27
|
+
exports.is_valid_endpointUrl = exports.parseEndpointUrl = exports.hexDump = exports.get_mini_nodeset_filename = exports.get_empty_nodeset_filename = exports.nodesets = exports.Range = exports.makeEUInformation = exports.standardUnits = exports.DiagnosticInfo = exports.BrowseDirection = exports.AttributeIds = exports.NodeClassMask = exports.NodeClass = exports.coerceQualifiedName = exports.QualifiedName = exports.coerceLocalizedText = exports.LocalizedText = exports.makeAccessLevelFlag = exports.AccessLevelFlag = exports.NumericRange = exports.sameDataValue = exports.DataValue = exports.buildVariantArray = exports.VariantArrayType = exports.Variant = exports.DataType = exports.AggregateFunction = exports.DataTypeIds = exports.ReferenceTypeIds = exports.ObjectTypeIds = exports.ObjectIds = exports.MethodIds = exports.VariableIds = exports.VariableTypeIds = exports.StatusCodes = exports.StatusCode = exports.coerceExpandedNodeId = exports.makeExpandedNodeId = exports.ExpandedNodeId = exports.NodeIdType = exports.sameNodeId = exports.coerceNodeId = exports.makeNodeId = exports.resolveNodeId = exports.NodeId = exports.BinaryStream = exports.assert = void 0;
|
|
28
|
+
const chalk_1 = __importDefault(require("chalk"));
|
|
26
29
|
const semver = require("semver");
|
|
27
30
|
const minimumNodeVersionRequired = ">=8.0.0"; // minimum
|
|
28
31
|
// istanbul ignore next
|
|
29
32
|
if (typeof process === "object" && !semver.satisfies(process.version, minimumNodeVersionRequired)) {
|
|
30
|
-
console.log(
|
|
33
|
+
console.log(chalk_1.default.cyan(`warning node-opcua: Required nodejs version ${minimumNodeVersionRequired} not satisfied with current nodejs version ${process.version}.`));
|
|
31
34
|
}
|
|
32
35
|
__exportStar(require("node-opcua-common"), exports);
|
|
33
36
|
var node_opcua_assert_1 = require("node-opcua-assert");
|
|
@@ -78,6 +81,7 @@ Object.defineProperty(exports, "NodeClass", { enumerable: true, get: function ()
|
|
|
78
81
|
Object.defineProperty(exports, "NodeClassMask", { enumerable: true, get: function () { return node_opcua_data_model_1.NodeClassMask; } });
|
|
79
82
|
Object.defineProperty(exports, "AttributeIds", { enumerable: true, get: function () { return node_opcua_data_model_1.AttributeIds; } });
|
|
80
83
|
Object.defineProperty(exports, "BrowseDirection", { enumerable: true, get: function () { return node_opcua_data_model_1.BrowseDirection; } });
|
|
84
|
+
Object.defineProperty(exports, "DiagnosticInfo", { enumerable: true, get: function () { return node_opcua_data_model_1.DiagnosticInfo; } });
|
|
81
85
|
// basic_types
|
|
82
86
|
__exportStar(require("node-opcua-basic-types"), exports);
|
|
83
87
|
// DA
|
|
@@ -101,8 +105,6 @@ __exportStar(require("node-opcua-service-secure-channel"), exports);
|
|
|
101
105
|
__exportStar(require("node-opcua-service-translate-browse-path"), exports);
|
|
102
106
|
__exportStar(require("node-opcua-service-query"), exports);
|
|
103
107
|
__exportStar(require("node-opcua-service-node-management"), exports);
|
|
104
|
-
var node_opcua_data_model_2 = require("node-opcua-data-model");
|
|
105
|
-
Object.defineProperty(exports, "DiagnosticInfo", { enumerable: true, get: function () { return node_opcua_data_model_2.DiagnosticInfo; } });
|
|
106
108
|
// -----------------------------------------------------------------------------
|
|
107
109
|
// Nodeset stuff
|
|
108
110
|
// -----------------------------------------------------------------------------
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH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,6GAA6G;AAC7G,oDAAkC;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,68 +1,69 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.104.0",
|
|
4
4
|
"description": "pure nodejs OPCUA SDK - module node-opcua",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"clean": "npx rimraf node_modules dist *.tsbuildinfo",
|
|
9
|
+
"test": "mocha",
|
|
9
10
|
"build": "tsc -b"
|
|
10
11
|
},
|
|
11
12
|
"engines": {
|
|
12
13
|
"node": ">=8.10"
|
|
13
14
|
},
|
|
14
15
|
"dependencies": {
|
|
15
|
-
"@types/semver": "^7.
|
|
16
|
+
"@types/semver": "^7.5.0",
|
|
16
17
|
"chalk": "4.1.2",
|
|
17
|
-
"node-opcua-address-space": "2.
|
|
18
|
-
"node-opcua-address-space-for-conformance-testing": "2.
|
|
19
|
-
"node-opcua-aggregates": "2.
|
|
20
|
-
"node-opcua-assert": "2.
|
|
21
|
-
"node-opcua-basic-types": "2.
|
|
22
|
-
"node-opcua-binary-stream": "2.
|
|
23
|
-
"node-opcua-certificate-manager": "2.
|
|
24
|
-
"node-opcua-client": "2.
|
|
25
|
-
"node-opcua-client-crawler": "2.
|
|
26
|
-
"node-opcua-client-proxy": "2.
|
|
27
|
-
"node-opcua-common": "2.
|
|
18
|
+
"node-opcua-address-space": "2.104.0",
|
|
19
|
+
"node-opcua-address-space-for-conformance-testing": "2.104.0",
|
|
20
|
+
"node-opcua-aggregates": "2.104.0",
|
|
21
|
+
"node-opcua-assert": "2.104.0",
|
|
22
|
+
"node-opcua-basic-types": "2.104.0",
|
|
23
|
+
"node-opcua-binary-stream": "2.104.0",
|
|
24
|
+
"node-opcua-certificate-manager": "2.104.0",
|
|
25
|
+
"node-opcua-client": "2.104.0",
|
|
26
|
+
"node-opcua-client-crawler": "2.104.0",
|
|
27
|
+
"node-opcua-client-proxy": "2.104.0",
|
|
28
|
+
"node-opcua-common": "2.104.0",
|
|
28
29
|
"node-opcua-constants": "2.98.1",
|
|
29
|
-
"node-opcua-crypto": "
|
|
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.
|
|
36
|
-
"node-opcua-hostname": "2.
|
|
37
|
-
"node-opcua-nodeid": "2.
|
|
30
|
+
"node-opcua-crypto": "3.0.5",
|
|
31
|
+
"node-opcua-data-access": "2.104.0",
|
|
32
|
+
"node-opcua-data-model": "2.104.0",
|
|
33
|
+
"node-opcua-data-value": "2.104.0",
|
|
34
|
+
"node-opcua-debug": "2.104.0",
|
|
35
|
+
"node-opcua-enum": "2.104.0",
|
|
36
|
+
"node-opcua-factory": "2.104.0",
|
|
37
|
+
"node-opcua-hostname": "2.104.0",
|
|
38
|
+
"node-opcua-nodeid": "2.104.0",
|
|
38
39
|
"node-opcua-nodesets": "2.103.0",
|
|
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.
|
|
65
|
-
"semver": "^7.
|
|
40
|
+
"node-opcua-numeric-range": "2.104.0",
|
|
41
|
+
"node-opcua-packet-analyzer": "2.104.0",
|
|
42
|
+
"node-opcua-secure-channel": "2.104.0",
|
|
43
|
+
"node-opcua-server": "2.104.0",
|
|
44
|
+
"node-opcua-server-discovery": "2.104.0",
|
|
45
|
+
"node-opcua-service-browse": "2.104.0",
|
|
46
|
+
"node-opcua-service-call": "2.104.0",
|
|
47
|
+
"node-opcua-service-discovery": "2.104.0",
|
|
48
|
+
"node-opcua-service-endpoints": "2.104.0",
|
|
49
|
+
"node-opcua-service-filter": "2.104.0",
|
|
50
|
+
"node-opcua-service-history": "2.104.0",
|
|
51
|
+
"node-opcua-service-node-management": "2.104.0",
|
|
52
|
+
"node-opcua-service-query": "2.104.0",
|
|
53
|
+
"node-opcua-service-read": "2.104.0",
|
|
54
|
+
"node-opcua-service-register-node": "2.104.0",
|
|
55
|
+
"node-opcua-service-secure-channel": "2.104.0",
|
|
56
|
+
"node-opcua-service-session": "2.104.0",
|
|
57
|
+
"node-opcua-service-subscription": "2.104.0",
|
|
58
|
+
"node-opcua-service-translate-browse-path": "2.104.0",
|
|
59
|
+
"node-opcua-service-write": "2.104.0",
|
|
60
|
+
"node-opcua-status-code": "2.104.0",
|
|
61
|
+
"node-opcua-transport": "2.104.0",
|
|
62
|
+
"node-opcua-types": "2.104.0",
|
|
63
|
+
"node-opcua-utils": "2.104.0",
|
|
64
|
+
"node-opcua-variant": "2.104.0",
|
|
65
|
+
"node-opcua-vendor-diagnostic": "2.104.0",
|
|
66
|
+
"semver": "^7.5.1"
|
|
66
67
|
},
|
|
67
68
|
"devDependencies": {
|
|
68
69
|
"should": "^13.2.3"
|
|
@@ -85,7 +86,7 @@
|
|
|
85
86
|
"url": "https://github.com/sponsors/erossignon"
|
|
86
87
|
},
|
|
87
88
|
"homepage": "http://node-opcua.github.io/",
|
|
88
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "3cd6d355e8b3c66822d08a3ca682659ea5d1a55d",
|
|
89
90
|
"files": [
|
|
90
91
|
"dist",
|
|
91
92
|
"source"
|
package/source/index.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
// tslint:disable:no-console
|
|
7
7
|
// tslint:disable:variable-name
|
|
8
8
|
|
|
9
|
-
import
|
|
9
|
+
import chalk from "chalk";
|
|
10
10
|
|
|
11
11
|
const semver = require("semver");
|
|
12
12
|
const minimumNodeVersionRequired = ">=8.0.0"; // minimum
|
|
@@ -66,7 +66,8 @@ export {
|
|
|
66
66
|
NodeClass,
|
|
67
67
|
NodeClassMask,
|
|
68
68
|
AttributeIds,
|
|
69
|
-
BrowseDirection
|
|
69
|
+
BrowseDirection,
|
|
70
|
+
DiagnosticInfo
|
|
70
71
|
} from "node-opcua-data-model";
|
|
71
72
|
|
|
72
73
|
// basic_types
|
|
@@ -91,7 +92,6 @@ export * from "node-opcua-service-secure-channel";
|
|
|
91
92
|
export * from "node-opcua-service-translate-browse-path";
|
|
92
93
|
export * from "node-opcua-service-query";
|
|
93
94
|
export * from "node-opcua-service-node-management";
|
|
94
|
-
export { DiagnosticInfo } from "node-opcua-data-model";
|
|
95
95
|
|
|
96
96
|
// -----------------------------------------------------------------------------
|
|
97
97
|
// Nodeset stuff
|