Socket
Socket
Sign inDemoInstall

electron-installer-redhat

Package Overview
Dependencies
Maintainers
1
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 0.3.1 to 0.4.0

src/util.js

35

package.json
{
"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([

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