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.11.0 to 1.11.1

3

out/AppUpdater.js

@@ -118,2 +118,5 @@ "use strict";

this.logger = global.__test_app ? null : console;
/**
* For type safety you can use signals, e.g. `autoUpdater.signals.updateDownloaded(() => {})` instead of `autoUpdater.on('update-available', () => {})`
*/
this.signals = new (_api || _load_api()).UpdaterSignal(this);

@@ -120,0 +123,0 @@ this.updateAvailable = false;

@@ -143,2 +143,3 @@ declare module "electron-updater/out/api" {

/// <reference types="node" />
/// <reference types="electron" />
import { RequestHeaders } from "electron-builder-http"

@@ -170,2 +171,5 @@ import { CancellationToken } from "electron-builder-http/out/CancellationToken"

logger: Logger | null
/**
* For type safety you can use signals, e.g. `autoUpdater.signals.updateDownloaded(() => {})` instead of `autoUpdater.on('update-available', () => {})`
*/
readonly signals: UpdaterSignal

@@ -178,3 +182,3 @@ private _appUpdateConfigPath

private checkForUpdatesPromise
protected readonly app: any
protected readonly app: Electron.App
protected versionInfo: VersionInfo | null

@@ -181,0 +185,0 @@ private fileInfo

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

var _debug2;
function _load_debug() {
return _debug2 = _interopRequireDefault(require("debug"));
}
var _electron;

@@ -43,3 +49,6 @@

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const NET_SESSION_NAME = exports.NET_SESSION_NAME = "electron-updater";
const debug = (0, (_debug2 || _load_debug()).default)("electron-builder");
class ElectronHttpExecutor extends (_electronBuilderHttp || _load_electronBuilderHttp()).HttpExecutor {

@@ -74,4 +83,4 @@ download(url, destination, options) {

if (this.debug.enabled) {
this.debug(`request: ${(0, (_electronBuilderHttp || _load_electronBuilderHttp()).dumpRequestOptions)(options)}`);
if (debug.enabled) {
debug(`request: ${(0, (_electronBuilderHttp || _load_electronBuilderHttp()).dumpRequestOptions)(options)}`);
}

@@ -78,0 +87,0 @@ return cancellationToken.createPromise((resolve, reject, onCancel) => {

4

package.json
{
"name": "electron-updater",
"version": "1.11.0",
"version": "1.11.1",
"description": "Cross platform updater for electron applications",

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

"source-map-support": "^0.4.14",
"electron-builder-http": "~15.6.3"
"electron-builder-http": "~16.4.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

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