Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-opcua-basic-types

Package Overview
Dependencies
Maintainers
1
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-basic-types - npm Package Compare versions

Comparing version 0.1.1-0 to 0.2.0

24

package.json
{
"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 @@

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