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

node-opcua-data-model

Package Overview
Dependencies
Maintainers
1
Versions
190
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-data-model - npm Package Compare versions

Comparing version 2.102.0 to 2.104.0

2

dist/access_level_ex.js

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

AccessLevelExFlag[AccessLevelExFlag["None"] = 2048] = "None";
})(AccessLevelExFlag = exports.AccessLevelExFlag || (exports.AccessLevelExFlag = {}));
})(AccessLevelExFlag || (exports.AccessLevelExFlag = AccessLevelExFlag = {}));
// @example

@@ -40,0 +40,0 @@ // makeAccessLevelFlag("CurrentRead | CurrentWrite").should.eql(0x03);

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

AccessLevelFlag[AccessLevelFlag["None"] = 2048] = "None";
})(AccessLevelFlag = exports.AccessLevelFlag || (exports.AccessLevelFlag = {}));
})(AccessLevelFlag || (exports.AccessLevelFlag = AccessLevelFlag = {}));
function convertAccessLevelFlagToByte(accessLevel) {

@@ -20,0 +20,0 @@ return accessLevel & 0x7f;

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

AccessRestrictionsFlag[AccessRestrictionsFlag["None"] = 0] = "None";
})(AccessRestrictionsFlag = exports.AccessRestrictionsFlag || (exports.AccessRestrictionsFlag = {}));
})(AccessRestrictionsFlag || (exports.AccessRestrictionsFlag = AccessRestrictionsFlag = {}));
function makeAccessRestrictionsFlag(str) {

@@ -15,0 +15,0 @@ return (0, _make_flag_1._make_flag)(str, AccessRestrictionsFlag.None, AccessRestrictionsFlag);

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

BrowseDirection[BrowseDirection["Invalid"] = 3] = "Invalid"; //
})(BrowseDirection = exports.BrowseDirection || (exports.BrowseDirection = {}));
})(BrowseDirection || (exports.BrowseDirection = BrowseDirection = {}));
exports.schemaBrowseDirection = {

@@ -14,0 +14,0 @@ name: "BrowseDirection",

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

}
exports.DiagnosticInfo = DiagnosticInfo;
DiagnosticInfo.schema = exports.schemaDiagnosticInfo;

@@ -111,3 +112,2 @@ DiagnosticInfo.possibleFields = [

];
exports.DiagnosticInfo = DiagnosticInfo;
DiagnosticInfo.prototype.schema = DiagnosticInfo.schema;

@@ -123,3 +123,3 @@ DiagnosticInfo.schema.fields[6].schema = DiagnosticInfo.schema;

DiagnosticInfo_ServiceLevelMask[DiagnosticInfo_ServiceLevelMask["InnerDiagnostics"] = 16] = "InnerDiagnostics";
})(DiagnosticInfo_ServiceLevelMask = exports.DiagnosticInfo_ServiceLevelMask || (exports.DiagnosticInfo_ServiceLevelMask = {}));
})(DiagnosticInfo_ServiceLevelMask || (exports.DiagnosticInfo_ServiceLevelMask = DiagnosticInfo_ServiceLevelMask = {}));
var DiagnosticInfo_OperationLevelMask;

@@ -132,3 +132,3 @@ (function (DiagnosticInfo_OperationLevelMask) {

DiagnosticInfo_OperationLevelMask[DiagnosticInfo_OperationLevelMask["InnerDiagnostics"] = 512] = "InnerDiagnostics";
})(DiagnosticInfo_OperationLevelMask = exports.DiagnosticInfo_OperationLevelMask || (exports.DiagnosticInfo_OperationLevelMask = {}));
})(DiagnosticInfo_OperationLevelMask || (exports.DiagnosticInfo_OperationLevelMask = DiagnosticInfo_OperationLevelMask = {}));
exports.RESPONSE_DIAGNOSTICS_MASK_ALL = 0x3FF;

@@ -159,3 +159,3 @@ function filterDiagnosticInfoLevel(returnDiagnostics, diagnostic, diagnosticInfoMask) {

DiagnosticInfo_EncodingByte[DiagnosticInfo_EncodingByte["InnerDiagnosticInfo"] = 64] = "InnerDiagnosticInfo";
})(DiagnosticInfo_EncodingByte = exports.DiagnosticInfo_EncodingByte || (exports.DiagnosticInfo_EncodingByte = {}));
})(DiagnosticInfo_EncodingByte || (exports.DiagnosticInfo_EncodingByte = DiagnosticInfo_EncodingByte = {}));
// tslint:disable:no-bitwise

