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

node-opcua-service-call

Package Overview
Dependencies
Maintainers
1
Versions
218
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-service-call - npm Package Compare versions

Comparing version 0.1.1-0 to 0.2.0

2

_generated_/_auto_generated_Argument.js

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

// --------- This code has been automatically generated !!! 2017-12-15T21:13:56.145Z
// --------- This code has been automatically generated !!! 2018-01-23T21:10:22.266Z
"use strict";

@@ -3,0 +3,0 @@ /**

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

// --------- This code has been automatically generated !!! 2017-12-15T21:13:56.191Z
// --------- This code has been automatically generated !!! 2018-01-23T21:10:22.362Z
"use strict";

@@ -3,0 +3,0 @@ /**

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

// --------- This code has been automatically generated !!! 2017-12-15T21:13:56.207Z
// --------- This code has been automatically generated !!! 2018-01-23T21:10:22.369Z
"use strict";

@@ -3,0 +3,0 @@ /**

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

// --------- This code has been automatically generated !!! 2017-12-15T21:13:56.207Z
// --------- This code has been automatically generated !!! 2018-01-23T21:10:22.390Z
"use strict";

@@ -3,0 +3,0 @@ /**

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

// --------- This code has been automatically generated !!! 2017-12-15T21:13:56.207Z
// --------- This code has been automatically generated !!! 2018-01-23T21:10:22.401Z
"use strict";

@@ -3,0 +3,0 @@ /**

{
"name": "node-opcua-service-call",
"version": "0.1.1-0",
"version": "0.2.0",
"description": "pure nodejs OPCUA SDK - module -service-call",

@@ -12,15 +12,15 @@ "scripts": {

"dependencies": {
"node-opcua-assert": "^0.1.1-0",
"node-opcua-basic-types": "^0.1.1-0",
"node-opcua-factory": "^0.1.1-0",
"node-opcua-nodeid": "^0.1.1-0",
"node-opcua-service-secure-channel": "^0.1.1-0",
"node-opcua-variant": "^0.1.1-0",
"node-opcua-assert": "^0.2.0",
"node-opcua-basic-types": "^0.2.0",
"node-opcua-factory": "^0.2.0",
"node-opcua-nodeid": "^0.2.0",
"node-opcua-service-secure-channel": "^0.2.0",
"node-opcua-variant": "^0.2.0",
"underscore": "^1.8.3"
},
"devDependencies": {
"node-opcua-generator": "^0.1.1-0",
"node-opcua-packet-analyzer": "^0.1.1-0",
"node-opcua-status-code": "^0.1.1-0",
"should": "13.2.0"
"node-opcua-generator": "^0.2.0",
"node-opcua-packet-analyzer": "^0.2.0",
"node-opcua-status-code": "^0.2.0",
"should": "13.2.1"
},

@@ -27,0 +27,0 @@ "author": "Etienne Rossignon",

@@ -36,3 +36,3 @@ "use strict";

var coerceNodeId = require("node-opcua-nodeid").coerceNodeId;
var resolveNodeId = require("node-opcua-nodeid").resolveNodeId;
var DataType = require("node-opcua-variant").DataType;

@@ -49,10 +49,19 @@

if (typeof dataType === "string") {
dataType = makeNodeId(dataType.value, 0);
//dataType = coerceNodeId(DataType[dataType].value);
dataType = resolveNodeId(dataType);
} else if ( dataType instanceof NodeId ) {
// nothing
} else {
dataType = coerceNodeId(dataType.value);
assert(dataType.hasOwnProperty("value"));
dataType = coerceNodeId(dataType.value,dataType.namespace);
}
options.dataType = dataType;
}
// fix missing ArrayDimension (The value is an array with one dimension.)
if (!options.valueRank === 1 || !options.arrayDimensions) {
options.arrayDimensions = [0];
}
return options;
},

@@ -59,0 +68,0 @@ fields: [

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