jshint-stylish
Advanced tools
Comparing version 0.3.0 to 0.4.0
{ | ||
"name": "jshint-stylish", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "Stylish reporter for JSHint", | ||
@@ -31,9 +31,10 @@ "license": "MIT", | ||
"dependencies": { | ||
"chalk": "~0.4.0", | ||
"text-table": "~0.2.0" | ||
"chalk": "^0.5.1", | ||
"log-symbols": "^1.0.0", | ||
"text-table": "^0.2.0" | ||
}, | ||
"devDependencies": { | ||
"mocha": "*", | ||
"jshint": "~2" | ||
"jshint": "^2" | ||
} | ||
} |
'use strict'; | ||
var chalk = require('chalk'); | ||
var table = require('text-table'); | ||
var logSymbols = require('log-symbols'); | ||
@@ -46,5 +47,5 @@ module.exports = { | ||
if (total > 0) { | ||
ret += chalk.red((process.platform !== 'win32' ? '✖ ' : '') + total + ' problem' + (total === 1 ? '' : 's')); | ||
ret += logSymbols.error + ' ' + total + ' problem' + (total === 1 ? '' : 's'); | ||
} else { | ||
ret += chalk.green((process.platform !== 'win32' ? '✔ ' : '') + 'No problems'); | ||
ret += logSymbols.success + ' No problems'; | ||
ret = '\n' + ret.trim(); | ||
@@ -51,0 +52,0 @@ } |
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
46
3225
3
+ Addedlog-symbols@^1.0.0
+ Addedansi-regex@0.2.12.1.1(transitive)
+ Addedansi-styles@1.1.02.2.1(transitive)
+ Addedchalk@0.5.11.1.3(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedhas-ansi@0.1.02.0.0(transitive)
+ Addedlog-symbols@1.0.2(transitive)
+ Addedstrip-ansi@0.3.03.0.1(transitive)
+ Addedsupports-color@0.2.02.0.0(transitive)
- Removedansi-styles@1.0.0(transitive)
- Removedchalk@0.4.0(transitive)
- Removedhas-color@0.1.7(transitive)
- Removedstrip-ansi@0.1.1(transitive)
Updatedchalk@^0.5.1
Updatedtext-table@^0.2.0