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

electron-log

Package Overview
Dependencies
Maintainers
1
Versions
154
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 5.2.0 to 5.2.2

2

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

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

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

date: new Date(),
logId: this.logId,
...message,

@@ -153,0 +154,0 @@ level,

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

const minutesPositive = Math.abs(minutesOffset);
const sign = minutesOffset >= 0 ? '-' : '+';
const sign = minutesOffset > 0 ? '-' : '+';
const hours = Math.floor(minutesPositive / 60).toString().padStart(2, '0');

@@ -66,0 +66,0 @@ const minutes = (minutesPositive % 60).toString().padStart(2, '0');

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