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.1.0 to 4.1.1

2

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

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

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

level: options.level,
scope: options.scope,
scope: options.scope ? options.scope.toJSON() : null,
variables: electronLog.variables,

@@ -20,0 +20,0 @@ };

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

label: label,
toJSON: function () {
return {
label: this.label,
};
},
};

@@ -31,0 +36,0 @@

@@ -54,5 +54,6 @@ 'use strict';

var scopeOptions = electronLog.scope.getOptions();
var content = transform.transform(message, [
transform.removeStyles,
transform.customFormatterFactory(transport.format),
transform.customFormatterFactory(transport.format, false, scopeOptions),
transform.concatFirstStringElements,

@@ -59,0 +60,0 @@ transform.maxDepthFactory(),

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