Comparing version 0.12.0 to 0.13.0
{ | ||
"name": "gluegun", | ||
"version": "0.12.0", | ||
"version": "0.13.0", | ||
"description": "Build yourself a pluggable CLI.", | ||
@@ -38,2 +38,3 @@ "main": "src/index.js", | ||
"minimist": "^1.2.0", | ||
"ora": "^1.1.0", | ||
"prompt-autocompletion": "^0.1.1", | ||
@@ -40,0 +41,0 @@ "prompt-checkbox": "^0.4.2", |
const print = require('../utils/print') | ||
const ora = require('ora') | ||
@@ -46,2 +47,12 @@ /** | ||
/** | ||
* Creates a spinner and starts it up. | ||
* | ||
* @param {string|Object} config The text for the spinner or an ora configuration object. | ||
* @returns The spinner. | ||
*/ | ||
function spin (config) { | ||
return ora(config).start() | ||
} | ||
// return back the feature set | ||
@@ -57,2 +68,4 @@ return { | ||
xmark, | ||
spin, | ||
table: print.table, | ||
@@ -59,0 +72,0 @@ newline: print.newline, |
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
59921
1912
27
+ Addedora@^1.1.0
+ Addedansi-styles@3.2.1(transitive)
+ Addedchalk@2.4.2(transitive)
+ Addedcli-cursor@2.1.0(transitive)
+ Addedcli-spinners@1.3.1(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addedlog-symbols@2.2.0(transitive)
+ Addedmimic-fn@1.2.0(transitive)
+ Addedonetime@2.0.1(transitive)
+ Addedora@1.4.0(transitive)
+ Addedrestore-cursor@2.0.0(transitive)
+ Addedsupports-color@5.5.0(transitive)