New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-opcua-data-value

Package Overview
Dependencies
Maintainers
1
Versions
207
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.81.0 to 2.82.0

20

dist/datavalue.js

@@ -315,7 +315,7 @@ "use strict";

cloneDataValue.serverPicoseconds = dataValue.serverPicoseconds;
// xx if (!cloneDataValue.serverTimestamp) {
now = now || (0, node_opcua_date_time_1.getCurrentClock)();
cloneDataValue.serverTimestamp = now.timestamp;
cloneDataValue.serverPicoseconds = now.picoseconds;
// xx }
if (!cloneDataValue.serverTimestamp) {
now = now || (0, node_opcua_date_time_1.getCurrentClock)();
cloneDataValue.serverTimestamp = now.timestamp;
cloneDataValue.serverPicoseconds = now.picoseconds;
}
break;

@@ -333,7 +333,7 @@ case TimestampsToReturn_enum_1.TimestampsToReturn.Source:

cloneDataValue.serverPicoseconds = dataValue.serverPicoseconds;
// xx if (!cloneDataValue.serverTimestamp) {
now = now || (0, node_opcua_date_time_1.getCurrentClock)();
cloneDataValue.serverTimestamp = now.timestamp;
cloneDataValue.serverPicoseconds = now.picoseconds;
// xx }
if (!dataValue.serverTimestamp) {
now = now || (0, node_opcua_date_time_1.getCurrentClock)();
cloneDataValue.serverTimestamp = now.timestamp;
cloneDataValue.serverPicoseconds = now.picoseconds;
}
cloneDataValue.sourceTimestamp = dataValue.sourceTimestamp;

@@ -340,0 +340,0 @@ cloneDataValue.sourcePicoseconds = dataValue.sourcePicoseconds;

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

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

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

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

@@ -49,3 +49,3 @@ },

"homepage": "http://node-opcua.github.io/",
"gitHead": "fd89928bc4a4b9f31a6b6e5921f743e8284eba2b"
"gitHead": "2f66e1fe69c825305f94b15ca17cff066aa37496"
}

@@ -349,3 +349,3 @@ /**

function w(n: number): string {
return n.toString().padStart(3,"0");
return n.toString().padStart(3, "0");
}

@@ -376,7 +376,7 @@

cloneDataValue.serverPicoseconds = dataValue.serverPicoseconds;
// xx if (!cloneDataValue.serverTimestamp) {
now = now || getCurrentClock();
cloneDataValue.serverTimestamp = now.timestamp as DateTime;
cloneDataValue.serverPicoseconds = now.picoseconds;
// xx }
if (!cloneDataValue.serverTimestamp) {
now = now || getCurrentClock();
cloneDataValue.serverTimestamp = now.timestamp as DateTime;
cloneDataValue.serverPicoseconds = now.picoseconds;
}
break;

@@ -394,7 +394,7 @@ case TimestampsToReturn.Source:

cloneDataValue.serverPicoseconds = dataValue.serverPicoseconds;
// xx if (!cloneDataValue.serverTimestamp) {
now = now || getCurrentClock();
cloneDataValue.serverTimestamp = now.timestamp as DateTime;
cloneDataValue.serverPicoseconds = now.picoseconds;
// xx }
if (!dataValue.serverTimestamp) {
now = now || getCurrentClock();
cloneDataValue.serverTimestamp = now.timestamp as DateTime;
cloneDataValue.serverPicoseconds = now.picoseconds;
}
cloneDataValue.sourceTimestamp = dataValue.sourceTimestamp;

@@ -654,2 +654,2 @@ cloneDataValue.sourcePicoseconds = dataValue.sourcePicoseconds;

}
export class DataValueT<T, DT extends DataType> extends DataValue {}
export class DataValueT<T, DT extends DataType> extends DataValue { }

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