node-opcua-debug
Advanced tools
Comparing version 2.125.0 to 2.128.0
@@ -6,3 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.displayTraceFromThisProjectOnly = exports.traceFromThisProjectOnly = void 0; | ||
exports.traceFromThisProjectOnly = traceFromThisProjectOnly; | ||
exports.displayTraceFromThisProjectOnly = displayTraceFromThisProjectOnly; | ||
/** | ||
@@ -30,7 +31,5 @@ * @module node-opcua-debug | ||
} | ||
exports.traceFromThisProjectOnly = traceFromThisProjectOnly; | ||
function displayTraceFromThisProjectOnly(err) { | ||
console.log(traceFromThisProjectOnly(err)); | ||
} | ||
exports.displayTraceFromThisProjectOnly = displayTraceFromThisProjectOnly; | ||
//# sourceMappingURL=display_trace.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.dumpIf = exports.dump = void 0; | ||
exports.dump = dump; | ||
exports.dumpIf = dumpIf; | ||
/** | ||
@@ -12,3 +13,2 @@ * @module node-opcua-debug | ||
} | ||
exports.dump = dump; | ||
function dumpIf(condition, obj) { | ||
@@ -19,3 +19,2 @@ if (condition) { | ||
} | ||
exports.dumpIf = dumpIf; | ||
//# sourceMappingURL=dump_if.js.map |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
export declare function hexDump(buffer: Buffer | null, width?: number, maxSize?: number): string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.hexDump = void 0; | ||
exports.hexDump = hexDump; | ||
/** | ||
@@ -21,3 +21,2 @@ * @module node-opcua-debug | ||
} | ||
exports.hexDump = hexDump; | ||
//# sourceMappingURL=hexDump.js.map |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
export declare function inlineText(f: { | ||
@@ -3,0 +2,0 @@ toString(): string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.makeBufferFromTrace = exports.inlineText = void 0; | ||
exports.inlineText = inlineText; | ||
exports.makeBufferFromTrace = makeBufferFromTrace; | ||
/** | ||
@@ -19,3 +20,2 @@ * @module node-opcua-debug | ||
} | ||
exports.inlineText = inlineText; | ||
function hexString(str) { | ||
@@ -59,3 +59,2 @@ let hexLine = ""; | ||
} | ||
exports.makeBufferFromTrace = makeBufferFromTrace; | ||
//# sourceMappingURL=make_buffer_from_trace.js.map |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
/** | ||
@@ -3,0 +2,0 @@ * @module node-opcua-debug |
@@ -6,3 +6,14 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.make_traceLog = exports.make_warningLog = exports.make_errorLog = exports.make_debugLog = exports.messageLogger = exports.MessageLogger = exports.checkDebugFlag = exports.setDebugFlag = exports.setTraceLogger = exports.setErrorLogger = exports.setWarningLogger = exports.setDebugLogger = exports.setLogLevel = exports.LogLevel = void 0; | ||
exports.messageLogger = exports.MessageLogger = exports.LogLevel = void 0; | ||
exports.setLogLevel = setLogLevel; | ||
exports.setDebugLogger = setDebugLogger; | ||
exports.setWarningLogger = setWarningLogger; | ||
exports.setErrorLogger = setErrorLogger; | ||
exports.setTraceLogger = setTraceLogger; | ||
exports.setDebugFlag = setDebugFlag; | ||
exports.checkDebugFlag = checkDebugFlag; | ||
exports.make_debugLog = make_debugLog; | ||
exports.make_errorLog = make_errorLog; | ||
exports.make_warningLog = make_warningLog; | ||
exports.make_traceLog = make_traceLog; | ||
/** | ||
@@ -56,3 +67,2 @@ * @module node-opcua-debug | ||
} | ||
exports.setLogLevel = setLogLevel; | ||
function extractBasename(name) { | ||
@@ -118,15 +128,11 @@ if (!name) { | ||
} | ||
exports.setDebugLogger = setDebugLogger; | ||
function setWarningLogger(log) { | ||
loggers.warningLogger = log; | ||
} | ||
exports.setWarningLogger = setWarningLogger; | ||
function setErrorLogger(log) { | ||
loggers.errorLogger = log; | ||
} | ||
exports.setErrorLogger = setErrorLogger; | ||
function setTraceLogger(log) { | ||
loggers.traceLogger = log; | ||
} | ||
exports.setTraceLogger = setTraceLogger; | ||
function setDebugFlag(scriptFullPath, flag) { | ||
@@ -144,3 +150,2 @@ const filename = extractBasename(scriptFullPath); | ||
} | ||
exports.setDebugFlag = setDebugFlag; | ||
function checkDebugFlag(scriptFullPath) { | ||
@@ -155,3 +160,2 @@ const filename = extractBasename(scriptFullPath); | ||
} | ||
exports.checkDebugFlag = checkDebugFlag; | ||
/** | ||
@@ -234,3 +238,2 @@ * file_line return a 51 character string | ||
} | ||
exports.make_debugLog = make_debugLog; | ||
function errorLogFunc(...args) { | ||
@@ -245,3 +248,2 @@ if (g_logLevel >= LogLevel.Error) { | ||
} | ||
exports.make_errorLog = make_errorLog; | ||
function warningLogFunc(...args) { | ||
@@ -256,3 +258,2 @@ if (g_logLevel >= LogLevel.Warning) { | ||
} | ||
exports.make_warningLog = make_warningLog; | ||
function traceLogFunc(...args) { | ||
@@ -265,3 +266,2 @@ const ctxt = getCallerContext(3); | ||
} | ||
exports.make_traceLog = make_traceLog; | ||
//# sourceMappingURL=make_loggers.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.removeDecoration = void 0; | ||
exports.removeDecoration = removeDecoration; | ||
const nonTextReg = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g; | ||
@@ -8,3 +8,2 @@ function removeDecoration(str) { | ||
} | ||
exports.removeDecoration = removeDecoration; | ||
//# sourceMappingURL=remove_decoration.js.map |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getTempFilename = void 0; | ||
exports.getTempFilename = getTempFilename; | ||
/** | ||
@@ -22,3 +22,2 @@ * @module node-opcua-debug | ||
} | ||
exports.getTempFilename = getTempFilename; | ||
//# sourceMappingURL=get_temp_filename.js.map |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.redirectToFile = void 0; | ||
exports.redirectToFile = redirectToFile; | ||
/** | ||
@@ -78,3 +78,2 @@ * @module node-opcua-debug | ||
} | ||
exports.redirectToFile = redirectToFile; | ||
//# sourceMappingURL=redirect_to_file.js.map |
{ | ||
"name": "node-opcua-debug", | ||
"version": "2.125.0", | ||
"version": "2.128.0", | ||
"description": "pure nodejs OPCUA SDK - module debug", | ||
@@ -14,7 +14,4 @@ "scripts": { | ||
"node-opcua-assert": "2.120.0", | ||
"node-opcua-buffer-utils": "2.125.0" | ||
"node-opcua-buffer-utils": "2.128.0" | ||
}, | ||
"devDependencies": { | ||
"should": "^13.2.3" | ||
}, | ||
"main": "./dist/index.js", | ||
@@ -37,3 +34,3 @@ "types": "./dist/index.d.ts", | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "a0e0a2f1045e6e402dd4619c625c90008f0617ed", | ||
"gitHead": "67a73af6b831d8651a0e66ceb295f159cab4386b", | ||
"files": [ | ||
@@ -40,0 +37,0 @@ "dist", |
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
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
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
0
62920
1088
+ Addednode-opcua-buffer-utils@2.128.0(transitive)
- Removednode-opcua-buffer-utils@2.125.0(transitive)