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

node-opcua-client-dynamic-extension-object

Package Overview
Dependencies
Maintainers
1
Versions
201
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-client-dynamic-extension-object - npm Package Compare versions

Comparing version 2.5.4 to 2.5.5

9

dist/client_dynamic_extension_object.js

@@ -241,3 +241,6 @@ "use strict";

for (const { className, dataTypeNodeId, dataTypeDefinition } of dataTypeDefinitionsSorted) {
console.log(chalk.yellow("--------------------------------------- "), className, dataTypeNodeId.toString());
// istanbul ignore next
if (doDebug) {
console.log(chalk.yellow("--------------------------------------- "), className, dataTypeNodeId.toString());
}
if (dataTypeFactory.hasStructuredType(className)) {

@@ -473,2 +476,4 @@ continue; // this structure has already been seen

if (!(result1.references && result1.references.length === 1)) {
// may be dataTypeNodeId is not a dataType,
// let's verify this.
const nodeClass = yield session.read({

@@ -487,3 +492,3 @@ attributeId: node_opcua_data_model_1.AttributeIds.NodeClass,

console.log(result1.toString());
throw new Error("getDataTypeDefinition invalid HasEncoding reference");
throw new Error("getDataTypeDefinition invalid HasEncoding reference dataTypeNodeId must be NodeClass.DataType but was " + node_opcua_data_model_1.NodeClass[nodeClass.value.value]);
}

@@ -490,0 +495,0 @@ const encodingReference = result1.references[0];

{
"name": "node-opcua-client-dynamic-extension-object",
"version": "2.5.4",
"version": "2.5.5",
"description": "pure nodejs OPCUA SDK - module client-dynamic-extension-object",

@@ -15,15 +15,15 @@ "main": "./dist/index.js",

"node-opcua-binary-stream": "^2.5.1",
"node-opcua-data-model": "^2.5.2",
"node-opcua-data-value": "^2.5.4",
"node-opcua-data-model": "^2.5.5",
"node-opcua-data-value": "^2.5.5",
"node-opcua-debug": "^2.5.1",
"node-opcua-extension-object": "^2.5.2",
"node-opcua-factory": "^2.5.2",
"node-opcua-extension-object": "^2.5.5",
"node-opcua-factory": "^2.5.5",
"node-opcua-nodeid": "^2.5.2",
"node-opcua-pseudo-session": "^2.5.4",
"node-opcua-schemas": "^2.5.4",
"node-opcua-service-browse": "^2.5.4",
"node-opcua-service-translate-browse-path": "^2.5.4",
"node-opcua-pseudo-session": "^2.5.5",
"node-opcua-schemas": "^2.5.5",
"node-opcua-service-browse": "^2.5.5",
"node-opcua-service-translate-browse-path": "^2.5.5",
"node-opcua-status-code": "^2.5.1",
"node-opcua-types": "^2.5.4",
"node-opcua-variant": "^2.5.2"
"node-opcua-types": "^2.5.5",
"node-opcua-variant": "^2.5.5"
},

@@ -45,3 +45,3 @@ "author": "Etienne Rossignon",

"homepage": "http://node-opcua.github.io/",
"gitHead": "f456aa2fb3acf0ca7ecf56947e3112e90b604716"
"gitHead": "4bd588e86bb9c3772dda984526a9b4aa1f110d3f"
}

@@ -331,4 +331,6 @@ // tslint:disable: no-console

console.log(chalk.yellow("--------------------------------------- "), className, dataTypeNodeId.toString());
// istanbul ignore next
if (doDebug) {
console.log(chalk.yellow("--------------------------------------- "), className, dataTypeNodeId.toString());
}
if (dataTypeFactory.hasStructuredType(className)) {

@@ -620,2 +622,4 @@ continue; // this structure has already been seen

// may be dataTypeNodeId is not a dataType,
// let's verify this.
const nodeClass = await session.read({

@@ -635,3 +639,3 @@ attributeId: AttributeIds.NodeClass,

console.log(result1.toString());
throw new Error("getDataTypeDefinition invalid HasEncoding reference");
throw new Error("getDataTypeDefinition invalid HasEncoding reference dataTypeNodeId must be NodeClass.DataType but was " + NodeClass[nodeClass.value.value]);
}

@@ -638,0 +642,0 @@

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