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

add-trusted-cert

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

add-trusted-cert - npm Package Compare versions

Comparing version

to
0.5.2

5

lib/index.js

@@ -39,5 +39,6 @@ "use strict";

const params = buildAddTrustedCertCmd(options, certFile);
let sudo = '';
if (options.sudo) {
params.unshift('sudo');
sudo = 'sudo';
}

@@ -47,3 +48,3 @@

stdout
} = await (0, _execa.default)('security', params, execaOpts);
} = await (0, _execa.default)(`${sudo} security`, params, execaOpts);
return stdout;

@@ -50,0 +51,0 @@ }

2

package.json
{
"name": "add-trusted-cert",
"version": "0.5.1",
"version": "0.5.2",
"description": "Add trusted certificates to the macOS system keychain via an API",

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

Sorry, the diff of this file is not supported yet