Socket
Socket
Sign inDemoInstall

@rushstack/debug-certificate-manager

Package Overview
Dependencies
Maintainers
3
Versions
397
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rushstack/debug-certificate-manager - npm Package Compare versions

Comparing version 1.3.46 to 1.3.47

2

dist/tsdoc-metadata.json

@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.

"packageName": "@microsoft/api-extractor",
"packageVersion": "7.43.6"
"packageVersion": "7.43.7"
}
]
}

@@ -168,3 +168,3 @@ "use strict";

]);
if (winUntrustResult.code !== 0) {
if (winUntrustResult.exitCode !== 0) {
terminal.writeErrorLine(`Error: ${winUntrustResult.stderr.join(' ')}`);

@@ -187,3 +187,3 @@ return false;

]);
if (macFindCertificateResult.code !== 0) {
if (macFindCertificateResult.exitCode !== 0) {
terminal.writeErrorLine(`Error finding the development certificate: ${macFindCertificateResult.stderr.join(' ')}`);

@@ -206,3 +206,3 @@ return false;

]);
if (macUntrustResult.code === 0) {
if (macUntrustResult.exitCode === 0) {
terminal.writeVerboseLine('Successfully untrusted development certificate.');

@@ -383,3 +383,3 @@ return true;

]);
if (winTrustResult.code !== 0) {
if (winTrustResult.exitCode !== 0) {
terminal.writeErrorLine(`Error: ${winTrustResult.stdout.toString()}`);

@@ -391,3 +391,3 @@ const errorLines = winTrustResult.stdout

// Not sure if this is always the status code for "cancelled" - should confirm.
if (winTrustResult.code === 2147943623 ||
if (winTrustResult.exitCode === 2147943623 ||
errorLines[errorLines.length - 1].indexOf('The operation was canceled by the user.') > 0) {

@@ -419,3 +419,3 @@ terminal.writeLine('Certificate trust cancelled.');

]);
if (result.code === 0) {
if (result.exitCode === 0) {
terminal.writeVerboseLine('Successfully trusted development certificate.');

@@ -430,3 +430,3 @@ return true;

else {
terminal.writeErrorLine(`Certificate trust failed with an unknown error. Exit code: ${result.code}. ` +
terminal.writeErrorLine(`Certificate trust failed with an unknown error. Exit code: ${result.exitCode}. ` +
`Error: ${result.stderr.join(' ')}`);

@@ -453,3 +453,3 @@ return false;

]);
if (winVerifyStoreResult.code !== 0) {
if (winVerifyStoreResult.exitCode !== 0) {
terminal.writeVerboseLine('The development certificate was not found in the store. CertUtil error: ', winVerifyStoreResult.stderr.join(' '));

@@ -472,3 +472,3 @@ return false;

]);
if (macFindCertificateResult.code !== 0) {
if (macFindCertificateResult.exitCode !== 0) {
terminal.writeVerboseLine('The development certificate was not found in keychain. Find certificate error: ', macFindCertificateResult.stderr.join(' '));

@@ -514,3 +514,3 @@ return false;

]);
if (repairStoreResult.code !== 0) {
if (repairStoreResult.exitCode !== 0) {
terminal.writeVerboseLine(`CertUtil Error: ${repairStoreResult.stderr.join('')}`);

@@ -517,0 +517,0 @@ terminal.writeVerboseLine(`CertUtil: ${repairStoreResult.stdout.join('')}`);

export interface IRunResult {
stdout: string[];
stderr: string[];
code: number;
/**
* The exit code, or -1 if the child process was terminated by a signal
*/
exitCode: number;
}

@@ -6,0 +9,0 @@ export interface ISudoOptions {

@@ -32,4 +32,5 @@ "use strict";

});
childProcess.on('close', (code) => {
resolve({ code, stdout, stderr });
childProcess.on('close', (exitCode, signal) => {
const normalizedExitCode = typeof exitCode === 'number' ? exitCode : signal ? -1 : 0;
resolve({ exitCode: normalizedExitCode, stdout, stderr });
});

@@ -36,0 +37,0 @@ });

{
"name": "@rushstack/debug-certificate-manager",
"version": "1.3.46",
"version": "1.3.47",
"description": "Cross-platform functionality to create debug ssl certificates.",

@@ -16,9 +16,9 @@ "main": "lib/index.js",

"sudo": "~1.0.3",
"@rushstack/node-core-library": "4.3.0",
"@rushstack/terminal": "0.11.0"
"@rushstack/terminal": "0.11.1",
"@rushstack/node-core-library": "5.0.0"
},
"devDependencies": {
"@types/node-forge": "1.0.4",
"@rushstack/heft": "0.66.9",
"local-node-rig": "1.0.0"
"local-node-rig": "1.0.0",
"@rushstack/heft": "0.66.10"
},

@@ -25,0 +25,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

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