(stream)
| 16 | reset: '', |
| 17 | hasColors: false, |
| 18 | shouldColorize(stream) { |
| 19 | if (process.env.FORCE_COLOR !== undefined) { |
| 20 | return lazyInternalTTY().getColorDepth() > 2; |
| 21 | } |
| 22 | return stream?.isTTY && ( |
| 23 | typeof stream.getColorDepth === 'function' ? |
| 24 | stream.getColorDepth() > 2 : true); |
| 25 | }, |
| 26 | refresh() { |
| 27 | if (module.exports.shouldColorize(process.stderr)) { |
| 28 | module.exports.blue = '\u001b[34m'; |
no test coverage detected
searching dependent graphs…