Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

node-opcua-debug

Package Overview
Dependencies
11
Maintainers
1
Versions
117
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.67.0 to 2.68.0

4

distNodeJS/redirect_to_file.js

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

// xx console.log(" log_file ",log_file);
const f = fs.createWriteStream(logFile, { flags: "w", encoding: "ascii" });
const f = fs.createWriteStream(logFile, { flags: "w", encoding: "utf-8" });
function _write_to_file(...args) {

@@ -49,3 +49,3 @@ const msg = util_1.format.call(null, ...args);

// display file on screen for investigation
console.log(fs.readFileSync(logFile).toString("ascii"));
console.log(fs.readFileSync(logFile).toString("utf-8"));
f.end(() => {

@@ -52,0 +52,0 @@ if (callback) {

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

@@ -36,3 +36,3 @@ "scripts": {

"homepage": "http://node-opcua.github.io/",
"gitHead": "74c2fd7d4ce3eb48d25a911258bf90a64218ea0e"
"gitHead": "363b466440d0910acddd0cde2c37792ce4724d76"
}

@@ -29,3 +29,3 @@ /**

// xx console.log(" log_file ",log_file);
const f = fs.createWriteStream(logFile, { flags: "w", encoding: "ascii" });
const f = fs.createWriteStream(logFile, { flags: "w", encoding: "utf-8" });

@@ -57,3 +57,3 @@ function _write_to_file(...args: [any, ...any[]]) {

console.log(fs.readFileSync(logFile).toString("ascii"));
console.log(fs.readFileSync(logFile).toString("utf-8"));

@@ -60,0 +60,0 @@ f.end(() => {

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc