node-opcua-data-model
Advanced tools
Comparing version 2.126.0 to 2.128.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports._make_flag = void 0; | ||
exports._make_flag = _make_flag; | ||
function _make_flag(str, noneValue, T) { | ||
@@ -25,3 +25,2 @@ if (typeof str === "number") { | ||
} | ||
exports._make_flag = _make_flag; | ||
//# sourceMappingURL=_make_flag.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.decodeAccessLevelExFlag = exports.encodeAccessLevelExFlag = exports.accessLevelExFlagToString = exports.randomAccessLevelEx = exports.makeAccessLevelExFlag = exports.AccessLevelExFlag = void 0; | ||
exports.AccessLevelExFlag = void 0; | ||
exports.makeAccessLevelExFlag = makeAccessLevelExFlag; | ||
exports.randomAccessLevelEx = randomAccessLevelEx; | ||
exports.accessLevelExFlagToString = accessLevelExFlagToString; | ||
exports.encodeAccessLevelExFlag = encodeAccessLevelExFlag; | ||
exports.decodeAccessLevelExFlag = decodeAccessLevelExFlag; | ||
const access_level_1 = require("./access_level"); | ||
@@ -43,7 +48,5 @@ const _make_flag_1 = require("./_make_flag"); | ||
} | ||
exports.makeAccessLevelExFlag = makeAccessLevelExFlag; | ||
function randomAccessLevelEx() { | ||
return Math.ceil(Math.random() * 0x200); | ||
} | ||
exports.randomAccessLevelEx = randomAccessLevelEx; | ||
function accessLevelExFlagToString(accessLevelFlag) { | ||
@@ -74,7 +77,5 @@ const retVal = (0, access_level_1._accessLevelFlagToString)(accessLevelFlag); | ||
} | ||
exports.accessLevelExFlagToString = accessLevelExFlagToString; | ||
function encodeAccessLevelExFlag(value, stream) { | ||
stream.writeUInt32(value & 0xfffff); | ||
} | ||
exports.encodeAccessLevelExFlag = encodeAccessLevelExFlag; | ||
function decodeAccessLevelExFlag(stream) { | ||
@@ -84,3 +85,2 @@ const code = stream.readUInt32(); | ||
} | ||
exports.decodeAccessLevelExFlag = decodeAccessLevelExFlag; | ||
//# sourceMappingURL=access_level_ex.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.encodeAccessLevelFlag = exports.decodeAccessLevelFlag = exports.accessLevelFlagToString = exports._accessLevelFlagToString = exports.randomAccessLevel = exports.coerceAccessLevelFlag = exports.makeAccessLevelFlag = exports.convertAccessLevelFlagToByte = exports.AccessLevelFlag = void 0; | ||
exports.coerceAccessLevelFlag = exports.AccessLevelFlag = void 0; | ||
exports.convertAccessLevelFlagToByte = convertAccessLevelFlagToByte; | ||
exports.makeAccessLevelFlag = makeAccessLevelFlag; | ||
exports.randomAccessLevel = randomAccessLevel; | ||
exports._accessLevelFlagToString = _accessLevelFlagToString; | ||
exports.accessLevelFlagToString = accessLevelFlagToString; | ||
exports.decodeAccessLevelFlag = decodeAccessLevelFlag; | ||
exports.encodeAccessLevelFlag = encodeAccessLevelFlag; | ||
const _make_flag_1 = require("./_make_flag"); | ||
@@ -21,3 +28,2 @@ var AccessLevelFlag; | ||
} | ||
exports.convertAccessLevelFlagToByte = convertAccessLevelFlagToByte; | ||
// @example | ||
@@ -28,3 +34,2 @@ // makeAccessLevelFlag("CurrentRead | CurrentWrite").should.eql(0x03); | ||
} | ||
exports.makeAccessLevelFlag = makeAccessLevelFlag; | ||
exports.coerceAccessLevelFlag = makeAccessLevelFlag; | ||
@@ -34,3 +39,2 @@ function randomAccessLevel() { | ||
} | ||
exports.randomAccessLevel = randomAccessLevel; | ||
function _accessLevelFlagToString(accessLevelFlag) { | ||
@@ -61,3 +65,2 @@ const retVal = []; | ||
} | ||
exports._accessLevelFlagToString = _accessLevelFlagToString; | ||
// tslint:disable:no-bitwise | ||
@@ -71,3 +74,2 @@ function accessLevelFlagToString(accessLevelFlag) { | ||
} | ||
exports.accessLevelFlagToString = accessLevelFlagToString; | ||
function decodeAccessLevelFlag(stream) { | ||
@@ -77,7 +79,5 @@ const code = stream.readUInt8(); | ||
} | ||
exports.decodeAccessLevelFlag = decodeAccessLevelFlag; | ||
function encodeAccessLevelFlag(value, stream) { | ||
stream.writeUInt8(value & 0xff); | ||
} | ||
exports.encodeAccessLevelFlag = encodeAccessLevelFlag; | ||
// registerBasicType({ | ||
@@ -84,0 +84,0 @@ // name: "AccessLevelFlag", |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.accessRestrictionsFlagToString = exports.makeAccessRestrictionsFlag = exports.AccessRestrictionsFlag = void 0; | ||
exports.AccessRestrictionsFlag = void 0; | ||
exports.makeAccessRestrictionsFlag = makeAccessRestrictionsFlag; | ||
exports.accessRestrictionsFlagToString = accessRestrictionsFlagToString; | ||
const _make_flag_1 = require("./_make_flag"); | ||
@@ -16,3 +18,2 @@ var AccessRestrictionsFlag; | ||
} | ||
exports.makeAccessRestrictionsFlag = makeAccessRestrictionsFlag; | ||
function accessRestrictionsFlagToString(flags) { | ||
@@ -37,3 +38,2 @@ const retVal = []; | ||
} | ||
exports.accessRestrictionsFlagToString = accessRestrictionsFlagToString; | ||
//# sourceMappingURL=access_restrictions.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports._enumerationBrowseDirection = exports.decodeBrowseDirection = exports.encodeBrowseDirection = exports.schemaBrowseDirection = exports.BrowseDirection = void 0; | ||
exports._enumerationBrowseDirection = exports.schemaBrowseDirection = exports.BrowseDirection = void 0; | ||
exports.encodeBrowseDirection = encodeBrowseDirection; | ||
exports.decodeBrowseDirection = decodeBrowseDirection; | ||
const node_opcua_factory_1 = require("node-opcua-factory"); | ||
@@ -27,3 +29,2 @@ var BrowseDirection; | ||
} | ||
exports.encodeBrowseDirection = encodeBrowseDirection; | ||
function decodeBrowseDirection(stream, _value) { | ||
@@ -36,4 +37,3 @@ let value = stream.readUInt32(); | ||
} | ||
exports.decodeBrowseDirection = decodeBrowseDirection; | ||
exports._enumerationBrowseDirection = (0, node_opcua_factory_1.registerEnumeration)(exports.schemaBrowseDirection); | ||
//# sourceMappingURL=BrowseDirection.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isValidDataEncoding = exports.isDataEncoding = void 0; | ||
exports.isDataEncoding = isDataEncoding; | ||
exports.isValidDataEncoding = isValidDataEncoding; | ||
function isDataEncoding(dataEncoding) { | ||
return !!dataEncoding && typeof dataEncoding === "object" && typeof dataEncoding.name === "string"; | ||
} | ||
exports.isDataEncoding = isDataEncoding; | ||
const validEncoding = ["DefaultBinary", "DefaultXml", "DefaultJson"]; | ||
@@ -21,3 +21,2 @@ function isValidDataEncoding(dataEncoding) { | ||
} | ||
exports.isValidDataEncoding = isValidDataEncoding; | ||
//# sourceMappingURL=data_encoding.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.decodeDiagnosticInfo = exports.encodeDiagnosticInfo = exports.DiagnosticInfo_EncodingByte = exports.filterDiagnosticServiceLevel = exports.filterDiagnosticOperationLevel = exports.filterDiagnosticInfoLevel = exports.RESPONSE_DIAGNOSTICS_MASK_ALL = exports.DiagnosticInfo_OperationLevelMask = exports.DiagnosticInfo_ServiceLevelMask = exports.DiagnosticInfo = exports.schemaDiagnosticInfo = void 0; | ||
exports.DiagnosticInfo_EncodingByte = exports.RESPONSE_DIAGNOSTICS_MASK_ALL = exports.DiagnosticInfo_OperationLevelMask = exports.DiagnosticInfo_ServiceLevelMask = exports.DiagnosticInfo = exports.schemaDiagnosticInfo = void 0; | ||
exports.filterDiagnosticInfoLevel = filterDiagnosticInfoLevel; | ||
exports.filterDiagnosticOperationLevel = filterDiagnosticOperationLevel; | ||
exports.filterDiagnosticServiceLevel = filterDiagnosticServiceLevel; | ||
exports.encodeDiagnosticInfo = encodeDiagnosticInfo; | ||
exports.decodeDiagnosticInfo = decodeDiagnosticInfo; | ||
/** | ||
@@ -137,11 +142,8 @@ * @module node-opcua-data-model | ||
} | ||
exports.filterDiagnosticInfoLevel = filterDiagnosticInfoLevel; | ||
function filterDiagnosticOperationLevel(returnDiagnostics, diagnostic) { | ||
return filterDiagnosticInfoLevel(returnDiagnostics, diagnostic, DiagnosticInfo_OperationLevelMask); | ||
} | ||
exports.filterDiagnosticOperationLevel = filterDiagnosticOperationLevel; | ||
function filterDiagnosticServiceLevel(returnDiagnostics, diagnostic) { | ||
return filterDiagnosticInfoLevel(returnDiagnostics, diagnostic, DiagnosticInfo_ServiceLevelMask); | ||
} | ||
exports.filterDiagnosticServiceLevel = filterDiagnosticServiceLevel; | ||
var DiagnosticInfo_EncodingByte; | ||
@@ -317,3 +319,2 @@ (function (DiagnosticInfo_EncodingByte) { | ||
} | ||
exports.encodeDiagnosticInfo = encodeDiagnosticInfo; | ||
function decodeDiagnosticInfo(stream, _value) { | ||
@@ -324,3 +325,2 @@ const value = _value || new DiagnosticInfo(); | ||
} | ||
exports.decodeDiagnosticInfo = decodeDiagnosticInfo; | ||
// Note: | ||
@@ -327,0 +327,0 @@ // the SymbolicId, NamespaceURI, LocalizedText and Locale fields are indexes in a string table which is returned |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.decodeLocalizedText = exports.encodeLocalizedText = exports.LocalizedText = exports.coerceLocalizedText = void 0; | ||
exports.LocalizedText = void 0; | ||
exports.coerceLocalizedText = coerceLocalizedText; | ||
exports.encodeLocalizedText = encodeLocalizedText; | ||
exports.decodeLocalizedText = decodeLocalizedText; | ||
const node_opcua_basic_types_1 = require("node-opcua-basic-types"); | ||
@@ -15,3 +18,2 @@ const node_opcua_factory_1 = require("node-opcua-factory"); | ||
} | ||
exports.coerceLocalizedText = coerceLocalizedText; | ||
// -------------------------------------------------------------------------------------------- | ||
@@ -146,3 +148,2 @@ // see Part 3 - $8.5 page 63 | ||
} | ||
exports.encodeLocalizedText = encodeLocalizedText; | ||
function decodeLocalizedText(stream, value) { | ||
@@ -153,3 +154,2 @@ value = value || new LocalizedText(null); | ||
} | ||
exports.decodeLocalizedText = decodeLocalizedText; | ||
//# sourceMappingURL=localized_text.js.map |
@@ -7,3 +7,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.makeNodeClassMask = exports.NodeClassMask = void 0; | ||
exports.NodeClassMask = void 0; | ||
exports.makeNodeClassMask = makeNodeClassMask; | ||
// Specifies the NodeClasses of the TargetNodes. Only TargetNodes with the | ||
@@ -45,3 +46,2 @@ // selected NodeClasses are returned. The NodeClasses are assigned the | ||
} | ||
exports.makeNodeClassMask = makeNodeClassMask; | ||
//# sourceMappingURL=node_class_mask.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.permissionFlagToString = exports.makePermissionFlag = exports.allPermissions = exports.PermissionFlag = void 0; | ||
exports.allPermissions = exports.PermissionFlag = void 0; | ||
exports.makePermissionFlag = makePermissionFlag; | ||
exports.permissionFlagToString = permissionFlagToString; | ||
/** | ||
@@ -145,3 +147,2 @@ * @module node-opcua-data-model | ||
} | ||
exports.makePermissionFlag = makePermissionFlag; | ||
function permissionFlagToString(permissionFlag) { | ||
@@ -163,3 +164,2 @@ const retVal = []; | ||
} | ||
exports.permissionFlagToString = permissionFlagToString; | ||
//# sourceMappingURL=permission_flag.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.decodeQualifiedName = exports.encodeQualifiedName = exports.coerceQualifiedName = exports.stringToQualifiedName = exports.QualifiedName = exports.schemaQualifiedName = void 0; | ||
exports.QualifiedName = exports.schemaQualifiedName = void 0; | ||
exports.stringToQualifiedName = stringToQualifiedName; | ||
exports.coerceQualifiedName = coerceQualifiedName; | ||
exports.encodeQualifiedName = encodeQualifiedName; | ||
exports.decodeQualifiedName = decodeQualifiedName; | ||
/** | ||
@@ -111,3 +115,2 @@ * @module node-opcua-data-model | ||
} | ||
exports.stringToQualifiedName = stringToQualifiedName; | ||
function coerceQualifiedName(value) { | ||
@@ -129,3 +132,2 @@ if (!value) { | ||
} | ||
exports.coerceQualifiedName = coerceQualifiedName; | ||
(0, node_opcua_factory_1.registerSpecialVariantEncoder)(QualifiedName); | ||
@@ -135,3 +137,2 @@ function encodeQualifiedName(value, stream) { | ||
} | ||
exports.encodeQualifiedName = encodeQualifiedName; | ||
function decodeQualifiedName(stream, value) { | ||
@@ -142,3 +143,2 @@ value = value || new QualifiedName(null); | ||
} | ||
exports.decodeQualifiedName = decodeQualifiedName; | ||
//# sourceMappingURL=qualified_name.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.makeResultMask = exports._enumerationResultMask = exports.schemaResultMask = exports.ResultMask = void 0; | ||
exports._enumerationResultMask = exports.schemaResultMask = exports.ResultMask = void 0; | ||
exports.makeResultMask = makeResultMask; | ||
const node_opcua_factory_1 = require("node-opcua-factory"); | ||
@@ -30,3 +31,2 @@ var ResultMask; | ||
} | ||
exports.makeResultMask = makeResultMask; | ||
//# sourceMappingURL=result_mask.js.map |
{ | ||
"name": "node-opcua-data-model", | ||
"version": "2.126.0", | ||
"version": "2.128.0", | ||
"description": "pure nodejs OPCUA SDK - module data-model", | ||
@@ -17,12 +17,11 @@ "scripts": { | ||
"node-opcua-assert": "2.120.0", | ||
"node-opcua-basic-types": "2.126.0", | ||
"node-opcua-binary-stream": "2.125.0", | ||
"node-opcua-enum": "2.125.0", | ||
"node-opcua-factory": "2.126.0", | ||
"node-opcua-nodeid": "2.125.0", | ||
"node-opcua-status-code": "2.125.0" | ||
"node-opcua-basic-types": "2.128.0", | ||
"node-opcua-binary-stream": "2.128.0", | ||
"node-opcua-enum": "2.128.0", | ||
"node-opcua-factory": "2.128.0", | ||
"node-opcua-nodeid": "2.128.0", | ||
"node-opcua-status-code": "2.128.0" | ||
}, | ||
"devDependencies": { | ||
"node-opcua-packet-analyzer": "2.126.0", | ||
"should": "^13.2.3" | ||
"node-opcua-packet-analyzer": "2.128.0" | ||
}, | ||
@@ -44,3 +43,3 @@ "author": "Etienne Rossignon", | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "81b467f284c41813ab8caf17f6d20322d4734fdc", | ||
"gitHead": "67a73af6b831d8651a0e66ceb295f159cab4386b", | ||
"files": [ | ||
@@ -47,0 +46,0 @@ "dist", |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1
156826
2891
+ Addednode-opcua-basic-types@2.128.0(transitive)
+ Addednode-opcua-binary-stream@2.128.0(transitive)
+ Addednode-opcua-buffer-utils@2.128.0(transitive)
+ Addednode-opcua-date-time@2.128.0(transitive)
+ Addednode-opcua-debug@2.128.0(transitive)
+ Addednode-opcua-enum@2.128.0(transitive)
+ Addednode-opcua-factory@2.128.0(transitive)
+ Addednode-opcua-guid@2.128.0(transitive)
+ Addednode-opcua-nodeid@2.128.0(transitive)
+ Addednode-opcua-status-code@2.128.0(transitive)
+ Addednode-opcua-utils@2.128.0(transitive)
- Removednode-opcua-basic-types@2.126.0(transitive)
- Removednode-opcua-binary-stream@2.125.0(transitive)
- Removednode-opcua-buffer-utils@2.125.0(transitive)
- Removednode-opcua-date-time@2.125.0(transitive)
- Removednode-opcua-debug@2.125.0(transitive)
- Removednode-opcua-enum@2.125.0(transitive)
- Removednode-opcua-factory@2.126.0(transitive)
- Removednode-opcua-guid@2.120.0(transitive)
- Removednode-opcua-nodeid@2.125.0(transitive)
- Removednode-opcua-status-code@2.125.0(transitive)
- Removednode-opcua-utils@2.125.0(transitive)
Updatednode-opcua-enum@2.128.0
Updatednode-opcua-factory@2.128.0
Updatednode-opcua-nodeid@2.128.0