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

node-opcua-variant

Package Overview
Dependencies
Maintainers
1
Versions
200
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-variant - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

test/data_factory_code_generator/_auto_generated_Variant_Gen1.js

6

_generated_/_auto_generated_Variant.js

@@ -1,2 +0,2 @@

// --------- This code has been automatically generated !!! 2018-01-31T14:02:54.580Z
// --------- This code has been automatically generated !!! 2018-02-22T17:36:28.610Z
"use strict";

@@ -50,2 +50,6 @@ /**

BaseUAObject.call(this,options);
if (options === null) {
BaseUAObject.call(this,options);
return ;
}

@@ -52,0 +56,0 @@ /**

var generator = require("node-opcua-generator");
generator.registerObject("Variant");

@@ -0,0 +0,0 @@ "use strict";

24

package.json
{
"name": "node-opcua-variant",
"version": "0.2.1",
"version": "0.2.2",
"description": "pure nodejs OPCUA SDK - module -variant",

@@ -13,7 +13,7 @@ "main": "index.js",

"node-opcua-assert": "^0.2.0",
"node-opcua-basic-types": "^0.2.1",
"node-opcua-data-model": "^0.2.1",
"node-opcua-factory": "^0.2.1",
"node-opcua-nodeid": "^0.2.0",
"node-opcua-utils": "^0.2.1",
"node-opcua-basic-types": "^0.2.2",
"node-opcua-data-model": "^0.2.2",
"node-opcua-factory": "^0.2.2",
"node-opcua-nodeid": "^0.2.2",
"node-opcua-utils": "^0.2.2",
"underscore": "^1.8.3"

@@ -23,8 +23,8 @@ },

"node-opcua-benchmarker": "^0.2.0",
"node-opcua-binary-stream": "^0.2.1",
"node-opcua-debug": "^0.2.0",
"node-opcua-generator": "^0.2.1",
"node-opcua-numeric-range": "^0.2.1",
"node-opcua-packet-analyzer": "^0.2.1",
"node-opcua-status-code": "^0.2.1",
"node-opcua-binary-stream": "^0.2.2",
"node-opcua-debug": "^0.2.2",
"node-opcua-generator": "^0.2.2",
"node-opcua-numeric-range": "^0.2.2",
"node-opcua-packet-analyzer": "^0.2.2",
"node-opcua-status-code": "^0.2.2",
"should": "13.2.1"

@@ -31,0 +31,0 @@ },

@@ -0,0 +0,0 @@

@@ -108,5 +108,5 @@ "use strict";

var arr = value || [];
assert(arr instanceof Array);
assert(_.isFinite(arr.length));
ec.encodeUInt32(arr.length, stream);
var encode = get_encoder(dataType);

@@ -113,0 +113,0 @@ var i, n = arr.length;

@@ -0,0 +0,0 @@ "use strict";

@@ -53,4 +53,4 @@ "use strict";

case DataType.UInt16:
case DataType.Int32:
case DataType.UInt32:
case DataType.Int32:
assert(value !== undefined);

@@ -63,3 +63,3 @@ if (isEnumerationItem(value)) {

}
assert(_.isFinite(value));
assert(_.isFinite(value), "expecting a number");
break;

@@ -83,3 +83,3 @@ case DataType.UInt64:

if (!(value === null || value instanceof Buffer)) {
throw new Error("BytString should be null or a Buffer");
throw new Error("ByteString should be null or a Buffer");
}

@@ -252,4 +252,4 @@ assert(value === null || value instanceof Buffer);

// compare byte by byte
var b1 = Buffer.from(arr1.buffer);
var b2 = Buffer.from(arr2.buffer);
var b1 = Buffer.from(arr1.buffer,arr1.byteOffset,arr1.byteLength);
var b2 = Buffer.from(arr2.buffer,arr2.byteOffset,arr2.byteLength);
return b1.equals(b2);

@@ -256,0 +256,0 @@ }

@@ -0,0 +0,0 @@ "use strict";

Sorry, the diff of this file is not supported yet

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