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 2.117.0 to 2.118.0

27

dist/variant.js
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -35,3 +12,3 @@ exports.sameVariant = exports.buildVariantArray = exports.isValidVariant = exports.coerceVariantType = exports.decodeVariant = exports.encodeVariant = exports.VARIANT_TYPE_MASK = exports.VARIANT_ARRAY_DIMENSIONS_MASK = exports.VARIANT_ARRAY_MASK = exports.Variant = void 0;

const node_opcua_factory_1 = require("node-opcua-factory");
const utils = __importStar(require("node-opcua-utils"));
const node_opcua_utils_1 = require("node-opcua-utils");
const node_opcua_debug_1 = require("node-opcua-debug");

@@ -692,3 +669,3 @@ const DataType_enum_1 = require("./DataType_enum");

case DataType_enum_1.DataType.String:
return typeof value === "string" || utils.isNullOrUndefined(value);
return typeof value === "string" || (0, node_opcua_utils_1.isNullOrUndefined)(value);
case DataType_enum_1.DataType.Int64:

@@ -695,0 +672,0 @@ return (0, node_opcua_basic_types_1.isValidInt64)(value);

20

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

@@ -16,8 +16,8 @@ "main": "./dist/index.js",

"node-opcua-assert": "2.105.0",
"node-opcua-basic-types": "2.117.0",
"node-opcua-basic-types": "2.118.0",
"node-opcua-binary-stream": "2.117.0",
"node-opcua-data-model": "2.117.0",
"node-opcua-data-model": "2.118.0",
"node-opcua-enum": "2.117.0",
"node-opcua-factory": "2.117.0",
"node-opcua-nodeid": "2.117.0",
"node-opcua-factory": "2.118.0",
"node-opcua-nodeid": "2.118.0",
"node-opcua-utils": "2.117.0"

@@ -30,6 +30,6 @@ },

"node-opcua-benchmarker": "2.117.0",
"node-opcua-debug": "2.117.0",
"node-opcua-extension-object": "2.117.0",
"node-opcua-numeric-range": "2.117.0",
"node-opcua-packet-analyzer": "2.117.0",
"node-opcua-debug": "2.118.0",
"node-opcua-extension-object": "2.118.0",
"node-opcua-numeric-range": "2.118.0",
"node-opcua-packet-analyzer": "2.118.0",
"node-opcua-status-code": "2.117.0",

@@ -54,3 +54,3 @@ "should": "^13.2.3",

"homepage": "http://node-opcua.github.io/",
"gitHead": "99ed7589a203923985c25be8907b36485c798bbe",
"gitHead": "6210aaa97b43554e3982113041963b2720e50a95",
"files": [

@@ -57,0 +57,0 @@ "dist",

@@ -36,3 +36,3 @@ /**

import * as utils from "node-opcua-utils";
import { isNullOrUndefined } from "node-opcua-utils";
import { make_warningLog } from "node-opcua-debug";

@@ -834,3 +834,3 @@

case DataType.String:
return typeof value === "string" || utils.isNullOrUndefined(value);
return typeof value === "string" || isNullOrUndefined(value);
case DataType.Int64:

@@ -837,0 +837,0 @@ return isValidInt64(value);

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