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.5.1 to 2.5.2

34

dist/attributeIds.d.ts

@@ -1,33 +0,1 @@

export declare enum AttributeIds {
NodeId = 1,
NodeClass = 2,
BrowseName = 3,
DisplayName = 4,
Description = 5,
WriteMask = 6,
UserWriteMask = 7,
IsAbstract = 8,
Symmetric = 9,
InverseName = 10,
ContainsNoLoops = 11,
EventNotifier = 12,
Value = 13,
DataType = 14,
ValueRank = 15,
ArrayDimensions = 16,
AccessLevel = 17,
UserAccessLevel = 18,
MinimumSamplingInterval = 19,
Historizing = 20,
Executable = 21,
UserExecutable = 22,
DataTypeDefinition = 23,
RolePermissions = 24,
UserRolePermissions = 25,
AccessRestrictions = 26,
AccessLevelEx = 27,
LAST = 27,
INVALID = 999
}
export declare const attributeNameById: any;
export declare function isValidAttributeId(attributeId: any): boolean;
export { isValidAttributeId, attributeNameById, AttributeIds } from "node-opcua-basic-types";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
* @module node-opcua-data-model
*/
const node_opcua_assert_1 = require("node-opcua-assert");
const _ = require("underscore");
var AttributeIds;
(function (AttributeIds) {
AttributeIds[AttributeIds["NodeId"] = 1] = "NodeId";
AttributeIds[AttributeIds["NodeClass"] = 2] = "NodeClass";
AttributeIds[AttributeIds["BrowseName"] = 3] = "BrowseName";
AttributeIds[AttributeIds["DisplayName"] = 4] = "DisplayName";
AttributeIds[AttributeIds["Description"] = 5] = "Description";
AttributeIds[AttributeIds["WriteMask"] = 6] = "WriteMask";
AttributeIds[AttributeIds["UserWriteMask"] = 7] = "UserWriteMask";
AttributeIds[AttributeIds["IsAbstract"] = 8] = "IsAbstract";
AttributeIds[AttributeIds["Symmetric"] = 9] = "Symmetric";
AttributeIds[AttributeIds["InverseName"] = 10] = "InverseName";
AttributeIds[AttributeIds["ContainsNoLoops"] = 11] = "ContainsNoLoops";
AttributeIds[AttributeIds["EventNotifier"] = 12] = "EventNotifier";
AttributeIds[AttributeIds["Value"] = 13] = "Value";
AttributeIds[AttributeIds["DataType"] = 14] = "DataType";
AttributeIds[AttributeIds["ValueRank"] = 15] = "ValueRank";
AttributeIds[AttributeIds["ArrayDimensions"] = 16] = "ArrayDimensions";
AttributeIds[AttributeIds["AccessLevel"] = 17] = "AccessLevel";
AttributeIds[AttributeIds["UserAccessLevel"] = 18] = "UserAccessLevel";
AttributeIds[AttributeIds["MinimumSamplingInterval"] = 19] = "MinimumSamplingInterval";
AttributeIds[AttributeIds["Historizing"] = 20] = "Historizing";
AttributeIds[AttributeIds["Executable"] = 21] = "Executable";
AttributeIds[AttributeIds["UserExecutable"] = 22] = "UserExecutable";
// new in 1.04
AttributeIds[AttributeIds["DataTypeDefinition"] = 23] = "DataTypeDefinition";
AttributeIds[AttributeIds["RolePermissions"] = 24] = "RolePermissions";
AttributeIds[AttributeIds["UserRolePermissions"] = 25] = "UserRolePermissions";
AttributeIds[AttributeIds["AccessRestrictions"] = 26] = "AccessRestrictions";
AttributeIds[AttributeIds["AccessLevelEx"] = 27] = "AccessLevelEx";
AttributeIds[AttributeIds["LAST"] = 27] = "LAST";
AttributeIds[AttributeIds["INVALID"] = 999] = "INVALID";
})(AttributeIds = exports.AttributeIds || (exports.AttributeIds = {}));
// deprecated use getAttributeName(attributeId: AttributeIds);
exports.attributeNameById = _.invert(AttributeIds);
function isValidAttributeId(attributeId) {
node_opcua_assert_1.assert(_.isFinite(attributeId));
return attributeId >= 1 && attributeId <= AttributeIds.LAST;
}
exports.isValidAttributeId = isValidAttributeId;
var node_opcua_basic_types_1 = require("node-opcua-basic-types");
exports.isValidAttributeId = node_opcua_basic_types_1.isValidAttributeId;
exports.attributeNameById = node_opcua_basic_types_1.attributeNameById;
exports.AttributeIds = node_opcua_basic_types_1.AttributeIds;
//# sourceMappingURL=attributeIds.js.map

14

package.json
{
"name": "node-opcua-data-model",
"version": "2.5.1",
"version": "2.5.2",
"description": "pure nodejs OPCUA SDK - module -data-model",

@@ -14,7 +14,7 @@ "scripts": {

"node-opcua-assert": "^2.5.1",
"node-opcua-basic-types": "^2.5.1",
"node-opcua-basic-types": "^2.5.2",
"node-opcua-binary-stream": "^2.5.1",
"node-opcua-enum": "^2.5.1",
"node-opcua-factory": "^2.5.1",
"node-opcua-nodeid": "^2.5.1",
"node-opcua-enum": "^2.5.2",
"node-opcua-factory": "^2.5.2",
"node-opcua-nodeid": "^2.5.2",
"node-opcua-status-code": "^2.5.1",

@@ -25,3 +25,3 @@ "node-opcua-utils": "^2.5.1",

"devDependencies": {
"node-opcua-packet-analyzer": "^2.5.1",
"node-opcua-packet-analyzer": "^2.5.2",
"should": "^13.2.3",

@@ -45,3 +45,3 @@ "source-map-support": "^0.5.16"

"homepage": "http://node-opcua.github.io/",
"gitHead": "4cc18f384bbdf33c5cdd2a7857e810425aa67c8b"
"gitHead": "923fb4060b27a91f5f8cebeb1294c48a8e8e8ff9"
}

@@ -1,46 +0,5 @@

/**
* @module node-opcua-data-model
*/
import { assert } from "node-opcua-assert";
import * as _ from "underscore";
export enum AttributeIds {
NodeId = 1,
NodeClass = 2,
BrowseName = 3,
DisplayName = 4,
Description = 5,
WriteMask = 6,
UserWriteMask = 7,
IsAbstract = 8,
Symmetric = 9,
InverseName = 10,
ContainsNoLoops = 11,
EventNotifier = 12,
Value = 13,
DataType = 14,
ValueRank = 15,
ArrayDimensions = 16,
AccessLevel = 17,
UserAccessLevel = 18,
MinimumSamplingInterval = 19,
Historizing = 20,
Executable = 21,
UserExecutable = 22,
// new in 1.04
DataTypeDefinition = 23,
RolePermissions = 24,
UserRolePermissions = 25,
AccessRestrictions = 26,
AccessLevelEx = 27,
LAST = 27,
INVALID = 999
}
// deprecated use getAttributeName(attributeId: AttributeIds);
export const attributeNameById = _.invert(AttributeIds);
export function isValidAttributeId(attributeId: any) {
assert(_.isFinite(attributeId));
return attributeId >= 1 && attributeId <= AttributeIds.LAST;
}
export {
isValidAttributeId,
attributeNameById,
AttributeIds
} from "node-opcua-basic-types";

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