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

node-opcua-factory

Package Overview
Dependencies
Maintainers
1
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-factory - npm Package Compare versions

Comparing version 2.5.0-alpha.4 to 2.5.0-alpha.5

0

dist/constructor_type.d.ts

@@ -0,0 +0,0 @@ /**

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=constructor_type.js.map

@@ -0,0 +0,0 @@ import { ExpandedNodeId, NodeId } from "node-opcua-nodeid";

16

dist/datatype_factory.js

@@ -271,9 +271,19 @@ "use strict";

const schema = dataFactory.getStructuredTypeSchema(structureTypeName);
write("structureTypeName =", structureTypeName);
if (!dataFactory.findConstructorForDataType(schema.dataTypeNodeId)) {
write(" ( No constructor for " + schema.name + " " + schema.dataTypeNodeId.toString());
}
if (dataFactory.hasConstructor(schema.encodingDefaultBinary)) {
throw new Error("Not in Binary Encoding Map!!!!!");
if (!schema.encodingDefaultBinary) {
write(" (Schema has no encoding defaultBinary )");
}
write("structureTypeName =", structureTypeName);
else {
if (dataFactory.hasConstructor(schema.encodingDefaultBinary)) {
console.log("schema", schema.name);
console.log("schema", schema.dataTypeNodeId.toString());
console.log("schema", schema.encodingDefaultBinary ? schema.encodingDefaultBinary.toString() : " ");
console.log("schema", schema.encodingDefaultXml ? schema.encodingDefaultXml.toString() : " ");
// return;
// throw new Error("Not in Binary Encoding Map!!!!! " + schema.encodingDefaultBinary);
}
}
dumpSchema(schema, write);

@@ -280,0 +290,0 @@ }

@@ -0,0 +0,0 @@ import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";

@@ -0,0 +0,0 @@ "use strict";

import { ConstructorFunc } from "./constructor_type";
export declare function registerSpecialVariantEncoder(constructor: ConstructorFunc): void;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

export declare function generate_new_id(): number;
export declare function next_available_id(): number;
export declare function is_internal_id(value: number): boolean;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { FieldType, StructuredTypeField } from "./types";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { FieldType, StructuredTypeOptions, TypeSchemaBase } from "./types";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";

@@ -0,0 +0,0 @@ "use strict";

4

package.json
{
"name": "node-opcua-factory",
"version": "2.5.0-alpha.4",
"version": "2.5.0-alpha.5",
"description": "pure nodejs OPCUA SDK - module -factory",

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

"homepage": "http://node-opcua.github.io/",
"gitHead": "67068530aea80ae818cd8ee05be517194e706523"
"gitHead": "07dcdd8e8c7f2b55544c6e23023093e35674829c"
}

@@ -0,0 +0,0 @@ /**

@@ -308,9 +308,20 @@ /**

write("structureTypeName =", structureTypeName);
if (!dataFactory.findConstructorForDataType(schema.dataTypeNodeId)) {
write(" ( No constructor for " + schema.name + " " + schema.dataTypeNodeId.toString());
}
if (dataFactory.hasConstructor(schema.encodingDefaultBinary!)) {
throw new Error("Not in Binary Encoding Map!!!!!");
if (!schema.encodingDefaultBinary) {
write(" (Schema has no encoding defaultBinary )");
} else {
if (dataFactory.hasConstructor(schema.encodingDefaultBinary)) {
console.log("schema", schema.name);
console.log("schema", schema.dataTypeNodeId.toString());
console.log("schema", schema.encodingDefaultBinary ? schema.encodingDefaultBinary.toString() : " ");
console.log("schema", schema.encodingDefaultXml ? schema.encodingDefaultXml.toString() : " ");
// return;
// throw new Error("Not in Binary Encoding Map!!!!! " + schema.encodingDefaultBinary);
}
}
write("structureTypeName =", structureTypeName);
dumpSchema(schema, write);

@@ -317,0 +328,0 @@ }

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

Sorry, the diff of this file is not supported yet

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