tap-mocha-reporter
Advanced tools
Comparing version 0.0.25 to 0.0.26
@@ -9,3 +9,3 @@ /** | ||
, utils = require('../utils') | ||
, supportsColor = process.env ? require('supports-color') : null; | ||
, supportsColor = require('color-support')() | ||
@@ -12,0 +12,0 @@ /** |
@@ -13,2 +13,3 @@ exports = module.exports = Classic | ||
, uclen = require('unicode-length').get | ||
, colorSupport = require('color-support')() | ||
@@ -48,3 +49,4 @@ function hasOwnProperty (obj, key) { | ||
palette = 6 | ||
// TODO: add a TrueColor one that looks nicer | ||
palette = colorSupport.has256 ? 6 : 1 | ||
@@ -51,0 +53,0 @@ var plain = '' |
{ | ||
"name": "tap-mocha-reporter", | ||
"version": "0.0.25", | ||
"version": "0.0.26", | ||
"description": "Format a TAP stream using Mocha's set of reporters", | ||
@@ -20,2 +20,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"color-support": "^1.1.0", | ||
"debug": "^2.1.3", | ||
@@ -26,3 +27,2 @@ "diff": "^1.3.2", | ||
"js-yaml": "^3.3.1", | ||
"supports-color": "^1.3.1", | ||
"tap-parser": "^1.0.4", | ||
@@ -32,3 +32,3 @@ "unicode-length": "^1.0.0" | ||
"devDependencies": { | ||
"tap": "^1.0.0-beta" | ||
"tap": "^6.2.0" | ||
}, | ||
@@ -35,0 +35,0 @@ "bin": "index.js", |
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
110082
135827
3255
6
+ Addedcolor-support@^1.1.0
+ Addedcolor-support@1.1.3(transitive)
- Removedsupports-color@^1.3.1
- Removedsupports-color@1.3.1(transitive)