Socket
Socket
Sign inDemoInstall

electron-log

Package Overview
Dependencies
Maintainers
1
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-log - npm Package Compare versions

Comparing version 1.0.19 to 1.1.0

10

index.js

@@ -180,3 +180,3 @@ 'use strict';

dir = prepareDir(process.env['APPDATA'], appName)
.or(process.env['HOME'], 'AppData', appName)
.or(process.env['USERPROFILE'], 'AppData', 'Roaming', appName)
.result;

@@ -257,4 +257,10 @@ break;

find(process.cwd());
return packageFile ? require(packageFile) : null;
if (packageFile) {
var content = fs.readFileSync(packageFile, 'utf-8');
return JSON.parse(content);
} else {
return null;
}
function find(root) {

@@ -261,0 +267,0 @@ var file;

2

package.json
{
"name": "electron-log",
"version": "1.0.19",
"version": "1.1.0",
"description": "Just a very simple logging module for your Electron application",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -15,3 +15,3 @@ # electron-log

* **on OS X:** `~/Library/Logs/<app name>/log.log`
* **on Windows:** `$HOME/AppData/Roaming/<app name>/log.log`
* **on Windows:** `%USERPROFILE%/AppData/Roaming/<app name>/log.log`

@@ -35,4 +35,4 @@ ## Installation

Transport is a simple function which requires an object which describes a message.
By default, two transports is active: console and file. The file path is
depend on current platform.
By default, two transports are active: console and file. The file path is
dependent on current platform.

@@ -109,2 +109,2 @@ #### Disable default transport:

Licensed under MIT.
Licensed under MIT.
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