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.0.0-alpha.10 to 2.0.0-alpha.12

4

dist/opcua_status_code.d.ts
/**
* @module node-opcua-status-code
*/
import { BinaryStream } from "node-opcua-binary-stream";
import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";
export declare const extraStatusCodeBits: any;

@@ -49,3 +49,3 @@ /**

}
export declare function encodeStatusCode(statusCode: StatusCode | ConstantStatusCode, stream: BinaryStream): void;
export declare function encodeStatusCode(statusCode: StatusCode | ConstantStatusCode, stream: OutputBinaryStream): void;
export declare function getStatusCodeFromCode(code: number): any;

@@ -52,0 +52,0 @@ export declare function decodeStatusCode(stream: BinaryStream): any;

{
"name": "node-opcua-status-code",
"version": "2.0.0-alpha.10",
"version": "2.0.0-alpha.12",
"description": "pure nodejs OPCUA SDK - module -status-code",

@@ -17,3 +17,3 @@ "main": "./dist/opcua_status_code.js",

"devDependencies": {
"node-opcua-binary-stream": "^2.0.0-alpha.10",
"node-opcua-binary-stream": "^2.0.0-alpha.12",
"should": "13.2.3"

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

"homepage": "http://node-opcua.github.io/",
"gitHead": "a4fd47cebc405a37470fa015e98148ec212a8c29"
"gitHead": "61699a99c75c631388f2e8d8e33eb209649c5eac"
}

@@ -9,3 +9,3 @@ /**

import assert from "node-opcua-assert";
import { BinaryStream } from "node-opcua-binary-stream";
import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";
import { StatusCodes } from "node-opcua-constants";

@@ -17,2 +17,3 @@

}
export const extraStatusCodeBits: any = {

@@ -234,3 +235,3 @@

export function encodeStatusCode(statusCode: StatusCode | ConstantStatusCode, stream: BinaryStream) {
export function encodeStatusCode(statusCode: StatusCode | ConstantStatusCode, stream: OutputBinaryStream) {
stream.writeUInt32(statusCode.value);

@@ -279,3 +280,3 @@ }

private readonly _base: StatusCode;
private _extraBits: number;
private _extraBits: number;

@@ -282,0 +283,0 @@ constructor(options: { _base: StatusCode }) {

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