Socket
Socket
Sign inDemoInstall

app-builder-lib

Package Overview
Dependencies
Maintainers
1
Versions
231
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

app-builder-lib - npm Package Compare versions

Comparing version 20.44.2 to 20.44.3

2

out/packager.js

@@ -387,3 +387,3 @@ "use strict";

_builderUtil().log.info({
version: "20.44.2"
version: "20.44.3"
}, "electron-builder");

@@ -390,0 +390,0 @@ } catch (e) {

@@ -35,2 +35,12 @@ "use strict";

function _builderUtil() {
const data = require("builder-util");
_builderUtil = function () {
return data;
};
return data;
}
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; } }

@@ -49,3 +59,3 @@

if (process.env.APP_BUILDER_TMP_DIR == null) {
throw new Error("Env APP_BUILDER_TMP_DIR must be set for builder process");
throw new (_builderUtil().InvalidConfigurationError)("Env APP_BUILDER_TMP_DIR must be set for builder process");
}

@@ -56,3 +66,3 @@

if (projectDir == null) {
throw new Error("Env PROJECT_DIR must be set for builder process");
throw new (_builderUtil().InvalidConfigurationError)("Env PROJECT_DIR must be set for builder process");
}

@@ -63,11 +73,11 @@

if (data.platform == null) {
throw new Error("platform not specified");
throw new (_builderUtil().InvalidConfigurationError)("platform not specified");
}
if (targets == null) {
throw new Error("targets path not specified");
throw new (_builderUtil().InvalidConfigurationError)("targets path not specified");
}
if (!Array.isArray(targets)) {
throw new Error("targets must be array of target name");
throw new (_builderUtil().InvalidConfigurationError)("targets must be array of target name");
}

@@ -80,3 +90,3 @@

if (projectDir == null) {
throw new Error("Env PROJECT_OUT_DIR must be set for builder process");
throw new (_builderUtil().InvalidConfigurationError)("Env PROJECT_OUT_DIR must be set for builder process");
} // yes, for now we expect the only target

@@ -83,0 +93,0 @@

import { Arch } from "builder-util";
import { UploadTask } from "electron-publish/out/publisher";
import { Target } from "../core";

@@ -15,11 +14,1 @@ import { PlatformPackager } from "../platformPackager";

}
interface ArtifactInfo extends UploadTask {
target: string | null;
readonly isWriteUpdateInfo?: boolean;
readonly updateInfo?: any;
}
export interface RemoteBuilderResponse {
files: Array<ArtifactInfo> | null;
error: string | null;
}
export {};

@@ -71,3 +71,3 @@ "use strict";

if (!(0, _builderUtil().isEnvTrue)(process.env._REMOTE_BUILD) && this.packager.config.remoteBuild === false) {
throw new Error("Target is not supported on your OS and using of Electron Build Service is disabled (\"remoteBuild\" option)");
throw new (_builderUtil().InvalidConfigurationError)("Target is not supported on your OS and using of Electron Build Service is disabled (\"remoteBuild\" option)");
}

@@ -112,4 +112,3 @@

const projectInfoManager = new (_ProjectInfoManager().ProjectInfoManager)(packager.info); // let result: RemoteBuilderResponse | null = null
const projectInfoManager = new (_ProjectInfoManager().ProjectInfoManager)(packager.info);
const req = Buffer.from(JSON.stringify({

@@ -116,0 +115,0 @@ targets: targets.map(it => {

@@ -166,3 +166,2 @@ "use strict";

command: "command.sh",
// command: "$SNAP/" + (this.isUseTemplateApp ? "" : "app/") + this.packager.executableName
plugs: plugNames,

@@ -169,0 +168,0 @@ adapter: "none"

{
"name": "app-builder-lib",
"description": "electron-builder lib",
"version": "20.44.2",
"version": "20.44.3",
"main": "out/index.js",

@@ -45,3 +45,3 @@ "files": [

"7zip-bin": "~4.1.0",
"app-builder-bin": "2.6.16",
"app-builder-bin": "2.7.0",
"async-exit-hook": "^2.0.1",

@@ -51,5 +51,5 @@ "bluebird-lst": "^1.0.9",

"builder-util-runtime": "8.2.5",
"builder-util": "10.1.0",
"builder-util": "10.1.1",
"electron-osx-sign": "0.4.11",
"electron-publish": "20.44.2",
"electron-publish": "20.44.3",
"fs-extra-p": "^8.0.2",

@@ -56,0 +56,0 @@ "hosted-git-info": "^2.7.1",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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