electron-updater
Advanced tools
Comparing version 1.14.1 to 1.14.2
@@ -121,3 +121,3 @@ "use strict"; | ||
* Whether to allow version downgrade (when a user from the beta channel wants to go back to the stable channel). | ||
* Defaults to `true` if application version contains prerelease components (e.g. `0.12.1-alpha.1`, here `alpha` is a prerelease component), otherwise `false`. | ||
* @default false | ||
*/ | ||
@@ -165,4 +165,3 @@ this.allowDowngrade = false; | ||
} | ||
this.allowDowngrade = hasPrereleaseComponents(this.currentVersion); | ||
this.allowPrerelease = this.allowDowngrade; | ||
this.allowPrerelease = hasPrereleaseComponents(this.currentVersion); | ||
if (options != null) { | ||
@@ -169,0 +168,0 @@ this.setFeedURL(options); |
@@ -172,3 +172,3 @@ declare module "electron-updater/out/api" { | ||
* Whether to allow version downgrade (when a user from the beta channel wants to go back to the stable channel). | ||
* Defaults to `true` if application version contains prerelease components (e.g. `0.12.1-alpha.1`, here `alpha` is a prerelease component), otherwise `false`. | ||
* @default false | ||
*/ | ||
@@ -175,0 +175,0 @@ allowDowngrade: boolean |
{ | ||
"name": "electron-updater", | ||
"version": "1.14.1", | ||
"version": "1.14.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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
134417
1388