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.6 to 2.5.0-alpha.10

6

dist/factories_baseobject.js

@@ -173,3 +173,3 @@ "use strict";

const fieldTypeConstructor = field.fieldTypeConstructor;
const _newDesc = fieldTypeConstructor.prototype.schema || fieldTypeConstructor.schema;
const _newFieldSchema = field.schema || fieldTypeConstructor.prototype.schema || fieldTypeConstructor.schema;
if (field.isArray) {

@@ -189,3 +189,3 @@ if (value === null) {

const data1 = { padding: padding + " ", lines: [] };
applyOnAllSchemaFields(element, _newDesc, data1, _exploreObject, args);
applyOnAllSchemaFields(element, _newFieldSchema, data1, _exploreObject, args);
data.lines = data.lines.concat(data1.lines);

@@ -203,3 +203,3 @@ data.lines.push(padding + " }" + ((i === value.length - 1) ? "" : ","));

const data1 = { padding: padding + " ", lines: [] };
applyOnAllSchemaFields(value, _newDesc, data1, _exploreObject, args);
applyOnAllSchemaFields(value, _newFieldSchema, data1, _exploreObject, args);
data.lines = data.lines.concat(data1.lines);

@@ -206,0 +206,0 @@ data.lines.push(padding + "}");

{
"name": "node-opcua-factory",
"version": "2.5.0-alpha.6",
"version": "2.5.0-alpha.10",
"description": "pure nodejs OPCUA SDK - module -factory",

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

"homepage": "http://node-opcua.github.io/",
"gitHead": "df16503b0a7738500ccba7daec3952f898764371"
"gitHead": "1428f09853a22bf736c35cba36744511298bb62c"
}

@@ -9,7 +9,7 @@ /**

type BaseUAObjectConstructable = new(options?: any) => BaseUAObject;
type BaseUAObjectConstructable = new (options?: any) => BaseUAObject;
export type ConstructorFunc = BaseUAObjectConstructable;
// new (...args: any[]) => BaseUAObjectConstructable;
export interface ConstructorFuncWithSchema extends ConstructorFunc {
export interface ConstructorFuncWithSchema extends ConstructorFunc {
schema: StructuredTypeSchema;

@@ -16,0 +16,0 @@ possibleFields: string[];

@@ -207,3 +207,3 @@ /**

const _newDesc = fieldTypeConstructor.prototype.schema || (fieldTypeConstructor as any).schema;
const _newFieldSchema = (field.schema as StructuredTypeSchema) || fieldTypeConstructor.prototype.schema || (fieldTypeConstructor as any).schema;

@@ -225,3 +225,3 @@ if (field.isArray) {

const data1 = { padding: padding + " ", lines: [] };
applyOnAllSchemaFields(element, _newDesc, data1, _exploreObject, args);
applyOnAllSchemaFields(element, _newFieldSchema, data1, _exploreObject, args);
data.lines = data.lines.concat(data1.lines);

@@ -241,3 +241,3 @@

const data1 = { padding: padding + " ", lines: [] };
applyOnAllSchemaFields(value, _newDesc, data1, _exploreObject, args);
applyOnAllSchemaFields(value, _newFieldSchema, data1, _exploreObject, args);
data.lines = data.lines.concat(data1.lines);

@@ -244,0 +244,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