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

@gauseen/gum

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gauseen/gum - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

bin/index.js

4

package.json
{
"name": "@gauseen/gum",
"version": "1.0.1",
"version": "1.0.2",
"description": "git multiple user config manager",
"bin": "./src/bin/index.js",
"bin": "./bin/index.js",
"scripts": {},

@@ -7,0 +7,0 @@ "keywords": [

@@ -35,2 +35,6 @@ # Git multiple user config manager

Options:
-V, --version output the version number
-h, --help display help for command
Commands:

@@ -46,1 +50,8 @@ list List all the user config group

```
## Change Log
### v1.0.2
- feat: `gum --version` cmd
- fix: support node v9.0.0

@@ -17,4 +17,8 @@ const shell = require('shelljs');

const pkg = require('../package.json');
const program = new commander.Command('gum');
program.version(pkg.version);
program.command('list').description('List all the user config group').action(onList);

@@ -21,0 +25,0 @@

@@ -26,4 +26,7 @@ const path = require('path');

function getUsingGitUserConfig() {
const name = getProjectGitUserConfig()?.name || getGlobalGitUserConfig()?.name;
const email = getProjectGitUserConfig()?.email || getGlobalGitUserConfig()?.email;
const project = getProjectGitUserConfig() || {};
const global = getGlobalGitUserConfig() || {};
const name = project.name || global.name;
const email = project.email || global.email;
return {

@@ -30,0 +33,0 @@ email,

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