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

@electron-forge/installer-linux

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@electron-forge/installer-linux - npm Package Compare versions

Comparing version 6.0.0-beta.43 to 6.0.0-beta.44

30

dist/InstallerLinux.js

@@ -8,3 +8,3 @@ "use strict";

enumerable: true,
get: function get() {
get: function () {
return _installerBase.InstallerOptions;

@@ -29,6 +29,2 @@ }

function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

@@ -40,18 +36,10 @@

_defineProperty(this, "which",
/*#__PURE__*/
function () {
var _ref = _asyncToGenerator(function* (type, prog, promise) {
if ((0, _child_process.spawnSync)('which', [prog]).status === 0) {
yield promise();
} else {
throw new Error(`${prog} is required to install ${type} packages`);
}
});
_defineProperty(this, "which", async (type, prog, promise) => {
if ((0, _child_process.spawnSync)('which', [prog]).status === 0) {
await promise();
} else {
throw new Error(`${prog} is required to install ${type} packages`);
}
});
return function (_x, _x2, _x3) {
return _ref.apply(this, arguments);
};
}());
_defineProperty(this, "sudo", (type, program, args) => this.which(type, program, () => (0, _util.promisify)(_sudoPrompt.default.exec)(`${program} ${args}`, {

@@ -65,2 +53,2 @@ name: 'Electron Forge'

exports.default = InstallerLinux;
//# sourceMappingURL=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3J0IEluc3RhbGxlckJhc2UsIHsgSW5zdGFsbGVyT3B0aW9ucyB9IGZyb20gJ0BlbGVjdHJvbi1mb3JnZS9pbnN0YWxsZXItYmFzZSc7XG5cbmltcG9ydCB7IHNwYXduU3luYyB9IGZyb20gJ2NoaWxkX3Byb2Nlc3MnO1xuaW1wb3J0IHsgcHJvbWlzaWZ5IH0gZnJvbSAndXRpbCc7XG5pbXBvcnQgc3Vkb1Byb21wdCBmcm9tICdzdWRvLXByb21wdCc7XG5cbmV4cG9ydCB7IEluc3RhbGxlck9wdGlvbnMgfTtcblxuZXhwb3J0IGRlZmF1bHQgYWJzdHJhY3QgY2xhc3MgSW5zdGFsbGVyTGludXggZXh0ZW5kcyBJbnN0YWxsZXJCYXNlIHtcbiAgd2hpY2ggPSBhc3luYyAodHlwZTogc3RyaW5nLCBwcm9nOiBzdHJpbmcsIHByb21pc2U6ICgpID0+IFByb21pc2U8YW55PikgPT4ge1xuICAgIGlmIChzcGF3blN5bmMoJ3doaWNoJywgW3Byb2ddKS5zdGF0dXMgPT09IDApIHtcbiAgICAgIGF3YWl0IHByb21pc2UoKTtcbiAgICB9IGVsc2Uge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKGAke3Byb2d9IGlzIHJlcXVpcmVkIHRvIGluc3RhbGwgJHt0eXBlfSBwYWNrYWdlc2ApO1xuICAgIH1cbiAgfVxuXG4gIHN1ZG8gPSAodHlwZTogc3RyaW5nLCBwcm9ncmFtOiBzdHJpbmcsIGFyZ3M6IHN0cmluZykgPT4gdGhpcy53aGljaChcbiAgICB0eXBlLFxuICAgIHByb2dyYW0sXG4gICAgKCkgPT4gcHJvbWlzaWZ5KHN1ZG9Qcm9tcHQuZXhlYykoYCR7cHJvZ3JhbX0gJHthcmdzfWAsIHsgbmFtZTogJ0VsZWN0cm9uIEZvcmdlJyB9KSxcbiAgKVxufVxuIl19
{
"name": "@electron-forge/installer-linux",
"version": "6.0.0-beta.43",
"version": "6.0.0-beta.44",
"description": "Base linux file installer for Electron Forge",

@@ -11,3 +11,3 @@ "repository": "https://github.com/electron-userland/electron-forge",

"devDependencies": {
"mocha": "^6.1.4"
"mocha": "^6.2.0"
},

@@ -18,5 +18,5 @@ "engines": {

"dependencies": {
"@electron-forge/installer-base": "6.0.0-beta.43",
"@electron-forge/installer-base": "6.0.0-beta.44",
"sudo-prompt": "^9.0.0"
}
}
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