@electron-forge/installer-darwin
Advanced tools
Comparing version 6.0.0-beta.39 to 6.0.0-beta.40
@@ -22,3 +22,3 @@ "use strict"; | ||
var _pify = _interopRequireDefault(require("pify")); | ||
var _util = require("util"); | ||
@@ -56,5 +56,5 @@ var _sudoPrompt = _interopRequireDefault(require("sudo-prompt")); | ||
if (writeAccess) { | ||
yield (0, _pify.default)(_child_process.exec)(moveCommand); | ||
yield (0, _util.promisify)(_child_process.exec)(moveCommand); | ||
} else { | ||
yield (0, _pify.default)(_sudoPrompt.default.exec)(moveCommand, { | ||
yield (0, _util.promisify)(_sudoPrompt.default.exec)(moveCommand, { | ||
name: 'Electron Forge' | ||
@@ -69,2 +69,2 @@ }); | ||
exports.default = InstallerDarwin; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9JbnN0YWxsZXJEYXJ3aW4udHMiXSwibmFtZXMiOlsiSW5zdGFsbGVyRGFyd2luIiwiSW5zdGFsbGVyQmFzZSIsIm1vdmVBcHAiLCJhcHBQYXRoIiwidGFyZ2V0QXBwbGljYXRpb25QYXRoIiwic3Bpbm5lciIsImNvcHlJbnN0ZWFkIiwid3JpdGVBY2Nlc3MiLCJmcyIsImFjY2VzcyIsImNvbnN0YW50cyIsIldfT0siLCJlcnIiLCJwYXRoRXhpc3RzIiwiZmFpbCIsIkVycm9yIiwicGF0aCIsImJhc2VuYW1lIiwibW92ZUNvbW1hbmQiLCJleGVjIiwic3VkbyIsIm5hbWUiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7OztBQUNBOztBQUVBOztBQUNBOztBQUNBOztBQUNBOztBQUNBOzs7Ozs7Ozs7O0FBSWUsTUFBZUEsZUFBZixTQUF1Q0Msc0JBQXZDLENBQXFEO0FBQzVEQyxFQUFBQSxPQUFOLENBQ0VDLE9BREYsRUFFRUMscUJBRkYsRUFHRUMsT0FIRixFQUlFQyxXQUFXLEdBQUcsS0F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JpdGVBY2Nlc3MpIHtcbiAgICAgIGF3YWl0IHByb21pc2lmeShleGVjKShtb3ZlQ29tbWFuZCk7XG4gICAgfSBlbHNlIHtcbiAgICAgIGF3YWl0IHByb21pc2lmeShzdWRvLmV4ZWMpKG1vdmVDb21tYW5kLCB7XG4gICAgICAgIG5hbWU6ICdFbGVjdHJvbiBGb3JnZScsXG4gICAgICB9KTtcbiAgICB9XG4gIH1cbn1cbiJdfQ== |
{ | ||
"name": "@electron-forge/installer-darwin", | ||
"version": "6.0.0-beta.39", | ||
"version": "6.0.0-beta.40", | ||
"description": "Base darwin file installer for Electron Forge", | ||
@@ -17,8 +17,7 @@ "repository": "https://github.com/electron-userland/electron-forge", | ||
"dependencies": { | ||
"@electron-forge/async-ora": "6.0.0-beta.39", | ||
"@electron-forge/installer-base": "6.0.0-beta.39", | ||
"fs-extra": "^7.0.0", | ||
"pify": "^4.0.0", | ||
"sudo-prompt": "^8.0.0" | ||
"@electron-forge/async-ora": "6.0.0-beta.40", | ||
"@electron-forge/installer-base": "6.0.0-beta.40", | ||
"fs-extra": "^8.1.0", | ||
"sudo-prompt": "^9.0.0" | ||
} | ||
} |
7715
4
6
89
+ Added@electron-forge/async-ora@6.0.0-beta.40(transitive)
+ Added@electron-forge/installer-base@6.0.0-beta.40(transitive)
+ Addedfs-extra@8.1.0(transitive)
+ Addedsudo-prompt@9.2.1(transitive)
- Removedpify@^4.0.0
- Removed@electron-forge/async-ora@6.0.0-beta.39(transitive)
- Removed@electron-forge/installer-base@6.0.0-beta.39(transitive)
- Removedfs-extra@7.0.1(transitive)
- Removedpify@4.0.1(transitive)
- Removedsudo-prompt@8.2.5(transitive)
Updatedfs-extra@^8.1.0
Updatedsudo-prompt@^9.0.0