Socket
Socket
Sign inDemoInstall

heroku-cli-util

Package Overview
Dependencies
Maintainers
16
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 5.10.9 to 5.10.10

.codeclimate.yml

37

CHANGELOG.md

@@ -0,1 +1,8 @@

5.10.9 / 2016-04-20
===================
* 5.10.9
* added release color
* update badges
5.10.8 / 2016-04-20

@@ -193,31 +200,1 @@ ===================

added open function
* 5.7.4
* added pre/postversion steps
* updated lodash + nock
5.7.4 / 2016-01-27
==================
* 5.7.3
* 5.7.2
5.7.2 / 2016-01-04
==================
* Merge pull request [#42](https://github.com/heroku/heroku-cli-util/issues/42) from heroku/reason-required
prompt for reason if requested by API
* prompt for sudo reason
* Merge pull request [#40](https://github.com/heroku/heroku-cli-util/issues/40) from heroku/relogin
Use CLI to login again if the API key isn't valid.
* Use CLI to login again if the API key isn't valid.
* small refactor to command function
* 5.7.1
5.7.1 / 2015-12-08
==================
* Merge pull request [#46](https://github.com/heroku/heroku-cli-util/issues/46) from heroku/rollbar-context
fix rollbar context string with default topic commands
* fix rollbar context string with default topic commands
* Merge pull request [#45](https://github.com/heroku/heroku-cli-util/issues/45) from heroku/add_styled_name_values_to_exports
add styled name values to exports

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

boundColors.release = s => chalk.blue.bold(s);
boundColors.cmd = s => chalk.cyan.bold(s);

@@ -21,0 +22,0 @@ boundColors.heroku = s => {

'use strict';
let execSync = require('child_process').execSync;
let cp = require('child_process');
function enable () {
if (process.platform !== 'darwin') return;
function toggle (onoff) {
if (exports.platform !== 'darwin') return;
try {
execSync(`osascript -e 'if application "yubiswitch" is running then tell application "yubiswitch" to KeyOn'`, {stdio: 'inherit'});
} catch (err) { }
cp.execSync(`osascript -e 'if application "yubiswitch" is running then tell application "yubiswitch" to ${onoff}'`, {stdio: 'inherit'});
} catch (err) {}
}
function disable () {
if (process.platform !== 'darwin') return;
try {
execSync(`osascript -e 'if application "yubiswitch" is running then tell application "yubiswitch" to KeyOff'`, {stdio: 'inherit'});
} catch (err) { }
}
exports.enable = () => toggle('KeyOn');
exports.disable = () => toggle('KeyOff');
module.exports = {
enable,
disable,
};
exports.platform = process.platform;
{
"name": "heroku-cli-util",
"description": "Set of helpful CLI utilities",
"version": "5.10.9",
"version": "5.10.10",
"author": "Jeff Dickey (@dickeyxxx)",

@@ -16,3 +16,3 @@ "bugs": {

"heroku-client": "2.4.3",
"lodash": "4.8.2",
"lodash": "4.11.1",
"opn": "3.0.3",

@@ -25,2 +25,3 @@ "supports-color": "3.1.2",

"changelog": "1.0.7",
"codeclimate-test-reporter": "0.3.1",
"coveralls": "2.11.9",

@@ -31,8 +32,6 @@ "hook-std": "0.2.0",

"mocha": "^2.2.4",
"mocha-junit-reporter": "1.10.0",
"nock": "8.0.0",
"nyc": "6.2.1",
"nyc": "6.4.0",
"proxyquire": "1.7.4",
"sinon": "1.17.3",
"sinon-chai": "2.8.0"
"sinon": "1.17.3"
},

@@ -44,8 +43,8 @@ "homepage": "https://github.com/heroku/heroku-cli-util",

"scripts": {
"coverage": "nyc report --reporter=text-lcov | coveralls",
"coverage": "nyc report --reporter=text-lcov | codeclimate-test-reporter && nyc report --reporter=text-lcov | coveralls",
"doc": "jsdoc lib",
"postversion": "npm publish && git push && git push --tags",
"preversion": "npm test && changelog heroku-cli-util all -m > CHANGELOG.md && git add CHANGELOG.md",
"test": "nyc mocha --require ./test/helpers.js && jshint ."
"test": "nyc mocha && jshint ."
}
}

@@ -1,7 +0,7 @@

# heroku-cli-util
# heroku-cli-util [![Circle CI](https://circleci.com/gh/heroku/heroku-cli-util/tree/master.svg?style=svg)](https://circleci.com/gh/heroku/heroku-cli-util/tree/master)
[![Circle CI](https://circleci.com/gh/heroku/heroku-cli-util/tree/master.svg?style=svg)](https://circleci.com/gh/heroku/heroku-cli-util/tree/master)
[![npm version](https://badge.fury.io/js/heroku-cli-util.svg)](http://badge.fury.io/js/heroku-cli-util)
[![Code Climate](https://codeclimate.com/github/heroku/heroku-cli-util/badges/gpa.svg)](https://codeclimate.com/github/heroku/heroku-cli-util)
[![Test Coverage](https://codeclimate.com/github/heroku/heroku-cli-util/badges/coverage.svg)](https://codeclimate.com/github/heroku/heroku-cli-util/coverage)
[![npm version](https://badge.fury.io/js/heroku-cli-util.svg)](http://badge.fury.io/js/heroku-cli-util)
[![License](https://img.shields.io/github/license/heroku/heroku-cli-util.svg)](https://github.com/heroku/heroku-cli-util/blob/master/LICENSE)

@@ -8,0 +8,0 @@ Set of helpful CLI utilities

Sorry, the diff of this file is not supported yet

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