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

node-opcua-factory

Package Overview
Dependencies
Maintainers
1
Versions
183
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-factory - npm Package Compare versions

Comparing version 2.62.7 to 2.63.0

7

dist/factories_baseobject.js
"use strict";
var _a;
Object.defineProperty(exports, "__esModule", { value: true });

@@ -67,3 +68,4 @@ exports.BaseUAObject = void 0;

}
const _nbElements = process.env.ARRAYLENGTH ? parseInt(process.env.ARRAYLENGTH, 10) : 10;
const _nbElements = (typeof process === "object") ? (process.env.ARRAYLENGTH ? parseInt(process.env.ARRAYLENGTH, 10) : 10) : 10;
const fullBuffer = (typeof process === "object") ? !!((_a = process.env) === null || _a === void 0 ? void 0 : _a.FULLBUFFER) : false;
function _arrayEllipsis(value, data) {

@@ -168,7 +170,6 @@ if (!value) {

function _dump_simple_value(self, field, data, value, fieldType) {
var _a;
let str = "";
if (value instanceof Buffer) {
data.lines.push(fieldNameF + " " + fieldTypeF);
if (((_a = process.env) === null || _a === void 0 ? void 0 : _a.FULLBUFFER) || value.length <= 32) {
if (fullBuffer || value.length <= 32) {
const _hexDump = value.length <= 32 ? "Ox" + value.toString("hex") : "\n" + (0, node_opcua_debug_1.hexDump)(value);

@@ -175,0 +176,0 @@ data.lines.push("Buffer: " + _hexDump);

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

exports.parameters = {
debugSchemaHelper: !!process.env.DEBUG_CLASS
debugSchemaHelper: (typeof process === "object" && !!process.env.DEBUG_CLASS)
};

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

{
"name": "node-opcua-factory",
"version": "2.62.7",
"version": "2.63.0",
"description": "pure nodejs OPCUA SDK - module -factory",

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

"chalk": "4.1.2",
"node-opcua-assert": "2.55.0",
"node-opcua-basic-types": "2.62.7",
"node-opcua-binary-stream": "2.62.7",
"node-opcua-debug": "2.62.7",
"node-opcua-enum": "2.62.7",
"node-opcua-guid": "2.62.7",
"node-opcua-nodeid": "2.62.7",
"node-opcua-status-code": "2.62.7",
"node-opcua-utils": "2.62.7"
"node-opcua-assert": "2.63.0",
"node-opcua-basic-types": "2.63.0",
"node-opcua-binary-stream": "2.63.0",
"node-opcua-debug": "2.63.0",
"node-opcua-enum": "2.63.0",
"node-opcua-guid": "2.63.0",
"node-opcua-nodeid": "2.63.0",
"node-opcua-status-code": "2.63.0",
"node-opcua-utils": "2.63.0"
},

@@ -42,3 +42,3 @@ "author": "Etienne Rossignon",

"homepage": "http://node-opcua.github.io/",
"gitHead": "90bb9139261a0edbb531081afcc6904c74e9ee52"
"gitHead": "df4335584455009c6caa21ed6a2fa42caa9104ed"
}

@@ -76,3 +76,4 @@ /* eslint-disable prefer-rest-params */

const _nbElements = process.env.ARRAYLENGTH ? parseInt(process.env.ARRAYLENGTH, 10) : 10;
const _nbElements = (typeof process === "object") ? (process.env.ARRAYLENGTH ? parseInt(process.env.ARRAYLENGTH, 10) : 10) : 10;
const fullBuffer = (typeof process === "object") ? !!(process.env?.FULLBUFFER) : false;

@@ -203,3 +204,3 @@ function _arrayEllipsis(value: any[] | null, data: ExploreParams): string {

data.lines.push(fieldNameF + " " + fieldTypeF);
if (process.env?.FULLBUFFER || value.length <= 32) {
if (fullBuffer || value.length <= 32) {
const _hexDump = value.length <= 32 ? "Ox" + value.toString("hex") : "\n" + hexDump(value);

@@ -206,0 +207,0 @@ data.lines.push("Buffer: " + _hexDump);

@@ -12,3 +12,3 @@ /**

export const parameters = {
debugSchemaHelper: !!process.env.DEBUG_CLASS
debugSchemaHelper: (typeof process === "object" && !!process.env.DEBUG_CLASS)
};

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

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