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

gh

Package Overview
Dependencies
Maintainers
2
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gh - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

test/cmds/nt.js

1

bin/gh.js

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

operations.push(git.getCurrentBranch);
operations.push(base.checkVersion);
operations.push(base.login);

@@ -50,0 +51,0 @@

@@ -16,3 +16,4 @@ /*

prompt = require('cli-prompt'),
logger = require('./logger');
logger = require('./logger'),
updateNotifier = require('update-notifier');

@@ -74,2 +75,15 @@ exports.github = new github({

exports.checkVersion = function(opt_callback) {
var notifier = updateNotifier({
packagePath: '../package',
updateCheckInterval: 1000 * 60 * 60 * 24 // 1 day
});
if (notifier.update) {
notifier.notify();
}
opt_callback && opt_callback();
};
exports.find = function(filepath, opt_pattern) {

@@ -76,0 +90,0 @@ return fs.readdirSync(filepath).filter(function(file) {

5

package.json
{
"name": "gh",
"description": "Github command line tools helps you improve using git and github from the terminal.",
"version": "0.1.8",
"version": "0.1.9",
"author": {

@@ -42,3 +42,4 @@ "name": "Eduardo Lundgren",

"nopt": "2.1.1",
"open": "0.0.3"
"open": "0.0.3",
"update-notifier": "0.1.3"
},

@@ -45,0 +46,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