node-opcua-basic-types
Advanced tools
Comparing version 0.1.1-0 to 0.2.0
{ | ||
"name": "node-opcua-basic-types", | ||
"version": "0.1.1-0", | ||
"version": "0.2.0", | ||
"description": "pure nodejs OPCUA SDK - module -basic-types", | ||
@@ -8,16 +8,16 @@ "main": "index.js", | ||
"dependencies": { | ||
"node-opcua-assert": "^0.1.1-0", | ||
"node-opcua-binary-stream": "^0.1.1-0", | ||
"node-opcua-buffer-utils": "^0.1.1-0", | ||
"node-opcua-date-time": "^0.1.1-0", | ||
"node-opcua-enum": "^0.1.1-0", | ||
"node-opcua-guid": "^0.1.1-0", | ||
"node-opcua-nodeid": "^0.1.1-0", | ||
"node-opcua-status-code": "^0.1.1-0", | ||
"node-opcua-utils": "^0.1.1-0", | ||
"node-opcua-assert": "^0.2.0", | ||
"node-opcua-binary-stream": "^0.2.0", | ||
"node-opcua-buffer-utils": "^0.2.0", | ||
"node-opcua-date-time": "^0.2.0", | ||
"node-opcua-enum": "^0.2.0", | ||
"node-opcua-guid": "^0.2.0", | ||
"node-opcua-nodeid": "^0.2.0", | ||
"node-opcua-status-code": "^0.2.0", | ||
"node-opcua-utils": "^0.2.0", | ||
"underscore": "^1.8.3" | ||
}, | ||
"devDependencies": { | ||
"node-opcua-debug": "^0.1.1-0", | ||
"should": "13.2.0" | ||
"node-opcua-debug": "^0.2.0", | ||
"should": "13.2.1" | ||
}, | ||
@@ -24,0 +24,0 @@ "author": "Etienne Rossignon", |
@@ -523,2 +523,22 @@ "use strict"; | ||
it("should encode and decode an array of ByteString", function () { | ||
function encode_array_string(arr, stream) { | ||
ec.encodeArray(arr, stream, ec.encodeByteString); | ||
} | ||
function decode_array_string(stream) { | ||
return ec.decodeArray(stream, ec.decodeByteString); | ||
} | ||
var data = [ | ||
new Buffer("ABCD"), | ||
null, | ||
new Buffer(0), | ||
[] | ||
]; | ||
data = data.map(ec.coerceByteString); | ||
test_encode_decode(data, encode_array_string, decode_array_string, 24); | ||
}); | ||
}); | ||
@@ -525,0 +545,0 @@ |
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
55972
1404
+ Addednode-opcua-assert@0.2.0(transitive)
+ Addednode-opcua-binary-stream@0.2.3(transitive)
+ Addednode-opcua-buffer-utils@0.2.0(transitive)
+ Addednode-opcua-constants@0.2.0(transitive)
+ Addednode-opcua-date-time@0.2.3(transitive)
+ Addednode-opcua-enum@0.2.3(transitive)
+ Addednode-opcua-guid@0.2.0(transitive)
+ Addednode-opcua-nodeid@0.2.3(transitive)
+ Addednode-opcua-status-code@0.2.3(transitive)
+ Addednode-opcua-utils@0.2.3(transitive)
- Removednode-opcua-assert@0.1.1-0(transitive)
- Removednode-opcua-binary-stream@0.1.1-0(transitive)
- Removednode-opcua-buffer-utils@0.1.1-0(transitive)
- Removednode-opcua-constants@0.1.1-0(transitive)
- Removednode-opcua-date-time@0.1.1-0(transitive)
- Removednode-opcua-enum@0.1.1-0(transitive)
- Removednode-opcua-guid@0.1.1-0(transitive)
- Removednode-opcua-nodeid@0.1.1-0(transitive)
- Removednode-opcua-status-code@0.1.1-0(transitive)
- Removednode-opcua-utils@0.1.1-0(transitive)
Updatednode-opcua-assert@^0.2.0
Updatednode-opcua-date-time@^0.2.0
Updatednode-opcua-enum@^0.2.0
Updatednode-opcua-guid@^0.2.0
Updatednode-opcua-nodeid@^0.2.0
Updatednode-opcua-utils@^0.2.0