New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

applesign

Package Overview
Dependencies
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

applesign - npm Package Compare versions

Comparing version 3.9.3 to 3.9.4

2

bin/applesign.js

@@ -20,3 +20,2 @@ #!/usr/bin/env node

const options = config.compile(conf);
await tools.findInPath();
const as = new Applesign(options);

@@ -56,2 +55,3 @@ // initialize

} catch (e) {
process.exitCode = 1;
console.error(e);

@@ -58,0 +58,0 @@ } finally {

@@ -116,7 +116,5 @@ 'use strict';

await this.zipIPA();
} catch (e) {
process.exitCode = 1;
console.error(e);
} finally {
await this.cleanup();
}
await this.cleanup();
return this;

@@ -123,0 +121,0 @@ }

@@ -32,2 +32,3 @@ 'use strict';

const cmd = {};
let cmdInited = false;

@@ -75,16 +76,18 @@ async function execProgram (bin, arg, opt) {

async function findInPath () {
return new Promise((resolve, reject) => {
const keys = Object.keys(cmdSpec);
for (const key of keys) {
try {
cmd[key] = which.sync(key);
} catch (err) {
}
function findInPath () {
if (cmdInited) {
return;
}
cmdInited = true;
const keys = Object.keys(cmdSpec);
for (const key of keys) {
try {
cmd[key] = which.sync(key);
} catch (err) {
}
resolve();
});
}
}
function getTool (tool) {
findInPath();
if (!(tool in cmd)) {

@@ -314,3 +317,2 @@ if (isDramatic(tool)) {

[
findInPath,
codesign,

@@ -317,0 +319,0 @@ pseudoSign,

@@ -94,3 +94,3 @@ {

"name": "applesign",
"version": "3.9.3"
"version": "3.9.4"
}
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