Huge News!Announcing our $40M Series B led by Abstract Ventures.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 0.1.0-alpha.dc0cce4c to 0.1.1-0

LICENSE

45

package.json
{
"name": "node-opcua-packet-assembler",
"version": "0.1.0-alpha.dc0cce4c",
"description": "",
"main": "src/packet_assembler.js",
"scripts": {
"test": "mocha test"
},
"author": "",
"license": "MIT",
"dependencies": {
"node-opcua-assert": "^0.1.0-alpha.dc0cce4c",
"underscore": "^1.8.3"
},
"devDependencies": {
"should": "^13.0.1"
}
"name": "node-opcua-packet-assembler",
"version": "0.1.1-0",
"description": "pure nodejs OPCUA SDK - module -packet-assembler",
"main": "src/packet_assembler.js",
"scripts": {
"test": "mocha test"
},
"author": "Etienne Rossignon",
"license": "MIT",
"dependencies": {
"node-opcua-assert": "^0.1.1-0",
"underscore": "^1.8.3"
},
"devDependencies": {
"should": "13.2.0"
},
"repository": {
"type": "git",
"url": "git://github.com/node-opcua/node-opcua.git"
},
"keywords": [
"OPCUA",
"opcua",
"m2m",
"iot",
"opc ua",
"internet of things"
],
"homepage": "http://node-opcua.github.io/"
}

@@ -63,3 +63,5 @@ "use strict";

// let's build
// we are at a start of a block and there is enough data provided to read the length of the block
// let's build the whole data block with previous blocks already read.
if (this._stack.length > 0) {

@@ -77,3 +79,3 @@ data = this._build_data(data);

// we can also validate the messageType ...
// we can now emit an event to signal the start of a new packet
this.emit("newMessage", this.packet_info, data);

@@ -95,2 +97,3 @@

// istanbul ignore next
if (doDebug) {

@@ -109,2 +112,3 @@ var packet_info = this._read_packet_info(messageChunk);

assert(this.expectedLength > 0);
// there is more data in this chunk than expected...

@@ -111,0 +115,0 @@ // the chunk need to be split

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