Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-opcua-pseudo-session

Package Overview
Dependencies
Maintainers
1
Versions
205
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-pseudo-session - npm Package Compare versions

Comparing version 2.112.0 to 2.113.0

10

dist/extract_fields.js

@@ -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;

30

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc