node-opcua-factory
Advanced tools
Comparing version 2.113.0 to 2.114.0
@@ -28,3 +28,2 @@ "use strict"; | ||
}; | ||
var _a; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -109,3 +108,3 @@ exports.BaseUAObject = void 0; | ||
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; | ||
const fullBuffer = typeof process === "object" ? !!process.env?.FULLBUFFER : false; | ||
function _arrayEllipsis(value, data) { | ||
@@ -281,4 +280,4 @@ if (!value) { | ||
} | ||
catch (_a) { | ||
value = chalk_1.default.red((value === null || value === void 0 ? void 0 : value.toString()) + " *** ERROR ***"); | ||
catch { | ||
value = chalk_1.default.red(value?.toString() + " *** ERROR ***"); | ||
} | ||
@@ -326,3 +325,3 @@ } | ||
const _newFieldSchema = _findFieldSchema(typeDictionary, field, element); | ||
data.lines.push(padding + ` { ` + chalk_1.default.cyan(`/* ${i} - ${_newFieldSchema === null || _newFieldSchema === void 0 ? void 0 : _newFieldSchema.name}*/`)); | ||
data.lines.push(padding + ` { ` + chalk_1.default.cyan(`/* ${i} - ${_newFieldSchema?.name}*/`)); | ||
const data1 = { | ||
@@ -329,0 +328,0 @@ lines: [], |
@@ -161,3 +161,2 @@ "use strict"; | ||
toString() { | ||
var _a, _b, _c; | ||
const str = []; | ||
@@ -169,5 +168,5 @@ str.push("name = " + this.name); | ||
str.push("documentation = " + this.documentation); | ||
str.push("encodingDefaultBinary = " + ((_a = this.encodingDefaultBinary) === null || _a === void 0 ? void 0 : _a.toString())); | ||
str.push("encodingDefaultXml = " + ((_b = this.encodingDefaultXml) === null || _b === void 0 ? void 0 : _b.toString())); | ||
str.push("encodingDefaultJson = " + ((_c = this.encodingDefaultJson) === null || _c === void 0 ? void 0 : _c.toString())); | ||
str.push("encodingDefaultBinary = " + this.encodingDefaultBinary?.toString()); | ||
str.push("encodingDefaultXml = " + this.encodingDefaultXml?.toString()); | ||
str.push("encodingDefaultJson = " + this.encodingDefaultJson?.toString()); | ||
for (const f of this.fields) { | ||
@@ -288,5 +287,8 @@ str.push(" field = " + | ||
function buildStructuredType(schemaLight) { | ||
return new StructuredTypeSchema(Object.assign(Object.assign({}, schemaLight), { dataTypeFactory: (0, get_standard_data_type_factory_1.getStandardDataTypeFactory)() })); | ||
return new StructuredTypeSchema({ | ||
...schemaLight, | ||
dataTypeFactory: (0, get_standard_data_type_factory_1.getStandardDataTypeFactory)() | ||
}); | ||
} | ||
exports.buildStructuredType = buildStructuredType; | ||
//# sourceMappingURL=structured_type_schema.js.map |
{ | ||
"name": "node-opcua-factory", | ||
"version": "2.113.0", | ||
"version": "2.114.0", | ||
"description": "pure nodejs OPCUA SDK - module factory", | ||
@@ -20,11 +20,11 @@ "main": "./dist/index.js", | ||
"node-opcua-assert": "2.105.0", | ||
"node-opcua-basic-types": "2.113.0", | ||
"node-opcua-binary-stream": "2.110.0", | ||
"node-opcua-constants": "2.98.1", | ||
"node-opcua-debug": "2.113.0", | ||
"node-opcua-enum": "2.110.0", | ||
"node-opcua-basic-types": "2.114.0", | ||
"node-opcua-binary-stream": "2.114.0", | ||
"node-opcua-constants": "2.114.0", | ||
"node-opcua-debug": "2.114.0", | ||
"node-opcua-enum": "2.114.0", | ||
"node-opcua-guid": "2.98.1", | ||
"node-opcua-nodeid": "2.113.0", | ||
"node-opcua-status-code": "2.110.0", | ||
"node-opcua-utils": "2.110.0" | ||
"node-opcua-nodeid": "2.114.0", | ||
"node-opcua-status-code": "2.114.0", | ||
"node-opcua-utils": "2.114.0" | ||
}, | ||
@@ -46,3 +46,3 @@ "author": "Etienne Rossignon", | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "36db335391fedd39726990a1b37f7768da16466a", | ||
"gitHead": "358d284a696c88e383eedac1ab75d950fb28ec35", | ||
"files": [ | ||
@@ -49,0 +49,0 @@ "dist", |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
4708
250130
+ Addednode-opcua-basic-types@2.114.0(transitive)
+ Addednode-opcua-binary-stream@2.114.0(transitive)
+ Addednode-opcua-buffer-utils@2.114.0(transitive)
+ Addednode-opcua-constants@2.114.0(transitive)
+ Addednode-opcua-date-time@2.114.0(transitive)
+ Addednode-opcua-debug@2.114.0(transitive)
+ Addednode-opcua-enum@2.114.0(transitive)
+ Addednode-opcua-nodeid@2.114.0(transitive)
+ Addednode-opcua-status-code@2.114.0(transitive)
+ Addednode-opcua-utils@2.114.0(transitive)
- Removednode-opcua-basic-types@2.113.0(transitive)
- Removednode-opcua-binary-stream@2.110.0(transitive)
- Removednode-opcua-buffer-utils@2.110.0(transitive)
- Removednode-opcua-constants@2.98.1(transitive)
- Removednode-opcua-date-time@2.113.0(transitive)
- Removednode-opcua-debug@2.113.0(transitive)
- Removednode-opcua-enum@2.110.0(transitive)
- Removednode-opcua-nodeid@2.113.0(transitive)
- Removednode-opcua-status-code@2.110.0(transitive)
- Removednode-opcua-utils@2.110.0(transitive)
Updatednode-opcua-constants@2.114.0
Updatednode-opcua-debug@2.114.0
Updatednode-opcua-enum@2.114.0
Updatednode-opcua-nodeid@2.114.0
Updatednode-opcua-utils@2.114.0