heroku-cli-util
Advanced tools
Comparing version 5.10.11 to 5.10.12
@@ -0,1 +1,14 @@ | ||
5.10.11 / 2016-05-16 | ||
==================== | ||
* 5.10.11 | ||
* Add exit.js extracted from heroku-certs ([#65](https://github.com/heroku/heroku-cli-util/issues/65)) | ||
* do log path lookup in node | ||
* use cli.action.warn always | ||
* action.warn improvements | ||
* testing action | ||
* linewrap testing | ||
* ignore coverage directory | ||
* fix exclusion | ||
5.10.10 / 2016-04-21 | ||
@@ -177,3 +190,1 @@ ==================== | ||
* added mocha junit reporter for circle ci | ||
* 5.8.2 | ||
* removed non-displaying license badge |
@@ -6,4 +6,2 @@ 'use strict'; | ||
let task; | ||
function action (message, options, promise) { | ||
@@ -17,3 +15,3 @@ if (options.then) { | ||
task = { | ||
module.exports.task = { | ||
promise: promise, | ||
@@ -23,6 +21,6 @@ spinner: new cli.Spinner({spinner: options.spinner, text: `${message}... `}), | ||
task.spinner.start(); | ||
module.exports.task.spinner.start(); | ||
return promise.then(function (result) { | ||
task.spinner.stop(); | ||
task = null; | ||
module.exports.task.spinner.stop(); | ||
module.exports.task = null; | ||
if (options.success !== false) { | ||
@@ -33,4 +31,4 @@ cli.console.error(options.success || 'done'); | ||
}).catch(function (err) { | ||
task.spinner.stop(); | ||
task = null; | ||
module.exports.task.spinner.stop(); | ||
module.exports.task = null; | ||
if (err.body && err.body.id === 'two_factor') { | ||
@@ -46,7 +44,12 @@ cli.console.error(cli.color.yellow.bold('!')); | ||
function warn (msg) { | ||
if (task) task.spinner.warn(msg); | ||
if (module.exports.task) module.exports.task.spinner.warn(msg); | ||
else errors.warn(msg); | ||
} | ||
function update (msg) { | ||
if (module.exports.task) module.exports.task.spinner.update(msg); | ||
} | ||
module.exports = action; | ||
module.exports.warn = warn; | ||
module.exports.update = update; |
@@ -5,3 +5,3 @@ { | ||
"ansi-regex@^0.2.0", | ||
"/Users/rbriggs/src/github.com/heroku/heroku-cli-util/node_modules/changelog/node_modules/has-ansi" | ||
"/Users/jdickey/src/github.com/heroku/heroku-cli-util/node_modules/changelog/node_modules/has-ansi" | ||
] | ||
@@ -36,3 +36,3 @@ ], | ||
"_spec": "ansi-regex@^0.2.0", | ||
"_where": "/Users/rbriggs/src/github.com/heroku/heroku-cli-util/node_modules/changelog/node_modules/has-ansi", | ||
"_where": "/Users/jdickey/src/github.com/heroku/heroku-cli-util/node_modules/changelog/node_modules/has-ansi", | ||
"author": { | ||
@@ -54,3 +54,3 @@ "email": "sindresorhus@gmail.com", | ||
"shasum": "0d8e946967a3d8143f93e24e298525fc1b2235f9", | ||
"tarball": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-0.2.1.tgz" | ||
"tarball": "http://registry.npmjs.org/ansi-regex/-/ansi-regex-0.2.1.tgz" | ||
}, | ||
@@ -65,27 +65,27 @@ "engines": { | ||
"keywords": [ | ||
"256", | ||
"ansi", | ||
"cli", | ||
"styles", | ||
"color", | ||
"colour", | ||
"colors", | ||
"colour", | ||
"command-line", | ||
"terminal", | ||
"console", | ||
"cli", | ||
"string", | ||
"tty", | ||
"escape", | ||
"find", | ||
"formatting", | ||
"match", | ||
"pattern", | ||
"re", | ||
"rgb", | ||
"256", | ||
"shell", | ||
"xterm", | ||
"command-line", | ||
"text", | ||
"regex", | ||
"regexp", | ||
"rgb", | ||
"shell", | ||
"string", | ||
"styles", | ||
"terminal", | ||
"re", | ||
"match", | ||
"test", | ||
"text", | ||
"tty", | ||
"xterm" | ||
"find", | ||
"pattern" | ||
], | ||
@@ -95,4 +95,4 @@ "license": "MIT", | ||
{ | ||
"name": "sindresorhus", | ||
"email": "sindresorhus@gmail.com" | ||
"email": "sindresorhus@gmail.com", | ||
"name": "sindresorhus" | ||
} | ||
@@ -99,0 +99,0 @@ ], |
@@ -5,3 +5,3 @@ { | ||
"ansi-styles@^1.1.0", | ||
"/Users/rbriggs/src/github.com/heroku/heroku-cli-util/node_modules/changelog/node_modules/chalk" | ||
"/Users/jdickey/src/github.com/heroku/heroku-cli-util/node_modules/changelog/node_modules/chalk" | ||
] | ||
@@ -35,3 +35,3 @@ ], | ||
"_spec": "ansi-styles@^1.1.0", | ||
"_where": "/Users/rbriggs/src/github.com/heroku/heroku-cli-util/node_modules/changelog/node_modules/chalk", | ||
"_where": "/Users/jdickey/src/github.com/heroku/heroku-cli-util/node_modules/changelog/node_modules/chalk", | ||
"author": { | ||
@@ -53,3 +53,3 @@ "email": "sindresorhus@gmail.com", | ||
"shasum": "eaecbf66cd706882760b2f4691582b8f55d7a7de", | ||
"tarball": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.1.0.tgz" | ||
"tarball": "http://registry.npmjs.org/ansi-styles/-/ansi-styles-1.1.0.tgz" | ||
}, | ||
@@ -64,22 +64,22 @@ "engines": { | ||
"keywords": [ | ||
"256", | ||
"ansi", | ||
"cli", | ||
"styles", | ||
"color", | ||
"colour", | ||
"colors", | ||
"colour", | ||
"command-line", | ||
"terminal", | ||
"console", | ||
"cli", | ||
"string", | ||
"tty", | ||
"escape", | ||
"formatting", | ||
"rgb", | ||
"256", | ||
"shell", | ||
"xterm", | ||
"log", | ||
"logging", | ||
"rgb", | ||
"shell", | ||
"string", | ||
"styles", | ||
"terminal", | ||
"text", | ||
"tty", | ||
"xterm" | ||
"command-line", | ||
"text" | ||
], | ||
@@ -89,4 +89,4 @@ "license": "MIT", | ||
{ | ||
"name": "sindresorhus", | ||
"email": "sindresorhus@gmail.com" | ||
"email": "sindresorhus@gmail.com", | ||
"name": "sindresorhus" | ||
} | ||
@@ -93,0 +93,0 @@ ], |
@@ -5,3 +5,3 @@ { | ||
"chalk@^0.5.1", | ||
"/Users/rbriggs/src/github.com/heroku/heroku-cli-util/node_modules/changelog" | ||
"/Users/jdickey/src/github.com/heroku/heroku-cli-util/node_modules/changelog" | ||
] | ||
@@ -35,3 +35,3 @@ ], | ||
"_spec": "chalk@^0.5.1", | ||
"_where": "/Users/rbriggs/src/github.com/heroku/heroku-cli-util/node_modules/changelog", | ||
"_where": "/Users/jdickey/src/github.com/heroku/heroku-cli-util/node_modules/changelog", | ||
"bugs": { | ||
@@ -66,21 +66,21 @@ "url": "https://github.com/sindresorhus/chalk/issues" | ||
"keywords": [ | ||
"256", | ||
"ansi", | ||
"cli", | ||
"color", | ||
"colour", | ||
"colors", | ||
"colour", | ||
"command-line", | ||
"terminal", | ||
"console", | ||
"cli", | ||
"string", | ||
"ansi", | ||
"styles", | ||
"tty", | ||
"formatting", | ||
"rgb", | ||
"256", | ||
"shell", | ||
"xterm", | ||
"log", | ||
"logging", | ||
"rgb", | ||
"shell", | ||
"string", | ||
"styles", | ||
"terminal", | ||
"text", | ||
"tty", | ||
"xterm" | ||
"command-line", | ||
"text" | ||
], | ||
@@ -90,8 +90,8 @@ "license": "MIT", | ||
{ | ||
"name": "sindresorhus", | ||
"email": "sindresorhus@gmail.com" | ||
"email": "sindresorhus@gmail.com", | ||
"name": "sindresorhus" | ||
}, | ||
{ | ||
"name": "jbnicolai", | ||
"email": "jappelman@xebia.com" | ||
"email": "jappelman@xebia.com", | ||
"name": "jbnicolai" | ||
} | ||
@@ -98,0 +98,0 @@ ], |
@@ -5,3 +5,3 @@ { | ||
"has-ansi@^0.1.0", | ||
"/Users/rbriggs/src/github.com/heroku/heroku-cli-util/node_modules/changelog/node_modules/chalk" | ||
"/Users/jdickey/src/github.com/heroku/heroku-cli-util/node_modules/changelog/node_modules/chalk" | ||
] | ||
@@ -35,3 +35,3 @@ ], | ||
"_spec": "has-ansi@^0.1.0", | ||
"_where": "/Users/rbriggs/src/github.com/heroku/heroku-cli-util/node_modules/changelog/node_modules/chalk", | ||
"_where": "/Users/jdickey/src/github.com/heroku/heroku-cli-util/node_modules/changelog/node_modules/chalk", | ||
"author": { | ||
@@ -58,3 +58,3 @@ "email": "sindresorhus@gmail.com", | ||
"shasum": "84f265aae8c0e6a88a12d7022894b7568894c62e", | ||
"tarball": "https://registry.npmjs.org/has-ansi/-/has-ansi-0.1.0.tgz" | ||
"tarball": "http://registry.npmjs.org/has-ansi/-/has-ansi-0.1.0.tgz" | ||
}, | ||
@@ -65,31 +65,31 @@ "engines": { | ||
"files": [ | ||
"cli.js", | ||
"index.js" | ||
"index.js", | ||
"cli.js" | ||
], | ||
"homepage": "https://github.com/sindresorhus/has-ansi", | ||
"keywords": [ | ||
"cli", | ||
"bin", | ||
"ansi", | ||
"bin", | ||
"cli", | ||
"styles", | ||
"color", | ||
"colour", | ||
"colors", | ||
"colour", | ||
"command-line", | ||
"terminal", | ||
"console", | ||
"string", | ||
"tty", | ||
"escape", | ||
"find", | ||
"has", | ||
"match", | ||
"pattern", | ||
"re", | ||
"shell", | ||
"xterm", | ||
"command-line", | ||
"text", | ||
"regex", | ||
"regexp", | ||
"shell", | ||
"string", | ||
"styles", | ||
"terminal", | ||
"re", | ||
"match", | ||
"test", | ||
"text", | ||
"tty", | ||
"xterm" | ||
"find", | ||
"pattern", | ||
"has" | ||
], | ||
@@ -99,4 +99,4 @@ "license": "MIT", | ||
{ | ||
"name": "sindresorhus", | ||
"email": "sindresorhus@gmail.com" | ||
"email": "sindresorhus@gmail.com", | ||
"name": "sindresorhus" | ||
} | ||
@@ -103,0 +103,0 @@ ], |
@@ -5,3 +5,3 @@ { | ||
"lodash@^2.4.1", | ||
"/Users/rbriggs/src/github.com/heroku/heroku-cli-util/node_modules/changelog" | ||
"/Users/jdickey/src/github.com/heroku/heroku-cli-util/node_modules/changelog" | ||
] | ||
@@ -32,7 +32,7 @@ ], | ||
], | ||
"_resolved": "https://registry.npmjs.org/lodash/-/lodash-2.4.2.tgz", | ||
"_resolved": "http://localhost:3000/lodash/-/lodash-2.4.2/fadd834b9683073da179b3eae6d9c0d15053f73e.tgz", | ||
"_shasum": "fadd834b9683073da179b3eae6d9c0d15053f73e", | ||
"_shrinkwrap": null, | ||
"_spec": "lodash@^2.4.1", | ||
"_where": "/Users/rbriggs/src/github.com/heroku/heroku-cli-util/node_modules/changelog", | ||
"_where": "/Users/jdickey/src/github.com/heroku/heroku-cli-util/node_modules/changelog", | ||
"author": { | ||
@@ -48,19 +48,19 @@ "email": "john.david.dalton@gmail.com", | ||
{ | ||
"email": "john.david.dalton@gmail.com", | ||
"name": "John-David Dalton", | ||
"email": "john.david.dalton@gmail.com", | ||
"url": "http://allyoucanleet.com/" | ||
}, | ||
{ | ||
"email": "blaine@iceddev.com", | ||
"name": "Blaine Bublitz", | ||
"email": "blaine@iceddev.com", | ||
"url": "http://www.iceddev.com/" | ||
}, | ||
{ | ||
"email": "github@kitcambridge.be", | ||
"name": "Kit Cambridge", | ||
"email": "github@kitcambridge.be", | ||
"url": "http://kitcambridge.be/" | ||
}, | ||
{ | ||
"email": "mathias@qiwi.be", | ||
"name": "Mathias Bynens", | ||
"email": "mathias@qiwi.be", | ||
"url": "http://mathiasbynens.be/" | ||
@@ -83,9 +83,9 @@ } | ||
"LICENSE.txt", | ||
"lodash.js", | ||
"dist/lodash.js", | ||
"dist/lodash.min.js", | ||
"dist/lodash.compat.js", | ||
"dist/lodash.compat.min.js", | ||
"dist/lodash.js", | ||
"dist/lodash.min.js", | ||
"dist/lodash.underscore.js", | ||
"dist/lodash.underscore.min.js", | ||
"lodash.js" | ||
"dist/lodash.underscore.min.js" | ||
], | ||
@@ -96,6 +96,6 @@ "homepage": "http://lodash.com/", | ||
"LICENSE.txt", | ||
"dist/lodash.js", | ||
"dist/lodash.min.js", | ||
"dist/lodash.compat.js", | ||
"dist/lodash.compat.min.js", | ||
"dist/lodash.js", | ||
"dist/lodash.min.js", | ||
"dist/lodash.underscore.js", | ||
@@ -119,20 +119,20 @@ "dist/lodash.underscore.min.js" | ||
{ | ||
"name": "jdalton", | ||
"email": "john.david.dalton@gmail.com" | ||
"email": "john.david.dalton@gmail.com", | ||
"name": "jdalton" | ||
}, | ||
{ | ||
"name": "mathias", | ||
"email": "mathias@qiwi.be" | ||
"email": "mathias@qiwi.be", | ||
"name": "mathias" | ||
}, | ||
{ | ||
"name": "phated", | ||
"email": "blaine@iceddev.com" | ||
"email": "blaine@iceddev.com", | ||
"name": "phated" | ||
}, | ||
{ | ||
"name": "kitcambridge", | ||
"email": "github@kitcambridge.be" | ||
"email": "github@kitcambridge.be", | ||
"name": "kitcambridge" | ||
}, | ||
{ | ||
"name": "d10", | ||
"email": "demoneaux@gmail.com" | ||
"email": "demoneaux@gmail.com", | ||
"name": "d10" | ||
} | ||
@@ -151,13 +151,13 @@ ], | ||
"ignore": [ | ||
".*", | ||
"*.custom.*", | ||
"*.min.*", | ||
"*.template.*", | ||
"*.map", | ||
"*.md", | ||
"*.min.*", | ||
"*.template.*", | ||
".*", | ||
"lodash.js", | ||
"index.js", | ||
"bower.json", | ||
"component.json", | ||
"doc", | ||
"index.js", | ||
"lodash.js", | ||
"modularize", | ||
@@ -164,0 +164,0 @@ "node_modules", |
@@ -5,3 +5,3 @@ { | ||
"strip-ansi@^0.3.0", | ||
"/Users/rbriggs/src/github.com/heroku/heroku-cli-util/node_modules/changelog/node_modules/chalk" | ||
"/Users/jdickey/src/github.com/heroku/heroku-cli-util/node_modules/changelog/node_modules/chalk" | ||
] | ||
@@ -35,3 +35,3 @@ ], | ||
"_spec": "strip-ansi@^0.3.0", | ||
"_where": "/Users/rbriggs/src/github.com/heroku/heroku-cli-util/node_modules/changelog/node_modules/chalk", | ||
"_where": "/Users/jdickey/src/github.com/heroku/heroku-cli-util/node_modules/changelog/node_modules/chalk", | ||
"author": { | ||
@@ -58,3 +58,3 @@ "email": "sindresorhus@gmail.com", | ||
"shasum": "25f48ea22ca79187f3174a4db8759347bb126220", | ||
"tarball": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.3.0.tgz" | ||
"tarball": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-0.3.0.tgz" | ||
}, | ||
@@ -65,30 +65,30 @@ "engines": { | ||
"files": [ | ||
"cli.js", | ||
"index.js" | ||
"index.js", | ||
"cli.js" | ||
], | ||
"homepage": "https://github.com/sindresorhus/strip-ansi", | ||
"keywords": [ | ||
"256", | ||
"strip", | ||
"trim", | ||
"remove", | ||
"ansi", | ||
"cli", | ||
"styles", | ||
"color", | ||
"colour", | ||
"colors", | ||
"colour", | ||
"command-line", | ||
"terminal", | ||
"console", | ||
"cli", | ||
"string", | ||
"tty", | ||
"escape", | ||
"formatting", | ||
"rgb", | ||
"256", | ||
"shell", | ||
"xterm", | ||
"log", | ||
"logging", | ||
"remove", | ||
"rgb", | ||
"shell", | ||
"string", | ||
"strip", | ||
"styles", | ||
"terminal", | ||
"text", | ||
"trim", | ||
"tty", | ||
"xterm" | ||
"command-line", | ||
"text" | ||
], | ||
@@ -98,4 +98,4 @@ "license": "MIT", | ||
{ | ||
"name": "sindresorhus", | ||
"email": "sindresorhus@gmail.com" | ||
"email": "sindresorhus@gmail.com", | ||
"name": "sindresorhus" | ||
} | ||
@@ -102,0 +102,0 @@ ], |
@@ -5,3 +5,3 @@ { | ||
"supports-color@^0.2.0", | ||
"/Users/rbriggs/src/github.com/heroku/heroku-cli-util/node_modules/changelog/node_modules/chalk" | ||
"/Users/jdickey/src/github.com/heroku/heroku-cli-util/node_modules/changelog/node_modules/chalk" | ||
] | ||
@@ -35,3 +35,3 @@ ], | ||
"_spec": "supports-color@^0.2.0", | ||
"_where": "/Users/rbriggs/src/github.com/heroku/heroku-cli-util/node_modules/changelog/node_modules/chalk", | ||
"_where": "/Users/jdickey/src/github.com/heroku/heroku-cli-util/node_modules/changelog/node_modules/chalk", | ||
"author": { | ||
@@ -56,3 +56,3 @@ "email": "sindresorhus@gmail.com", | ||
"shasum": "d92de2694eb3f67323973d7ae3d8b55b4c22190a", | ||
"tarball": "https://registry.npmjs.org/supports-color/-/supports-color-0.2.0.tgz" | ||
"tarball": "http://registry.npmjs.org/supports-color/-/supports-color-0.2.0.tgz" | ||
}, | ||
@@ -63,27 +63,27 @@ "engines": { | ||
"files": [ | ||
"cli.js", | ||
"index.js" | ||
"index.js", | ||
"cli.js" | ||
], | ||
"homepage": "https://github.com/sindresorhus/supports-color", | ||
"keywords": [ | ||
"256", | ||
"ansi", | ||
"cli", | ||
"bin", | ||
"capability", | ||
"cli", | ||
"cli", | ||
"color", | ||
"colour", | ||
"colors", | ||
"colour", | ||
"command-line", | ||
"terminal", | ||
"console", | ||
"detect", | ||
"cli", | ||
"ansi", | ||
"styles", | ||
"tty", | ||
"rgb", | ||
"256", | ||
"shell", | ||
"styles", | ||
"xterm", | ||
"command-line", | ||
"support", | ||
"supports", | ||
"terminal", | ||
"tty", | ||
"xterm" | ||
"capability", | ||
"detect" | ||
], | ||
@@ -93,4 +93,4 @@ "license": "MIT", | ||
{ | ||
"name": "sindresorhus", | ||
"email": "sindresorhus@gmail.com" | ||
"email": "sindresorhus@gmail.com", | ||
"name": "sindresorhus" | ||
} | ||
@@ -97,0 +97,0 @@ ], |
@@ -5,3 +5,3 @@ { | ||
"changelog@1.0.7", | ||
"/Users/rbriggs/src/github.com/heroku/heroku-cli-util" | ||
"/Users/jdickey/src/github.com/heroku/heroku-cli-util" | ||
] | ||
@@ -38,3 +38,3 @@ ], | ||
"_spec": "changelog@1.0.7", | ||
"_where": "/Users/rbriggs/src/github.com/heroku/heroku-cli-util", | ||
"_where": "/Users/jdickey/src/github.com/heroku/heroku-cli-util", | ||
"author": { | ||
@@ -90,10 +90,10 @@ "email": "dylang@gmail.com", | ||
"keywords": [ | ||
"changelog", | ||
"change log", | ||
"change set", | ||
"changelog", | ||
"changes", | ||
"commit messages", | ||
"commits", | ||
"changes", | ||
"history", | ||
"what's new" | ||
"what's new", | ||
"change set" | ||
], | ||
@@ -109,4 +109,4 @@ "licenses": [ | ||
{ | ||
"name": "dylang", | ||
"email": "dylang@gmail.com" | ||
"email": "dylang@gmail.com", | ||
"name": "dylang" | ||
} | ||
@@ -113,0 +113,0 @@ ], |
{ | ||
"name": "heroku-cli-util", | ||
"description": "Set of helpful CLI utilities", | ||
"version": "5.10.11", | ||
"version": "5.10.12", | ||
"author": "Jeff Dickey (@dickeyxxx)", | ||
@@ -6,0 +6,0 @@ "bugs": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1738407
33749
4