node-opcua-address-space 2.109.0 → 2.110.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/tsconfig_common.tsbuildinfo +1 -1
- package/package.json +36 -36
- package/dist/src/_clone_helpers.d.ts +0 -0
- package/dist/src/_clone_helpers.js +0 -2
- package/dist/src/_clone_helpers.js.map +0 -1
- package/dist/src/data_access/check_variant_compatibility_ua_analog_item.d.ts +0 -1
- package/dist/src/data_access/check_variant_compatibility_ua_analog_item.js +0 -35
- package/dist/src/data_access/check_variant_compatibility_ua_analog_item.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-address-space",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.110.0",
|
|
4
4
|
"description": "pure nodejs OPCUA SDK - module address-space",
|
|
5
5
|
"main": "./dist/src/index_current.js",
|
|
6
6
|
"types": "./dist/source/index.d.ts",
|
|
@@ -22,36 +22,36 @@
|
|
|
22
22
|
"chalk": "4.1.2",
|
|
23
23
|
"dequeue": "^1.0.5",
|
|
24
24
|
"lodash": "4.17.21",
|
|
25
|
-
"node-opcua-address-space-base": "2.
|
|
25
|
+
"node-opcua-address-space-base": "2.110.0",
|
|
26
26
|
"node-opcua-assert": "2.105.0",
|
|
27
|
-
"node-opcua-basic-types": "2.
|
|
28
|
-
"node-opcua-binary-stream": "2.
|
|
29
|
-
"node-opcua-client-dynamic-extension-object": "2.
|
|
27
|
+
"node-opcua-basic-types": "2.110.0",
|
|
28
|
+
"node-opcua-binary-stream": "2.110.0",
|
|
29
|
+
"node-opcua-client-dynamic-extension-object": "2.110.0",
|
|
30
30
|
"node-opcua-constants": "2.98.1",
|
|
31
|
-
"node-opcua-crypto": "4.
|
|
32
|
-
"node-opcua-data-access": "2.
|
|
33
|
-
"node-opcua-data-model": "2.
|
|
34
|
-
"node-opcua-data-value": "2.
|
|
35
|
-
"node-opcua-date-time": "2.
|
|
36
|
-
"node-opcua-debug": "2.
|
|
37
|
-
"node-opcua-enum": "2.
|
|
38
|
-
"node-opcua-extension-object": "2.
|
|
39
|
-
"node-opcua-factory": "2.
|
|
40
|
-
"node-opcua-nodeid": "2.
|
|
41
|
-
"node-opcua-nodeset-ua": "2.
|
|
42
|
-
"node-opcua-numeric-range": "2.
|
|
43
|
-
"node-opcua-object-registry": "2.
|
|
44
|
-
"node-opcua-pseudo-session": "2.
|
|
45
|
-
"node-opcua-service-browse": "2.
|
|
46
|
-
"node-opcua-service-call": "2.
|
|
47
|
-
"node-opcua-service-history": "2.
|
|
48
|
-
"node-opcua-service-translate-browse-path": "2.
|
|
49
|
-
"node-opcua-service-write": "2.
|
|
50
|
-
"node-opcua-status-code": "2.
|
|
51
|
-
"node-opcua-types": "2.
|
|
52
|
-
"node-opcua-utils": "2.
|
|
53
|
-
"node-opcua-variant": "2.
|
|
54
|
-
"node-opcua-xml2json": "2.
|
|
31
|
+
"node-opcua-crypto": "4.2.0",
|
|
32
|
+
"node-opcua-data-access": "2.110.0",
|
|
33
|
+
"node-opcua-data-model": "2.110.0",
|
|
34
|
+
"node-opcua-data-value": "2.110.0",
|
|
35
|
+
"node-opcua-date-time": "2.110.0",
|
|
36
|
+
"node-opcua-debug": "2.110.0",
|
|
37
|
+
"node-opcua-enum": "2.110.0",
|
|
38
|
+
"node-opcua-extension-object": "2.110.0",
|
|
39
|
+
"node-opcua-factory": "2.110.0",
|
|
40
|
+
"node-opcua-nodeid": "2.110.0",
|
|
41
|
+
"node-opcua-nodeset-ua": "2.110.0",
|
|
42
|
+
"node-opcua-numeric-range": "2.110.0",
|
|
43
|
+
"node-opcua-object-registry": "2.110.0",
|
|
44
|
+
"node-opcua-pseudo-session": "2.110.0",
|
|
45
|
+
"node-opcua-service-browse": "2.110.0",
|
|
46
|
+
"node-opcua-service-call": "2.110.0",
|
|
47
|
+
"node-opcua-service-history": "2.110.0",
|
|
48
|
+
"node-opcua-service-translate-browse-path": "2.110.0",
|
|
49
|
+
"node-opcua-service-write": "2.110.0",
|
|
50
|
+
"node-opcua-status-code": "2.110.0",
|
|
51
|
+
"node-opcua-types": "2.110.0",
|
|
52
|
+
"node-opcua-utils": "2.110.0",
|
|
53
|
+
"node-opcua-variant": "2.110.0",
|
|
54
|
+
"node-opcua-xml2json": "2.110.0",
|
|
55
55
|
"semver": "^7.5.4",
|
|
56
56
|
"set-prototype-of": "^1.0.0",
|
|
57
57
|
"thenify": "^3.3.1",
|
|
@@ -59,12 +59,12 @@
|
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"mocha": "^10.2.0",
|
|
62
|
-
"node-opcua-benchmarker": "2.
|
|
63
|
-
"node-opcua-leak-detector": "2.
|
|
64
|
-
"node-opcua-nodesets": "2.
|
|
65
|
-
"node-opcua-packet-analyzer": "2.
|
|
66
|
-
"node-opcua-service-filter": "2.
|
|
67
|
-
"node-opcua-test-fixtures": "2.
|
|
62
|
+
"node-opcua-benchmarker": "2.110.0",
|
|
63
|
+
"node-opcua-leak-detector": "2.110.0",
|
|
64
|
+
"node-opcua-nodesets": "2.110.0",
|
|
65
|
+
"node-opcua-packet-analyzer": "2.110.0",
|
|
66
|
+
"node-opcua-service-filter": "2.110.0",
|
|
67
|
+
"node-opcua-test-fixtures": "2.110.0",
|
|
68
68
|
"should": "^13.2.3",
|
|
69
69
|
"sinon": "^15.2.0",
|
|
70
70
|
"source-map-support": "^0.5.21"
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"internet of things"
|
|
85
85
|
],
|
|
86
86
|
"homepage": "http://node-opcua.github.io/",
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "f419b91486436bfd804d5d66d2b77db834a4deaf",
|
|
88
88
|
"files": [
|
|
89
89
|
"dist",
|
|
90
90
|
"distHelpers",
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_clone_helpers.js","sourceRoot":"","sources":["../../src/_clone_helpers.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
/**
|
|
4
|
-
* @module node-opcua-address-space.DataAccess
|
|
5
|
-
*/
|
|
6
|
-
const node_opcua_assert_1 = require("node-opcua-assert");
|
|
7
|
-
const node_opcua_status_code_1 = require("node-opcua-status-code");
|
|
8
|
-
const node_opcua_variant_1 = require("node-opcua-variant");
|
|
9
|
-
const ua_variable_impl_1 = require("../ua_variable_impl");
|
|
10
|
-
function validate_value_range(range, variant) {
|
|
11
|
-
if (variant.value < range.low || variant.value > range.high) {
|
|
12
|
-
return false;
|
|
13
|
-
}
|
|
14
|
-
return true;
|
|
15
|
-
}
|
|
16
|
-
function checkVariantCompatibilityUAAnalogItem(value) {
|
|
17
|
-
(0, node_opcua_assert_1.assert)(value instanceof node_opcua_variant_1.Variant);
|
|
18
|
-
// test dataType
|
|
19
|
-
if (!this._validate_DataType(value.dataType)) {
|
|
20
|
-
return node_opcua_status_code_1.StatusCodes.BadTypeMismatch;
|
|
21
|
-
}
|
|
22
|
-
const analogItem = this;
|
|
23
|
-
// AnalogDataItem
|
|
24
|
-
if (analogItem.instrumentRange) {
|
|
25
|
-
if (!validate_value_range(analogItem.instrumentRange.readValue().value.value, value)) {
|
|
26
|
-
return node_opcua_status_code_1.StatusCodes.BadOutOfRange;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
return node_opcua_status_code_1.StatusCodes.Good;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* extend default checkVariantCompatibility on base class with this one
|
|
33
|
-
*/
|
|
34
|
-
ua_variable_impl_1.UAVariableImpl.prototype.checkVariantCompatibility = checkVariantCompatibilityUAAnalogItem;
|
|
35
|
-
//# sourceMappingURL=check_variant_compatibility_ua_analog_item.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"check_variant_compatibility_ua_analog_item.js","sourceRoot":"","sources":["../../../src/data_access/check_variant_compatibility_ua_analog_item.ts"],"names":[],"mappings":";;AAAA;;GAEG;AACH,yDAA2C;AAE3C,mEAAqD;AAGrD,2DAAuD;AACvD,0DAAqD;AAErD,SAAS,oBAAoB,CAAC,KAAY,EAAE,OAAgB;IACxD,IAAI,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC,GAAG,IAAI,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC,IAAI,EAAE;QACzD,OAAO,KAAK,CAAC;KAChB;IACD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAS,qCAAqC,CAAuB,KAAc;IAC/E,IAAA,0BAAM,EAAC,KAAK,YAAY,4BAAO,CAAC,CAAC;IACjC,gBAAgB;IAChB,IAAI,CAAC,IAAI,CAAC,kBAAkB,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE;QAC1C,OAAO,oCAAW,CAAC,eAAe,CAAC;KACtC;IACD,MAAM,UAAU,GAAG,IAAyC,CAAC;IAC7D,iBAAiB;IACjB,IAAI,UAAU,CAAC,eAAe,EAAE;QAC5B,IAAI,CAAC,oBAAoB,CAAC,UAAU,CAAC,eAAe,CAAC,SAAS,EAAE,CAAC,KAAK,CAAC,KAAc,EAAE,KAAK,CAAC,EAAE;YAC3F,OAAO,oCAAW,CAAC,aAAa,CAAC;SACpC;KACJ;IACD,OAAO,oCAAW,CAAC,IAAI,CAAC;AAC5B,CAAC;AAED;;GAEG;AACH,iCAAc,CAAC,SAAS,CAAC,yBAAyB,GAAG,qCAAqC,CAAC"}
|