New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.3 to 6.0.0-beta.4

dist/InstallerLinux.d.ts

16

dist/InstallerLinux.js

@@ -6,5 +6,11 @@ "use strict";

});
Object.defineProperty(exports, "InstallerOptions", {
enumerable: true,
get: function get() {
return _installerBase.InstallerOptions;
}
});
exports.default = void 0;
var _installerBase = _interopRequireDefault(require("@electron-forge/installer-base"));
var _installerBase = _interopRequireWildcard(require("@electron-forge/installer-base"));

@@ -19,2 +25,4 @@ var _child_process = require("child_process");

function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function step(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 _next(value) { step("next", value); } function _throw(err) { step("throw", err); } _next(); }); }; }

@@ -41,3 +49,3 @@

if ((0, _child_process.spawnSync)('which', [prog]).status === 0) {
yield promise;
yield promise();
} else {

@@ -57,3 +65,3 @@ throw new Error(`${prog} is required to install ${type} packages`);

writable: true,
value: (type, program, args) => this.which(type, program, (0, _pify.default)(_sudoPrompt.default.exec)(`${program} ${args}`, {
value: (type, program, args) => this.which(type, program, () => (0, _pify.default)(_sudoPrompt.default.exec)(`${program}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Cc7XG5cbmV4cG9ydCB7IEluc3RhbGxlck9wdGlvbnMgfTtcblxuZXhwb3J0IGRlZmF1bHQgYWJzdHJhY3QgY2xhc3MgSW5zdGFsbGVyTGludXggZXh0ZW5kcyBJbnN0YWxsZXJCYXNlIHtcbiAgd2hpY2ggPSBhc3luYyAodHlwZTogc3RyaW5nLCBwcm9nOiBzdHJpbmcsIHByb21pc2U6ICgpID0+IFByb21pc2U8YW55PikgPT4ge1xuICAgIGlmIChzcGF3blN5bmMoJ3doaWNoJywgW3Byb2ddKS5zdGF0dXMgPT09IDApIHtcbiAgICAgIGF3YWl0IHByb21pc2UoKTtcbiAgICB9IGVsc2Uge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKGAke3Byb2d9IGlzIHJlcXVpcmVkIHRvIGluc3RhbGwgJHt0eXBlfSBwYWNrYWdlc2ApO1xuICAgIH1cbiAgfVxuXG4gIHN1ZG8gPSAodHlwZTogc3RyaW5nLCBwcm9ncmFtOiBzdHJpbmcsIGFyZ3M6IHN0cmluZykgPT5cbiAgICB0aGlzLndoaWNoKFxuICAgICAgdHlwZSxcbiAgICAgIHByb2dyYW0sXG4gICAgICAoKSA9PiBwaWZ5KHN1ZG9Qcm9tcHQuZXhlYykoYCR7cHJvZ3JhbX0gJHthcmdzfWAsIHsgbmFtZTogJ0VsZWN0cm9uIEZvcmdlJyB9KSxcbiAgICApO1xufVxuIl19
{
"name": "@electron-forge/installer-linux",
"version": "6.0.0-beta.3",
"version": "6.0.0-beta.4",
"description": "Base linux file installer for Electron Forge",

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

"main": "dist/InstallerLinux.js",
"typings": "dist/InstallerLinux.d.ts",
"scripts": {

@@ -20,3 +21,3 @@ "test": "exit 0"

"dependencies": {
"@electron-forge/installer-base": "6.0.0-beta.3",
"@electron-forge/installer-base": "6.0.0-beta.4",
"pify": "^3.0.0",

@@ -23,0 +24,0 @@ "sudo-prompt": "^8.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