electron-info
Advanced tools
Comparing version 1.14.0 to 1.14.1
@@ -0,1 +1,7 @@ | ||
# [1.14.0](https://github.com/ffflorian/electron-info/compare/v1.13.0...v1.14.0) (2019-09-06) | ||
### Features | ||
- Publish flattened ([0f3f0d2](https://github.com/ffflorian/electron-info/commit/0f3f0d2)) | ||
# [1.13.0](https://github.com/ffflorian/electron-info/compare/v1.12.0...v1.13.0) (2019-09-05) | ||
@@ -2,0 +8,0 @@ |
@@ -55,3 +55,3 @@ #!/usr/bin/env node | ||
try { | ||
const electronInfo = new ElectronInfo_1.ElectronInfo(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (parent.debug && { debug: true })), (parent.force && { forceUpdate: true })), (parent.limit && { limit: parseInt(parent.limit, 10) })), (parent.prereleases && { electronPrereleases: parent.prereleases })), (parent.source && { releasesUrl: parent.source })), (parent.timeout && { timeout: parseInt(parent.timeout, 10) }))); | ||
const electronInfo = new ElectronInfo_1.ElectronInfo(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (parent.debug && { debug: true })), (parent.force && { forceUpdate: true })), (parent.limit && { limit: parseInt(parent.limit, 10) })), (typeof parent.prereleases !== undefined && { electronPrereleases: parent.prereleases })), (parent.source && { releasesUrl: parent.source })), (parent.timeout && { timeout: parseInt(parent.timeout, 10) }))); | ||
const releases = parent.raw | ||
@@ -81,3 +81,3 @@ ? yield electronInfo.getElectronReleases(version) | ||
try { | ||
const electronInfo = new ElectronInfo_1.ElectronInfo(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (parent.debug && { debug: true })), (parent.force && { forceUpdate: true })), (parent.limit && { limit: parseInt(parent.limit, 10) })), (parent.prereleases && { electronPrereleases: parent.prereleases })), (parent.source && { releasesUrl: parent.source })), (parent.timeout && { timeout: parent.timeout }))); | ||
const electronInfo = new ElectronInfo_1.ElectronInfo(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (parent.debug && { debug: true })), (parent.force && { forceUpdate: true })), (parent.limit && { limit: parseInt(parent.limit, 10) })), (typeof parent.prereleases !== undefined && { electronPrereleases: parent.prereleases })), (parent.source && { releasesUrl: parent.source })), (parent.timeout && { timeout: parent.timeout }))); | ||
const releases = parent.raw | ||
@@ -101,3 +101,3 @@ ? yield electronInfo.getDependencyReleases(dependency, version) | ||
try { | ||
const electronInfo = new ElectronInfo_1.ElectronInfo(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (parent.debug && { debug: true })), (parent.force && { forceUpdate: true })), (parent.limit && { limit: parseInt(parent.limit, 10) })), (parent.prereleases && { electronPrereleases: parent.prereleases })), (parent.source && { releasesUrl: parent.source })), (parent.timeout && { timeout: parent.timeout }))); | ||
const electronInfo = new ElectronInfo_1.ElectronInfo(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (parent.debug && { debug: true })), (parent.force && { forceUpdate: true })), (parent.limit && { limit: parseInt(parent.limit, 10) })), (typeof parent.prereleases !== undefined && { electronPrereleases: parent.prereleases })), (parent.source && { releasesUrl: parent.source })), (parent.timeout && { timeout: parent.timeout }))); | ||
const releases = parent.raw | ||
@@ -104,0 +104,0 @@ ? yield electronInfo.getAllReleases() |
@@ -132,10 +132,11 @@ "use strict"; | ||
if (!this.options.electronPrereleases) { | ||
this.logger.log('Removing electron prereleases from found versions'); | ||
const tempReleaseNumber = releases.length; | ||
releases = releases.filter(release => semver.prerelease(release.version) === null); | ||
this.logger.log('Removing electron prereleases from found versions', { | ||
after: releases.length, | ||
before: tempReleaseNumber, | ||
}); | ||
} | ||
dependencyVersions = releases | ||
.filter(release => { | ||
if (!this.options.electronPrereleases && semver.prerelease(release.version) === null) { | ||
return false; | ||
} | ||
if (key !== 'electron' && !Boolean(release.deps)) { | ||
@@ -142,0 +143,0 @@ return false; |
@@ -117,3 +117,3 @@ { | ||
}, | ||
"version": "1.14.0" | ||
"version": "1.14.1" | ||
} |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
57580
509
0