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
220
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.105.0 to 2.106.0

12

dist/source/tcp_transport.js

@@ -112,5 +112,11 @@ "use strict";

this.maxChunkCount = maxChunkCount;
if (maxMessageSize / sendBufferSize > maxChunkCount || maxMessageSize / receiveBufferSize > maxChunkCount) {
warningLog(`Warning : maxMessageSize / sendBufferSize ${maxMessageSize / sendBufferSize}> maxChunkCount ${maxChunkCount}
|| maxMessageSize / receiveBufferSize ${maxMessageSize / receiveBufferSize} < maxChunkCount `);
if (maxChunkCount !== 0) {
if (maxMessageSize / sendBufferSize > maxChunkCount) {
const expectedMaxChunkCount = Math.ceil(maxMessageSize / sendBufferSize);
warningLog(`Warning: maxChunkCount is not big enough : maxMessageSize / sendBufferSize ${expectedMaxChunkCount} > maxChunkCount ${maxChunkCount}`);
}
if (maxMessageSize / receiveBufferSize > maxChunkCount) {
const expectedMaxChunkCount = Math.ceil(maxMessageSize / receiveBufferSize);
warningLog(`Warning: maxChunkCount is not big enough :maxMessageSize / sendBufferSize ${expectedMaxChunkCount} > maxChunkCount ${maxChunkCount}`);
}
}

@@ -117,0 +123,0 @@ // reinstall packetAssembler with correct limits

{
"name": "node-opcua-transport",
"version": "2.105.0",
"version": "2.106.0",
"description": "pure nodejs OPCUA SDK - module transport",

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

"homepage": "http://node-opcua.github.io/",
"gitHead": "41c30f321debfe92128905d97a52426b9d7f9b9e",
"gitHead": "6fe67f5a64192bff5c7f590c4de4e827ae0c551a",
"files": [

@@ -51,0 +51,0 @@ "dist",

@@ -233,5 +233,15 @@ /* eslint-disable @typescript-eslint/ban-types */

if (maxMessageSize / sendBufferSize > maxChunkCount || maxMessageSize / receiveBufferSize > maxChunkCount) {
warningLog(`Warning : maxMessageSize / sendBufferSize ${maxMessageSize / sendBufferSize}> maxChunkCount ${maxChunkCount}
|| maxMessageSize / receiveBufferSize ${maxMessageSize / receiveBufferSize} < maxChunkCount `);
if (maxChunkCount !== 0) {
if (maxMessageSize / sendBufferSize > maxChunkCount) {
const expectedMaxChunkCount = Math.ceil(maxMessageSize / sendBufferSize);
warningLog(
`Warning: maxChunkCount is not big enough : maxMessageSize / sendBufferSize ${expectedMaxChunkCount} > maxChunkCount ${maxChunkCount}`
);
}
if (maxMessageSize / receiveBufferSize > maxChunkCount) {
const expectedMaxChunkCount = Math.ceil(maxMessageSize / receiveBufferSize);
warningLog(
`Warning: maxChunkCount is not big enough :maxMessageSize / sendBufferSize ${expectedMaxChunkCount} > maxChunkCount ${maxChunkCount}`
);
}
}

@@ -238,0 +248,0 @@

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