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

node-opcua-data-value

Package Overview
Dependencies
Maintainers
1
Versions
205
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 2.126.0 to 2.128.0

22

dist/datavalue.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DataValueT = exports.sameDataValue = exports.sameStatusCode = exports.timestampHasChanged = exports.serverTimestampHasChanged = exports.sourceTimestampHasChanged = exports.extractRange = exports.apply_timestamps_no_copy = exports.apply_timestamps = exports.DataValue = exports.decodeDataValue = exports.encodeDataValue = void 0;
exports.DataValueT = exports.DataValue = void 0;
exports.encodeDataValue = encodeDataValue;
exports.decodeDataValue = decodeDataValue;
exports.apply_timestamps = apply_timestamps;
exports.apply_timestamps_no_copy = apply_timestamps_no_copy;
exports.extractRange = extractRange;
exports.sourceTimestampHasChanged = sourceTimestampHasChanged;
exports.serverTimestampHasChanged = serverTimestampHasChanged;
exports.timestampHasChanged = timestampHasChanged;
exports.sameStatusCode = sameStatusCode;
exports.sameDataValue = sameDataValue;
/**

@@ -86,3 +96,2 @@ * @module node-opcua-data-value

}
exports.encodeDataValue = encodeDataValue;
function decodeDebugDataValue(dataValue, stream, options) {

@@ -175,3 +184,2 @@ const tracer = options.tracer;

}
exports.decodeDataValue = decodeDataValue;
function isValidDataValue(self) {

@@ -350,3 +358,2 @@ if (self.value !== null && typeof self.value === "object") {

}
exports.apply_timestamps = apply_timestamps;
function apply_timestamps_no_copy(dataValue, timestampsToReturn, attributeId, now) {

@@ -383,3 +390,2 @@ switch (timestampsToReturn) {

}
exports.apply_timestamps_no_copy = apply_timestamps_no_copy;
function apply_timestamps2(dataValue, timestampsToReturn, attributeId) {

@@ -479,3 +485,2 @@ (0, node_opcua_assert_1.assert)(attributeId > 0);

}
exports.extractRange = extractRange;
function sameDate(date1, date2) {

@@ -500,3 +505,2 @@ if (date1 === date2) {

}
exports.sourceTimestampHasChanged = sourceTimestampHasChanged;
function serverTimestampHasChanged(dataValue1, dataValue2) {

@@ -506,3 +510,2 @@ return (!sameDate(dataValue1.serverTimestamp, dataValue2.serverTimestamp) ||

}
exports.serverTimestampHasChanged = serverTimestampHasChanged;
function timestampHasChanged(dataValue1, dataValue2, timestampsToReturn) {

@@ -525,7 +528,5 @@ // TODO: timestampsToReturn = timestampsToReturn || { key: "Neither"};

}
exports.timestampHasChanged = timestampHasChanged;
function sameStatusCode(statusCode1, statusCode2) {
return statusCode1.value === statusCode2.value;
}
exports.sameStatusCode = sameStatusCode;
/**

@@ -569,3 +570,2 @@ * @method sameDataValue

}
exports.sameDataValue = sameDataValue;
class DataValueT extends DataValue {

@@ -572,0 +572,0 @@ }

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.coerceTimestampsToReturn = exports._enumerationTimestampsToReturn = exports.decodeTimestampsToReturn = exports.encodeTimestampsToReturn = exports.schemaTimestampsToReturn = exports.TimestampsToReturn = void 0;
exports._enumerationTimestampsToReturn = exports.schemaTimestampsToReturn = exports.TimestampsToReturn = void 0;
exports.encodeTimestampsToReturn = encodeTimestampsToReturn;
exports.decodeTimestampsToReturn = decodeTimestampsToReturn;
exports.coerceTimestampsToReturn = coerceTimestampsToReturn;
const node_opcua_factory_1 = require("node-opcua-factory");

@@ -20,3 +23,2 @@ var TimestampsToReturn;

}
exports.encodeTimestampsToReturn = encodeTimestampsToReturn;
function clamp(min, a, max) {

@@ -28,3 +30,2 @@ return Math.max(Math.min(a, max), min);

}
exports.decodeTimestampsToReturn = decodeTimestampsToReturn;
exports._enumerationTimestampsToReturn = (0, node_opcua_factory_1.registerEnumeration)(exports.schemaTimestampsToReturn);

@@ -34,3 +35,2 @@ function coerceTimestampsToReturn(value) {

}
exports.coerceTimestampsToReturn = coerceTimestampsToReturn;
//# sourceMappingURL=TimestampsToReturn_enum.js.map

@@ -5,3 +5,3 @@ {

"types": "./dist/index.d.ts",
"version": "2.126.0",
"version": "2.128.0",
"description": "pure nodejs OPCUA SDK - module data-value",

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

"node-opcua-assert": "2.120.0",
"node-opcua-basic-types": "2.126.0",
"node-opcua-binary-stream": "2.125.0",
"node-opcua-data-model": "2.126.0",
"node-opcua-date-time": "2.125.0",
"node-opcua-enum": "2.125.0",
"node-opcua-factory": "2.126.0",
"node-opcua-status-code": "2.125.0",
"node-opcua-variant": "2.126.0"
"node-opcua-basic-types": "2.128.0",
"node-opcua-binary-stream": "2.128.0",
"node-opcua-data-model": "2.128.0",
"node-opcua-date-time": "2.128.0",
"node-opcua-enum": "2.128.0",
"node-opcua-factory": "2.128.0",
"node-opcua-status-code": "2.128.0",
"node-opcua-variant": "2.128.0"
},
"devDependencies": {
"node-opcua-debug": "2.125.0",
"node-opcua-extension-object": "2.126.0",
"node-opcua-numeric-range": "2.126.0",
"node-opcua-packet-analyzer": "2.126.0",
"should": "^13.2.3"
"node-opcua-debug": "2.128.0",
"node-opcua-extension-object": "2.128.0",
"node-opcua-numeric-range": "2.128.0",
"node-opcua-packet-analyzer": "2.128.0"
},

@@ -49,3 +48,3 @@ "author": "Etienne Rossignon",

"homepage": "http://node-opcua.github.io/",
"gitHead": "81b467f284c41813ab8caf17f6d20322d4734fdc",
"gitHead": "67a73af6b831d8651a0e66ceb295f159cab4386b",
"files": [

@@ -52,0 +51,0 @@ "dist",

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