Socket
Socket
Sign inDemoInstall

electron-builder-core

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-builder-core - npm Package Compare versions

Comparing version 18.4.0 to 18.7.0

89

out/electron-builder-core.d.ts
declare module "electron-builder-core" {
import { AsarIntegrityOptions } from "asar-integrity"
import { Publish } from "electron-builder-http/out/publishOptions"

@@ -61,38 +60,6 @@ export enum Arch {

}
export interface PlatformSpecificBuildOptions extends TargetSpecificOptions {
readonly files?: Array<string> | string | null
readonly extraFiles?: Array<FilePattern | string> | FilePattern | string | null
readonly extraResources?: Array<FilePattern | string> | FilePattern | string | null
readonly asarUnpack?: Array<string> | string | null
readonly asar?: AsarOptions | boolean | null
readonly target?: Array<string | TargetConfig> | string | TargetConfig | null
readonly icon?: string | null
readonly fileAssociations?: Array<FileAssociation> | FileAssociation
readonly forceCodeSigning?: boolean
}
export const DEFAULT_TARGET = "default"
export const DIR_TARGET = "dir"
export interface AuthorMetadata {
readonly name: string
readonly email?: string
}
export type CompressionLevel = "store" | "normal" | "maximum"
export interface RepositoryInfo {
readonly url: string
}
export interface FilePattern {
from?: string
to?: string
filter?: Array<string> | string
}
export interface AsarOptions extends AsarIntegrityOptions {
smartUnpack?: boolean
ordering?: string | null
}
export interface BeforeBuildContext {

@@ -105,58 +72,2 @@ readonly appDir: string

/**
* File associations.
*
* macOS (corresponds to [CFBundleDocumentTypes](https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-101685)) and NSIS only.
*
* On Windows works only if [nsis.perMachine](https://github.com/electron-userland/electron-builder/wiki/Options#NsisOptions-perMachine) is set to `true`.
*/
export interface FileAssociation {
/**
* The extension (minus the leading period). e.g. `png`.
*/
readonly ext: string | Array<string>
/**
* The name. e.g. `PNG`. Defaults to `ext`.
*/
readonly name?: string | null
/**
* *windows-only.* The description.
*/
readonly description?: string | null
/**
* The path to icon (`.icns` for MacOS and `.ico` for Windows), relative to `build` (build resources directory). Defaults to `${firstExt}.icns`/`${firstExt}.ico` (if several extensions specified, first is used) or to application icon.
*/
readonly icon?: string | null
/**
* *macOS-only* The app’s role with respect to the type. The value can be `Editor`, `Viewer`, `Shell`, or `None`. Corresponds to `CFBundleTypeRole`.
* @default Editor
*/
readonly role?: string
/**
* *macOS-only* Whether the document is distributed as a bundle. If set to true, the bundle directory is treated as a file. Corresponds to `LSTypeIsPackage`.
*/
readonly isPackage?: boolean
}
/**
* URL Protocol Schemes. Protocols to associate the app with. macOS only.
*
* Please note — on macOS [you need to register an `open-url` event handler](http://electron.atom.io/docs/api/app/#event-open-url-macos).
*/
export interface Protocol {
/**
* The name. e.g. `IRC server URL`.
*/
readonly name: string
/**
* *macOS-only* The app’s role with respect to the type.
* @default Editor
*/
readonly role?: "Editor" | "Viewer" | "Shell" | "None"
/**
* The schemes. e.g. `["irc", "ircs"]`.
*/
readonly schemes: Array<string>
}
export interface SourceRepositoryInfo {

@@ -163,0 +74,0 @@ type: string

2

package.json
{
"name": "electron-builder-core",
"version": "18.4.0",
"version": "18.7.0",
"main": "out/core.js",

@@ -5,0 +5,0 @@ "author": "Vladimir Krivosheev",

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