Comparing version 2.0.3 to 2.0.4
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="2.0.4"></a> | ||
## [2.0.4](https://github.com/nuxt/consola/compare/v2.0.3...v2.0.4) (2018-11-02) | ||
### Bug Fixes | ||
* **fancy:** remove extra icons ([b66fde0](https://github.com/nuxt/consola/commit/b66fde0)) | ||
<a name="2.0.3"></a> | ||
@@ -7,0 +17,0 @@ ## [2.0.3](https://github.com/nuxt/consola/compare/v2.0.2...v2.0.3) (2018-11-02) |
@@ -528,8 +528,4 @@ 'use strict'; | ||
success: figures('✔'), | ||
error: figures('✖'), | ||
fatal: figures('✖'), | ||
warn: figures('⚠'), | ||
debug: figures('→'), | ||
trace: figures('→'), | ||
log: figures('›') | ||
debug: figures('›'), | ||
trace: figures('›') | ||
}; | ||
@@ -568,3 +564,3 @@ class FancyReporter extends BasicReporter { | ||
const [message, ...additional] = this.formatArgs(logObj.args).split('\n'); | ||
const isBadge = logObj.badge || logObj.level < 2; | ||
const isBadge = typeof logObj.badge !== 'undefined' ? Boolean(logObj.badge) : logObj.level < 2; | ||
const secondaryColor = chalkColor(this.options.secondaryColor); | ||
@@ -571,0 +567,0 @@ const date = secondaryColor(this.formatDate(logObj.date)); |
{ | ||
"name": "consola", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "Elegant Console Logger for Node.js and Browser", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
41501
823