@types/electron-packager
Advanced tools
Comparing version 13.0.1 to 14.0.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for electron-packager 13.0 | ||
// Type definitions for electron-packager 14.0 | ||
// Project: https://github.com/electron-userland/electron-packager | ||
@@ -10,5 +10,12 @@ // Definitions by: Maxime LUCE <https://github.com/SomaticIT> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.9 | ||
/// <reference types="node" /> | ||
/// <reference types='node' /> | ||
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>; | ||
import { ElectronDownloadRequestOptions as ElectronDownloadOptions } from '@electron/get'; | ||
import { NotarizeOptions } from 'electron-notarize'; | ||
import { SignOptions as OsXSignOptions } from 'electron-osx-sign'; | ||
export = electronPackager; | ||
@@ -27,3 +34,3 @@ | ||
*/ | ||
declare function electronPackager(opts: electronPackager.Options): Promise<string|string[]>; | ||
declare function electronPackager(opts: electronPackager.Options): Promise<string | string[]>; | ||
@@ -37,8 +44,14 @@ declare namespace electronPackager { | ||
*/ | ||
type finalCallback = (err: Error, appPaths: string|string[]) => void; | ||
type finalCallback = (err: Error, appPaths: string | string[]) => void; | ||
type ignoreFunction = (path: string) => boolean; | ||
type onCompleteFn = (buildPath: string, electronVersion: string, platform: string, arch: string, callbackFn: () => void) => void; | ||
type arch = "ia32" | "x64" | "armv7l" | "arm64" | "mips64el" | "all"; | ||
type platform = "linux" | "win32" | "darwin" | "mas" | "all"; | ||
type onCompleteFn = ( | ||
buildPath: string, | ||
electronVersion: string, | ||
platform: string, | ||
arch: string, | ||
callbackFn: () => void | ||
) => void; | ||
type arch = 'ia32' | 'x64' | 'armv7l' | 'arm64' | 'mips64el' | 'all'; | ||
type platform = 'linux' | 'win32' | 'darwin' | 'mas' | 'all'; | ||
@@ -51,30 +64,11 @@ interface AsarOptions { | ||
interface ElectronDownloadOptions { | ||
cache?: string; | ||
mirror?: string; | ||
quiet?: boolean; | ||
strictSSL?: boolean; | ||
// see https://github.com/electron-userland/electron-packager/blob/92d09bba34599283a794fd6f24b88470f0cb1074/src/mac.js#L340 | ||
interface ElectronOsXSignOptions | ||
extends Omit<OsXSignOptions, 'app' | 'binaries' | 'identity' | 'platform' | 'version'> { | ||
identity?: string | true; | ||
} | ||
interface ElectronNotarizeOptions { | ||
appleId: string; | ||
appleIdPassword: string; | ||
} | ||
// see https://github.com/electron-userland/electron-packager/blob/92d09bba34599283a794fd6f24b88470f0cb1074/src/mac.js#L372 | ||
type ElectronNotarizeOptions = Omit<NotarizeOptions, 'appBundleId' | 'appPath'>; | ||
interface ElectronOsXSignOptions { | ||
entitlements?: string; | ||
"entitlements-inherit"?: string; | ||
"gatekeeper-assess"?: boolean; | ||
// see https://github.com/electron-userland/electron-packager/blob/92d09bba34599283a794fd6f24b88470f0cb1074/src/mac.js#L359 | ||
identity?: string | true; | ||
"identity-validation"?: boolean; | ||
ignore?: string; | ||
keychain?: string; | ||
"pre-auto-entitlements"?: boolean; | ||
"pre-embed-provisioning-profile"?: boolean; | ||
"provisioning-profile"?: string; | ||
requirements?: string; | ||
type?: string; | ||
} | ||
/** | ||
@@ -89,4 +83,4 @@ * Object (also known as a "hash") of application metadata to embed into the executable | ||
InternalName?: string; | ||
"requested-execution-level"?: "asInvoker" | "highestAvailable" | "requireAdministrator"; | ||
"application-manifest"?: string; | ||
'requested-execution-level'?: 'asInvoker' | 'highestAvailable' | 'requireAdministrator'; | ||
'application-manifest'?: string; | ||
} | ||
@@ -140,3 +134,3 @@ | ||
/** | ||
* If present, passes custom options to electron-download | ||
* If present, passes custom options to `@electron/get` | ||
*/ | ||
@@ -208,3 +202,3 @@ download?: ElectronDownloadOptions; | ||
*/ | ||
extendInfo?: string | {[property: string]: any}; | ||
extendInfo?: string | { [property: string]: any }; | ||
/** | ||
@@ -229,4 +223,4 @@ * The bundle identifier to use in the application helper's plist. | ||
protocols?: Array<{ | ||
name: string | ||
schemes: string[] | ||
name: string; | ||
schemes: string[]; | ||
}>; | ||
@@ -233,0 +227,0 @@ |
{ | ||
"name": "@types/electron-packager", | ||
"version": "13.0.1", | ||
"version": "14.0.0", | ||
"description": "TypeScript definitions for electron-packager", | ||
@@ -47,6 +47,9 @@ "license": "MIT", | ||
"dependencies": { | ||
"@types/node": "*" | ||
"@electron/get": "^1.3.1", | ||
"@types/node": "*", | ||
"electron-notarize": "^0.1.1", | ||
"electron-osx-sign": "^0.4.11" | ||
}, | ||
"typesPublisherContentHash": "4708e28d829ecda255e4daf8e0b34d41a1d6346942ce436343dd90064e349aa5", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "42698408cdf32b2dd3afbd2f2d663cdcf5ffb4bb731e21f005b0d370f32f11ef", | ||
"typeScriptVersion": "2.9" | ||
} |
@@ -11,4 +11,4 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 25 Jun 2019 17:25:04 GMT | ||
* Dependencies: @types/node | ||
* Last updated: Wed, 26 Jun 2019 16:57:58 GMT | ||
* Dependencies: @types/electron__get, @types/electron-notarize, @types/electron-osx-sign, @types/node | ||
* Global values: none | ||
@@ -15,0 +15,0 @@ |
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
13001
4
209
+ Added@electron/get@^1.3.1
+ Addedelectron-notarize@^0.1.1
+ Addedelectron-osx-sign@^0.4.11
+ Added@electron/get@1.14.1(transitive)
+ Added@sindresorhus/is@0.14.0(transitive)
+ Added@szmarczak/http-timer@1.1.2(transitive)
+ Added@xmldom/xmldom@0.8.10(transitive)
+ Addedbase64-js@1.5.1(transitive)
+ Addedbluebird@3.7.2(transitive)
+ Addedboolean@3.2.0(transitive)
+ Addedbuffer-alloc@1.2.0(transitive)
+ Addedbuffer-alloc-unsafe@1.1.0(transitive)
+ Addedbuffer-fill@1.0.0(transitive)
+ Addedcacheable-request@6.1.0(transitive)
+ Addedclone-response@1.0.3(transitive)
+ Addedcompare-version@0.1.2(transitive)
+ Addedconfig-chain@1.1.13(transitive)
+ Addeddebug@2.6.94.4.0(transitive)
+ Addeddecompress-response@3.3.0(transitive)
+ Addeddefer-to-connect@1.1.3(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addeddefine-properties@1.2.1(transitive)
+ Addeddetect-node@2.1.0(transitive)
+ Addedduplexer3@0.1.5(transitive)
+ Addedelectron-notarize@0.1.1(transitive)
+ Addedelectron-osx-sign@0.4.17(transitive)
+ Addedencodeurl@1.0.2(transitive)
+ Addedend-of-stream@1.4.4(transitive)
+ Addedenv-paths@2.2.1(transitive)
+ Addedes-define-property@1.0.1(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedes6-error@4.1.1(transitive)
+ Addedescape-string-regexp@4.0.0(transitive)
+ Addedfs-extra@8.1.0(transitive)
+ Addedget-stream@4.1.05.2.0(transitive)
+ Addedglobal-agent@3.0.0(transitive)
+ Addedglobal-tunnel-ng@2.7.1(transitive)
+ Addedglobalthis@1.0.4(transitive)
+ Addedgopd@1.2.0(transitive)
+ Addedgot@9.6.0(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhttp-cache-semantics@4.1.1(transitive)
+ Addedini@1.3.8(transitive)
+ Addedisbinaryfile@3.0.3(transitive)
+ Addedjson-buffer@3.0.0(transitive)
+ Addedjson-stringify-safe@5.0.1(transitive)
+ Addedjsonfile@4.0.0(transitive)
+ Addedkeyv@3.1.0(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedlowercase-keys@1.0.12.0.0(transitive)
+ Addedmatcher@3.0.0(transitive)
+ Addedmimic-response@1.0.1(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedms@2.0.02.1.3(transitive)
+ Addednormalize-url@4.5.1(transitive)
+ Addednpm-conf@1.1.3(transitive)
+ Addedobject-keys@1.1.1(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedp-cancelable@1.1.0(transitive)
+ Addedpify@3.0.0(transitive)
+ Addedplist@3.1.0(transitive)
+ Addedprepend-http@2.0.0(transitive)
+ Addedprogress@2.0.3(transitive)
+ Addedproto-list@1.2.4(transitive)
+ Addedpump@3.0.2(transitive)
+ Addedresponselike@1.0.2(transitive)
+ Addedroarr@2.15.4(transitive)
+ Addedsemver@6.3.17.6.3(transitive)
+ Addedsemver-compare@1.0.0(transitive)
+ Addedserialize-error@7.0.1(transitive)
+ Addedsprintf-js@1.1.3(transitive)
+ Addedsumchecker@3.0.1(transitive)
+ Addedto-readable-stream@1.0.0(transitive)
+ Addedtunnel@0.0.6(transitive)
+ Addedtype-fest@0.13.1(transitive)
+ Addeduniversalify@0.1.2(transitive)
+ Addedurl-parse-lax@3.0.0(transitive)
+ Addedwrappy@1.0.2(transitive)
+ Addedxmlbuilder@15.1.1(transitive)