Socket
Socket
Sign inDemoInstall

node-opcua-debug

Package Overview
Dependencies
Maintainers
1
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-debug - npm Package Compare versions

Comparing version 2.42.0 to 2.51.0

2

dist/dump_if.js

@@ -10,3 +10,3 @@ "use strict";

function dump(obj) {
console.log("\n", util_1.inspect(JSON.parse(JSON.stringify(obj)), { colors: true, depth: 10 }));
console.log("\n", (0, util_1.inspect)(JSON.parse(JSON.stringify(obj)), { colors: true, depth: 10 }));
}

@@ -13,0 +13,0 @@ exports.dump = dump;

@@ -51,7 +51,7 @@ "use strict";

if (typeof func === "string") {
return node_opcua_buffer_utils_1.makeBuffer(hexString(func));
return (0, node_opcua_buffer_utils_1.makeBuffer)(hexString(func));
}
return node_opcua_buffer_utils_1.makeBuffer(hexString(inlineText(func)));
return (0, node_opcua_buffer_utils_1.makeBuffer)(hexString(inlineText(func)));
}
exports.makeBufferFromTrace = makeBufferFromTrace;
//# sourceMappingURL=make_buffer_from_trace.js.map

@@ -36,3 +36,3 @@ "use strict";

function extractBasename(name) {
return path_1.basename(name).replace(/\.(js|ts)$/, "");
return (0, path_1.basename)(name).replace(/\.(js|ts)$/, "");
}

@@ -39,0 +39,0 @@ function w(str, l) {

@@ -21,6 +21,6 @@ "use strict";

let oldConsoleLog;
node_opcua_assert_1.assert(typeof actionFct === "function");
node_opcua_assert_1.assert(!callback || typeof callback === "function");
(0, node_opcua_assert_1.assert)(typeof actionFct === "function");
(0, node_opcua_assert_1.assert)(!callback || typeof callback === "function");
const isAsync = actionFct && actionFct.length;
const logFile = get_temp_filename_1.getTempFilename(tmpFile);
const logFile = (0, get_temp_filename_1.getTempFilename)(tmpFile);
// xx console.log(" log_file ",log_file);

@@ -65,3 +65,3 @@ const f = fs.createWriteStream(logFile, { flags: "w", encoding: "ascii" });

actionFct((err) => {
node_opcua_assert_1.assert(typeof callback === "function");
(0, node_opcua_assert_1.assert)(typeof callback === "function");
console.log = oldConsoleLog;

@@ -68,0 +68,0 @@ if (err) {

{
"name": "node-opcua-debug",
"version": "2.42.0",
"version": "2.51.0",
"description": "pure nodejs OPCUA SDK - module -debug",

@@ -11,8 +11,8 @@ "scripts": {

"dependencies": {
"hexy": "^0.3.1",
"node-opcua-assert": "2.42.0",
"node-opcua-buffer-utils": "2.42.0"
"hexy": "^0.3.2",
"node-opcua-assert": "2.51.0",
"node-opcua-buffer-utils": "2.51.0"
},
"devDependencies": {
"chalk": "4.1.1",
"chalk": "4.1.2",
"should": "^13.2.3"

@@ -37,3 +37,3 @@ },

"homepage": "http://node-opcua.github.io/",
"gitHead": "09c4530a94c3ff0529c94269d31088abecd7e144"
"gitHead": "75feb111daf7ec65fa0111e4fa5beb8987fd4945"
}

@@ -60,3 +60,3 @@ /**

if (callback) {
callback(err);
callback(err as Error);
}

@@ -63,0 +63,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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc