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

node-opcua-service-translate-browse-path

Package Overview
Dependencies
Maintainers
1
Versions
218
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-service-translate-browse-path - npm Package Compare versions

Comparing version 2.102.0 to 2.103.0

./dist/index.js

7

dist/tools_browse_path.js

@@ -12,3 +12,4 @@ "use strict";

const imports_1 = require("./imports");
const hierarchicalReferencesId = (0, node_opcua_nodeid_1.makeNodeId)(node_opcua_constants_1.ReferenceTypeIds.HierarchicalReferences);
// const hierarchicalReferencesId = makeNodeId(ReferenceTypeIds.HierarchicalReferences);
const aggregatesReferencesId = (0, node_opcua_nodeid_1.makeNodeId)(node_opcua_constants_1.ReferenceTypeIds.Aggregates);
var node_opcua_data_model_1 = require("node-opcua-data-model");

@@ -28,3 +29,3 @@ Object.defineProperty(exports, "stringToQualifiedName", { enumerable: true, get: function () { return node_opcua_data_model_1.stringToQualifiedName; } });

includeSubtypes: true,
referenceTypeId: hierarchicalReferencesId,
referenceTypeId: aggregatesReferencesId,
targetName

@@ -35,3 +36,3 @@ };

relativePath: { elements },
startingNode: startingNode.nodeId, // ROOT
startingNode: startingNode.nodeId // ROOT
});

@@ -38,0 +39,0 @@ return browsePath;

{
"name": "node-opcua-service-translate-browse-path",
"version": "2.102.0",
"version": "2.103.0",
"description": "pure nodejs OPCUA SDK - module service-translate-browse-path",

@@ -17,3 +17,3 @@ "scripts": {

"node-opcua-nodeid": "2.99.0",
"node-opcua-types": "2.102.0"
"node-opcua-types": "2.103.0"
},

@@ -38,3 +38,3 @@ "devDependencies": {

"homepage": "http://node-opcua.github.io/",
"gitHead": "07dcdd8e8c7f2b55544c6e23023093e35674829c",
"gitHead": "e206cac2daf39bd07e5ac6cbd744f966bb54759e",
"files": [

@@ -41,0 +41,0 @@ "dist",

@@ -11,3 +11,5 @@ /**

const hierarchicalReferencesId = makeNodeId(ReferenceTypeIds.HierarchicalReferences);
// const hierarchicalReferencesId = makeNodeId(ReferenceTypeIds.HierarchicalReferences);
const aggregatesReferencesId = makeNodeId(ReferenceTypeIds.Aggregates);
export { stringToQualifiedName } from "node-opcua-data-model";

@@ -22,6 +24,5 @@

export function constructBrowsePathFromQualifiedName(
startingNode: { nodeId: NodeId },
targetNames: QualifiedName[] | null
startingNode: { nodeId: NodeId },
targetNames: QualifiedName[] | null
): BrowsePath {
targetNames = targetNames || [];

@@ -35,3 +36,3 @@

referenceTypeId: hierarchicalReferencesId,
referenceTypeId: aggregatesReferencesId,
targetName

@@ -43,5 +44,5 @@ };

relativePath: { elements },
startingNode: startingNode.nodeId, // ROOT
startingNode: startingNode.nodeId // ROOT
});
return browsePath;
}

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