node-opcua-address-space 2.175.3 → 2.175.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-opcua-address-space",
3
- "version": "2.175.3",
3
+ "version": "2.175.6",
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",
@@ -21,48 +21,48 @@
21
21
  "@types/semver": "7.7.1",
22
22
  "chalk": "4.1.2",
23
23
  "dequeue": "^1.0.5",
24
- "node-opcua-address-space-base": "2.175.2",
25
- "node-opcua-assert": "2.175.1",
26
- "node-opcua-basic-types": "2.175.1",
27
- "node-opcua-binary-stream": "2.175.1",
28
- "node-opcua-client-dynamic-extension-object": "2.175.2",
24
+ "node-opcua-address-space-base": "2.175.6",
25
+ "node-opcua-assert": "2.175.6",
26
+ "node-opcua-basic-types": "2.175.6",
27
+ "node-opcua-binary-stream": "2.175.6",
28
+ "node-opcua-client-dynamic-extension-object": "2.175.6",
29
29
  "node-opcua-constants": "2.175.1",
30
- "node-opcua-crypto": "5.3.6",
31
- "node-opcua-data-access": "2.175.2",
32
- "node-opcua-data-model": "2.175.1",
33
- "node-opcua-data-value": "2.175.1",
34
- "node-opcua-date-time": "2.175.1",
35
- "node-opcua-debug": "2.175.1",
36
- "node-opcua-enum": "2.175.1",
37
- "node-opcua-extension-object": "2.175.1",
38
- "node-opcua-factory": "2.175.1",
39
- "node-opcua-nodeid": "2.175.1",
40
- "node-opcua-nodeset-ua": "2.175.3",
41
- "node-opcua-numeric-range": "2.175.1",
42
- "node-opcua-object-registry": "2.175.1",
43
- "node-opcua-pseudo-session": "2.175.2",
44
- "node-opcua-service-browse": "2.175.2",
45
- "node-opcua-service-call": "2.175.2",
46
- "node-opcua-service-history": "2.175.2",
47
- "node-opcua-service-translate-browse-path": "2.175.2",
48
- "node-opcua-service-write": "2.175.2",
49
- "node-opcua-status-code": "2.175.1",
50
- "node-opcua-types": "2.175.2",
51
- "node-opcua-utils": "2.175.1",
52
- "node-opcua-variant": "2.175.1",
53
- "node-opcua-xml2json": "2.175.2",
30
+ "node-opcua-crypto": "5.4.0",
31
+ "node-opcua-data-access": "2.175.6",
32
+ "node-opcua-data-model": "2.175.6",
33
+ "node-opcua-data-value": "2.175.6",
34
+ "node-opcua-date-time": "2.175.6",
35
+ "node-opcua-debug": "2.175.6",
36
+ "node-opcua-enum": "2.175.6",
37
+ "node-opcua-extension-object": "2.175.6",
38
+ "node-opcua-factory": "2.175.6",
39
+ "node-opcua-nodeid": "2.175.6",
40
+ "node-opcua-nodeset-ua": "2.175.6",
41
+ "node-opcua-numeric-range": "2.175.6",
42
+ "node-opcua-object-registry": "2.175.6",
43
+ "node-opcua-pseudo-session": "2.175.6",
44
+ "node-opcua-service-browse": "2.175.6",
45
+ "node-opcua-service-call": "2.175.6",
46
+ "node-opcua-service-history": "2.175.6",
47
+ "node-opcua-service-translate-browse-path": "2.175.6",
48
+ "node-opcua-service-write": "2.175.6",
49
+ "node-opcua-status-code": "2.175.6",
50
+ "node-opcua-types": "2.175.6",
51
+ "node-opcua-utils": "2.175.6",
52
+ "node-opcua-variant": "2.175.6",
53
+ "node-opcua-xml2json": "2.175.6",
54
54
  "semver": "^7.8.5",
55
55
  "thenify-ex": "4.4.0",
56
56
  "xml-writer": "^1.7.0"
57
57
  },
58
58
  "devDependencies": {
59
59
  "humanize": "0.0.9",
60
- "node-opcua-benchmarker": "2.175.1",
61
- "node-opcua-leak-detector": "2.175.1",
60
+ "node-opcua-benchmarker": "2.175.6",
61
+ "node-opcua-leak-detector": "2.175.6",
62
62
  "node-opcua-nodesets": "2.175.3",
63
- "node-opcua-packet-analyzer": "2.175.1",
64
- "node-opcua-schemas": "2.175.2",
65
- "node-opcua-service-filter": "2.175.2",
63
+ "node-opcua-packet-analyzer": "2.175.6",
64
+ "node-opcua-schemas": "2.175.6",
65
+ "node-opcua-service-filter": "2.175.6",
66
66
  "node-opcua-test-fixtures": "2.175.1"
67
67
  },
68
68
  "author": "Etienne Rossignon",
@@ -80,7 +80,7 @@
80
80
  "internet of things"
81
81
  ],
82
82
  "homepage": "http://node-opcua.github.io/",
83
- "gitHead": "31f407d4ad2712b7bf2882d4dc70085f598b0fcd",
83
+ "gitHead": "e233d906138995583f42359831d1908e3cb005e7",
84
84
  "files": [
85
85
  "dist",
86
86
  "distHelpers",
@@ -699,7 +699,7 @@ function makeNodeSetParserEngine(addressSpace: IAddressSpace, options: NodeSetLo
699
699
  valueRank,
700
700
  arrayDimensions: valueRank <= 0 ? null : stringToUInt32Array(attrs.ArrayDimensions),
701
701
  minimumSamplingInterval: attrs.MinimumSamplingInterval ? parseInt(attrs.MinimumSamplingInterval, 10) : 0,
702
- historizing: false,
702
+ historizing: coerceBoolean(attrs.Historizing),
703
703
  nodeId,
704
704
  accessLevel: accessLevel,
705
705
  userAccessLevel: accessLevel // convertAccessLevel(attrs.UserAccessLevel || attrs.AccessLevel);
@@ -822,6 +822,7 @@ function makeNodeSetParserEngine(addressSpace: IAddressSpace, options: NodeSetLo
822
822
  valueRank,
823
823
  arrayDimensions: valueRank <= 0 ? null : stringToUInt32Array(attrs.ArrayDimensions),
824
824
  minimumSamplingInterval: attrs.MinimumSamplingInterval ? parseInt(attrs.MinimumSamplingInterval, 10) : 0,
825
+ // UAVariableType has no Historizing attribute in the XSD: keep it false
825
826
  historizing: false,
826
827
  nodeId: convertToNodeId(attrs.NodeId) || null
827
828
  };
@@ -845,6 +845,13 @@ function dumpCommonAttributes(xw: XmlWriter, node: BaseNode) {
845
845
  xw.writeAttribute("MinimumSamplingInterval", minimumSamplingInterval);
846
846
  }
847
847
  }
848
+ // Historizing exists in the XSD on UAVariable only: UAVariableType is restricted to
849
+ // DataType/ValueRank/ArrayDimensions. UAVariableTypeImpl nevertheless owns a `historizing`
850
+ // property, so the node class must be tested here rather than the presence of the property.
851
+ // false being the default, the attribute is only emitted when it is set.
852
+ if (node.nodeClass === NodeClass.Variable && (node as UAVariable).historizing) {
853
+ xw.writeAttribute("Historizing", "true");
854
+ }
848
855
  }
849
856
 
850
857
  function dumpCommonElements(xw: XmlWriter, node: BaseNode) {