node-opcua-client-dynamic-extension-object
Advanced tools
Comparing version 2.103.0 to 2.104.0
@@ -11,2 +11,5 @@ "use strict"; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -19,3 +22,3 @@ exports.populateDataTypeManager103 = void 0; | ||
*/ | ||
const chalk = require("chalk"); | ||
const chalk_1 = __importDefault(require("chalk")); | ||
const node_opcua_assert_1 = require("node-opcua-assert"); | ||
@@ -273,3 +276,3 @@ const node_opcua_data_model_1 = require("node-opcua-data-model"); | ||
if (doDebug) { | ||
debugLog(chalk.yellow("--------------------------------------- "), className, dataTypeNodeId.toString()); | ||
debugLog(chalk_1.default.yellow("--------------------------------------- "), className, dataTypeNodeId.toString()); | ||
} | ||
@@ -284,3 +287,3 @@ if (dataTypeFactory.hasStructureByTypeName(className)) { | ||
if (doDebug) { | ||
debugLog(chalk.red("Registering "), chalk.cyan(className.padEnd(30, " ")), schema.dataTypeNodeId.toString()); | ||
debugLog(chalk_1.default.red("Registering "), chalk_1.default.cyan(className.padEnd(30, " ")), schema.dataTypeNodeId.toString()); | ||
} | ||
@@ -325,3 +328,3 @@ const Constructor = (0, node_opcua_schemas_1.createDynamicObjectConstructor)(schema, dataTypeFactory); | ||
if (!_isOldDataTypeDictionary(d)) { | ||
debugLog("DataTypeDictionary is deprecated or BSD schema stored in dataValue is null !", chalk.cyan(name.value.value.toString()), "namespace =", namespace); | ||
debugLog("DataTypeDictionary is deprecated or BSD schema stored in dataValue is null !", chalk_1.default.cyan(name.value.value.toString()), "namespace =", namespace); | ||
debugLog("let's use the new way (1.04) and let's crawl all dataTypes exposed by this name space"); | ||
@@ -391,3 +394,3 @@ // dataType definition in store directly in UADataType under the definition attribute | ||
if (doDebug) { | ||
console.log(chalk.bgWhite.red("testing new constructors")); | ||
console.log(chalk_1.default.bgWhite.red("testing new constructors")); | ||
for (let i = 0; i < references.length; i++) { | ||
@@ -615,3 +618,3 @@ const ref = references[i]; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
debugLog(chalk.cyan("processReferenceOnDataTypeDictionaryType on "), d.targetNamespace); | ||
debugLog(chalk_1.default.cyan("processReferenceOnDataTypeDictionaryType on "), d.targetNamespace); | ||
const ref = d.reference; | ||
@@ -622,3 +625,3 @@ const dataTypeDictionaryNodeId = d.reference.nodeId; | ||
if (doDebug) { | ||
debugLog(chalk.bgWhite(" => "), ref.browseName.toString(), ref.nodeId.toString()); | ||
debugLog(chalk_1.default.bgWhite(" => "), ref.browseName.toString(), ref.nodeId.toString()); | ||
} | ||
@@ -641,3 +644,3 @@ const dataTypeFactory = dataTypeManager.getDataTypeFactoryForNamespace(dataTypeDictionaryNodeId.namespace); | ||
catch (err) { | ||
debugLog(chalk.red("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "), err); | ||
debugLog(chalk_1.default.red("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "), err); | ||
} | ||
@@ -644,0 +647,0 @@ } |
{ | ||
"name": "node-opcua-client-dynamic-extension-object", | ||
"version": "2.103.0", | ||
"version": "2.104.0", | ||
"description": "pure nodejs OPCUA SDK - module client-dynamic-extension-object", | ||
@@ -14,18 +14,18 @@ "main": "./dist/index.js", | ||
"chalk": "4.1.2", | ||
"node-opcua-assert": "2.98.1", | ||
"node-opcua-binary-stream": "2.98.1", | ||
"node-opcua-assert": "2.104.0", | ||
"node-opcua-binary-stream": "2.104.0", | ||
"node-opcua-constants": "2.98.1", | ||
"node-opcua-data-model": "2.102.0", | ||
"node-opcua-data-value": "2.102.0", | ||
"node-opcua-debug": "2.99.0", | ||
"node-opcua-extension-object": "2.99.0", | ||
"node-opcua-factory": "2.99.0", | ||
"node-opcua-nodeid": "2.99.0", | ||
"node-opcua-pseudo-session": "2.103.0", | ||
"node-opcua-schemas": "2.103.0", | ||
"node-opcua-service-browse": "2.103.0", | ||
"node-opcua-service-translate-browse-path": "2.103.0", | ||
"node-opcua-status-code": "2.98.1", | ||
"node-opcua-types": "2.103.0", | ||
"node-opcua-variant": "2.102.0" | ||
"node-opcua-data-model": "2.104.0", | ||
"node-opcua-data-value": "2.104.0", | ||
"node-opcua-debug": "2.104.0", | ||
"node-opcua-extension-object": "2.104.0", | ||
"node-opcua-factory": "2.104.0", | ||
"node-opcua-nodeid": "2.104.0", | ||
"node-opcua-pseudo-session": "2.104.0", | ||
"node-opcua-schemas": "2.104.0", | ||
"node-opcua-service-browse": "2.104.0", | ||
"node-opcua-service-translate-browse-path": "2.104.0", | ||
"node-opcua-status-code": "2.104.0", | ||
"node-opcua-types": "2.104.0", | ||
"node-opcua-variant": "2.104.0" | ||
}, | ||
@@ -47,3 +47,3 @@ "author": "Etienne Rossignon", | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "e206cac2daf39bd07e5ac6cbd744f966bb54759e", | ||
"gitHead": "3cd6d355e8b3c66822d08a3ca682659ea5d1a55d", | ||
"files": [ | ||
@@ -50,0 +50,0 @@ "dist", |
@@ -6,3 +6,3 @@ /* eslint-disable max-statements */ | ||
*/ | ||
import * as chalk from "chalk"; | ||
import chalk from "chalk"; | ||
@@ -9,0 +9,0 @@ import { assert } from "node-opcua-assert"; |
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
262857
54
4054
+ Addednode-opcua-assert@2.104.0(transitive)
+ Addednode-opcua-basic-types@2.104.0(transitive)
+ Addednode-opcua-binary-stream@2.104.0(transitive)
+ Addednode-opcua-buffer-utils@2.104.0(transitive)
+ Addednode-opcua-data-model@2.104.0(transitive)
+ Addednode-opcua-data-value@2.104.0(transitive)
+ Addednode-opcua-date-time@2.104.0(transitive)
+ Addednode-opcua-debug@2.104.0(transitive)
+ Addednode-opcua-enum@2.104.0(transitive)
+ Addednode-opcua-extension-object@2.104.0(transitive)
+ Addednode-opcua-factory@2.104.0(transitive)
+ Addednode-opcua-generator@2.104.0(transitive)
+ Addednode-opcua-nodeid@2.104.0(transitive)
+ Addednode-opcua-numeric-range@2.104.0(transitive)
+ Addednode-opcua-pseudo-session@2.104.0(transitive)
+ Addednode-opcua-schemas@2.104.0(transitive)
+ Addednode-opcua-service-browse@2.104.0(transitive)
+ Addednode-opcua-service-call@2.104.0(transitive)
+ Addednode-opcua-service-read@2.104.0(transitive)
+ Addednode-opcua-service-secure-channel@2.104.0(transitive)
+ Addednode-opcua-service-subscription@2.104.0(transitive)
+ Addednode-opcua-service-translate-browse-path@2.104.0(transitive)
+ Addednode-opcua-service-write@2.104.0(transitive)
+ Addednode-opcua-status-code@2.104.0(transitive)
+ Addednode-opcua-types@2.104.0(transitive)
+ Addednode-opcua-utils@2.104.0(transitive)
+ Addednode-opcua-variant@2.104.0(transitive)
+ Addednode-opcua-xml2json@2.104.0(transitive)
- Removednode-opcua-assert@2.98.1(transitive)
- Removednode-opcua-basic-types@2.99.0(transitive)
- Removednode-opcua-binary-stream@2.98.1(transitive)
- Removednode-opcua-buffer-utils@2.98.1(transitive)
- Removednode-opcua-data-model@2.102.0(transitive)
- Removednode-opcua-data-value@2.102.0(transitive)
- Removednode-opcua-date-time@2.99.0(transitive)
- Removednode-opcua-debug@2.99.0(transitive)
- Removednode-opcua-enum@2.98.1(transitive)
- Removednode-opcua-extension-object@2.99.0(transitive)
- Removednode-opcua-factory@2.99.0(transitive)
- Removednode-opcua-generator@2.103.0(transitive)
- Removednode-opcua-nodeid@2.99.0(transitive)
- Removednode-opcua-numeric-range@2.102.0(transitive)
- Removednode-opcua-pseudo-session@2.103.0(transitive)
- Removednode-opcua-schemas@2.103.0(transitive)
- Removednode-opcua-service-browse@2.103.0(transitive)
- Removednode-opcua-service-call@2.103.0(transitive)
- Removednode-opcua-service-read@2.103.0(transitive)
- Removednode-opcua-service-secure-channel@2.103.0(transitive)
- Removednode-opcua-service-subscription@2.103.0(transitive)
- Removednode-opcua-service-translate-browse-path@2.103.0(transitive)
- Removednode-opcua-service-write@2.103.0(transitive)
- Removednode-opcua-status-code@2.98.1(transitive)
- Removednode-opcua-types@2.103.0(transitive)
- Removednode-opcua-utils@2.98.1(transitive)
- Removednode-opcua-variant@2.102.0(transitive)
- Removednode-opcua-xml2json@2.103.0(transitive)
Updatednode-opcua-assert@2.104.0
Updatednode-opcua-debug@2.104.0
Updatednode-opcua-factory@2.104.0
Updatednode-opcua-nodeid@2.104.0
Updatednode-opcua-schemas@2.104.0
Updatednode-opcua-types@2.104.0
Updatednode-opcua-variant@2.104.0