node-opcua-buffer-utils
Advanced tools
Comparing version 0.3.0 to 0.4.0
{ | ||
"name": "node-opcua-buffer-utils", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "pure nodejs OPCUA SDK - module -buffer-utils", | ||
@@ -14,6 +14,6 @@ "main": "dist/buffer_utils.js", | ||
"dependencies": { | ||
"node-opcua-assert": "^0.3.0" | ||
"node-opcua-assert": "^0.4.0" | ||
}, | ||
"devDependencies": { | ||
"node-opcua-benchmarker": "^0.3.0" | ||
"node-opcua-benchmarker": "^0.4.0" | ||
}, | ||
@@ -20,0 +20,0 @@ "repository": { |
@@ -40,7 +40,7 @@ "use strict"; | ||
}) | ||
.add("createFastUninitializedBuffer", function () { | ||
.add("buffer alloc", function () { | ||
let bufs = new Array(n); | ||
for (i = 0; i < n; i++) { | ||
bufs[i] = new Buffer(sizes[i]); | ||
bufs[i] = Buffer.alloc(sizes[i]); | ||
} | ||
@@ -47,0 +47,0 @@ bufs = null; |
{ | ||
"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
7673
145
+ Addednode-opcua-assert@0.4.6(transitive)
- Removednode-opcua-assert@0.3.0(transitive)
Updatednode-opcua-assert@^0.4.0