hadron-auto-update-manager
Advanced tools
Comparing version 0.0.13 to 0.0.14
@@ -19,3 +19,3 @@ 'use strict'; | ||
if (!this.feedURL) { | ||
debug('No feedURL set.') | ||
debug('No feedURL set.'); | ||
return; | ||
@@ -22,0 +22,0 @@ } |
11
index.js
'use strict'; | ||
/* eslint eqeqeq: 1, no-console:0 no-else-return: 1, no-cond-assign: 1, consistent-return: 1 */ | ||
const path = require('path'); | ||
const fs = require('fs'); | ||
const electron = require('electron'); | ||
@@ -20,3 +18,3 @@ const dialog = electron.dialog; | ||
const NoUpdateAvailableState = 'no-update-available'; | ||
const UnsupportedState = 'unsupported'; | ||
// const UnsupportedState = 'unsupported'; | ||
const ErrorState = 'error'; | ||
@@ -96,3 +94,3 @@ | ||
return true; | ||
}, | ||
}; | ||
/** | ||
@@ -115,2 +113,7 @@ * @api private | ||
opts = opts || {}; | ||
if (opts.hidePopups !== false) { | ||
opts.hidePopups = true; | ||
} | ||
if (!opts.hidePopups) { | ||
@@ -117,0 +120,0 @@ autoUpdater.once('update-not-available', this.onUpdateNotAvailable); |
{ | ||
"name": "hadron-auto-update-manager", | ||
"description": "Atoms AutoUpdateManager class as a standalone module.", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"scripts": { | ||
@@ -6,0 +6,0 @@ "fmt": "mongodb-js-fmt", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
20816
241
0