Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nodeutil

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodeutil - npm Package Compare versions

Comparing version 0.0.43 to 0.0.44

7

lib/logger.js

@@ -12,3 +12,3 @@ /**

, _ = require('underscore')
, isWriteFile = process.env.WRITE_FILE || true
, isWriteFile = process.env.WRITE_FILE && process.env.WRITE_FILE == 'false' ? false : true
, defaultPath = fs.existsSync('/tmp') ? '/tmp/node.log' : (__dirname + '/../../../node.log')

@@ -34,3 +34,6 @@ , logFile = process.env.LOGPATH ? process.env.LOGPATH : defaultPath

if(isWriteFile) appenders.push(defaultPattern);
if(isWriteFile) {
console.log('>>>>>>>>isWriteFile is true' );
appenders.push(defaultPattern);
}

@@ -37,0 +40,0 @@ //Default appender

{
"name": "nodeutil",
"description": "Node.js Utility",
"version": "0.0.43",
"version": "0.0.44",
"author": {

@@ -6,0 +6,0 @@ "name": "Simon Su",

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