electron-installer-redhat
Advanced tools
Comparing version 0.3.1 to 0.4.0
{ | ||
"name": "electron-installer-redhat", | ||
"description": "Create a Red Hat package for your Electron app.", | ||
"version": "0.3.1", | ||
"version": "0.4.0", | ||
"license": "MIT", | ||
@@ -34,22 +34,23 @@ "author": { | ||
"dependencies": { | ||
"asar": "^0.12.0", | ||
"async": "^2.0.0", | ||
"debug": "^2.2.0", | ||
"fs-extra": "^1.0.0", | ||
"glob": "^7.0.0", | ||
"lodash": "^4.0.1", | ||
"asar": "^0.13.0", | ||
"async": "^2.1.5", | ||
"debug": "^2.6.3", | ||
"fs-extra": "^2.1.2", | ||
"glob": "^7.1.1", | ||
"lodash": "^4.17.4", | ||
"parse-author": "^2.0.0", | ||
"temp": "^0.8.3", | ||
"word-wrap": "^1.1.0", | ||
"yargs": "^6.0.0" | ||
"word-wrap": "^1.2.1", | ||
"yargs": "7.0.2" | ||
}, | ||
"devDependencies": { | ||
"chai": "^3.4.1", | ||
"eslint": "^3.2.2", | ||
"eslint-config-standard": "^6.0.0", | ||
"eslint-plugin-promise": "^3.0.0", | ||
"eslint-plugin-standard": "^2.0.0", | ||
"mocha": "^3.0.0", | ||
"retry": "^0.10.0", | ||
"rimraf": "^2.5.1" | ||
"chai": "^3.5.0", | ||
"eslint": "^3.18.0", | ||
"eslint-config-standard": "^7.1.0", | ||
"eslint-plugin-promise": "^3.5.0", | ||
"eslint-plugin-standard": "^2.1.1", | ||
"mocha": "^3.2.0", | ||
"retry": "^0.10.1", | ||
"rimraf": "^2.6.1" | ||
} | ||
} |
@@ -105,3 +105,3 @@ ![Electron Installer for Red Hat](resources/logo.png) | ||
You'll end up with the package at `dist/installers/app_0.0.1_x86_64.rpm`. | ||
You'll end up with the package at `dist/installers/app-0.0.1.x86_64.rpm`. | ||
@@ -142,3 +142,3 @@ ### Scripts | ||
You'll end up with the package at `dist/installers/app_0.0.1_x86_64.rpm`. | ||
You'll end up with the package at `dist/installers/app-0.0.1.x86_64.rpm`. | ||
@@ -176,3 +176,3 @@ ### Programmatically | ||
You'll end up with the package at `dist/installers/app_0.0.1_x86_64.rpm`. | ||
You'll end up with the package at `dist/installers/app-0.0.1.x86_64.rpm`. | ||
@@ -179,0 +179,0 @@ ### Options |
@@ -14,2 +14,3 @@ 'use strict' | ||
var util = require('./util.js') | ||
var pkg = require('../package.json') | ||
@@ -120,6 +121,3 @@ | ||
homepage: pkg.homepage || (pkg.author && (typeof pkg.author === 'string' | ||
? pkg.author.replace(/.*\(([^)]+)\).*/, '$1') | ||
: pkg.author.url | ||
)), | ||
homepage: util.getHomePage(pkg), | ||
@@ -389,2 +387,8 @@ compressionLevel: 2, | ||
function (options, callback) { | ||
let adjustedVersion = util.replaceInvalidVersionCharacters(options.version) | ||
if (adjustedVersion !== options.version) { | ||
data.logger('Warning: replacing disallowed characters in version to comply with SPEC format.' + | ||
`Changing ${options.version} to ${adjustedVersion}`) | ||
options.version = adjustedVersion | ||
} | ||
data.logger('Creating package with options\n' + JSON.stringify(options, null, 2)) | ||
@@ -391,0 +395,0 @@ async.waterfall([ |
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
441961
11
416
10
+ Addedparse-author@^2.0.0
+ Addedasar@0.13.1(transitive)
+ Addedauthor-regex@1.0.0(transitive)
+ Addedcall-bind@1.0.7(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addeddefine-properties@1.2.1(transitive)
+ Addedes-define-property@1.0.0(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedfs-extra@2.1.2(transitive)
+ Addedget-intrinsic@1.2.4(transitive)
+ Addedgopd@1.0.1(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.0.3(transitive)
+ Addedhas-symbols@1.0.3(transitive)
+ Addedobject-keys@1.1.1(transitive)
+ Addedobject.assign@4.1.5(transitive)
+ Addedparse-author@2.0.0(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedyargs@7.0.2(transitive)
+ Addedyargs-parser@5.0.1(transitive)
- Removedasar@0.12.4(transitive)
- Removedfs-extra@1.0.0(transitive)
- Removedyargs@6.6.0(transitive)
- Removedyargs-parser@4.2.1(transitive)
Updatedasar@^0.13.0
Updatedasync@^2.1.5
Updateddebug@^2.6.3
Updatedfs-extra@^2.1.2
Updatedglob@^7.1.1
Updatedlodash@^4.17.4
Updatedword-wrap@^1.2.1
Updatedyargs@7.0.2