node-opcua-factory
Advanced tools
Comparing version 2.62.7 to 2.63.0
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
238113
4398
+ Added@types/lodash@4.14.178(transitive)
+ Addednode-opcua-assert@2.63.0(transitive)
+ Addednode-opcua-basic-types@2.63.0(transitive)
+ Addednode-opcua-binary-stream@2.63.0(transitive)
+ Addednode-opcua-buffer-utils@2.63.0(transitive)
+ Addednode-opcua-date-time@2.63.0(transitive)
+ Addednode-opcua-debug@2.63.0(transitive)
+ Addednode-opcua-enum@2.63.0(transitive)
+ Addednode-opcua-guid@2.63.0(transitive)
+ Addednode-opcua-nodeid@2.63.0(transitive)
+ Addednode-opcua-status-code@2.63.0(transitive)
+ Addednode-opcua-utils@2.63.0(transitive)
- Removed@types/lodash@4.14.177(transitive)
- Removedbrowser-process-hrtime@1.0.0(transitive)
- Removednode-opcua-assert@2.55.0(transitive)
- Removednode-opcua-basic-types@2.62.7(transitive)
- Removednode-opcua-binary-stream@2.62.7(transitive)
- Removednode-opcua-buffer-utils@2.62.7(transitive)
- Removednode-opcua-date-time@2.62.7(transitive)
- Removednode-opcua-debug@2.62.7(transitive)
- Removednode-opcua-enum@2.62.7(transitive)
- Removednode-opcua-guid@2.62.7(transitive)
- Removednode-opcua-nodeid@2.62.7(transitive)
- Removednode-opcua-status-code@2.62.7(transitive)
- Removednode-opcua-utils@2.62.7(transitive)
Updatednode-opcua-assert@2.63.0
Updatednode-opcua-debug@2.63.0
Updatednode-opcua-enum@2.63.0
Updatednode-opcua-guid@2.63.0
Updatednode-opcua-nodeid@2.63.0
Updatednode-opcua-utils@2.63.0