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
0
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.133.0 to 2.134.0

20

dist/datavalue.js

@@ -121,4 +121,5 @@ "use strict";

if (encodingMask & DataValueEncodingByte_enum_1.DataValueEncodingByte.SourceTimestamp) {
dataValue.sourceTimestamp = (0, node_opcua_basic_types_1.decodeHighAccuracyDateTime)(stream);
dataValue.sourcePicoseconds = dataValue.sourceTimestamp.picoseconds;
const [d, picoseconds] = (0, node_opcua_basic_types_1.decodeHighAccuracyDateTime)(stream);
dataValue.sourceTimestamp = d;
dataValue.sourcePicoseconds = picoseconds | 0;
tracer.trace("member", "sourceTimestamp", dataValue.sourceTimestamp, cur, stream.length, "DateTime");

@@ -138,4 +139,5 @@ }

if (encodingMask & DataValueEncodingByte_enum_1.DataValueEncodingByte.ServerTimestamp) {
dataValue.serverTimestamp = (0, node_opcua_basic_types_1.decodeHighAccuracyDateTime)(stream);
dataValue.serverPicoseconds = dataValue.serverTimestamp.picoseconds | 0;
const [d, picoseconds] = (0, node_opcua_basic_types_1.decodeHighAccuracyDateTime)(stream);
dataValue.serverTimestamp = d;
dataValue.serverPicoseconds = picoseconds | 0;
tracer.trace("member", "serverTimestamp", dataValue.serverTimestamp, cur, stream.length, "DateTime");

@@ -167,4 +169,5 @@ }

if (encodingMask & DataValueEncodingByte_enum_1.DataValueEncodingByte.SourceTimestamp) {
dataValue.sourceTimestamp = (0, node_opcua_basic_types_1.decodeHighAccuracyDateTime)(stream);
dataValue.sourcePicoseconds += dataValue.sourceTimestamp.picoseconds | 0;
const [d, picoseconds] = (0, node_opcua_basic_types_1.decodeHighAccuracyDateTime)(stream);
dataValue.sourceTimestamp = d;
dataValue.sourcePicoseconds += picoseconds | 0;
}

@@ -178,4 +181,5 @@ // read sourcePicoseconds

if (encodingMask & DataValueEncodingByte_enum_1.DataValueEncodingByte.ServerTimestamp) {
dataValue.serverTimestamp = (0, node_opcua_basic_types_1.decodeHighAccuracyDateTime)(stream);
dataValue.serverPicoseconds += dataValue.serverTimestamp.picoseconds | 0;
const [d, picoseconds] = (0, node_opcua_basic_types_1.decodeHighAccuracyDateTime)(stream);
dataValue.serverTimestamp = d;
dataValue.serverPicoseconds += picoseconds | 0;
}

@@ -182,0 +186,0 @@ // read serverPicoseconds

20

package.json

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

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

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

"node-opcua-assert": "2.120.0",
"node-opcua-basic-types": "2.133.0",
"node-opcua-basic-types": "2.134.0",
"node-opcua-binary-stream": "2.133.0",
"node-opcua-data-model": "2.133.0",
"node-opcua-date-time": "2.133.0",
"node-opcua-data-model": "2.134.0",
"node-opcua-date-time": "2.134.0",
"node-opcua-enum": "2.133.0",
"node-opcua-factory": "2.133.0",
"node-opcua-factory": "2.134.0",
"node-opcua-status-code": "2.133.0",
"node-opcua-variant": "2.133.0"
"node-opcua-variant": "2.134.0"
},
"devDependencies": {
"node-opcua-debug": "2.133.0",
"node-opcua-extension-object": "2.133.0",
"node-opcua-numeric-range": "2.133.0",
"node-opcua-packet-analyzer": "2.133.0"
"node-opcua-extension-object": "2.134.0",
"node-opcua-numeric-range": "2.134.0",
"node-opcua-packet-analyzer": "2.134.0"
},

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

"homepage": "http://node-opcua.github.io/",
"gitHead": "921bb04f2e7ce3109dd051ff27a2210edf700344",
"gitHead": "ccb34926a3c195f6a7e66fca58a2f101858e78be",
"files": [

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

@@ -6,3 +6,3 @@ /**

import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";
import { coerceDateTime, DateWithPicoseconds, getCurrentClock, PreciseClock } from "node-opcua-date-time";
import { coerceDateTime, getCurrentClock, PreciseClock } from "node-opcua-date-time";
import {

@@ -140,4 +140,5 @@ BaseUAObject,

if (encodingMask & DataValueEncodingByte.SourceTimestamp) {
dataValue.sourceTimestamp = decodeHighAccuracyDateTime(stream);
dataValue.sourcePicoseconds = (dataValue.sourceTimestamp as DateWithPicoseconds).picoseconds;
const [d, picoseconds] = decodeHighAccuracyDateTime(stream);
dataValue.sourceTimestamp = d;
dataValue.sourcePicoseconds = picoseconds | 0;
tracer.trace("member", "sourceTimestamp", dataValue.sourceTimestamp, cur, stream.length, "DateTime");

@@ -157,4 +158,5 @@ }

if (encodingMask & DataValueEncodingByte.ServerTimestamp) {
dataValue.serverTimestamp = decodeHighAccuracyDateTime(stream);
dataValue.serverPicoseconds = (dataValue.serverTimestamp as DateWithPicoseconds).picoseconds | 0;
const [d, picoseconds] = decodeHighAccuracyDateTime(stream);
dataValue.serverTimestamp = d;
dataValue.serverPicoseconds = picoseconds | 0;
tracer.trace("member", "serverTimestamp", dataValue.serverTimestamp, cur, stream.length, "DateTime");

@@ -187,4 +189,5 @@ }

if (encodingMask & DataValueEncodingByte.SourceTimestamp) {
dataValue.sourceTimestamp = decodeHighAccuracyDateTime(stream);
dataValue.sourcePicoseconds += (dataValue.sourceTimestamp as DateWithPicoseconds).picoseconds | 0;
const [d, picoseconds] = decodeHighAccuracyDateTime(stream);
dataValue.sourceTimestamp = d
dataValue.sourcePicoseconds += picoseconds | 0;
}

@@ -198,4 +201,5 @@ // read sourcePicoseconds

if (encodingMask & DataValueEncodingByte.ServerTimestamp) {
dataValue.serverTimestamp = decodeHighAccuracyDateTime(stream);
dataValue.serverPicoseconds += (dataValue.serverTimestamp as DateWithPicoseconds).picoseconds | 0;
const [d, picoseconds] = decodeHighAccuracyDateTime(stream);
dataValue.serverTimestamp = d;
dataValue.serverPicoseconds += picoseconds | 0;
}

@@ -202,0 +206,0 @@ // read serverPicoseconds

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