Socket
Socket
Sign inDemoInstall

electron-updater

Package Overview
Dependencies
Maintainers
2
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 6.3.1 to 6.3.2

1

out/AppUpdater.d.ts

@@ -126,2 +126,3 @@ import { AllPublishOptions, CancellationToken, PublishConfiguration, UpdateInfo, DownloadOptions, ProgressInfo } from "builder-util-runtime";

private checkForUpdatesPromise;
private downloadPromise;
protected readonly app: AppAdapter;

@@ -128,0 +129,0 @@ protected updateInfoAndProvider: UpdateInfoAndProvider | null;

33

out/AppUpdater.js

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

this.checkForUpdatesPromise = null;
this.downloadPromise = null;
this.updateInfoAndProvider = null;

@@ -395,2 +396,6 @@ /**

}
if (this.downloadPromise != null) {
this._logger.info("Downloading update (already in progress)");
return this.downloadPromise;
}
this._logger.info(`Downloading update from ${(0, builder_util_runtime_1.asArray)(updateInfoAndProvider.info.files)

@@ -411,16 +416,16 @@ .map(it => it.url)

};
try {
return this.doDownloadUpdate({
updateInfoAndProvider,
requestHeaders: this.computeRequestHeaders(updateInfoAndProvider.provider),
cancellationToken,
disableWebInstaller: this.disableWebInstaller,
disableDifferentialDownload: this.disableDifferentialDownload,
}).catch((e) => {
throw errorHandler(e);
});
}
catch (e) {
return Promise.reject(errorHandler(e));
}
this.downloadPromise = this.doDownloadUpdate({
updateInfoAndProvider,
requestHeaders: this.computeRequestHeaders(updateInfoAndProvider.provider),
cancellationToken,
disableWebInstaller: this.disableWebInstaller,
disableDifferentialDownload: this.disableDifferentialDownload,
})
.catch((e) => {
throw errorHandler(e);
})
.finally(() => {
this.downloadPromise = null;
});
return this.downloadPromise;
}

@@ -427,0 +432,0 @@ dispatchError(e) {

{
"name": "electron-updater",
"version": "6.3.1",
"version": "6.3.2",
"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

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