node-opcua-binary-stream
Advanced tools
Comparing version 0.3.0 to 0.4.0
{ | ||
"name": "node-opcua-binary-stream", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "pure nodejs OPCUA SDK - module -binary-stream", | ||
@@ -12,9 +12,9 @@ "main": "dist/binaryStream.js", | ||
"dependencies": { | ||
"colors": "^1.2.1", | ||
"node-opcua-assert": "^0.3.0", | ||
"node-opcua-buffer-utils": "^0.3.0" | ||
"colors": "^1.3.0", | ||
"node-opcua-assert": "^0.4.0", | ||
"node-opcua-buffer-utils": "^0.4.0" | ||
}, | ||
"devDependencies": { | ||
"@types/underscore": "^1.8.8", | ||
"node-opcua-benchmarker": "^0.3.0", | ||
"node-opcua-benchmarker": "^0.4.0", | ||
"should": "13.2.1" | ||
@@ -21,0 +21,0 @@ }, |
@@ -88,3 +88,3 @@ "use strict"; | ||
stream.writeDouble(100000.0); | ||
stream.writeByteStream(new Buffer("Hello")); | ||
stream.writeByteStream(Buffer.from("Hello")); | ||
stream.length.should.equal(4 + 4 + 8 + 4 + 5); | ||
@@ -179,3 +179,3 @@ | ||
largeArray[100].should.eql(100 * 0.14); | ||
const binStream = new BinaryStream(new Buffer(n * 8 + 20)); | ||
const binStream = new BinaryStream(Buffer.alloc(n * 8 + 20)); | ||
@@ -211,4 +211,4 @@ largeArray.length.should.eql(n); | ||
const binStream1 = new BinaryStream(new Buffer(n * 8 + 20)); | ||
const binStream2 = new BinaryStream(new Buffer(n * 8 + 20)); | ||
const binStream1 = new BinaryStream(Buffer.alloc(n * 8 + 20)); | ||
const binStream2 = new BinaryStream(Buffer.alloc(n * 8 + 20)); | ||
@@ -241,6 +241,6 @@ largeArray.byteLength.should.eql(n * 8); | ||
const binStream1 = new BinaryStream(new Buffer(n * 8 + 20)); | ||
const binStream1 = new BinaryStream(Buffer.alloc(n * 8 + 20)); | ||
binStream1.writeArrayBuffer(largeArray.buffer, 0, largeArray.byteLength); | ||
//var binStream2 = new BinaryStream(new Buffer(n * 8 + 20)); | ||
//var binStream2 = new BinaryStream(Buffer.alloc(n * 8 + 20)); | ||
//binStream2.writeArrayBuffer(largeArray.buffer, 0, largeArray.byteLength); | ||
@@ -294,3 +294,3 @@ | ||
const binStream1 = new BinaryStream(new Buffer(n * 8 + 20)); | ||
const binStream1 = new BinaryStream(Buffer.alloc(n * 8 + 20)); | ||
binStream1.writeArrayBuffer(largeArray.buffer, 0, largeArray.byteLength); | ||
@@ -297,0 +297,0 @@ |
{ | ||
"compilerOptions": { | ||
"skipLibCheck": true, | ||
"target": "es6", | ||
@@ -4,0 +5,0 @@ "module": "commonjs", |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
57173
1219
0
+ Addednode-opcua-assert@0.4.6(transitive)
+ Addednode-opcua-buffer-utils@0.4.6(transitive)
- Removednode-opcua-assert@0.3.0(transitive)
- Removednode-opcua-buffer-utils@0.3.0(transitive)
Updatedcolors@^1.3.0
Updatednode-opcua-assert@^0.4.0