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.85.0 to 2.86.0

4

dist/datavalue.d.ts

@@ -9,3 +9,3 @@ import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";

import { TimestampsToReturn } from "./TimestampsToReturn_enum";
declare type NumericalRange = any;
type NumericalRange = any;
export declare function encodeDataValue(dataValue: DataValue, stream: OutputBinaryStream): void;

@@ -45,3 +45,3 @@ export declare function decodeDataValue(stream: BinaryStream, dataValue?: DataValue): DataValue;

}
export declare type DataValueLike = DataValueOptions | DataValue;
export type DataValueLike = DataValueOptions | DataValue;
export declare function apply_timestamps(dataValue: DataValue, timestampsToReturn: TimestampsToReturn, attributeId: AttributeIds): DataValue;

@@ -48,0 +48,0 @@ export declare function apply_timestamps_no_copy(dataValue: DataValue, timestampsToReturn: TimestampsToReturn, attributeId: AttributeIds, now?: PreciseClock): DataValue;

@@ -182,3 +182,3 @@ "use strict";

// in this case StatusCode shall not be Good
(0, node_opcua_assert_1.assert)(self.statusCode !== node_opcua_status_code_1.StatusCodes.Good);
(0, node_opcua_assert_1.assert)(self.statusCode.isNotGood());
}

@@ -425,3 +425,3 @@ return true;

function _clone_with_array_replacement(dataValue, result) {
const statusCode = result.statusCode === node_opcua_status_code_1.StatusCodes.Good ? dataValue.statusCode : result.statusCode;
const statusCode = result.statusCode.isGood() ? dataValue.statusCode : result.statusCode;
const clonedDataValue = new DataValue({

@@ -428,0 +428,0 @@ statusCode,

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

"types": "./dist/index.d.ts",
"version": "2.85.0",
"version": "2.86.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.85.0",
"node-opcua-binary-stream": "2.85.0",
"node-opcua-data-model": "2.85.0",
"node-opcua-date-time": "2.85.0",
"node-opcua-enum": "2.85.0",
"node-opcua-factory": "2.85.0",
"node-opcua-status-code": "2.85.0",
"node-opcua-variant": "2.85.0"
"node-opcua-basic-types": "2.86.0",
"node-opcua-binary-stream": "2.86.0",
"node-opcua-data-model": "2.86.0",
"node-opcua-date-time": "2.86.0",
"node-opcua-enum": "2.86.0",
"node-opcua-factory": "2.86.0",
"node-opcua-status-code": "2.86.0",
"node-opcua-variant": "2.86.0"
},
"devDependencies": {
"node-opcua-debug": "2.85.0",
"node-opcua-extension-object": "2.85.0",
"node-opcua-numeric-range": "2.85.0",
"node-opcua-packet-analyzer": "2.85.0",
"node-opcua-debug": "2.86.0",
"node-opcua-extension-object": "2.86.0",
"node-opcua-numeric-range": "2.86.0",
"node-opcua-packet-analyzer": "2.86.0",
"should": "^13.2.3"

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

"homepage": "http://node-opcua.github.io/",
"gitHead": "68498fcf7b20ea9f7bd66e8529c546221daf5d52"
"gitHead": "36afc46fe2c91aa5664a8c5418f4db5a354670c3"
}

@@ -209,3 +209,3 @@ /**

// in this case StatusCode shall not be Good
assert(self.statusCode !== StatusCodes.Good);
assert(self.statusCode.isNotGood());
}

@@ -494,3 +494,3 @@ return true;

function _clone_with_array_replacement(dataValue: DataValue, result: any): DataValue {
const statusCode = result.statusCode === StatusCodes.Good ? dataValue.statusCode : result.statusCode;
const statusCode = result.statusCode.isGood() ? dataValue.statusCode : result.statusCode;

@@ -497,0 +497,0 @@ const clonedDataValue = new 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