Socket
Socket
Sign inDemoInstall

electron-updater

Package Overview
Dependencies
Maintainers
3
Versions
290
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-updater - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

5

out/electron-updater.d.ts

@@ -64,2 +64,3 @@ declare module "electron-updater/out/electronHttpExecutor" {

export const DOWNLOAD_PROGRESS = "download-progress"
export const UPDATE_DOWNLOADED = "update-downloaded"
export type LoginHandler = (authInfo: any, callback: LoginCallback) => void

@@ -258,5 +259,5 @@

*
* @param isSilent *windows-only* Runs the installer in silent mode.
* @param [isSilent] *windows-only* Runs the installer in silent mode.
*/
abstract quitAndInstall(isSilent: boolean): void
abstract quitAndInstall(isSilent?: boolean): void
loadUpdateConfig(): Promise<any>

@@ -263,0 +264,0 @@ /*** @private */

2

out/MacUpdater.js

@@ -72,3 +72,3 @@ "use strict";

}
this.emit("update-downloaded", this.versionInfo);
this.emit((_main || _load_main()).UPDATE_DOWNLOADED, this.versionInfo);
});

@@ -75,0 +75,0 @@ }

@@ -6,3 +6,3 @@ "use strict";

});
exports.UpdaterSignal = exports.DOWNLOAD_PROGRESS = exports.Provider = exports.AppUpdater = exports.NET_SESSION_NAME = undefined;
exports.UpdaterSignal = exports.UPDATE_DOWNLOADED = exports.DOWNLOAD_PROGRESS = exports.Provider = exports.AppUpdater = exports.NET_SESSION_NAME = undefined;

@@ -106,2 +106,3 @@ var _electronHttpExecutor;

const DOWNLOAD_PROGRESS = exports.DOWNLOAD_PROGRESS = "download-progress";
const UPDATE_DOWNLOADED = exports.UPDATE_DOWNLOADED = "update-downloaded";
class UpdaterSignal {

@@ -122,3 +123,3 @@ constructor(emitter) {

updateDownloaded(handler) {
addHandler(this.emitter, "update-downloaded", handler);
addHandler(this.emitter, UPDATE_DOWNLOADED, handler);
}

@@ -125,0 +126,0 @@ updateCancelled(handler) {

@@ -118,3 +118,3 @@ "use strict";

_this.addQuitHandler();
_this.emit("update-downloaded", _this.versionInfo);
_this.emit((_main || _load_main()).UPDATE_DOWNLOADED, _this.versionInfo);
return tempFile;

@@ -121,0 +121,0 @@ })();

{
"name": "electron-updater",
"version": "2.1.0",
"version": "2.1.1",
"description": "Cross platform updater for electron applications",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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