New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-opcua-packet-assembler

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-packet-assembler - npm Package Compare versions

Comparing version 2.42.0 to 2.51.0

10

dist/packet_assembler.js

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

this.minimumSizeInBytes = options.minimumSizeInBytes || 8;
node_opcua_assert_1.assert(typeof this.readMessageFunc === "function", "packet assembler requires a readMessageFunc");
(0, node_opcua_assert_1.assert)(typeof this.readMessageFunc === "function", "packet assembler requires a readMessageFunc");
}

@@ -30,4 +30,4 @@ feed(data) {

this.expectedLength = this.packetInfo.length;
node_opcua_assert_1.assert(this.currentLength === 0);
node_opcua_assert_1.assert(this.expectedLength > 0);
(0, node_opcua_assert_1.assert)(this.currentLength === 0);
(0, node_opcua_assert_1.assert)(this.expectedLength > 0);
// we can now emit an event to signal the start of a new packet

@@ -47,4 +47,4 @@ this.emit("newMessage", this.packetInfo, data);

const packetInfo = this._readPacketInfo(messageChunk);
node_opcua_assert_1.assert(this.packetInfo && this.packetInfo.length === packetInfo.length);
node_opcua_assert_1.assert(messageChunk.length === packetInfo.length);
(0, node_opcua_assert_1.assert)(this.packetInfo && this.packetInfo.length === packetInfo.length);
(0, node_opcua_assert_1.assert)(messageChunk.length === packetInfo.length);
}

@@ -51,0 +51,0 @@ // reset

{
"name": "node-opcua-packet-assembler",
"version": "2.42.0",
"version": "2.51.0",
"description": "pure nodejs OPCUA SDK - module -packet-assembler",

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

"dependencies": {
"node-opcua-assert": "2.42.0"
"node-opcua-assert": "2.51.0"
},

@@ -34,3 +34,3 @@ "devDependencies": {

"homepage": "http://node-opcua.github.io/",
"gitHead": "09c4530a94c3ff0529c94269d31088abecd7e144"
"gitHead": "75feb111daf7ec65fa0111e4fa5beb8987fd4945"
}

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