builder-util
Advanced tools
Comparing version 24.8.1 to 24.9.4
@@ -13,2 +13,3 @@ /// <reference types="node" /> | ||
export { deepAssign } from "./deepAssign"; | ||
export { getPath7za, getPath7x } from "./7za"; | ||
export declare const debug7z: _debug.Debugger; | ||
@@ -15,0 +16,0 @@ export declare function serializeToYaml(object: any, skipInvalid?: boolean, noRefs?: boolean): string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.retry = exports.executeAppBuilder = exports.InvalidConfigurationError = exports.isEnvTrue = exports.isPullRequest = exports.getPlatformIconFileName = exports.replaceDefault = exports.addValue = exports.isTokenCharValid = exports.isEmptyOrSpaces = exports.use = exports.ExecError = exports.spawn = exports.spawnAndWrite = exports.doSpawn = exports.exec = exports.removePassword = exports.serializeToYaml = exports.debug7z = exports.deepAssign = exports.asArray = exports.exists = exports.copyFile = exports.DebugLogger = exports.AsyncTaskManager = exports.defaultArchFromString = exports.archFromString = exports.getArchSuffix = exports.toLinuxArchString = exports.getArchCliNames = exports.Arch = exports.debug = exports.log = exports.TmpDir = exports.safeStringifyJson = void 0; | ||
const _7zip_bin_1 = require("7zip-bin"); | ||
exports.retry = exports.executeAppBuilder = exports.InvalidConfigurationError = exports.isEnvTrue = exports.isPullRequest = exports.getPlatformIconFileName = exports.replaceDefault = exports.addValue = exports.isTokenCharValid = exports.isEmptyOrSpaces = exports.use = exports.ExecError = exports.spawn = exports.spawnAndWrite = exports.doSpawn = exports.exec = exports.removePassword = exports.serializeToYaml = exports.debug7z = exports.getPath7x = exports.getPath7za = exports.deepAssign = exports.asArray = exports.exists = exports.copyFile = exports.DebugLogger = exports.AsyncTaskManager = exports.defaultArchFromString = exports.archFromString = exports.getArchSuffix = exports.toLinuxArchString = exports.getArchCliNames = exports.Arch = exports.debug = exports.log = exports.TmpDir = exports.safeStringifyJson = void 0; | ||
const app_builder_bin_1 = require("app-builder-bin"); | ||
@@ -13,6 +12,6 @@ const builder_util_runtime_1 = require("builder-util-runtime"); | ||
const js_yaml_1 = require("js-yaml"); | ||
const fs_extra_1 = require("fs-extra"); | ||
const path = require("path"); | ||
const log_1 = require("./log"); | ||
const source_map_support_1 = require("source-map-support"); | ||
const _7za_1 = require("./7za"); | ||
if (process.env.JEST_WORKER_ID == null) { | ||
@@ -46,2 +45,5 @@ (0, source_map_support_1.install)(); | ||
Object.defineProperty(exports, "deepAssign", { enumerable: true, get: function () { return deepAssign_1.deepAssign; } }); | ||
var _7za_2 = require("./7za"); | ||
Object.defineProperty(exports, "getPath7za", { enumerable: true, get: function () { return _7za_2.getPath7za; } }); | ||
Object.defineProperty(exports, "getPath7x", { enumerable: true, get: function () { return _7za_2.getPath7x; } }); | ||
exports.debug7z = (0, debug_1.default)("electron-builder:7z"); | ||
@@ -334,6 +336,5 @@ function serializeToYaml(object, skipInvalid = false, noRefs = false) { | ||
const command = app_builder_bin_1.appBuilderPath; | ||
await (0, fs_extra_1.chmod)(_7zip_bin_1.path7za, 0o755); | ||
const env = { | ||
...process.env, | ||
SZA_PATH: _7zip_bin_1.path7za, | ||
SZA_PATH: await (0, _7za_1.getPath7za)(), | ||
FORCE_COLOR: chalk.level === 0 ? "0" : "1", | ||
@@ -340,0 +341,0 @@ }; |
{ | ||
"name": "builder-util", | ||
"version": "24.8.1", | ||
"version": "24.9.4", | ||
"main": "out/util.js", | ||
@@ -18,4 +18,4 @@ "author": "Vladimir Krivosheev", | ||
"dependencies": { | ||
"7zip-bin": "~5.2.0", | ||
"@types/debug": "^4.1.6", | ||
"7zip-bin": "~5.2.0", | ||
"app-builder-bin": "4.0.0", | ||
@@ -22,0 +22,0 @@ "bluebird-lst": "^1.0.9", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
129016
33
1326