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

@electron-forge/maker-base

Package Overview
Dependencies
Maintainers
5
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@electron-forge/maker-base - npm Package Compare versions

Comparing version 6.0.3 to 6.0.4

131

dist/Maker.js
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.MakerBase = exports.default = void 0;
var _path = _interopRequireDefault(require("path"));
var _fsExtra = _interopRequireDefault(require("fs-extra"));
var _which = _interopRequireDefault(require("which"));
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {
default: obj
};
}
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.MakerBase = void 0;
const path_1 = __importDefault(require("path"));
const fs_extra_1 = __importDefault(require("fs-extra"));
const which_1 = __importDefault(require("which"));
class Maker {
/**
* @param configOrConfigFetcher - Either a configuration object for this maker or a simple method that returns such a configuration for a given target architecture
* @param platformsToMakeOn - If you want this maker to run on platforms different from `defaultPlatforms` you can provide those platforms here
*/ constructor(configOrConfigFetcher = {}, platformsToMakeOn){
* @param configOrConfigFetcher - Either a configuration object for this maker or a simple method that returns such a configuration for a given target architecture
* @param platformsToMakeOn - If you want this maker to run on platforms different from `defaultPlatforms` you can provide those platforms here
*/
constructor(configOrConfigFetcher = {}, platformsToMakeOn) {
this.configOrConfigFetcher = configOrConfigFetcher;

@@ -25,7 +22,8 @@ this.platformsToMakeOn = platformsToMakeOn;

enumerable: false,
configurable: false
configurable: false,
});
}
get platforms() {
if (this.platformsToMakeOn) return this.platformsToMakeOn;
if (this.platformsToMakeOn)
return this.platformsToMakeOn;
return this.defaultPlatforms;

@@ -38,3 +36,4 @@ }

this.config = this.configOrConfigFetcher(targetArch);
} else {
}
else {
this.config = this.configOrConfigFetcher;

@@ -44,10 +43,11 @@ }

