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

heroku-cli-util

Package Overview
Dependencies
Maintainers
27
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

heroku-cli-util - npm Package Compare versions

Comparing version 6.1.3 to 6.1.4

.nyc_output/0d81d862cd71fa5bcfb452d662582516.json

1

index.js

@@ -31,3 +31,2 @@ 'use strict'

exports.styledJSON = styled.styledJSON
exports.rollbar = require('./lib/rollbar')
exports.open = require('./lib/open')

@@ -34,0 +33,0 @@ exports.got = require('./lib/got')

@@ -48,16 +48,2 @@ 'use strict'

function errHandlerOpts (rollbar, context) {
rollbar = rollbar || {}
let cmd = null
if (context.command) cmd = context.command.command ? `${context.command.topic}:${context.command.command}` : context.command.topic
return {
debug: context.debug,
dev: context.dev,
rollbar: cli.rollbar(rollbar.cred, {
version: context.version,
context: cmd
})
}
}
function login () {

@@ -122,3 +108,3 @@ const spawn = require('child_process').spawn

cli.color.enabled = context.supportsColor
let handleErr = cli.errorHandler(errHandlerOpts(options.rollbar, context))
let handleErr = cli.errorHandler({debug: context.debug})
let run = function () {

@@ -125,0 +111,0 @@ let p = fn(context, heroku(context))

@@ -106,5 +106,3 @@ 'use strict'

if (err.body) log(JSON.stringify(err.body))
if (options.dev) exit()
else if (options.rollbar) options.rollbar.error(err).then(exit, exit)
else exit()
exit()
} catch (err) {

@@ -111,0 +109,0 @@ console.error(err.stack)

{
"name": "heroku-cli-util",
"description": "Set of helpful CLI utilities",
"version": "6.1.3",
"version": "6.1.4",
"author": "Jeff Dickey (@dickeyxxx)",

@@ -34,3 +34,2 @@ "bugs": {

"chai": "^3.0.0",
"changelog": "1.0.7",
"codeclimate-test-reporter": "0.4.0",

@@ -61,6 +60,3 @@ "hook-std": "0.2.0",

"scripts": {
"changelog": "changelog heroku-cli-util all -m > CHANGELOG.md",
"doc": "jsdoc lib",
"postversion": "npm publish && git push && git push --tags",
"preversion": "npm test",
"test": "nyc mocha && standard"

@@ -67,0 +63,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