node-opcua-address-space 2.147.0 → 2.149.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-opcua-address-space",
3
- "version": "2.147.0",
3
+ "version": "2.149.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",
@@ -21,11 +21,11 @@
21
21
  "chalk": "4.1.2",
22
22
  "dequeue": "^1.0.5",
23
23
  "lodash": "4.17.21",
24
- "node-opcua-address-space-base": "2.143.0",
24
+ "node-opcua-address-space-base": "2.149.0",
25
25
  "node-opcua-assert": "2.139.0",
26
26
  "node-opcua-basic-types": "2.139.0",
27
27
  "node-opcua-binary-stream": "2.139.0",
28
- "node-opcua-client-dynamic-extension-object": "2.147.0",
28
+ "node-opcua-client-dynamic-extension-object": "2.149.0",
29
29
  "node-opcua-constants": "2.139.0",
30
30
  "node-opcua-crypto": "4.16.0",
31
31
  "node-opcua-data-access": "2.143.0",
@@ -37,10 +37,10 @@
37
37
  "node-opcua-extension-object": "2.139.0",
38
38
  "node-opcua-factory": "2.139.0",
39
39
  "node-opcua-nodeid": "2.139.0",
40
- "node-opcua-nodeset-ua": "2.143.0",
40
+ "node-opcua-nodeset-ua": "2.149.0",
41
41
  "node-opcua-numeric-range": "2.139.0",
42
42
  "node-opcua-object-registry": "2.139.0",
43
- "node-opcua-pseudo-session": "2.143.0",
43
+ "node-opcua-pseudo-session": "2.149.0",
44
44
  "node-opcua-service-browse": "2.143.0",
45
45
  "node-opcua-service-call": "2.143.0",
46
46
  "node-opcua-service-history": "2.143.0",
@@ -51,7 +51,7 @@
51
51
  "node-opcua-utils": "2.139.0",
52
52
  "node-opcua-variant": "2.142.0",
53
53
  "node-opcua-xml2json": "2.143.0",
54
- "semver": "^7.7.0",
54
+ "semver": "^7.7.1",
55
55
  "set-prototype-of": "^1.0.0",
56
56
  "thenify-ex": "4.4.0",
57
57
  "xml-writer": "^1.7.0"
@@ -61,7 +61,7 @@
61
61
  "node-opcua-leak-detector": "2.139.0",
62
62
  "node-opcua-nodesets": "2.139.0",
63
63
  "node-opcua-packet-analyzer": "2.139.0",
64
- "node-opcua-service-filter": "2.143.0",
64
+ "node-opcua-service-filter": "2.149.0",
65
65
  "node-opcua-test-fixtures": "2.143.0",
66
66
  "source-map-support": "^0.5.21"
67
67
  },
@@ -80,7 +80,7 @@
80
80
  "internet of things"
81
81
  ],
82
82
  "homepage": "http://node-opcua.github.io/",
83
- "gitHead": "56adb9d484984017d9d1005b2dcee5ad65c3ea37",
83
+ "gitHead": "f88519f1ee215d924c051e86a8ccf0eca3be27bd",
84
84
  "files": [
85
85
  "dist",
86
86
  "distHelpers",
@@ -940,10 +940,6 @@ export class BaseNodeImpl extends EventEmitter implements BaseNode {
940
940
 
941
941
  const addressSpace = this.addressSpace as AddressSpacePrivate;
942
942
 
943
- // istanbul ignore next
944
- if (!addressSpace) {
945
- debugLog("Where is addressSpace ?");
946
- }
947
943
  const reference = addressSpace.normalizeReferenceTypes([referenceOpts!])![0];
948
944
  const h = (<ReferenceImpl>reference).hash;
949
945
 
@@ -1016,6 +1012,15 @@ export class BaseNodeImpl extends EventEmitter implements BaseNode {
1016
1012
  // skipping
1017
1013
  return;
1018
1014
  }
1015
+ if (!reference.isForward) {
1016
+ const parentNode = resolveReferenceNode(addressSpace, reference);
1017
+ // uninstall backward
1018
+ (parentNode as BaseNodeImpl).uninstall_extra_properties({
1019
+ isForward: true,
1020
+ nodeId: this.nodeId,
1021
+ referenceType: reference.referenceType
1022
+ });
1023
+ }
1019
1024
  const childNode = resolveReferenceNode(addressSpace, reference);
1020
1025
 
1021
1026
  const name = lowerFirstLetter(childNode.browseName.name!.toString());