@todesktop/runtime
Advanced tools
Comparing version 0.1.0-rc.7 to 0.1.0-rc.8
@@ -20,3 +20,2 @@ "use strict"; | ||
const electron = require("electron"); | ||
const electron_log_1 = require("electron-log"); | ||
const eventemitter2_1 = require("eventemitter2"); | ||
@@ -270,2 +269,5 @@ const fs = require("fs"); | ||
_log(...args) { | ||
if (!logger_1.default) { | ||
return; | ||
} | ||
let timeSinceCreatedAt; | ||
@@ -279,7 +281,2 @@ // This can fail when there's a ReferenceError in a test and Date is overwritten | ||
} | ||
electron_log_1.default.info(`AutoUpdater (${electron.app.name})${timeSinceCreatedAt}: ` + | ||
args.map((arg) => JSON.stringify(arg)).join(" ")); | ||
if (!logger_1.default) { | ||
return; | ||
} | ||
logger_1.default.info(`AutoUpdater (${electron.app.name})${timeSinceCreatedAt}: ` + | ||
@@ -286,0 +283,0 @@ args.map((arg) => JSON.stringify(arg)).join(" ")); |
{ | ||
"private": false, | ||
"name": "@todesktop/runtime", | ||
"version": "0.1.0-rc.7", | ||
"version": "0.1.0-rc.8", | ||
"license": "MIT", | ||
@@ -27,3 +27,2 @@ "author": "Adam Lynch <contact@adamlynch.com> (http://adamlynch.com/)", | ||
"dependencies": { | ||
"electron-log": "^4.1.2", | ||
"electron-updater": "^4.2.2", | ||
@@ -30,0 +29,0 @@ "eventemitter2": "^6.3.1", |
4
37437
664
- Removedelectron-log@^4.1.2
- Removedelectron-log@4.4.8(transitive)