@@ -162,0 +162,0 @@ function getDiagnosticInfoEncodingByte(diagnosticInfo) {

@@ -16,3 +16,2 @@ /**

export * from "./data_encoding";
export * from "./write_mask";
export * from "./permission_flag";

@@ -32,4 +32,3 @@ "use strict";

__exportStar(require("./data_encoding"), exports);
__exportStar(require("./write_mask"), exports);
__exportStar(require("./permission_flag"), exports);
//# sourceMappingURL=index.js.map

@@ -122,4 +122,4 @@ "use strict";

}
exports.LocalizedText = LocalizedText;
LocalizedText.possibleFields = ["locale", "text"];
exports.LocalizedText = LocalizedText;
// not an extension object registerClassDefinition("LocalizedText", LocalizedText);

@@ -126,0 +126,0 @@ (0, node_opcua_factory_1.registerSpecialVariantEncoder)(LocalizedText);

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

NodeClassMask[NodeClassMask["View"] = 128] = "View";
})(NodeClassMask = exports.NodeClassMask || (exports.NodeClassMask = {}));
})(NodeClassMask || (exports.NodeClassMask = NodeClassMask = {}));
function makeFlagFromString(type, str) {

@@ -28,0 +28,0 @@ const flags = str.split(" | ");

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

NodeClass[NodeClass["View"] = 128] = "View"; // The node is a view.
})(NodeClass = exports.NodeClass || (exports.NodeClass = {}));
})(NodeClass || (exports.NodeClass = NodeClass = {}));
exports.schemaEnumNodeClass = {

@@ -22,0 +22,0 @@ name: "NodeClass",

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

PermissionFlag[PermissionFlag["AddNode"] = 65536] = "AddNode";
})(PermissionFlag = exports.PermissionFlag || (exports.PermissionFlag = {}));
})(PermissionFlag || (exports.PermissionFlag = PermissionFlag = {}));
exports.allPermissions = PermissionFlag.Browse |

@@ -121,0 +121,0 @@ PermissionFlag.Browse |

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

}
exports.QualifiedName = QualifiedName;
QualifiedName.schema = exports.schemaQualifiedName;

@@ -78,3 +79,2 @@ QualifiedName.possibleFields = ["namespaceIndex", "name"];

QualifiedName.encodingDefaultXml = (0, node_opcua_nodeid_1.makeExpandedNodeId)(0, 0);
exports.QualifiedName = QualifiedName;
QualifiedName.prototype.schema = QualifiedName.schema;

@@ -81,0 +81,0 @@ // xx QualifiedName.prototype.isEmpty = function (): boolean {

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

ResultMask[ResultMask["TypeDefinition"] = 32] = "TypeDefinition";
})(ResultMask = exports.ResultMask || (exports.ResultMask = {}));
})(ResultMask || (exports.ResultMask = ResultMask = {}));
exports.schemaResultMask = {

@@ -16,0 +16,0 @@ name: "ResultMask",

"use strict";
/**
* @module node-opcua-data-model
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.WriteMask = void 0;
// tslint:disable:no-bitwise
var WriteMask;
(function (WriteMask) {
WriteMask[WriteMask["AccessLevel"] = 1] = "AccessLevel";
WriteMask[WriteMask["ArrayDimensions"] = 2] = "ArrayDimensions";
WriteMask[WriteMask["BrowseName"] = 4] = "BrowseName";
WriteMask[WriteMask["ContainsNoLoops"] = 8] = "ContainsNoLoops";
WriteMask[WriteMask["DataType"] = 16] = "DataType";
WriteMask[WriteMask["Description"] = 32] = "Description";
WriteMask[WriteMask["DisplayName"] = 64] = "DisplayName";
WriteMask[WriteMask["EventNotifier"] = 128] = "EventNotifier";
WriteMask[WriteMask["Executable"] = 256] = "Executable";
WriteMask[WriteMask["Historizing"] = 512] = "Historizing";
WriteMask[WriteMask["InverseName"] = 1024] = "InverseName";
WriteMask[WriteMask["IsAbstract"] = 2048] = "IsAbstract";
WriteMask[WriteMask["MinimumSamplingInterval"] = 4096] = "MinimumSamplingInterval";
WriteMask[WriteMask["NodeClass"] = 8192] = "NodeClass";
WriteMask[WriteMask["NodeId"] = 16384] = "NodeId";
WriteMask[WriteMask["Symmetric"] = 32768] = "Symmetric";
WriteMask[WriteMask["UserAccessLevel"] = 65536] = "UserAccessLevel";
WriteMask[WriteMask["UserExecutable"] = 131072] = "UserExecutable";
WriteMask[WriteMask["UserWriteMask"] = 262144] = "UserWriteMask";
WriteMask[WriteMask["ValueRank"] = 524288] = "ValueRank";
WriteMask[WriteMask["WriteMask"] = 1048576] = "WriteMask";
WriteMask[WriteMask["ValueForVariableType"] = 2097152] = "ValueForVariableType";
WriteMask[WriteMask["DataTypeDefinition"] = 4194304] = "DataTypeDefinition";
WriteMask[WriteMask["RolePermissions"] = 8388608] = "RolePermissions";
WriteMask[WriteMask["AccessRestrictions"] = 16777216] = "AccessRestrictions";
WriteMask[WriteMask["AccessLevelEx"] = 33554432] = "AccessLevelEx"; // Indicates if the AccessLevelEx Attribute is writable.
// It does not apply for
// Variables since this is handled by the AccessLevel and UserAccessLevel
// Attributes for the Variable. For Variables this bit shall be set to 0.
// Reserved 22:31 Reserved for future use. Shall always be zero.
})(WriteMask = exports.WriteMask || (exports.WriteMask = {}));
// deprecated
//# sourceMappingURL=write_mask.js.map
{
"name": "node-opcua-data-model",
"version": "2.102.0",
"version": "2.104.0",
"description": "pure nodejs OPCUA SDK - module data-model",

@@ -16,12 +16,12 @@ "scripts": {

"dependencies": {
"node-opcua-assert": "2.98.1",
"node-opcua-basic-types": "2.99.0",
"node-opcua-binary-stream": "2.98.1",
"node-opcua-enum": "2.98.1",
"node-opcua-factory": "2.99.0",
"node-opcua-nodeid": "2.99.0",
"node-opcua-status-code": "2.98.1"
"node-opcua-assert": "2.104.0",
"node-opcua-basic-types": "2.104.0",
"node-opcua-binary-stream": "2.104.0",
"node-opcua-enum": "2.104.0",
"node-opcua-factory": "2.104.0",
"node-opcua-nodeid": "2.104.0",
"node-opcua-status-code": "2.104.0"
},
"devDependencies": {
"node-opcua-packet-analyzer": "2.102.0",
"node-opcua-packet-analyzer": "2.104.0",
"should": "^13.2.3"

@@ -44,3 +44,3 @@ },

"homepage": "http://node-opcua.github.io/",
"gitHead": "07dcdd8e8c7f2b55544c6e23023093e35674829c",
"gitHead": "3cd6d355e8b3c66822d08a3ca682659ea5d1a55d",
"files": [

@@ -47,0 +47,0 @@ "dist",

@@ -16,3 +16,2 @@ /**

export * from "./data_encoding";
export * from "./write_mask";
export * from "./permission_flag";

@@ -1,37 +0,1 @@

/**
* @module node-opcua-data-model
*/
// tslint:disable:no-bitwise
export enum WriteMask {
AccessLevel = 1 << 0, // Indicates if the AccessLevel Attribute is writable.
ArrayDimensions = 1 << 1, // Indicates if the ArrayDimensions Attribute is writable.
BrowseName = 1 << 2, // Indicates if the BrowseName Attribute is writable.
ContainsNoLoops = 1 << 3, // Indicates if the ContainsNoLoops Attribute is writable.
DataType = 1 << 4, // Indicates if the DataType Attribute is writable.
Description = 1 << 5, // Indicates if the Description Attribute is writable.
DisplayName = 1 << 6, // Indicates if the DisplayName Attribute is writable.
EventNotifier = 1 << 7, // Indicates if the EventNotifier Attribute is writable.
Executable = 1 << 8, // Indicates if the Executable Attribute is writable.
Historizing = 1 << 9, // Indicates if the Historizing Attribute is writable.
InverseName = 1 << 10, // Indicates if the InverseName Attribute is writable.
IsAbstract = 1 << 11, // Indicates if the IsAbstract Attribute is writable.
MinimumSamplingInterval = 1 << 12, // Indicates if the MinimumSamplingInterval Attribute is writable.
NodeClass = 1 << 13, // Indicates if the NodeClass Attribute is writable.
NodeId = 1 << 14, // Indicates if the NodeId Attribute is writable.
Symmetric = 1 << 15, // Indicates if the Symmetric Attribute is writable.
UserAccessLevel = 1 << 16, // Indicates if the UserAccessLevel Attribute is writable.
UserExecutable = 1 << 17, // Indicates if the UserExecutable Attribute is writable.
UserWriteMask = 1 << 18, // Indicates if the UserWriteMask Attribute is writable.
ValueRank = 1 << 19, // Indicates if the ValueRank Attribute is writable.
WriteMask = 1 << 20, // Indicates if the WriteMask Attribute is writable.
ValueForVariableType = 1 << 21, // Indicates if the Value Attribute is writable for a VariableType.
DataTypeDefinition = 1 << 22, /// Indicates if the DataTypeDefinition Attribute is writable.
RolePermissions = 1 << 23, // Indicates if the RolePermissions Attribute is writable.
AccessRestrictions = 1 << 24, // Indicates if the AccessRestrictions Attribute is writable.
AccessLevelEx = 1 << 25 // Indicates if the AccessLevelEx Attribute is writable.
// It does not apply for
// Variables since this is handled by the AccessLevel and UserAccessLevel
// Attributes for the Variable. For Variables this bit shall be set to 0.
// Reserved 22:31 Reserved for future use. Shall always be zero.
}
// deprecated

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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