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.0.5 to 4.0.6

2

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

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

@@ -122,5 +122,10 @@ 'use strict';

getApp().on('web-contents-created', function (e, contents) {
contents.executeJavaScript(
'try {require("' + moduleName + '")} catch(e){}'
var promise = contents.executeJavaScript(
'try {require("' + moduleName + '")} catch(e){}; void 0;'
);
// Do nothing on error, just prevent Unhandled rejection
if (promise && typeof promise.catch === 'function') {
promise.catch(function () {});
}
});

@@ -127,0 +132,0 @@ } else if (process.type === 'renderer') {

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