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 2.55.0 to 2.56.0

2

dist/imports.js

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

else if (dataType.value) {
(0, node_opcua_assert_1.assert)(dataType.hasOwnProperty("namespace"));
(0, node_opcua_assert_1.assert)(Object.prototype.hasOwnProperty.call(dataType, "namespace"));
dataType = (0, node_opcua_nodeid_1.coerceNodeId)(dataType.value, dataType.namespace);

@@ -32,0 +32,0 @@ }

{
"name": "node-opcua-service-call",
"version": "2.55.0",
"version": "2.56.0",
"description": "pure nodejs OPCUA SDK - module -service-call",
"scripts": {
"test": "mocha",
"lint": "eslint source test",
"format": "prettier --write source test",
"clean": "node -e \"require('rimraf').sync('dist');\"",

@@ -14,13 +16,13 @@ "build": "tsc -b"

"node-opcua-assert": "2.55.0",
"node-opcua-basic-types": "2.55.0",
"node-opcua-basic-types": "2.56.0",
"node-opcua-binary-stream": "2.55.0",
"node-opcua-factory": "2.55.0",
"node-opcua-factory": "2.56.0",
"node-opcua-nodeid": "2.55.0",
"node-opcua-service-secure-channel": "2.55.0",
"node-opcua-types": "2.55.0",
"node-opcua-variant": "2.55.0"
"node-opcua-service-secure-channel": "2.56.0",
"node-opcua-types": "2.56.0",
"node-opcua-variant": "2.56.0"
},
"devDependencies": {
"node-opcua-packet-analyzer": "2.55.0",
"node-opcua-status-code": "2.55.0",
"node-opcua-packet-analyzer": "2.56.0",
"node-opcua-status-code": "2.56.0",
"should": "^13.2.3"

@@ -43,3 +45,3 @@ },

"homepage": "http://node-opcua.github.io/",
"gitHead": "28fdbfe1c5306fd0e69758ccacfa2c6d1722115c"
"gitHead": "9f6eac1c658c0d182fbe03cf58f799af468615eb"
}

@@ -6,5 +6,3 @@ /**

import { coerceNodeId, NodeId, resolveNodeId } from "node-opcua-nodeid";
import {
Argument
} from "node-opcua-types";
import { Argument } from "node-opcua-types";
import { DataType } from "node-opcua-variant";

@@ -25,6 +23,5 @@

///
function constructHookArgument(options?: { dataType: any, valueRank?: number, arrayDimensions?: any }): any {
function constructHookArgument(options?: { dataType: any; valueRank?: number; arrayDimensions?: any }): any {
options = options || { dataType: DataType.Null };
options = options || {dataType: DataType.Null};
let dataType = options.dataType;

@@ -37,3 +34,3 @@ if (dataType) {

} else if (dataType.value) {
assert(dataType.hasOwnProperty("namespace"));
assert(Object.prototype.hasOwnProperty.call(dataType, "namespace"));
dataType = coerceNodeId(dataType.value, dataType.namespace);

@@ -54,5 +51,4 @@ } else {

return options;
}
Argument.schema.constructHook = constructHookArgument;

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