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

electron-installer-redhat

Package Overview
Dependencies
Maintainers
5
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-installer-redhat - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

14

NEWS.md

@@ -5,4 +5,16 @@ # `electron-installer-redhat` - Changes by Version

[Unreleased]: https://github.com/electron-userland/electron-installer-redhat/compare/v2.0.0...master
[Unreleased]: https://github.com/electron-userland/electron-installer-redhat/compare/v3.0.0...master
## [3.0.0] - 2020-01-22
[3.0.0]: https://github.com/electron-userland/electron-installer-redhat/compare/v2.0.0...v3.0.0
### Added
* Electron 8 dependency compatibility (electron-userland/electron-installer-common#45)
### Removed
* Node < 10 support (#151)
## [2.0.0] - 2019-06-11

@@ -9,0 +21,0 @@

33

package.json
{
"name": "electron-installer-redhat",
"description": "Create a Red Hat package for your Electron app.",
"version": "2.0.0",
"version": "3.0.0",
"license": "MIT",

@@ -24,3 +24,3 @@ "author": {

"engines": {
"node": ">= 8.0.0"
"node": ">= 10.0.0"
},

@@ -38,21 +38,22 @@ "main": "src/installer.js",

"debug": "^4.1.1",
"electron-installer-common": "^0.7.1",
"fs-extra": "^8.0.1",
"lodash": "^4.17.4",
"electron-installer-common": "^0.10.0",
"fs-extra": "^8.1.0",
"lodash": "^4.17.15",
"word-wrap": "^1.2.3",
"yargs": "^13.2.2"
"yargs": "^15.1.0"
},
"devDependencies": {
"chai": "^4.1.2",
"eslint": "^5.16.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-standard": "^4.0.0",
"mocha": "^6.0.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"eslint": "^6.8.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"mocha": "^7.0.0",
"promise-retry": "^1.1.1",
"sinon": "^7.3.2",
"tmp-promise": "^2.0.1"
"sinon": "^8.1.0",
"tmp-promise": "^2.0.2"
}
}

@@ -10,5 +10,5 @@ ![Electron Installer for Red Hat](resources/logo.png)

This tool requires Node 8 or greater and `rpmbuild` to build the `.rpm` package.
This tool requires Node 10 or greater and `rpmbuild` 4.13 or greater to build the `.rpm` package.
**Note**: If your application uses the [Electron API's `shell.moveItemToTrash` method](https://electronjs.org/docs/api/shell#shellmoveitemtotrashfullpath), RPM 4.13.0 or greater is required, due to the [boolean dependency feature](http://rpm.org/user_doc/boolean_dependencies.html).
**Note**: RPM 4.13.0 or greater is required due to the [boolean dependency feature](http://rpm.org/user_doc/boolean_dependencies.html).

@@ -15,0 +15,0 @@ On Fedora you can do something like this:

@@ -13,11 +13,11 @@ 'use strict'

gvfs: 'gvfs-client',
kdeCliTools: 'kde-cli-tools',
kdeCliTools: ['kde-cli-tools', 'kde-cli-tools5'],
kdeRuntime: 'kde-runtime',
notify: 'libnotify',
nss: 'nss',
notify: '(libnotify or libnotify4)',
nss: '(nss or mozilla-nss)',
trashCli: 'trash-cli',
uuid: 'libuuid',
uuid: '(libuuid or libuuid1)',
xdgUtils: 'xdg-utils',
xss: 'libXScrnSaver',
xtst: 'libXtst'
xtst: '(libXtst or libXtst6)'
}

@@ -67,4 +67,3 @@

} else {
console.warn("You are using RPM < 4.13, which does not support boolean dependencies. This is required to express the dependencies needed for the 'shell.moveItemToTrash' API.\nIf you do not use this API, you can safely ignore this warning.\nIf you do use this API, please upgrade to RPM 4.13 or above to have the trash dependencies added to your RPM's requires section.")
return { requires }
throw new Error('Please upgrade to RPM 4.13 or above, which supports boolean dependencies.\nThis is used to express Electron dependencies for a wide variety of RPM-using distributions.')
}

@@ -71,0 +70,0 @@ },

@@ -124,3 +124,3 @@ 'use strict'

if (!this.options.description && !this.options.productDescription) {
throw new Error(`No Description or ProductDescription provided. Please set either a description in the app's package.json or provide it in the options.`)
throw new Error("No Description or ProductDescription provided. Please set either a description in the app's package.json or provide it in the options.")
}

@@ -127,0 +127,0 @@

@@ -25,3 +25,6 @@ 'use strict'

module.exports = function (cmd, args, logger) {
return spawn(cmd, args, logger, updateExecutableMissingException)
return spawn(cmd, args, {
logger,
updateErrorCallback: updateExecutableMissingException
})
}
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