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.1.8 to 6.1.9

1

out/AppUpdater.d.ts

@@ -0,1 +1,2 @@

/// <reference path="../../../typings/electron.d.ts" />
/// <reference types="node" />

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

2

out/AppUpdater.js

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

if (!(await this.isUpdateAvailable(updateInfo))) {
this._logger.info(`Update for version ${this.currentVersion} is not available (latest version: ${updateInfo.version}, downgrade is ${this.allowDowngrade ? "allowed" : "disallowed"}).`);
this._logger.info(`Update for version ${this.currentVersion.format()} is not available (latest version: ${updateInfo.version}, downgrade is ${this.allowDowngrade ? "allowed" : "disallowed"}).`);
this.emit("update-not-available", updateInfo);

@@ -345,0 +345,0 @@ return {

@@ -0,1 +1,2 @@

/// <reference path="../../../typings/electron.d.ts" />
/// <reference types="node" />

@@ -2,0 +3,0 @@ import { DownloadOptions, HttpExecutor } from "builder-util-runtime";

@@ -31,5 +31,7 @@ "use strict";

const tempUpdateFile = unescapedTempUpdateFile.replace(/'/g, "''");
logger.info(`Verifying signature ${tempUpdateFile}`);
// https://github.com/electron-userland/electron-builder/issues/2421
// https://github.com/electron-userland/electron-builder/issues/2535
(0, child_process_1.execFile)("chcp 65001 >NUL & powershell.exe", ["-NoProfile", "-NonInteractive", "-InputFormat", "None", "-Command", `"Get-AuthenticodeSignature -LiteralPath '${tempUpdateFile}' | ConvertTo-Json -Compress"`], {
// Resetting PSModulePath is necessary https://github.com/electron-userland/electron-builder/issues/7127
(0, child_process_1.execFile)(`set "PSModulePath="; chcp 65001 >NUL & powershell.exe`, ["-NoProfile", "-NonInteractive", "-InputFormat", "None", "-Command", `"Get-AuthenticodeSignature -LiteralPath '${tempUpdateFile}' | ConvertTo-Json -Compress"`], {
shell: true,

@@ -36,0 +38,0 @@ timeout: 20 * 1000,

{
"name": "electron-updater",
"version": "6.1.8",
"version": "6.1.9",
"description": "Cross platform updater for electron applications",

@@ -26,3 +26,3 @@ "main": "out/main.js",

"tiny-typed-emitter": "^2.1.0",
"builder-util-runtime": "9.2.3"
"builder-util-runtime": "9.2.4"
},

@@ -29,0 +29,0 @@ "devDependencies": {

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

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

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

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

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

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