New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.0.0-alpha.12 to 2.0.0-alpha.13

6

dist/factories_baseobject.js

@@ -335,4 +335,6 @@ "use strict";

};
data.lines.push("{" + chalk_1.default.cyan(" /*" + this.schema.name + "*/"));
applyOnAllSchemaFields(this, this.schema, data, _exploreObject, arguments);
data.lines.push("{" + chalk_1.default.cyan(" /*" + (this.schema ? this.schema.name : "") + "*/"));
if (this.schema) {
applyOnAllSchemaFields(this, this.schema, data, _exploreObject, arguments);
}
data.lines.push("};");

@@ -339,0 +341,0 @@ return data.lines.join("\n");

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

const _ = require("underscore");
const factories_baseobject_1 = require("./factories_baseobject");
const constructorMap = {};

@@ -78,3 +79,5 @@ const _globalStructuredTypeConstructors = {};

if (!constructor) {
throw new Error("Cannot find constructor for " + expandedNodeId.toString());
console.log("Cannot find constructor for " + expandedNodeId.toString());
return new factories_baseobject_1.BaseUAObject();
// throw new Error("Cannot find constructor for " + expandedNodeId.toString());
}

@@ -81,0 +84,0 @@ return callConstructor(constructor);

{
"name": "node-opcua-factory",
"version": "2.0.0-alpha.12",
"version": "2.0.0-alpha.13",
"description": "pure nodejs OPCUA SDK - module -factory",

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

"node-opcua-assert": "^2.0.0-alpha.10",
"node-opcua-basic-types": "^2.0.0-alpha.12",
"node-opcua-binary-stream": "^2.0.0-alpha.12",
"node-opcua-basic-types": "^2.0.0-alpha.13",
"node-opcua-binary-stream": "^2.0.0-alpha.13",
"node-opcua-enum": "^2.0.0-alpha.10",
"node-opcua-guid": "^2.0.0-alpha.10",
"node-opcua-nodeid": "^2.0.0-alpha.11",
"node-opcua-status-code": "^2.0.0-alpha.12",
"node-opcua-utils": "^2.0.0-alpha.12",
"node-opcua-nodeid": "^2.0.0-alpha.13",
"node-opcua-status-code": "^2.0.0-alpha.13",
"node-opcua-utils": "^2.0.0-alpha.13",
"underscore": "^1.9.1"

@@ -42,3 +42,3 @@ },

"homepage": "http://node-opcua.github.io/",
"gitHead": "61699a99c75c631388f2e8d8e33eb209649c5eac"
"gitHead": "6a0c56afb819a44d5abd453d39ce684df6fb3505"
}

@@ -403,4 +403,6 @@ /**

data.lines.push("{" + chalk.cyan(" /*" + this.schema.name + "*/"));
applyOnAllSchemaFields(this, this.schema, data, _exploreObject, arguments);
data.lines.push("{" + chalk.cyan(" /*" + ( this.schema ? this.schema.name : "") + "*/"));
if (this.schema) {
applyOnAllSchemaFields(this, this.schema, data, _exploreObject, arguments);
}
data.lines.push("};");

@@ -407,0 +409,0 @@ return data.lines.join("\n");

@@ -76,3 +76,3 @@ /**

export function hasConstructor(expandedId: ExpandedNodeId) {
export function hasConstructor(expandedId: ExpandedNodeId): boolean {
if (!expandedId) {

@@ -95,3 +95,5 @@ return false;

if (!constructor) {
throw new Error("Cannot find constructor for " + expandedNodeId.toString());
console.log("Cannot find constructor for " + expandedNodeId.toString());
return new BaseUAObject();
// throw new Error("Cannot find constructor for " + expandedNodeId.toString());
}

@@ -98,0 +100,0 @@ return callConstructor(constructor);

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