coffeelint-stylish
Advanced tools
Comparing version 0.1.1 to 0.1.2
20
index.js
@@ -42,3 +42,3 @@ var StylishReporter, chalk, err_sign, happy_sign, is_win, reporter, table, warn_sign; | ||
if (warns > 0) { | ||
ret += chalk.yellow("" + warn_sign + " " + warns + " warning" + (warns === 1 ? '' : 's')); | ||
ret += chalk.yellow(warn_sign + " " + warns + " warning" + (warns === 1 ? '' : 's')); | ||
if (errs > 0) { | ||
@@ -49,6 +49,6 @@ ret += '\n'; | ||
if (errs > 0) { | ||
ret += chalk.red("" + err_sign + " " + errs + " error" + (errs === 1 ? '' : 's')); | ||
ret += chalk.red(err_sign + " " + errs + " error" + (errs === 1 ? '' : 's')); | ||
} | ||
if (errs === 0 && warns === 0) { | ||
ret += chalk.green("" + happy_sign + " No problems"); | ||
ret += chalk.green(happy_sign + " No problems"); | ||
ret = '\n' + ret.trim(); | ||
@@ -67,10 +67,10 @@ } | ||
StylishReporter.prototype.publish = function() { | ||
var filename, results, _ref, _results; | ||
_ref = this.error_report.paths; | ||
_results = []; | ||
for (filename in _ref) { | ||
results = _ref[filename]; | ||
_results.push(StylishReporter.reporter(filename, results)); | ||
var filename, ref, results, results1; | ||
ref = this.error_report.paths; | ||
results1 = []; | ||
for (filename in ref) { | ||
results = ref[filename]; | ||
results1.push(StylishReporter.reporter(filename, results)); | ||
} | ||
return _results; | ||
return results1; | ||
}; | ||
@@ -77,0 +77,0 @@ |
{ | ||
"name": "coffeelint-stylish", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Stylish reporter for CoffeeLint", | ||
@@ -34,3 +34,3 @@ "keywords": [ | ||
"dependencies": { | ||
"chalk": "^0.5.1", | ||
"chalk": "^1.0.0", | ||
"text-table": "^0.2.0" | ||
@@ -42,8 +42,8 @@ }, | ||
"coveralls": "^2.10.0", | ||
"del": "^1.1.1", | ||
"gulp": "^3.6.0", | ||
"gulp-clean": "^0.3.1", | ||
"gulp-coffee": "^2.1.2", | ||
"gulp-util": "^3.0.0", | ||
"istanbul": "^0.3.0", | ||
"mocha": "^1.18.0" | ||
"mocha": "^2.1.0" | ||
}, | ||
@@ -50,0 +50,0 @@ "engines": { |
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
5572
+ Addedansi-regex@2.1.1(transitive)
+ Addedansi-styles@2.2.1(transitive)
+ Addedchalk@1.1.3(transitive)
+ Addedhas-ansi@2.0.0(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedsupports-color@2.0.0(transitive)
- Removedansi-regex@0.2.1(transitive)
- Removedansi-styles@1.1.0(transitive)
- Removedchalk@0.5.1(transitive)
- Removedhas-ansi@0.1.0(transitive)
- Removedstrip-ansi@0.3.0(transitive)
- Removedsupports-color@0.2.0(transitive)
Updatedchalk@^1.0.0