@electron-forge/installer-linux
Advanced tools
Comparing version 6.0.0-beta.3 to 6.0.0-beta.4
@@ -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} ${args}`, { | ||
name: 'Electron Forge' | ||
@@ -63,2 +71,2 @@ })) | ||
}; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3V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W5zdGFsbGVyTGludXggZXh0ZW5kcyBJbnN0YWxsZXJCYXNlIHtcbiAgd2hpY2ggPSBhc3luYyAodHlwZTogc3RyaW5nLCBwcm9nOiBzdHJpbmcsIHByb21pc2U6ICgpID0+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" |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 2 instances in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
341252
17
1325
3
5
+ Added@electron-forge/async-ora@6.0.0-beta.4(transitive)
+ Added@electron-forge/installer-base@6.0.0-beta.4(transitive)
+ Addedansi-regex@3.0.1(transitive)
+ Addedansi-styles@3.2.1(transitive)
+ Addedchalk@2.4.2(transitive)
+ Addedcli-cursor@2.1.0(transitive)
+ Addedcli-spinners@1.3.1(transitive)
+ Addedclone@1.0.4(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addedcolors@1.4.0(transitive)
+ Addeddebug@3.2.7(transitive)
+ Addeddefaults@1.0.4(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addedlog-symbols@2.2.0(transitive)
+ Addedmimic-fn@1.2.0(transitive)
+ Addedms@2.1.3(transitive)
+ Addedonetime@2.0.1(transitive)
+ Addedora@2.1.0(transitive)
+ Addedrestore-cursor@2.0.0(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedstrip-ansi@4.0.0(transitive)
+ Addedsupports-color@5.5.0(transitive)
+ Addedwcwidth@1.0.1(transitive)
- Removed@electron-forge/installer-base@6.0.0-beta.3(transitive)