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
201
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 2.4.0 to 2.4.2

0

dist/DataType_enum.d.ts

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

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

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

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

2

dist/variant.d.ts

@@ -60,3 +60,3 @@ /**

export declare function isValidVariant(arrayType: VariantArrayType, dataType: DataType, value: any, dimensions?: number[] | null): boolean;
export declare function buildVariantArray(dataType: DataType, nbElements: number, defaultValue: any): any[] | Uint8Array | Uint16Array | Uint32Array | Int8Array | Int16Array | Int32Array | Float32Array | Float64Array;
export declare function buildVariantArray(dataType: DataType, nbElements: number, defaultValue: any): any[] | Float32Array | Float64Array | Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array;
/***

@@ -63,0 +63,0 @@ * returns true if the two variant represent the same value

@@ -12,3 +12,2 @@ "use strict";

const utils = require("node-opcua-utils");
const node_opcua_extension_object_1 = require("node-opcua-extension-object");
const DataType_enum_1 = require("./DataType_enum");

@@ -82,3 +81,3 @@ const VariantArrayType_enum_1 = require("./VariantArrayType_enum");

/* istanbul ignore next */
if (this.value && !(this.value instanceof node_opcua_extension_object_1.ExtensionObject)) {
if (this.value && !(this.value instanceof node_opcua_factory_1.BaseUAObject)) {
throw new Error("A variant with DataType.ExtensionObject must have a ExtensionObject value");

@@ -90,3 +89,3 @@ }

/* istanbul ignore next */
if (e && !(e instanceof node_opcua_extension_object_1.ExtensionObject)) {
if (e && !(e instanceof node_opcua_factory_1.BaseUAObject)) {
throw new Error("A variant with DataType.ExtensionObject must have a ExtensionObject value");

@@ -93,0 +92,0 @@ }

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

@@ -0,0 +0,0 @@ module.exports = {

{
"name": "node-opcua-variant",
"version": "2.4.0",
"version": "2.4.2",
"description": "pure nodejs OPCUA SDK - module -variant",

@@ -14,18 +14,18 @@ "main": "./dist/index.js",

"node-opcua-assert": "^2.3.0",
"node-opcua-basic-types": "^2.4.0",
"node-opcua-data-model": "^2.4.0",
"node-opcua-enum": "^2.3.0",
"node-opcua-extension-object": "^2.4.0",
"node-opcua-factory": "^2.4.0",
"node-opcua-nodeid": "^2.3.0",
"node-opcua-utils": "^2.4.0",
"underscore": "^1.9.1"
"node-opcua-basic-types": "^2.4.2",
"node-opcua-data-model": "^2.4.2",
"node-opcua-enum": "^2.4.2",
"node-opcua-extension-object": "^2.4.2",
"node-opcua-factory": "^2.4.2",
"node-opcua-nodeid": "^2.4.2",
"node-opcua-utils": "^2.4.2",
"underscore": "^1.9.2"
},
"devDependencies": {
"node-opcua-benchmarker": "^2.3.0",
"node-opcua-binary-stream": "^2.3.0",
"node-opcua-debug": "^2.3.0",
"node-opcua-numeric-range": "^2.4.0",
"node-opcua-packet-analyzer": "^2.4.0",
"node-opcua-status-code": "^2.3.0",
"node-opcua-benchmarker": "^2.4.2",
"node-opcua-binary-stream": "^2.4.2",
"node-opcua-debug": "^2.4.2",
"node-opcua-numeric-range": "^2.4.2",
"node-opcua-packet-analyzer": "^2.4.2",
"node-opcua-status-code": "^2.4.2",
"should": "13.2.3",

@@ -49,3 +49,3 @@ "source-map-support": "^0.5.16"

"homepage": "http://node-opcua.github.io/",
"gitHead": "21f5967e799ef2b4d6491b8fc670964127c11431"
"gitHead": "6e4967fd20a09317ddd00098bcfe93e92c1df510"
}

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

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

@@ -138,3 +138,3 @@ /**

/* istanbul ignore next */
if (this.value && !(this.value instanceof ExtensionObject)) {
if (this.value && !(this.value instanceof BaseUAObject)) {
throw new Error("A variant with DataType.ExtensionObject must have a ExtensionObject value");

@@ -145,3 +145,3 @@ }

/* istanbul ignore next */
if (e && !(e instanceof ExtensionObject)) {
if (e && !(e instanceof BaseUAObject)) {
throw new Error("A variant with DataType.ExtensionObject must have a ExtensionObject value");

@@ -148,0 +148,0 @@ }

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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