ora_spinners
Advanced tools
Comparing version 1.0.0 to 1.0.1
10
index.js
@@ -9,3 +9,3 @@ let exp = require('./index.json'), c = require('chalk'), ls = require('log-symbols'), pathed = require('object-path')(exp); | ||
exp.succeed = (what) => { | ||
exports.succeed = (what) => { | ||
let chalkF = pathed.get(what + '.succeed.color') || 'green'; | ||
@@ -18,3 +18,3 @@ chalkF = c[chalkF]; | ||
exp.fail = (what) => { | ||
exports.fail = (what) => { | ||
let chalkF = pathed.get(what + '.fail.color') || 'red'; | ||
@@ -27,3 +27,3 @@ chalkF = c[chalkF]; | ||
exp.warn = (what) => { | ||
exports.warn = (what) => { | ||
let chalkF = pathed.get(what + '.warn.color') || 'yellow'; | ||
@@ -36,3 +36,3 @@ chalkF = c[chalkF]; | ||
exp.info = (what) => { | ||
exports.info = (what) => { | ||
let chalkF = pathed.get(what + '.info.color') || 'blue'; | ||
@@ -45,2 +45,2 @@ chalkF = c[chalkF]; | ||
module.exports = exp; | ||
module.exports = Object.assign({}, exports, exp); |
{ | ||
"name": "ora_spinners", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Additions to Ora's default spinners.", | ||
@@ -5,0 +5,0 @@ "main": "index.json", |
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
17231