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.1 to 2.1.2

3

out/AppUpdater.js

@@ -127,3 +127,2 @@ "use strict";

this.signals = new (_main || _load_main()).UpdaterSignal(this);
/*** @private */
this.updateAvailable = false;

@@ -259,3 +258,2 @@ this.on("error", error => {

}
/*** @private */
onUpdateAvailable(versionInfo, fileInfo) {

@@ -295,3 +293,2 @@ if (this.logger != null) {

}
/*** @private */
dispatchError(e) {

@@ -298,0 +295,0 @@ this.emit("error", e, (e.stack || e).toString());

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

updateConfigPath: string | null
/*** @private */
protected updateAvailable: boolean

@@ -220,9 +219,6 @@ private clientPromise

private checkForUpdatesPromise
/*** @private */
protected readonly app: Electron.App
/*** @private */
protected versionInfo: VersionInfo | null
private fileInfo
private currentVersion
/*** @private */
protected readonly httpExecutor: ElectronHttpExecutor

@@ -242,3 +238,2 @@ constructor(options: PublishConfiguration | null | undefined, app?: any)

private doCheckForUpdates()
/*** @private */
protected onUpdateAvailable(versionInfo: VersionInfo, fileInfo: FileInfo): void

@@ -250,5 +245,3 @@ /**

downloadUpdate(cancellationToken?: CancellationToken): Promise<any>
/*** @private */
protected dispatchError(e: Error): void
/*** @private */
protected abstract doDownloadUpdate(versionInfo: VersionInfo, fileInfo: FileInfo, cancellationToken: CancellationToken): Promise<any>

@@ -262,3 +255,3 @@ /**

*
* @param [isSilent] *windows-only* Runs the installer in silent mode.
* @param isSilent *windows-only* Runs the installer in silent mode.
*/

@@ -265,0 +258,0 @@ abstract quitAndInstall(isSilent?: boolean): void

4

out/NsisUpdater.js

@@ -224,5 +224,5 @@ "use strict";

// https://github.com/electron-userland/electron-builder/issues/1129
if (e.code === "UNKNOWN") {
if (e.code === "UNKNOWN" || e.code === "EACCES") {
if (this.logger != null) {
this.logger.info("UNKNOWN error code on spawn, will be executed again using elevate");
this.logger.info("Access denied or UNKNOWN error code on spawn, will be executed again using elevate");
}

@@ -229,0 +229,0 @@ try {

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

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

"source-map-support": "^0.4.15",
"electron-builder-http": "~18.6.0",
"electron-builder-http": "~18.7.0",
"electron-is-dev": "^0.1.2",
"xelement": "^1.0.14",
"xelement": "^1.0.16",
"debug": "^2.6.8"

@@ -25,0 +25,0 @@ },

@@ -17,6 +17,9 @@ # electron-updater

* Actually, autoUpdater is used inside (on macOS).
* It doesn't require a dedicated release server.
* Code signature validation on Windows.
* [electron-builder](https://github.com/electron-userland/electron-builder) produces and publishes all required metadata files and artifacts.
* Download progress supported on all platforms, including macOS.
* Actually, built-in autoUpdater is used inside on macOS.
* Different providers supported out of the box (GitHub, Bintray, Amazon S3, generic HTTP(s) server).
* You need only 2 lines of code to make it work.
* [electron-builder](https://github.com/electron-userland/electron-builder) produces and published all required metadata files and artifacts.

@@ -23,0 +26,0 @@ ## Credits

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