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 4.4.6 to 4.4.7

6

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

@@ -19,4 +19,4 @@ "main": "src/index.js",

"files": [
"src/*",
"!__specs__"
"!**/__specs__",
"src/*"
],

@@ -23,0 +23,0 @@ "keywords": [

@@ -7,2 +7,3 @@ 'use strict';

var path = require('path');
var url = require('url');
var util = require('util');

@@ -306,3 +307,4 @@

function mkDir(dirPath) {
if (checkNodeJsVersion(10.12)) {
var isNode1012 = Boolean(url.fileURLToPath);
if (isNode1012) {
fs.mkdirSync(dirPath, { recursive: true });

@@ -334,14 +336,2 @@ return true;

function checkNodeJsVersion(version) {
if (!process.versions) {
return false;
}
var nodeVersion = Number(
process.version.match(/^v(\d+\.\d+)/)[1].replace(/\.(\d)$/, '.0$1')
);
return nodeVersion >= version;
}
function readFileSyncFromEnd(filePath, bytesCount) {

@@ -348,0 +338,0 @@ var buffer = Buffer.alloc(bytesCount);

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