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

node-opcua-status-code

Package Overview
Dependencies
Maintainers
1
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-status-code - npm Package Compare versions

Comparing version 2.17.0 to 2.22.0

2

dist/opcua_status_code.d.ts

@@ -74,3 +74,3 @@ /**

export declare function getStatusCodeFromCode(code: number): any;
export declare function decodeStatusCode(stream: BinaryStream): any;
export declare function decodeStatusCode(stream: BinaryStream, _value?: StatusCode): any;
export declare class ModifiableStatusCode extends StatusCode {

@@ -77,0 +77,0 @@ private readonly _base;

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

/** Multiple values match the Aggregate criteria (i.e. multiple minimum values at different timestamps within the same interval). */
HistorianMultiValue: 0x1 << 4,
HistorianMultiValue: 0x1 << 4
};

@@ -220,3 +220,3 @@ /**

exports.getStatusCodeFromCode = getStatusCodeFromCode;
function decodeStatusCode(stream) {
function decodeStatusCode(stream, _value) {
const code = stream.readUInt32();

@@ -223,0 +223,0 @@ return getStatusCodeFromCode(code);

{
"name": "node-opcua-status-code",
"version": "2.17.0",
"version": "2.22.0",
"description": "pure nodejs OPCUA SDK - module -status-code",

@@ -13,7 +13,7 @@ "main": "./dist/index.js",

"dependencies": {
"node-opcua-assert": "2.16.0",
"node-opcua-constants": "2.16.0"
"node-opcua-assert": "2.22.0",
"node-opcua-constants": "2.22.0"
},
"devDependencies": {
"node-opcua-binary-stream": "2.17.0",
"node-opcua-binary-stream": "2.22.0",
"should": "^13.2.3"

@@ -36,3 +36,3 @@ },

"homepage": "http://node-opcua.github.io/",
"gitHead": "545072c8184378254468c383b78e74e7e8e31ab7"
"gitHead": "8eb6d67ecc89e34aa5bb99e9d6025aec2fa79743"
}

@@ -113,3 +113,3 @@ /**

/** Multiple values match the Aggregate criteria (i.e. multiple minimum values at different timestamps within the same interval). */
HistorianMultiValue: 0x1 << 4,
HistorianMultiValue: 0x1 << 4
};

@@ -266,6 +266,3 @@

);
warnLog(
"expecting a known StatusCode but got 0x" + codeWithoutInfoBits.toString(16),
" code was 0x" + code.toString(16)
);
warnLog("expecting a known StatusCode but got 0x" + codeWithoutInfoBits.toString(16), " code was 0x" + code.toString(16));
}

@@ -280,3 +277,3 @@ if (infoBits) {

export function decodeStatusCode(stream: BinaryStream) {
export function decodeStatusCode(stream: BinaryStream, _value?: StatusCode) {
const code = stream.readUInt32();

@@ -283,0 +280,0 @@ return getStatusCodeFromCode(code);

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