node-opcua-variant
Advanced tools
Comparing version 2.128.0 to 2.129.0
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.adjustVariant = adjustVariant; | ||
exports.adjustVariant = void 0; | ||
const node_opcua_assert_1 = __importDefault(require("node-opcua-assert")); | ||
@@ -32,2 +32,3 @@ const DataType_enum_1 = require("./DataType_enum"); | ||
} | ||
exports.adjustVariant = adjustVariant; | ||
//# sourceMappingURL=adjust_variant.js.map |
@@ -0,1 +1,2 @@ | ||
/// <reference types="node" /> | ||
import { BaseUAObject, DecodeDebugOptions } from "node-opcua-factory"; | ||
@@ -2,0 +3,0 @@ import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.VARIANT_TYPE_MASK = exports.VARIANT_ARRAY_DIMENSIONS_MASK = exports.VARIANT_ARRAY_MASK = exports.Variant = void 0; | ||
exports.encodeVariant = encodeVariant; | ||
exports.decodeVariant = decodeVariant; | ||
exports.coerceVariantType = coerceVariantType; | ||
exports.isValidVariant = isValidVariant; | ||
exports.buildVariantArray = buildVariantArray; | ||
exports.sameVariant = sameVariant; | ||
exports.sameVariant = exports.buildVariantArray = exports.isValidVariant = exports.coerceVariantType = exports.decodeVariant = exports.encodeVariant = exports.VARIANT_TYPE_MASK = exports.VARIANT_ARRAY_DIMENSIONS_MASK = exports.VARIANT_ARRAY_MASK = exports.Variant = void 0; | ||
/** | ||
@@ -207,2 +201,3 @@ * @module node-opcua-variant | ||
} | ||
exports.encodeVariant = encodeVariant; | ||
/*** | ||
@@ -281,2 +276,3 @@ * @private | ||
} | ||
exports.decodeVariant = decodeVariant; | ||
function constructHook(options) { | ||
@@ -661,2 +657,3 @@ let isArrayTypeUnspecified = options.arrayType === undefined; | ||
} | ||
exports.coerceVariantType = coerceVariantType; | ||
function isValidScalarVariant(dataType, value) { | ||
@@ -757,2 +754,3 @@ (0, node_opcua_assert_1.assert)(value === null || | ||
} | ||
exports.isValidVariant = isValidVariant; | ||
function buildVariantArray(dataType, nbElements, defaultValue) { | ||
@@ -795,2 +793,3 @@ let value; | ||
} | ||
exports.buildVariantArray = buildVariantArray; | ||
// old version of nodejs do not provide a Buffer#equals test | ||
@@ -917,2 +916,3 @@ const oldNodeVersion = typeof process === "object" && process.versions && process.versions.node && process.versions.node.substring(0, 1) === "0"; | ||
} | ||
exports.sameVariant = sameVariant; | ||
// --------------------------------------------------------------------------------------------------------- | ||
@@ -919,0 +919,0 @@ (0, node_opcua_factory_1.registerSpecialVariantEncoder)(Variant); |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.verifyRankAndDimensions = verifyRankAndDimensions; | ||
exports.verifyRankAndDimensions = void 0; | ||
const node_opcua_assert_1 = __importDefault(require("node-opcua-assert")); | ||
@@ -48,2 +48,3 @@ /** | ||
} | ||
exports.verifyRankAndDimensions = verifyRankAndDimensions; | ||
//# sourceMappingURL=verify_rank_and_dimension.js.map |
{ | ||
"name": "node-opcua-variant", | ||
"version": "2.128.0", | ||
"version": "2.129.0", | ||
"description": "pure nodejs OPCUA SDK - module variant", | ||
@@ -25,3 +25,3 @@ "main": "./dist/index.js", | ||
"devDependencies": { | ||
"@types/lodash": "4.17.6", | ||
"@types/lodash": "4.17.7", | ||
"@types/underscore": "^1.11.15", | ||
@@ -51,3 +51,3 @@ "lodash": "4.17.21", | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "67a73af6b831d8651a0e66ceb295f159cab4386b", | ||
"gitHead": "8a1754350fb95a764e278d37a289f0c48ccb8c9d", | ||
"files": [ | ||
@@ -54,0 +54,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
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
139248
30
2422