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 1.3.2 to 1.4.0

4

out/AppUpdater.js

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

}
_this2.emit("update-not-available");
_this2.emit("update-not-available", versionInfo);
return {

@@ -226,3 +226,3 @@ versionInfo: versionInfo

}
this.emit("update-available");
this.emit("update-available", versionInfo);
}

@@ -229,0 +229,0 @@ /**

@@ -9,5 +9,5 @@ declare module "electron-updater/out/api" {

export interface FileInfo {
name: string
url: string
sha2?: string
readonly name: string
readonly url: string
readonly sha2?: string
}

@@ -14,0 +14,0 @@

@@ -33,5 +33,4 @@ "use strict";

this.nativeUpdater.on("update-downloaded", () => {
const version = this.versionInfo.version;
if (this.logger != null) {
this.logger.info(`New version ${version} has been downloaded`);
this.logger.info(`New version ${this.versionInfo.version} has been downloaded`);
}

@@ -38,0 +37,0 @@ this.emit("update-downloaded", this.versionInfo);

@@ -93,9 +93,8 @@ "use strict";

}
const version = _this.versionInfo.version;
if (logger != null) {
logger.info(`New version ${version} has been downloaded to ${tempFile}`);
logger.info(`New version ${_this.versionInfo.version} has been downloaded to ${tempFile}`);
}
_this.setupPath = tempFile;
_this.addQuitHandler();
_this.emit("update-downloaded", _this.versionInfo, null, version);
_this.emit("update-downloaded", _this.versionInfo);
return tempFile;

@@ -102,0 +101,0 @@ })();

{
"name": "electron-updater",
"version": "1.3.2",
"version": "1.4.0",
"description": "NSIS Auto Updater",

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

"source-map-support": "^0.4.11",
"electron-builder-http": "12.1.0"
"electron-builder-http": "12.3.0"
},
"typings": "./out/electron-updater.d.ts"
}

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