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

node-opcua-address-space

Package Overview
Dependencies
Maintainers
1
Versions
282
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-address-space - npm Package Compare versions

Comparing version 0.5.0 to 0.5.3

src/namespace.js.bak

4

package.json
{
"name": "node-opcua-address-space",
"version": "0.5.0",
"version": "0.5.3",
"description": "pure nodejs OPCUA SDK - module -address-space",

@@ -77,3 +77,3 @@ "main": "index.js",

"homepage": "http://node-opcua.github.io/",
"gitHead": "7c2f2dcb6ebdc49e57da1a028406a307df502d4e"
"gitHead": "5358f8ba71974766d6d1a2a81028426f13da8e02"
}

@@ -17,6 +17,7 @@ "use strict";

const VariantArrayType = require("node-opcua-variant").VariantArrayType;
const coerceQualifiedName = require("node-opcua-data-model").coerceQualifiedName;
const Namespace = require("./namespace").Namespace;
const BaseNode = require("./base_node").BaseNode;
exports.install = function (AddressSpace) {

@@ -43,2 +44,3 @@

const method = self._createNode({

@@ -49,2 +51,3 @@ nodeClass: NodeClass.Method,

browseName: options.browseName,
displayName: options.displayName,
description: options.description || "",

@@ -51,0 +54,0 @@ eventNotifier: +options.eventNotifier,

@@ -378,2 +378,5 @@ "use strict";

* a QualifiedName : new QualifiedName({name:"Hello", namespaceIndex:1});
* @param [options.displayName] {String|LocalizedText} the node display name
* @param [options.description] {String|LocalizedText} the node description
*
* @return {BaseNode}

@@ -390,3 +393,2 @@ * @private

options.description = coerceLocalizedText(options.description);

@@ -420,2 +422,7 @@

// ------------- set display name
if (!options.displayName) {
assert(typeof(options.browseName.name) === "string" );
options.displayName= options.browseName.name;
}

@@ -567,2 +574,3 @@ //--- nodeId adjustment

browseName: options.browseName,
displayName: options.displayName,
nodeClass: nodeClass,

@@ -591,2 +599,3 @@ isAbstract: !!options.isAbstract,

* @param options.browseName {String} the object type name
* @param [options.displayName] {String|LocalizedText} the display name
* @param [options.subtypeOf="BaseObjectType"] {String|NodeId|BaseNode} the base class

@@ -613,6 +622,6 @@ * @param [options.nodeId] {String|NodeId} an optional nodeId for this objectType, if not provided a new nodeId will be created

* @param options.browseName {String} the object type name
* @param [options.displayName] {String|LocalizedText} the display name
* @param [options.subtypeOf="BaseVariableType"] {String|NodeId|BaseNode} the base class
* @param [options.nodeId] {String|NodeId} an optional nodeId for this objectType, if not provided a new nodeId will be created
* @param [options.isAbstract = false] {Boolean}
* @param [options.eventNotifier = 0] {Integer}
* @param options.dataType {String|NodeId} the variable DataType

@@ -619,0 +628,0 @@ * @param [options.valueRank = -1]

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