node-opcua-pseudo-session
Advanced tools
Comparing version 2.112.0 to 2.113.0
@@ -16,3 +16,5 @@ "use strict"; | ||
const node_opcua_types_1 = require("node-opcua-types"); | ||
const node_opcua_debug_1 = require("node-opcua-debug"); | ||
const doDebug = false; | ||
const debugLog = (0, node_opcua_debug_1.make_debugLog)(__filename); | ||
/** | ||
@@ -37,3 +39,3 @@ * | ||
// istanbul ignore next | ||
doDebug && console.log("adding field ", key); | ||
doDebug && debugLog("adding field ", key); | ||
if (!_duplicateMap[key]) { | ||
@@ -77,3 +79,3 @@ fields1.push({ path: e, nodeId }); | ||
doDebug && | ||
console.log("exploring", simpleBrowsePathToString(parent), result.references.map((a) => a.browseName.toString())); | ||
debugLog("exploring", simpleBrowsePathToString(parent), result.references.map((a) => a.browseName.toString())); | ||
for (const ref of result.references) { | ||
@@ -123,3 +125,3 @@ if (ref.nodeClass === node_opcua_types_1.NodeClass.Variable) { | ||
// istanbul ignore next | ||
doDebug && console.log(" investigating super-type", reference.browseName.toString()); | ||
doDebug && debugLog(" investigating super-type", reference.browseName.toString()); | ||
promises.push(_investigateTopLevel([], reference.nodeId)); | ||
@@ -133,3 +135,3 @@ } | ||
doDebug && | ||
console.log("investigating ", nodeId.toString(), (yield session.read({ nodeId: nodeId, attributeId: node_opcua_data_model_1.AttributeIds.BrowseName })).value.value.toString()); | ||
debugLog("investigating ", nodeId.toString(), (yield session.read({ nodeId: nodeId, attributeId: node_opcua_data_model_1.AttributeIds.BrowseName })).value.value.toString()); | ||
yield _investigateTopLevel([], nodeId); | ||
@@ -136,0 +138,0 @@ return fields1; |
{ | ||
"name": "node-opcua-pseudo-session", | ||
"version": "2.112.0", | ||
"version": "2.113.0", | ||
"description": "pure nodejs OPCUA SDK - module pseudo-session", | ||
@@ -15,17 +15,17 @@ "scripts": { | ||
"node-opcua-assert": "2.105.0", | ||
"node-opcua-basic-types": "2.111.0", | ||
"node-opcua-basic-types": "2.113.0", | ||
"node-opcua-constants": "2.98.1", | ||
"node-opcua-data-model": "2.112.0", | ||
"node-opcua-data-value": "2.112.0", | ||
"node-opcua-debug": "2.110.0", | ||
"node-opcua-nodeid": "2.110.0", | ||
"node-opcua-service-browse": "2.112.0", | ||
"node-opcua-service-call": "2.112.0", | ||
"node-opcua-service-read": "2.112.0", | ||
"node-opcua-service-subscription": "2.112.0", | ||
"node-opcua-service-translate-browse-path": "2.112.0", | ||
"node-opcua-service-write": "2.112.0", | ||
"node-opcua-data-model": "2.113.0", | ||
"node-opcua-data-value": "2.113.0", | ||
"node-opcua-debug": "2.113.0", | ||
"node-opcua-nodeid": "2.113.0", | ||
"node-opcua-service-browse": "2.113.0", | ||
"node-opcua-service-call": "2.113.0", | ||
"node-opcua-service-read": "2.113.0", | ||
"node-opcua-service-subscription": "2.113.0", | ||
"node-opcua-service-translate-browse-path": "2.113.0", | ||
"node-opcua-service-write": "2.113.0", | ||
"node-opcua-status-code": "2.110.0", | ||
"node-opcua-types": "2.112.0", | ||
"node-opcua-variant": "2.112.0", | ||
"node-opcua-types": "2.113.0", | ||
"node-opcua-variant": "2.113.0", | ||
"thenify": "^3.3.1" | ||
@@ -48,3 +48,3 @@ }, | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "af1c21306612b11aa4265e9e6c094c91fe9beebb", | ||
"gitHead": "36db335391fedd39726990a1b37f7768da16466a", | ||
"files": [ | ||
@@ -51,0 +51,0 @@ "dist", |
@@ -5,2 +5,3 @@ import { AttributeIds, BrowseDirection, NodeClassMask, QualifiedName, stringToQualifiedName } from "node-opcua-data-model"; | ||
import { NodeClass } from "node-opcua-types"; | ||
import { make_debugLog } from "node-opcua-debug"; | ||
@@ -10,3 +11,3 @@ import { IBasicSession } from "./basic_session_interface"; | ||
const doDebug = false; | ||
const debugLog = make_debugLog(__filename); | ||
/** | ||
@@ -36,3 +37,3 @@ * | ||
// istanbul ignore next | ||
doDebug && console.log("adding field ", key); | ||
doDebug && debugLog("adding field ", key); | ||
@@ -86,3 +87,3 @@ if (!_duplicateMap[key]) { | ||
doDebug && | ||
console.log( | ||
debugLog( | ||
"exploring", | ||
@@ -138,3 +139,3 @@ simpleBrowsePathToString(parent), | ||
// istanbul ignore next | ||
doDebug && console.log(" investigating super-type", reference.browseName.toString()); | ||
doDebug && debugLog(" investigating super-type", reference.browseName.toString()); | ||
promises.push(_investigateTopLevel([], reference.nodeId)); | ||
@@ -148,3 +149,3 @@ } | ||
doDebug && | ||
console.log( | ||
debugLog( | ||
"investigating ", | ||
@@ -151,0 +152,0 @@ nodeId.toString(), |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
115257
1808
+ Addednode-opcua-basic-types@2.113.0(transitive)
+ Addednode-opcua-data-model@2.113.0(transitive)
+ Addednode-opcua-data-value@2.113.0(transitive)
+ Addednode-opcua-date-time@2.113.0(transitive)
+ Addednode-opcua-debug@2.113.0(transitive)
+ Addednode-opcua-extension-object@2.113.0(transitive)
+ Addednode-opcua-factory@2.113.0(transitive)
+ Addednode-opcua-generator@2.113.0(transitive)
+ Addednode-opcua-nodeid@2.113.0(transitive)
+ Addednode-opcua-numeric-range@2.113.0(transitive)
+ Addednode-opcua-schemas@2.113.0(transitive)
+ Addednode-opcua-service-browse@2.113.0(transitive)
+ Addednode-opcua-service-call@2.113.0(transitive)
+ Addednode-opcua-service-read@2.113.0(transitive)
+ Addednode-opcua-service-secure-channel@2.113.0(transitive)
+ Addednode-opcua-service-subscription@2.113.0(transitive)
+ Addednode-opcua-service-translate-browse-path@2.113.0(transitive)
+ Addednode-opcua-service-write@2.113.0(transitive)
+ Addednode-opcua-types@2.113.0(transitive)
+ Addednode-opcua-variant@2.113.0(transitive)
+ Addednode-opcua-xml2json@2.113.0(transitive)
- Removednode-opcua-basic-types@2.111.0(transitive)
- Removednode-opcua-data-model@2.112.0(transitive)
- Removednode-opcua-data-value@2.112.0(transitive)
- Removednode-opcua-date-time@2.111.0(transitive)
- Removednode-opcua-debug@2.110.0(transitive)
- Removednode-opcua-extension-object@2.112.0(transitive)
- Removednode-opcua-factory@2.112.0(transitive)
- Removednode-opcua-generator@2.112.0(transitive)
- Removednode-opcua-nodeid@2.110.0(transitive)
- Removednode-opcua-numeric-range@2.112.0(transitive)
- Removednode-opcua-schemas@2.112.0(transitive)
- Removednode-opcua-service-browse@2.112.0(transitive)
- Removednode-opcua-service-call@2.112.0(transitive)
- Removednode-opcua-service-read@2.112.0(transitive)
- Removednode-opcua-service-secure-channel@2.112.0(transitive)
- Removednode-opcua-service-subscription@2.112.0(transitive)
- Removednode-opcua-service-translate-browse-path@2.112.0(transitive)
- Removednode-opcua-service-write@2.112.0(transitive)
- Removednode-opcua-types@2.112.0(transitive)
- Removednode-opcua-variant@2.112.0(transitive)
- Removednode-opcua-xml2json@2.110.0(transitive)
Updatednode-opcua-debug@2.113.0
Updatednode-opcua-nodeid@2.113.0
Updatednode-opcua-types@2.113.0
Updatednode-opcua-variant@2.113.0