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

electron-notarize

Package Overview
Dependencies
Maintainers
4
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-notarize - npm Package Compare versions

Comparing version 1.1.1 to 1.2.1

8

lib/notarytool.js

@@ -40,3 +40,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

else {
return ['--keychain', opts.keychain, '--keychain-profile', opts.keychainProfile];
// --keychain is optional -- when not specified, the iCloud keychain is used by notarytool
if (opts.keychain) {
return ['--keychain', opts.keychain, '--keychain-profile', opts.keychainProfile];
}
return ['--keychain-profile', opts.keychainProfile];
}

@@ -55,3 +59,3 @@ }

return yield helpers_1.withTempDir((dir) => __awaiter(this, void 0, void 0, function* () {
const zipPath = path.resolve(dir, `${path.basename(opts.appPath, '.app')}.zip`);
const zipPath = path.resolve(dir, `${path.parse(opts.appPath).name}.zip`);
d('zipping application to:', zipPath);

@@ -58,0 +62,0 @@ const zipResult = yield spawn_1.spawn('ditto', ['-c', '-k', '--sequesterRsrc', '--keepParent', path.basename(opts.appPath), zipPath], {

@@ -21,3 +21,3 @@ export interface LegacyNotarizePasswordCredentials {

keychainProfile: string;
keychain: string;
keychain?: string;
}

@@ -24,0 +24,0 @@ export declare type LegacyNotarizeCredentials = LegacyNotarizePasswordCredentials | LegacyNotarizeApiKeyCredentials;

@@ -93,6 +93,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

const keychainCreds = opts;
if (!keychainCreds.keychain) {
throw new Error('The keychain property is required when using notarization with keychain credentials');
}
else if (!keychainCreds.keychainProfile) {
if (!keychainCreds.keychainProfile) {
throw new Error('The keychainProfile property is required when using notarization with keychain credentials');

@@ -99,0 +96,0 @@ }

{
"name": "electron-notarize",
"version": "1.1.1",
"version": "1.2.1",
"description": "Notarize your Electron app",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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