Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

electron-info

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-info - npm Package Compare versions

Comparing version 1.14.0 to 1.14.1

6

CHANGELOG.md

@@ -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 @@

6

cli.js

@@ -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

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