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.7 to 6.1.8

7

out/AppUpdater.d.ts

@@ -69,2 +69,8 @@ /// <reference types="node" />

/**
* *NSIS only* Disable differential downloads and always perform full download of installer.
*
* @default false
*/
disableDifferentialDownload: boolean;
/**
* Allows developer to force the updater to work in "dev" mode, looking for "dev-app-update.yml" instead of "app-update.yml"

@@ -176,2 +182,3 @@ * Dev: `path.join(this.app.getAppPath(), "dev-app-update.yml")`

readonly disableWebInstaller?: boolean;
readonly disableDifferentialDownload?: boolean;
}

@@ -178,0 +185,0 @@ /** @private */

@@ -119,2 +119,8 @@ "use strict";

/**
* *NSIS only* Disable differential downloads and always perform full download of installer.
*
* @default false
*/
this.disableDifferentialDownload = false;
/**
* Allows developer to force the updater to work in "dev" mode, looking for "dev-app-update.yml" instead of "app-update.yml"

@@ -393,2 +399,3 @@ * Dev: `path.join(this.app.getAppPath(), "dev-app-update.yml")`

disableWebInstaller: this.disableWebInstaller,
disableDifferentialDownload: this.disableDifferentialDownload,
}).catch((e) => {

@@ -395,0 +402,0 @@ throw errorHandler(e);

1

out/main.d.ts

@@ -8,2 +8,3 @@ /// <reference types="node" />

import { LoginCallback } from "./electronHttpExecutor";
export { BaseUpdater } from "./BaseUpdater";
export { AppUpdater, NoOpLogger } from "./AppUpdater";

@@ -10,0 +11,0 @@ export { CancellationToken, PackageFileInfo, ProgressInfo, UpdateFileInfo, UpdateInfo };

4

out/main.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UpdaterSignal = exports.UPDATE_DOWNLOADED = exports.DOWNLOAD_PROGRESS = exports.NsisUpdater = exports.MacUpdater = exports.RpmUpdater = exports.DebUpdater = exports.AppImageUpdater = exports.Provider = exports.CancellationToken = exports.NoOpLogger = exports.AppUpdater = void 0;
exports.UpdaterSignal = exports.UPDATE_DOWNLOADED = exports.DOWNLOAD_PROGRESS = exports.NsisUpdater = exports.MacUpdater = exports.RpmUpdater = exports.DebUpdater = exports.AppImageUpdater = exports.Provider = exports.CancellationToken = exports.NoOpLogger = exports.AppUpdater = exports.BaseUpdater = void 0;
const builder_util_runtime_1 = require("builder-util-runtime");

@@ -8,2 +8,4 @@ Object.defineProperty(exports, "CancellationToken", { enumerable: true, get: function () { return builder_util_runtime_1.CancellationToken; } });

const path = require("path");
var BaseUpdater_1 = require("./BaseUpdater");
Object.defineProperty(exports, "BaseUpdater", { enumerable: true, get: function () { return BaseUpdater_1.BaseUpdater; } });
var AppUpdater_1 = require("./AppUpdater");

@@ -10,0 +12,0 @@ Object.defineProperty(exports, "AppUpdater", { enumerable: true, get: function () { return AppUpdater_1.AppUpdater; } });

@@ -50,3 +50,5 @@ "use strict";

}
if (isWebInstaller || (await this.differentialDownloadInstaller(fileInfo, downloadUpdateOptions, destinationFile, provider))) {
if (isWebInstaller ||
downloadUpdateOptions.disableDifferentialDownload ||
(await this.differentialDownloadInstaller(fileInfo, downloadUpdateOptions, destinationFile, provider))) {
await this.httpExecutor.download(fileInfo.url, destinationFile, downloadOptions);

@@ -53,0 +55,0 @@ }

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

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