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

jam-pack-nodegui

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jam-pack-nodegui - npm Package Compare versions

Comparing version 0.7.0 to 0.8.0

19

dist/fetchstep.js

@@ -81,2 +81,4 @@ "use strict";

}
logger.info(`Using git url: '${__classPrivateFieldGet(this, _FetchStep_gitUrl, "f")}'`);
logger.info(`Using git branch: '${__classPrivateFieldGet(this, _FetchStep_gitBranch, "f")}'`);
__classPrivateFieldSet(this, _FetchStep_tempDirectory, prepareStep.getTempDirectory(), "f");

@@ -125,4 +127,4 @@ __classPrivateFieldSet(this, _FetchStep_gitSourcePath, path.join(__classPrivateFieldGet(this, _FetchStep_tempDirectory, "f"), __classPrivateFieldGet(this, _FetchStep_gitSourceDirectoryName, "f")), "f");

const urlCommand = "git config --get remote.origin.url";
const { result: urlResult, output: url } = await (0, utils_js_1.executeCommandAndCaptureOutput)(urlCommand);
if (urlResult !== 0) {
const { result: urlReturnCode, output: url } = await (0, utils_js_1.executeCommandAndCaptureOutput)(urlCommand);
if (urlReturnCode !== 0) {
logger.error(`An error occurred while running command '${urlCommand}': ${url}`);

@@ -132,9 +134,14 @@ return null;

const branchCommand = "git branch --show-current";
const { result: resultBranch, output: branch } = await (0, utils_js_1.executeCommandAndCaptureOutput)(branchCommand);
if (resultBranch !== 0) {
logger.error(`An error occurred while running command '${urlCommand}': ${branch}`);
const { result: branchReturnCode, output: branchOutput } = await (0, utils_js_1.executeCommandAndCaptureOutput)(branchCommand);
if (branchReturnCode !== 0) {
logger.error(`An error occurred while running command '${urlCommand}': ${branchOutput}`);
return null;
}
return { url: url.trim(), branch: branch.trim() };
const branch = branchOutput.trim();
if (branch === "") {
logger.error(`Unable to determine the current git branch. (Response from '${branchCommand}' was: '${branchOutput}')`);
return null;
}
return { url: url.trim(), branch };
};
//# sourceMappingURL=fetchstep.js.map

@@ -28,7 +28,7 @@ #!/usr/bin/env node

program.option("-D, --define <setting>", "Define a setting. (Overrides the config file)", collectSetting, []);
program.action(() => {
execute(program, Action.package);
program.action(async () => {
process.exit(await execute(program, Action.package) ? 0 : 1);
});
program.command("check").action(async () => {
await execute(program, Action.check);
process.exit(await execute(program, Action.check) ? 0 : 1);
});

@@ -50,7 +50,5 @@ await program.parseAsync();

case Action.check:
await plan.preflightCheck();
break;
return await plan.preflightCheck();
case Action.package:
await plan.execute();
break;
return await plan.execute();
}

@@ -57,0 +55,0 @@ }

{
"name": "jam-pack-nodegui",
"version": "0.7.0",
"version": "0.8.0",
"description": "Tool to package NodeGui applications",

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

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