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.99.0 to 2.101.0

6

package.json
{
"name": "node-opcua-client-dynamic-extension-object",
"version": "2.99.0",
"version": "2.101.0",
"description": "pure nodejs OPCUA SDK - module client-dynamic-extension-object",

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

"node-opcua-nodeid": "2.99.0",
"node-opcua-pseudo-session": "2.99.0",
"node-opcua-pseudo-session": "2.101.0",
"node-opcua-schemas": "2.99.0",

@@ -47,3 +47,3 @@ "node-opcua-service-browse": "2.99.0",

"homepage": "http://node-opcua.github.io/",
"gitHead": "90ce9f5b44d74198d84a384de622dfa94fd05c0c",
"gitHead": "77abad969406b6d7d76e6bc07a8aa94ae07f3db2",
"files": [

@@ -50,0 +50,0 @@ "dist",

@@ -9,3 +9,2 @@ import { BinaryStream } from "node-opcua-binary-stream";

import { BrowseDirection, NodeClassMask, ResultMask } from "node-opcua-data-model";
import { StatusCodes } from "node-opcua-status-code";
//

@@ -23,4 +22,4 @@ import { ExtraDataTypeManager } from "./extra_data_type_manager";

const dataTypeFactory = dataTypeManager.getDataTypeFactoryForNamespace(binaryEncodingNodeId.namespace);
const Constructor = dataTypeFactory.getConstructor(binaryEncodingNodeId);

@@ -53,3 +52,3 @@ if (Constructor) {

const structureInfo = dataTypeFactory.getStructureInfoForDataType(dataTypeNodeId)!;
const structureInfo = dataTypeFactory.getStructureInfoForDataType(dataTypeNodeId)!;
if (!structureInfo.constructor) {

@@ -65,3 +64,3 @@ throw new Error("Cannot find constructor for abstract DataType");

object: ExtensionObject
) {
): Promise<void> {
const schema = object.schema;

@@ -90,6 +89,6 @@ interface D {

function fixOpaqueStructure(object: any, field: StructuredTypeField, data: D, args?: any) {
if (field.category === "complex" && !field.allowSubType) {
return;
if (field.category === "complex" && !field.allowSubType) {
return;
}
if (field.category === "basic" && field.fieldType !== "Variant") {
if (field.category === "basic" && field.fieldType !== "Variant") {
return;

@@ -160,3 +159,3 @@ }

warningLog("opaqueStructure = ", opaque?.nodeId?.toString());
warningLog("opaqueStructure = ", hexDump(opaque.buffer,132,100));
warningLog("opaqueStructure = ", hexDump(opaque.buffer, 132, 100));
warningLog(hexDump(opaque.buffer));

@@ -171,3 +170,3 @@ warningLog("resolveDynamicExtensionObjectV err = ", err);

warningLog("opaqueStructure = ", opaque.nodeId.toString());
warningLog("opaqueStructure = ", "0x" + hexDump(opaque.buffer,132,100));
warningLog("opaqueStructure = ", "0x" + hexDump(opaque.buffer, 132, 100));
warningLog(hexDump(opaque.buffer));

@@ -174,0 +173,0 @@ warningLog(dataTypeManager.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