app-builder-lib
Advanced tools
Comparing version 26.0.0-alpha.2 to 26.0.0-alpha.3
@@ -9,3 +9,3 @@ "use strict"; | ||
const macroExpander_1 = require("./util/macroExpander"); | ||
const filename_1 = require("./util/filename"); | ||
const filename_1 = require("builder-util/out/filename"); | ||
// fpm bug - rpm build --description is not escaped, well... decided to replace quite to smart quote | ||
@@ -12,0 +12,0 @@ // http://leancrew.com/all-this/2010/11/smart-quotes-in-javascript/ |
@@ -83,3 +83,3 @@ "use strict"; | ||
const symlinkTarget = path.resolve(this.rootForAppFilesWithoutAsar, realPathRelative); | ||
const isOutsidePackage = realPathRelative.startsWith("../"); | ||
const isOutsidePackage = realPathRelative.startsWith(".."); | ||
if (isOutsidePackage) { | ||
@@ -86,0 +86,0 @@ builder_util_1.log.error({ source: builder_util_1.log.filePath(source), realPathFile: builder_util_1.log.filePath(realPathFile) }, `unable to copy, file is symlinked outside the package`); |
@@ -80,3 +80,3 @@ "use strict"; | ||
CodeSigningAccountName: codeSigningAccountName, | ||
Files: options.path, | ||
Files: `"${options.path}"`, | ||
}; | ||
@@ -83,0 +83,0 @@ const paramsString = Object.entries(params) |
@@ -1,2 +0,2 @@ | ||
import { PublishOptions } from "electron-publish/out/publisher"; | ||
import { PublishOptions } from "electron-publish"; | ||
import { Packager } from "./packager"; | ||
@@ -3,0 +3,0 @@ import { PackagerOptions } from "./packagerApi"; |
@@ -10,3 +10,3 @@ "use strict"; | ||
const targetFactory_1 = require("./targets/targetFactory"); | ||
const filename_1 = require("./util/filename"); | ||
const filename_1 = require("builder-util/out/filename"); | ||
class LinuxPackager extends platformPackager_1.PlatformPackager { | ||
@@ -13,0 +13,0 @@ constructor(info) { |
@@ -6,3 +6,3 @@ "use strict"; | ||
const builder_util_1 = require("builder-util"); | ||
const filename_1 = require("../util/filename"); | ||
const filename_1 = require("builder-util/out/filename"); | ||
function getEffectiveOptions(options, packager) { | ||
@@ -9,0 +9,0 @@ const appInfo = packager.appInfo; |
@@ -146,2 +146,5 @@ import { CompressionLevel, Publish, TargetConfiguration, TargetSpecificOptions } from "../core"; | ||
readonly electronUpdaterCompatibility?: string | null; | ||
/** | ||
* Publisher configuration. See [Auto Update](./publish.md) for more information. | ||
*/ | ||
publish?: Publish; | ||
@@ -148,0 +151,0 @@ /** |
import { Arch } from "builder-util"; | ||
import { CancellationToken, PublishConfiguration, PublishProvider } from "builder-util-runtime"; | ||
import { PublishContext, Publisher, PublishOptions, UploadTask } from "electron-publish"; | ||
import { MultiProgress } from "electron-publish/out/multiProgress"; | ||
import { AppInfo, PlatformSpecificBuildOptions } from "../index"; | ||
import { Packager } from "../packager"; | ||
import { PlatformPackager } from "../platformPackager"; | ||
import { MultiProgress } from "electron-publish/out/multiProgress"; | ||
export declare class PublishManager implements PublishContext { | ||
@@ -9,0 +9,0 @@ private readonly packager; |
@@ -14,6 +14,2 @@ "use strict"; | ||
const electron_publish_1 = require("electron-publish"); | ||
const gitHubPublisher_1 = require("electron-publish/out/gitHubPublisher"); | ||
const multiProgress_1 = require("electron-publish/out/multiProgress"); | ||
const s3Publisher_1 = require("./s3/s3Publisher"); | ||
const spacesPublisher_1 = require("./s3/spacesPublisher"); | ||
const promises_1 = require("fs/promises"); | ||
@@ -25,6 +21,4 @@ const isCi = require("is-ci"); | ||
const macroExpander_1 = require("../util/macroExpander"); | ||
const SnapStorePublisher_1 = require("./SnapStorePublisher"); | ||
const updateInfoBuilder_1 = require("./updateInfoBuilder"); | ||
const KeygenPublisher_1 = require("./KeygenPublisher"); | ||
const BitbucketPublisher_1 = require("./BitbucketPublisher"); | ||
const multiProgress_1 = require("electron-publish/out/multiProgress"); | ||
const publishForPrWarning = "There are serious security concerns with PUBLISH_FOR_PULL_REQUEST=true (see the CircleCI documentation (https://circleci.com/docs/1.0/fork-pr-builds/) for details)" + | ||
@@ -244,7 +238,7 @@ "\nIf you have SSH keys, sensitive env vars or AWS credentials stored in your project settings and untrusted forks can make pull requests against your repo, then this option isn't for you."; | ||
case "github": | ||
return new gitHubPublisher_1.GitHubPublisher(context, publishConfig, version, options); | ||
return new electron_publish_1.GitHubPublisher(context, publishConfig, version, options); | ||
case "keygen": | ||
return new KeygenPublisher_1.KeygenPublisher(context, publishConfig, version); | ||
return new electron_publish_1.KeygenPublisher(context, publishConfig, version); | ||
case "snapStore": | ||
return new SnapStorePublisher_1.SnapStorePublisher(context, publishConfig); | ||
return new electron_publish_1.SnapStorePublisher(context, publishConfig); | ||
case "generic": | ||
@@ -261,15 +255,15 @@ return null; | ||
case "github": | ||
return gitHubPublisher_1.GitHubPublisher; | ||
return electron_publish_1.GitHubPublisher; | ||
case "generic": | ||
return null; | ||
case "keygen": | ||
return KeygenPublisher_1.KeygenPublisher; | ||
return electron_publish_1.KeygenPublisher; | ||
case "s3": | ||
return s3Publisher_1.default; | ||
return electron_publish_1.S3Publisher; | ||
case "snapStore": | ||
return SnapStorePublisher_1.SnapStorePublisher; | ||
return electron_publish_1.SnapStorePublisher; | ||
case "spaces": | ||
return spacesPublisher_1.default; | ||
return electron_publish_1.SpacesPublisher; | ||
case "bitbucket": | ||
return BitbucketPublisher_1.BitbucketPublisher; | ||
return electron_publish_1.BitbucketPublisher; | ||
default: { | ||
@@ -276,0 +270,0 @@ const name = `electron-publisher-${provider}`; |
@@ -1,1 +0,1 @@ | ||
export declare const PACKAGE_VERSION = "26.0.0-alpha.2"; | ||
export declare const PACKAGE_VERSION = "26.0.0-alpha.3"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.PACKAGE_VERSION = void 0; | ||
exports.PACKAGE_VERSION = "26.0.0-alpha.2"; | ||
exports.PACKAGE_VERSION = "26.0.0-alpha.3"; | ||
//# sourceMappingURL=version.js.map |
@@ -129,3 +129,3 @@ "use strict"; | ||
"FileDescription", | ||
appInfo.description || appInfo.productName, | ||
appInfo.productName, | ||
"--set-version-string", | ||
@@ -132,0 +132,0 @@ "ProductName", |
{ | ||
"name": "app-builder-lib", | ||
"description": "electron-builder lib", | ||
"version": "26.0.0-alpha.2", | ||
"version": "26.0.0-alpha.3", | ||
"main": "out/index.js", | ||
@@ -66,3 +66,2 @@ "files": [ | ||
"ejs": "^3.1.8", | ||
"form-data": "^4.0.0", | ||
"fs-extra": "^10.1.0", | ||
@@ -77,9 +76,8 @@ "hosted-git-info": "^4.1.0", | ||
"resedit": "^1.7.0", | ||
"sanitize-filename": "^1.6.3", | ||
"semver": "^7.3.8", | ||
"tar": "^6.1.12", | ||
"temp-file": "^3.4.0", | ||
"builder-util": "26.0.0-alpha.1", | ||
"builder-util-runtime": "9.2.10", | ||
"electron-publish": "26.0.0-alpha.1" | ||
"electron-publish": "26.0.0-alpha.3", | ||
"builder-util": "26.0.0-alpha.3" | ||
}, | ||
@@ -115,8 +113,8 @@ "///": "babel in devDependencies for proton tests", | ||
"toml": "^3.0.0", | ||
"dmg-builder": "26.0.0-alpha.2", | ||
"electron-builder-squirrel-windows": "26.0.0-alpha.2" | ||
"electron-builder-squirrel-windows": "26.0.0-alpha.3", | ||
"dmg-builder": "26.0.0-alpha.3" | ||
}, | ||
"peerDependencies": { | ||
"dmg-builder": "26.0.0-alpha.2", | ||
"electron-builder-squirrel-windows": "26.0.0-alpha.2" | ||
"dmg-builder": "26.0.0-alpha.3", | ||
"electron-builder-squirrel-windows": "26.0.0-alpha.3" | ||
}, | ||
@@ -123,0 +121,0 @@ "//": "electron-builder-squirrel-windows and dmg-builder added as dev dep for tests (as otherwise `require` doesn't work using Yarn 2)", |
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
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
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
34
157
3033458
366
23584
+ Added@electron/asar@3.2.15(transitive)
+ Added@types/node@22.8.5(transitive)
+ Addedapp-builder-bin@5.0.0-alpha.11(transitive)
+ Addedbuilder-util@26.0.0-alpha.3(transitive)
+ Addeddmg-builder@26.0.0-alpha.3(transitive)
+ Addedelectron-builder-squirrel-windows@26.0.0-alpha.3(transitive)
+ Addedelectron-publish@26.0.0-alpha.3(transitive)
- Removedform-data@^4.0.0
- Removedsanitize-filename@^1.6.3
- Removed@electron/asar@3.2.14(transitive)
- Removed@types/node@22.8.2(transitive)
- Removedapp-builder-bin@5.0.0-alpha.10(transitive)
- Removedbuilder-util@26.0.0-alpha.1(transitive)
- Removeddmg-builder@26.0.0-alpha.2(transitive)
- Removedelectron-builder-squirrel-windows@26.0.0-alpha.2(transitive)
- Removedelectron-publish@26.0.0-alpha.1(transitive)
Updatedbuilder-util@26.0.0-alpha.3