/**
* Makers must implement this method and return true or false indicating whether
* this maker can be run on the current platform. Normally this is just a process.platform
* check but it can be a deeper check for dependencies like fake-root or other
* required external build tools.
*
* If the issue is a missing dependency you should log out a HELPFUL error message
* telling the developer exactly what is missing and if possible how to get it.
*/ isSupportedOnCurrentPlatform() {
* Makers must implement this method and return true or false indicating whether
* this maker can be run on the current platform. Normally this is just a process.platform
* check but it can be a deeper check for dependencies like fake-root or other
* required external build tools.
*
* If the issue is a missing dependency you should log out a HELPFUL error message
* telling the developer exactly what is missing and if possible how to get it.
*/
isSupportedOnCurrentPlatform() {
if (this.isSupportedOnCurrentPlatform === Maker.prototype.isSupportedOnCurrentPlatform) {

@@ -59,5 +59,6 @@ throw new Error(`Maker ${this.name} did not implement the isSupportedOnCurrentPlatform method`);

/**
* Makers must implement this method and return an array of absolute paths
* to the artifacts generated by your maker
*/ // eslint-disable-next-line @typescript-eslint/no-unused-vars
* Makers must implement this method and return an array of absolute paths
* to the artifacts generated by your maker
*/
// eslint-disable-next-line @typescript-eslint/no-unused-vars
async make(opts) {

@@ -70,35 +71,37 @@ if (this.make === Maker.prototype.make) {

/**
* Helpers
*/ /**
* Ensures the directory exists and is forced to be empty.
*
* I.e. If the directory already exists it is deleted and recreated, this
* is a destructive operation
*/ async ensureDirectory(dir) {
if (await _fsExtra.default.pathExists(dir)) {
await _fsExtra.default.remove(dir);
* Helpers
*/
/**
* Ensures the directory exists and is forced to be empty.
*
* I.e. If the directory already exists it is deleted and recreated, this
* is a destructive operation
*/
async ensureDirectory(dir) {
if (await fs_extra_1.default.pathExists(dir)) {
await fs_extra_1.default.remove(dir);
}
return _fsExtra.default.mkdirs(dir);
return fs_extra_1.default.mkdirs(dir);
}
/**
* Ensures the path to the file exists and the file does not exist
*
* I.e. If the file already exists it is deleted and the path created
*/ async ensureFile(file) {
if (await _fsExtra.default.pathExists(file)) {
await _fsExtra.default.remove(file);
* Ensures the path to the file exists and the file does not exist
*
* I.e. If the file already exists it is deleted and the path created
*/
async ensureFile(file) {
if (await fs_extra_1.default.pathExists(file)) {
await fs_extra_1.default.remove(file);
}
await _fsExtra.default.mkdirs(_path.default.dirname(file));
await fs_extra_1.default.mkdirs(path_1.default.dirname(file));
}
/**
* Checks if the specified binaries exist, which are required for the maker to be used.
*/ externalBinariesExist() {
return this.requiredExternalBinaries.every((binary)=>_which.default.sync(binary, {
nothrow: true
}) !== null
);
* Checks if the specified binaries exist, which are required for the maker to be used.
*/
externalBinariesExist() {
return this.requiredExternalBinaries.every((binary) => which_1.default.sync(binary, { nothrow: true }) !== null);
}
/**
* Throws an error if any of the binaries don't exist.
*/ ensureExternalBinariesExist() {
* Throws an error if any of the binaries don't exist.
*/
ensureExternalBinariesExist() {
if (!this.externalBinariesExist()) {

@@ -109,9 +112,11 @@ throw new Error(`Cannot make for ${this.name}, the following external binaries need to be installed: ${this.requiredExternalBinaries.join(', ')}`);

/**
* Checks if the given module is installed, used for testing if optional dependencies
* are installed or not
*/ isInstalled(module) {
* Checks if the given module is installed, used for testing if optional dependencies
* are installed or not
*/
isInstalled(module) {
try {
require(module);
return true;
} catch (e) {
}
catch (e) {
// Package doesn't exist -- must not be installable on this platform

@@ -122,5 +127,6 @@ return false;

/**
* Normalize the given semver-formatted version to a 4-part dot delimited version number without
* prerelease information for use in Windows apps.
*/ normalizeWindowsVersion(version) {
* Normalize the given semver-formatted version to a 4-part dot delimited version number without
* prerelease information for use in Windows apps.
*/
normalizeWindowsVersion(version) {
const noPrerelease = version.replace(/-.*/, '');

@@ -132,3 +138,2 @@ return `${noPrerelease}.0`;

exports.MakerBase = Maker;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9NYWtlci50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgcGF0aCBmcm9tICdwYXRoJztcblxuaW1wb3J0IHsgRm9yZ2VBcmNoLCBGb3JnZVBsYXRmb3JtLCBJRm9yZ2VNYWtlciwgUmVzb2x2ZWRGb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BQUMsTUFBYztRQUN4QixJQUFJO1lBQ0YsT0FBTyxDQUFDLE1BQU0sQ0FBQyxDQUFDO1lBQ2hCLE9BQU8sSUFBSSxDQUFDO1NBQ2I7UUFBQyxPQUFPLENBQUMsRUFBRTtZQUNWLG9FQUFvRTtZQUNwRSxPQUFPLEtBQUssQ0FBQztTQUNkO0lBQ0gsQ0FBQztJQUVEOzs7T0FHRztJQUNILHVCQUF1QixDQUFDLE9BQWU7UUFDckMsTUFBTSxZQUFZLEdBQUcsT0FBTyxDQUFDLE9BQU8sQ0FBQyxLQUFLLEVBQUUsRUFBRSxDQUFDLENBQUM7UUFDaEQsT0FBTyxHQUFHLFlBQVksSUFBSSxDQUFDO0lBQzdCLENBQUM7Q0FDRjtBQXRJRCx3QkFzSUM7QUFFaUIsMEJBQVMifQ==
{
"name": "@electron-forge/maker-base",
"version": "6.0.3",
"version": "6.0.4",
"description": "Base maker for Electron Forge",

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

"dependencies": {
"@electron-forge/shared-types": "^6.0.3",
"@electron-forge/shared-types": "^6.0.4",
"fs-extra": "^10.0.0",

@@ -27,3 +27,3 @@ "which": "^2.0.2"

},
"gitHead": "5f6ec685539a8fe93cbf025fb6bf6510323de0de"
"gitHead": "7c936956968ecbe55eece3bb897989e6aa58dbde"
}
{
"//": "⚠️ AUTOGENERATED ⚠️ This file was automatically generated by tools/gen-tsconfigs.ts, do not edit manually.",
"compilerOptions": {

@@ -11,3 +10,3 @@ "module": "commonjs",

],
"sourceMap": true,
"inlineSourceMap": true,
"rootDir": "src",

@@ -14,0 +13,0 @@ "experimentalDecorators": true,

Sorry, the diff of this file is not supported yet

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