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

@evanpurkhiser/tooling-personal

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@evanpurkhiser/tooling-personal - npm Package Compare versions

Comparing version 1.27.0 to 1.28.0

3

dist/cmd/pr.js

@@ -6,2 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.pr = void 0;
const chalk_1 = __importDefault(require("chalk"));

@@ -163,2 +164,2 @@ const listr2_1 = require("listr2");

}
exports.default = pr;
exports.pr = pr;

@@ -6,2 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.selectCommit = void 0;
const chalk_1 = __importDefault(require("chalk"));

@@ -23,2 +24,2 @@ const simple_git_1 = __importDefault(require("simple-git"));

}
exports.default = selectCommit;
exports.selectCommit = selectCommit;

@@ -16,7 +16,15 @@ "use strict";

const options = {};
await genValues(option => {
const valuesDone = genValues(option => {
if (fzf.stdin.destroyed) {
return;
}
options[option.id] = option;
fzf.stdin.write(`${option.id}\t${option.label.trim()}\n`);
});
fzf.stdin.end();
if (valuesDone instanceof Promise) {
valuesDone.then(() => fzf.stdin.end());
}
else {
fzf.stdin.end();
}
const output = await new Promise(resolve => fzf.stdout.once('data', d => resolve(d.toString())));

@@ -23,0 +31,0 @@ return output

@@ -9,4 +9,4 @@ #!/usr/bin/env node

const yargs_1 = __importDefault(require("yargs"));
const pr_1 = __importDefault(require("./cmd/pr"));
const select_commit_1 = __importDefault(require("./cmd/select-commit"));
const pr_1 = require("./cmd/pr");
const select_commit_1 = require("./cmd/select-commit");
yargs_1.default(process.argv.slice(2))

@@ -22,5 +22,5 @@ .option('color', {

}, true)
.command('pr', 'Create and update PRs', pr_1.default)
.command('select-commit', 'Select a commit hash', select_commit_1.default)
.command('pr', 'Create and update PRs', pr_1.pr)
.command('select-commit', 'Select a commit hash', select_commit_1.selectCommit)
.demandCommand(1, '')
.parse();
{
"name": "@evanpurkhiser/tooling-personal",
"version": "1.27.0",
"version": "1.28.0",
"description": "Evan Purkhiser's personal tooling",

@@ -30,3 +30,3 @@ "repository": "https://github.com/evanpurkhiser/tooling-personal",

"devDependencies": {
"@evanpurkhiser/eslint-config": "^0.17.0",
"@evanpurkhiser/eslint-config": "^0.20.0",
"@tsconfig/node16": "^1.0.1",

@@ -33,0 +33,0 @@ "eslint": "^8.45.0",

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