node-opcua-packet-assembler
Advanced tools
Comparing version 0.1.0-alpha.dc0cce4c to 0.1.1-0
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
9430
4
180
1
1
0
+ Addednode-opcua-assert@0.1.1-0(transitive)
- Removednode-opcua-assert@0.1.0-alpha.dc0cce4c(transitive)
Updatednode-opcua-assert@^0.1.1-0