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

gal

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gal - npm Package Compare versions

Comparing version 0.0.42 to 0.0.43

15

dist/index.js

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

};
//
;

@@ -32,9 +33,9 @@ (async ({ version }) => {

.version(`${version}`, '-v, --version')
.option('-d, --dry', 'run in dry mode');
.option('-d, --dry', 'run in dry mode', process.env.NODE_ENV !== 'production');
const git = simpleGit({
baseDir: process.cwd(),
binary: 'git'
}).outputHandler((bin, stdout, stderr, args) => {
}).outputHandler((bin, stdout, stderr, [cmd]) => {
assert.equal(bin, 'git');
if (args.length > 1 && !args.includes('status')) {
if (!/^(status|remote)/.test(`${cmd}`)) {
stdout.pipe(process.stdout);

@@ -52,15 +53,15 @@ stderr.pipe(process.stderr);

.description('git pull <origin> <branch>')
.action(async () => void git.pull(remote, current));
.action(async () => void (await git.pull(remote, current)));
prog
.command('fetch')
.description('git fetch <remote> <branch>')
.action(async () => void git.fetch(remote, current));
.action(async () => void (await git.fetch(remote, current)));
prog
.command('push')
.description('git pull <remote> <branch>')
.action(async () => void git.push(remote, current));
.action(async () => void (await git.push(remote, current)));
prog
.command('prune')
.description('git remote prune <remote>, cleaning up local branches')
.action(async () => void git.remote(['prune', remote]));
.action(async () => void (await git.remote(['prune', remote])));
prog

@@ -67,0 +68,0 @@ .command('rm ')

{
"name": "gal",
"version": "0.0.42",
"version": "0.0.43",
"description": "Git add, commit, and push in one line.",

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

"build": "tsc",
"dev": "tsc -w",
"prepare": "yarn build",
"gal": "node dist/index.js"
"dev": "NODE_ENV=development tsc -w",
"prepare": "NODE_ENV=production yarn build",
"gal": "NODE_ENV=development node dist/index.js"
},

@@ -33,0 +33,0 @@ "devDependencies": {

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