node-opcua-utils
Advanced tools
Comparing version 2.2.0 to 2.3.0
@@ -7,3 +7,3 @@ "use strict"; | ||
// tslint:disable:no-console | ||
const chalk_1 = require("chalk"); | ||
const chalk = require("chalk"); | ||
const buffer_ellipsis_1 = require("./buffer_ellipsis"); | ||
@@ -19,4 +19,4 @@ function compare_buffers(buf1, buf2, max_length) { | ||
console.log("pos = ", cursor); | ||
console.log("slice1 :", chalk_1.default.yellow(buffer_ellipsis_1.buffer_ellipsis(slice1))); | ||
console.log("slice2 :", chalk_1.default.blue(buffer_ellipsis_1.buffer_ellipsis(slice2))); | ||
console.log("slice1 :", chalk.yellow(buffer_ellipsis_1.buffer_ellipsis(slice1))); | ||
console.log("slice2 :", chalk.blue(buffer_ellipsis_1.buffer_ellipsis(slice2))); | ||
} | ||
@@ -23,0 +23,0 @@ cursor += block_length; |
@@ -7,3 +7,3 @@ "use strict"; | ||
// tslint:disable:ban-types | ||
const chalk_1 = require("chalk"); | ||
const chalk = require("chalk"); | ||
const node_opcua_assert_1 = require("node-opcua-assert"); | ||
@@ -18,3 +18,3 @@ /* istanbul ignore next */ | ||
// tslint:disable:no-console | ||
console.log(chalk_1.default.green("Warning !"), chalk_1.default.green(chalk_1.default.bold(constructor.name + "#" + methodName), " is now deprecated")); | ||
console.log(chalk.green("Warning !"), chalk.green(chalk.bold(constructor.name + "#" + methodName), " is now deprecated")); | ||
console.log(" ", helpString); | ||
@@ -21,0 +21,0 @@ } |
@@ -24,3 +24,3 @@ /// <reference types="node" /> | ||
*/ | ||
readonly subscriberCount: number; | ||
get subscriberCount(): number; | ||
private readonly _watchdogDataMap; | ||
@@ -27,0 +27,0 @@ private _counter; |
{ | ||
"name": "node-opcua-utils", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"description": "pure nodejs OPCUA SDK - module -utils", | ||
@@ -13,9 +13,9 @@ "main": "./dist/index.js", | ||
"dependencies": { | ||
"node-opcua-assert": "^2.0.0", | ||
"node-opcua-assert": "^2.3.0", | ||
"underscore": "^1.9.1" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^12.11.2", | ||
"@types/node": "^12.12.7", | ||
"@types/underscore": "^1.9.3", | ||
"chalk": "^2.4.2", | ||
"chalk": "^3.0.0", | ||
"should": "13.2.3", | ||
@@ -39,3 +39,3 @@ "sinon": "^7.5.0" | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "e77e0371580d04e874b2023f8a5751c3608bc3f9" | ||
"gitHead": "3fc22180b26cd0d0481e57e7bb6a2cab7623e6d1" | ||
} |
@@ -5,3 +5,3 @@ /** | ||
// tslint:disable:no-console | ||
import chalk from "chalk"; | ||
import * as chalk from "chalk"; | ||
import { buffer_ellipsis } from "./buffer_ellipsis"; | ||
@@ -8,0 +8,0 @@ |
@@ -5,3 +5,3 @@ /** | ||
// tslint:disable:ban-types | ||
import chalk from "chalk"; | ||
import * as chalk from "chalk"; | ||
import { assert } from "node-opcua-assert"; | ||
@@ -8,0 +8,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
151651
Updatednode-opcua-assert@^2.3.0