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

node-opcua-schemas

Package Overview
Dependencies
Maintainers
1
Versions
215
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-schemas - npm Package Compare versions

Comparing version 2.98.2 to 2.99.0

12

dist/source/tools.js

@@ -51,5 +51,5 @@ "use strict";

// remove redundant fields
// Note :some file do no thave SourceType property and may be replicated here ..
// but they belongs to the base class and shall be remove/
// For instance DataTypeSchemaHeader => UABinaryFileDataType
// Note: Some file do not have SourceType property and may be replicated here,
// but they belong to the base class and shall be removed.
// For instance, DataTypeSchemaHeader => UABinaryFileDataType
if (baseSchema && baseSchema.fields && baseSchema.name !== "ExtensionObject") {

@@ -70,5 +70,5 @@ structuredType.fields = structuredType.fields.filter((field) => {

if (!ids) {
// this may happen if the type is abstract or if the type referes to a internal ExtnsionObject
// that can only exists inside an other extension object.this Type of extension object cannot
// instantiated as standalone object and do not have encoding nodeIds...
// This may happen if the type is abstract or if the type refers to an internal ExtensionObject
// that can only exist inside another extension object. This Type of extension object cannot
// be instantiated as a standalone object and does not have encoding nodeIds...
const Constructor = (0, dynamic_extension_object_1.createDynamicObjectConstructor)(schema, dataTypeFactory);

@@ -75,0 +75,0 @@ return schema;

{
"name": "node-opcua-schemas",
"version": "2.98.2",
"version": "2.99.0",
"description": "pure nodejs OPCUA SDK - module schemas",

@@ -18,13 +18,13 @@ "main": "dist/source/index.js",

"node-opcua-binary-stream": "2.98.1",
"node-opcua-debug": "2.98.1",
"node-opcua-extension-object": "2.98.1",
"node-opcua-factory": "2.98.1",
"node-opcua-nodeid": "2.98.1",
"node-opcua-variant": "2.98.1",
"node-opcua-xml2json": "2.98.2"
"node-opcua-debug": "2.99.0",
"node-opcua-extension-object": "2.99.0",
"node-opcua-factory": "2.99.0",
"node-opcua-nodeid": "2.99.0",
"node-opcua-variant": "2.99.0",
"node-opcua-xml2json": "2.99.0"
},
"devDependencies": {
"mocha": "^10.2.0",
"node-opcua-data-model": "2.98.1",
"node-opcua-packet-analyzer": "2.98.1",
"node-opcua-data-model": "2.99.0",
"node-opcua-packet-analyzer": "2.99.0",
"node-opcua-utils": "2.98.1",

@@ -48,3 +48,3 @@ "should": "^13.2.3"

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

@@ -51,0 +51,0 @@ "dist",

@@ -73,5 +73,5 @@ /* eslint-disable max-depth */

// remove redundant fields
// Note :some file do no thave SourceType property and may be replicated here ..
// but they belongs to the base class and shall be remove/
// For instance DataTypeSchemaHeader => UABinaryFileDataType
// Note: Some file do not have SourceType property and may be replicated here,
// but they belong to the base class and shall be removed.
// For instance, DataTypeSchemaHeader => UABinaryFileDataType
if (baseSchema && baseSchema.fields && baseSchema.name !== "ExtensionObject") {

@@ -103,5 +103,5 @@ structuredType.fields = structuredType.fields.filter((field) => {

if (!ids) {
// this may happen if the type is abstract or if the type referes to a internal ExtnsionObject
// that can only exists inside an other extension object.this Type of extension object cannot
// instantiated as standalone object and do not have encoding nodeIds...
// This may happen if the type is abstract or if the type refers to an internal ExtensionObject
// that can only exist inside another extension object. This Type of extension object cannot
// be instantiated as a standalone object and does not have encoding nodeIds...
const Constructor = createDynamicObjectConstructor(schema, dataTypeFactory) as unknown as ConstructorFuncWithSchema;

@@ -108,0 +108,0 @@ return schema;

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