Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/electron-packager

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/electron-packager - npm Package Compare versions

Comparing version 12.0.0 to 13.0.0

41

electron-packager/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for electron-packager 12.0
// Type definitions for electron-packager 13.0
// Project: https://github.com/electron-userland/electron-packager

@@ -7,2 +7,3 @@ // Definitions by: Maxime LUCE <https://github.com/SomaticIT>

// Brendan Forster <https://github.com/shiftkey>
// Mark Lee <https://github.com/malept>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -27,16 +28,2 @@

/**
* This will:
* - Find or download the correct release of Electron
* - Use that version of electron to create a app in <out>/<appname>-<platform>-<arch>
*
* You should be able to launch the app on the platform you built for. If not, check your settings and try again.
*
* @param opts - Options to configure packaging.
* @param callback - Callback which is called when packaging is done or an error occured.
*
* @deprecated since version 12.0
*/
declare function electronPackager(opts: electronPackager.Options, callback: electronPackager.finalCallback): void;
declare namespace electronPackager {

@@ -53,4 +40,3 @@ /**

type onCompleteFn = (buildPath: string, electronVersion: string, platform: string, arch: string, callbackFn: () => void) => void;
type arch = "ia32" | "x64" | "armv7l" | "arm64" |"all";
type packageManager = "npm" | "cnpm" | "yarn" | false;
type arch = "ia32" | "x64" | "armv7l" | "arm64" | "mips64el" | "all";
type platform = "linux" | "win32" | "darwin" | "mas" | "all";

@@ -71,2 +57,7 @@

interface ElectronNotarizeOptions {
appleId: string;
appleIdPassword: string;
}
interface ElectronOsXSignOptions {

@@ -124,2 +115,6 @@ identity?: string;

/**
* The path to a prebuilt ASAR file.
*/
prebuiltAsar?: string;
/**
* The build version of the application. Defaults to the value of appVersion.

@@ -169,6 +164,2 @@ * Maps to the FileVersion metadata property on Windows, and CFBundleVersion on OS X.

/**
* The package manager used to prune devDependencies modules from the outputted Electron app
*/
packageManager?: packageManager;
/**
* The target platform(s) to build for. Not required if the all option is set.

@@ -212,2 +203,10 @@ */

/**
* Forces support for Mojave (macOS 10.14) dark mode in the packaged app.
*/
darwinDarkModeSupport?: boolean;
/**
* If present, notarizes OS X target apps when the host platform is OS X and XCode is installed.
*/
osxNotarize?: ElectronNotarizeOptions;
/**
* If present, signs OS X target apps when the host platform is OS X and XCode is installed.

@@ -214,0 +213,0 @@ */

{
"name": "@types/electron-packager",
"version": "12.0.0",
"version": "13.0.0",
"description": "TypeScript definitions for electron-packager",

@@ -26,5 +26,11 @@ "license": "MIT",

"githubUsername": "shiftkey"
},
{
"name": "Mark Lee",
"url": "https://github.com/malept",
"githubUsername": "malept"
}
],
"main": "",
"types": "index",
"repository": {

@@ -38,4 +44,4 @@ "type": "git",

},
"typesPublisherContentHash": "6dbe8282ad5cabb3b80155b607062856f93640f2bb56c380c4d77d6a81e6d290",
"typesPublisherContentHash": "ed07b59b151ea4be5f6a326475cc51c419bb3401714a08b0d5dec71172001014",
"typeScriptVersion": "2.0"
}

@@ -11,7 +11,7 @@ # Installation

Additional Details
* Last updated: Sat, 14 Jul 2018 01:02:00 GMT
* Dependencies: node
* Last updated: Thu, 13 Dec 2018 01:27:48 GMT
* Dependencies: @types/node
* Global values: none
# Credits
These definitions were written by Maxime LUCE <https://github.com/SomaticIT>, Juan Jimenez-Anca <https://github.com/cortopy>, John Kleinschmidt <https://github.com/jkleinsc>, Brendan Forster <https://github.com/shiftkey>.
These definitions were written by Maxime LUCE <https://github.com/SomaticIT>, Juan Jimenez-Anca <https://github.com/cortopy>, John Kleinschmidt <https://github.com/jkleinsc>, Brendan Forster <https://github.com/shiftkey>, Mark Lee <https://github.com/malept>.

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