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

node-opcua-transport

Package Overview
Dependencies
Maintainers
1
Versions
221
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-transport - npm Package Compare versions

Comparing version 2.83.0 to 2.84.0

8

dist/source/message_builder_base.js

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

if (this.totalMessageSize > this.maxMessageSize) {
return this._report_error(status_codes_1.StatusCodes2.BadTcpMessageTooLarge, `max message size exceeded: ${this.maxMessageSize}`);
return this._report_error(status_codes_1.StatusCodes2.BadTcpMessageTooLarge, `max message size exceeded: ${this.maxMessageSize} : total message size ${this.totalMessageSize}`);
}

@@ -209,6 +209,6 @@ const binaryStream = new node_opcua_binary_stream_1.BinaryStream(chunk);

this.emit("full_message_body", fullMessageBody);
this._decodeMessageBody(fullMessageBody);
const messageOk = this._decodeMessageBody(fullMessageBody);
// be ready for next block
this._init_new();
return true;
return messageOk;
}

@@ -245,4 +245,4 @@ }

MessageBuilderBase.defaultMaxChunkCount = 1000;
MessageBuilderBase.defaultMaxMessageSize = 1024 * 64;
MessageBuilderBase.defaultMaxMessageSize = 1024 * 64 * 1024; // 64Mo
MessageBuilderBase.defaultMaxChunkSize = 1024 * 8;
//# sourceMappingURL=message_builder_base.js.map
{
"name": "node-opcua-transport",
"version": "2.83.0",
"version": "2.84.0",
"description": "pure nodejs OPCUA SDK - module -transport",

@@ -47,3 +47,3 @@ "main": "./dist/source/index.js",

"homepage": "http://node-opcua.github.io/",
"gitHead": "3311f8ce9e86837fde72e923f3121072008ccdd4"
"gitHead": "47af3803b75cecd9da509053e89c023b981a34de"
}

@@ -94,3 +94,3 @@ /**

public static defaultMaxChunkCount = 1000;
public static defaultMaxMessageSize = 1024 * 64;
public static defaultMaxMessageSize = 1024 * 64 * 1024; // 64Mo
public static defaultMaxChunkSize = 1024 * 8;

@@ -262,3 +262,3 @@

if (this.totalMessageSize > this.maxMessageSize) {
return this._report_error(StatusCodes2.BadTcpMessageTooLarge, `max message size exceeded: ${this.maxMessageSize}`);
return this._report_error(StatusCodes2.BadTcpMessageTooLarge, `max message size exceeded: ${this.maxMessageSize} : total message size ${this.totalMessageSize}`);
}

@@ -334,6 +334,6 @@

this._decodeMessageBody(fullMessageBody);
const messageOk = this._decodeMessageBody(fullMessageBody);
// be ready for next block
this._init_new();
return true;
return messageOk;
}

@@ -340,0 +340,0 @@ } else if (messageHeader.isFinal === "A") {

@@ -21,3 +21,2 @@ /**

import { TCP_transport } from "./tcp_transport";
import { TCPErrorMessage } from "./TCPErrorMessage";
import { decodeMessage, packTcpMessage } from "./tools";

@@ -24,0 +23,0 @@ import { doTraceHelloAck } from "./utils";

Sorry, the diff of this file is not supported yet

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