node-opcua 2.155.0 → 2.157.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 +21 -2
- package/dist/index.js +30 -8
- package/dist/index.js.map +1 -1
- package/package.json +50 -50
- package/source/index.ts +24 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
1
|
+
/*!
|
|
2
|
+
* The MIT License (MIT)
|
|
3
|
+
* Copyright (c) 2022-2025 Sterfive SAS - 833264583 RCS ORLEANS - France (https://www.sterfive.com)
|
|
4
|
+
* Copyright (c) 2014-2022 Etienne Rossignon
|
|
5
|
+
*
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
7
|
+
* this software and associated documentation files (the "Software"), to deal in
|
|
8
|
+
* the Software without restriction, including without limitation the rights to
|
|
9
|
+
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
10
|
+
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
11
|
+
* subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
18
|
+
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
19
|
+
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
20
|
+
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
21
|
+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
3
22
|
*/
|
|
4
23
|
export * from "node-opcua-common";
|
|
5
24
|
export { assert } from "node-opcua-assert";
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
*
|
|
2
|
+
/*!
|
|
3
|
+
* The MIT License (MIT)
|
|
4
|
+
* Copyright (c) 2022-2025 Sterfive SAS - 833264583 RCS ORLEANS - France (https://www.sterfive.com)
|
|
5
|
+
* Copyright (c) 2014-2022 Etienne Rossignon
|
|
6
|
+
*
|
|
7
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
8
|
+
* this software and associated documentation files (the "Software"), to deal in
|
|
9
|
+
* the Software without restriction, including without limitation the rights to
|
|
10
|
+
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
11
|
+
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
12
|
+
* subject to the following conditions:
|
|
13
|
+
*
|
|
14
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
15
|
+
* copies or substantial portions of the Software.
|
|
16
|
+
*
|
|
17
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
19
|
+
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
20
|
+
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
21
|
+
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
22
|
+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
4
23
|
*/
|
|
5
|
-
// tslint:disable:max-line-length
|
|
6
|
-
// tslint:disable:no-var-requires
|
|
7
|
-
// tslint:disable:no-console
|
|
8
|
-
// tslint:disable:variable-name
|
|
9
24
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10
25
|
if (k2 === undefined) k2 = k;
|
|
11
26
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -26,11 +41,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
41
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
42
|
exports.setDebugLogger = exports.setLogLevel = exports.hexDump = exports.LogLevel = exports.utils = 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
43
|
exports.is_valid_endpointUrl = exports.parseEndpointUrl = exports.setErrorLogger = exports.setWarningLogger = void 0;
|
|
44
|
+
/**
|
|
45
|
+
* @module node-opcua
|
|
46
|
+
*/
|
|
47
|
+
// tslint:disable:max-line-length
|
|
48
|
+
// tslint:disable:no-var-requires
|
|
49
|
+
// tslint:disable:no-console
|
|
50
|
+
// tslint:disable:variable-name
|
|
29
51
|
const chalk_1 = __importDefault(require("chalk"));
|
|
30
|
-
const
|
|
52
|
+
const semver_1 = __importDefault(require("semver"));
|
|
31
53
|
const minimumNodeJsVersionRequired = ">=16.7.0"; // minimum
|
|
32
54
|
// istanbul ignore next
|
|
33
|
-
if (typeof process === "object" && !
|
|
55
|
+
if (typeof process === "object" && !semver_1.default.satisfies(process.version, minimumNodeJsVersionRequired)) {
|
|
34
56
|
console.log(chalk_1.default.cyan(`warning node-opcua: Required nodejs version ${minimumNodeJsVersionRequired} not satisfied with current nodejs version ${process.version}.`));
|
|
35
57
|
}
|
|
36
58
|
__exportStar(require("node-opcua-common"), exports);
|
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
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;;;;;;;;;;;AAEH;;GAEG;AACH,iCAAiC;AACjC,iCAAiC;AACjC,4BAA4B;AAC5B,+BAA+B;AAE/B,kDAA0B;AAC1B,oDAA4B;AAC5B,MAAM,4BAA4B,GAAG,UAAU,CAAC,CAAC,UAAU;AAE3D,uBAAuB;AACvB,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,CAAC,gBAAM,CAAC,SAAS,CAAC,OAAO,CAAC,OAAO,EAAE,4BAA4B,CAAC,EAAE,CAAC;IAClG,OAAO,CAAC,GAAG,CACP,eAAK,CAAC,IAAI,CACN,+CAA+C,4BAA4B,8CAA8C,OAAO,CAAC,OAAO,GAAG,CAC9I,CACJ,CAAC;AACN,CAAC;AAED,oDAAkC;AAElC,uDAA2C;AAAlC,2GAAA,MAAM,OAAA;AACf,qEAAwD;AAA/C,wHAAA,YAAY,OAAA;AAErB,mDAAiC;AAEjC,uDAW2B;AAVvB,2GAAA,MAAM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C;AACxC,6DAA2C;AAC3C,mEAAiD;AACjD,+DAA6C;AAC7C,kEAAgD;AAChD,8CAA8C;AAC9C,+DAA6C;AAC7C,oEAAkD;AAClD,2EAAyD;AACzD,2DAAyC;AACzC,qEAAmD;AAEnD,gFAAgF;AAChF,gBAAgB;AAChB,gFAAgF;AAChF,2DAA+C;AAAtC,+GAAA,QAAQ,OAAA;AACjB,gEAAgE;AAChE,oEAA6G;AAApG,yHAAA,0BAA0B,OAAA;AAAE,wHAAA,yBAAyB,OAAA;AAC9D,kEAAgD;AAEnC,QAAA,KAAK,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;AACjD,qDAAoH;AAA3G,4GAAA,QAAQ,OAAA;AAAE,2GAAA,OAAO,OAAA;AAAE,+GAAA,WAAW,OAAA;AAAE,kHAAA,cAAc,OAAA;AAAE,oHAAA,gBAAgB,OAAA;AAAE,kHAAA,cAAc,OAAA;AAEzF,6GAA6G;AAC7G,kBAAkB;AAClB,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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.157.0",
|
|
4
4
|
"description": "pure nodejs OPCUA SDK - module node-opcua",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -13,56 +13,56 @@
|
|
|
13
13
|
"node": ">=8.10"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@types/semver": "
|
|
16
|
+
"@types/semver": "7.7.1",
|
|
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.
|
|
21
|
-
"node-opcua-assert": "2.
|
|
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.
|
|
28
|
-
"node-opcua-constants": "2.
|
|
18
|
+
"node-opcua-address-space": "2.157.0",
|
|
19
|
+
"node-opcua-address-space-for-conformance-testing": "2.157.0",
|
|
20
|
+
"node-opcua-aggregates": "2.157.0",
|
|
21
|
+
"node-opcua-assert": "2.157.0",
|
|
22
|
+
"node-opcua-basic-types": "2.157.0",
|
|
23
|
+
"node-opcua-binary-stream": "2.157.0",
|
|
24
|
+
"node-opcua-certificate-manager": "2.157.0",
|
|
25
|
+
"node-opcua-client": "2.157.0",
|
|
26
|
+
"node-opcua-client-proxy": "2.157.0",
|
|
27
|
+
"node-opcua-common": "2.157.0",
|
|
28
|
+
"node-opcua-constants": "2.157.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.
|
|
36
|
-
"node-opcua-hostname": "2.
|
|
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.
|
|
65
|
-
"semver": "^7.7.
|
|
30
|
+
"node-opcua-data-access": "2.157.0",
|
|
31
|
+
"node-opcua-data-model": "2.157.0",
|
|
32
|
+
"node-opcua-data-value": "2.157.0",
|
|
33
|
+
"node-opcua-debug": "2.157.0",
|
|
34
|
+
"node-opcua-enum": "2.157.0",
|
|
35
|
+
"node-opcua-factory": "2.157.0",
|
|
36
|
+
"node-opcua-hostname": "2.157.0",
|
|
37
|
+
"node-opcua-nodeid": "2.157.0",
|
|
38
|
+
"node-opcua-nodesets": "2.157.0",
|
|
39
|
+
"node-opcua-numeric-range": "2.157.0",
|
|
40
|
+
"node-opcua-packet-analyzer": "2.157.0",
|
|
41
|
+
"node-opcua-secure-channel": "2.157.0",
|
|
42
|
+
"node-opcua-server": "2.157.0",
|
|
43
|
+
"node-opcua-server-discovery": "2.157.0",
|
|
44
|
+
"node-opcua-service-browse": "2.157.0",
|
|
45
|
+
"node-opcua-service-call": "2.157.0",
|
|
46
|
+
"node-opcua-service-discovery": "2.157.0",
|
|
47
|
+
"node-opcua-service-endpoints": "2.157.0",
|
|
48
|
+
"node-opcua-service-filter": "2.157.0",
|
|
49
|
+
"node-opcua-service-history": "2.157.0",
|
|
50
|
+
"node-opcua-service-node-management": "2.157.0",
|
|
51
|
+
"node-opcua-service-query": "2.157.0",
|
|
52
|
+
"node-opcua-service-read": "2.157.0",
|
|
53
|
+
"node-opcua-service-register-node": "2.157.0",
|
|
54
|
+
"node-opcua-service-secure-channel": "2.157.0",
|
|
55
|
+
"node-opcua-service-session": "2.157.0",
|
|
56
|
+
"node-opcua-service-subscription": "2.157.0",
|
|
57
|
+
"node-opcua-service-translate-browse-path": "2.157.0",
|
|
58
|
+
"node-opcua-service-write": "2.157.0",
|
|
59
|
+
"node-opcua-status-code": "2.157.0",
|
|
60
|
+
"node-opcua-transport": "2.157.0",
|
|
61
|
+
"node-opcua-types": "2.157.0",
|
|
62
|
+
"node-opcua-utils": "2.157.0",
|
|
63
|
+
"node-opcua-variant": "2.157.0",
|
|
64
|
+
"node-opcua-vendor-diagnostic": "2.157.0",
|
|
65
|
+
"semver": "^7.7.2"
|
|
66
66
|
},
|
|
67
67
|
"author": "Etienne Rossignon",
|
|
68
68
|
"license": "MIT",
|
|
@@ -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": "e0a948ac5379ae8d9cc8200a1b4a31515a35be37",
|
|
86
86
|
"files": [
|
|
87
87
|
"dist",
|
|
88
88
|
"source"
|
package/source/index.ts
CHANGED
|
@@ -1,3 +1,26 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* The MIT License (MIT)
|
|
3
|
+
* Copyright (c) 2022-2025 Sterfive SAS - 833264583 RCS ORLEANS - France (https://www.sterfive.com)
|
|
4
|
+
* Copyright (c) 2014-2022 Etienne Rossignon
|
|
5
|
+
*
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
7
|
+
* this software and associated documentation files (the "Software"), to deal in
|
|
8
|
+
* the Software without restriction, including without limitation the rights to
|
|
9
|
+
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
10
|
+
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
11
|
+
* subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
18
|
+
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
19
|
+
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
20
|
+
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
21
|
+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
22
|
+
*/
|
|
23
|
+
|
|
1
24
|
/**
|
|
2
25
|
* @module node-opcua
|
|
3
26
|
*/
|
|
@@ -7,8 +30,7 @@
|
|
|
7
30
|
// tslint:disable:variable-name
|
|
8
31
|
|
|
9
32
|
import chalk from "chalk";
|
|
10
|
-
|
|
11
|
-
const semver = require("semver");
|
|
33
|
+
import semver from "semver";
|
|
12
34
|
const minimumNodeJsVersionRequired = ">=16.7.0"; // minimum
|
|
13
35
|
|
|
14
36
|
// istanbul ignore next
|