electron-installer-redhat
Advanced tools
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 @@ |
{ | ||
"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 | ||
}) | ||
} |
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
442091
291
12
+ Added@malept/cross-spawn-promise@1.1.1(transitive)
+ Added@types/fs-extra@9.0.13(transitive)
+ Addedansi-regex@5.0.1(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedasar@3.2.0(transitive)
+ Addedat-least-node@1.0.0(transitive)
+ Addedcliui@6.0.0(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcommander@5.1.0(transitive)
+ Addedcross-spawn@7.0.5(transitive)
+ Addedelectron-installer-common@0.10.3(transitive)
+ Addedemoji-regex@8.0.0(transitive)
+ Addedfind-up@4.1.0(transitive)
+ Addedfs-extra@9.1.0(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedjsonfile@6.1.0(transitive)
+ Addedlocate-path@5.0.0(transitive)
+ Addedp-locate@4.1.0(transitive)
+ Addedpath-exists@4.0.0(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedsemver@7.6.3(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedstring-width@4.2.3(transitive)
+ Addedstrip-ansi@6.0.1(transitive)
+ Addedtmp@0.2.3(transitive)
+ Addedtmp-promise@3.0.3(transitive)
+ Addeduniversalify@2.0.1(transitive)
+ Addedwhich@2.0.2(transitive)
+ Addedwrap-ansi@6.2.0(transitive)
+ Addedyargs@15.4.1(transitive)
+ Addedyargs-parser@18.1.3(transitive)
- Removedansi-regex@4.1.1(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedasar@2.1.0(transitive)
- Removedbluebird@3.7.2(transitive)
- Removedcliui@5.0.0(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedcommander@2.20.3(transitive)
- Removedcross-spawn@5.1.0(transitive)
- Removedcross-spawn-promise@0.10.2(transitive)
- Removedcuint@0.2.2(transitive)
- Removedelectron-installer-common@0.7.3(transitive)
- Removedemoji-regex@7.0.3(transitive)
- Removedfind-up@3.0.0(transitive)
- Removedis-fullwidth-code-point@2.0.0(transitive)
- Removedlocate-path@3.0.0(transitive)
- Removedlru-cache@4.1.5(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removedp-locate@3.0.0(transitive)
- Removedpath-exists@3.0.0(transitive)
- Removedpseudomap@1.0.2(transitive)
- Removedrimraf@2.7.1(transitive)
- Removedsemver@6.3.1(transitive)
- Removedshebang-command@1.2.0(transitive)
- Removedshebang-regex@1.0.0(transitive)
- Removedstring-width@3.1.0(transitive)
- Removedstrip-ansi@5.2.0(transitive)
- Removedtmp@0.1.0(transitive)
- Removedtmp-promise@1.1.02.1.1(transitive)
- Removedwhich@1.3.1(transitive)
- Removedwrap-ansi@5.1.0(transitive)
- Removedyallist@2.1.2(transitive)
- Removedyargs@13.3.2(transitive)
- Removedyargs-parser@13.1.2(transitive)
Updatedfs-extra@^8.1.0
Updatedlodash@^4.17.15
Updatedyargs@^15.1.0