Socket
Socket
Sign inDemoInstall

buddy-cli

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buddy-cli - npm Package Compare versions

Comparing version 6.0.4 to 6.0.5

19

index.js

@@ -5,2 +5,3 @@ 'use strict';

const program = require('commander');
const signalExit = require('signal-exit');

@@ -10,12 +11,18 @@ const useCli = ~require.main.filename.indexOf('buddy-cli');

// Register for uncaught errors and clean up
process.on('uncaughtException', (err) => {
function exit () {
if (buddy) buddy.destroy();
process.exit();
}
function error (err) {
console.log(err.stack ? err.stack : err);
// Ding!
console.log('\x07');
});
process.on('exit', (code) => {
if (buddy) buddy.exceptionalCleanup();
});
exit();
}
// Register for uncaught errors and clean up
process.once('uncaughtException', error);
signalExit(exit);
find(useCli, (err, buddyFactory, version) => {

@@ -22,0 +29,0 @@ if (err) throw err;

{
"name": "buddy-cli",
"version": "6.0.4",
"version": "6.0.5",
"description": "The command-line bootstrapper for Buddy",

@@ -14,3 +14,4 @@ "author": "popeindustries <alex@pope-industries.com>",

"commander": "2.9.0",
"recur-fs": "2.2.x"
"recur-fs": "2.2.x",
"signal-exit": "3.0.1"
},

@@ -17,0 +18,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