Comparing version 1.4.1 to 1.4.2
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="1.4.2"></a> | ||
## [1.4.2](https://github.com/nuxt/consola/compare/v1.4.1...v1.4.2) (2018-08-12) | ||
### Bug Fixes | ||
* cannot set level as 0 in options ([4c1ecce](https://github.com/nuxt/consola/commit/4c1ecce)) | ||
<a name="1.4.1"></a> | ||
@@ -7,0 +17,0 @@ ## [1.4.1](https://github.com/nuxt/consola/compare/v1.4.0...v1.4.1) (2018-05-27) |
@@ -101,3 +101,3 @@ 'use strict'; | ||
this.types = Object.assign({}, types, options.types); | ||
this.level = options.level || 30; | ||
this.level = options.level != null ? options.level : 3; | ||
Object.assign(this, this.withDefaults()); | ||
@@ -104,0 +104,0 @@ } |
{ | ||
"name": "consola", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "Elegant Console Logger", | ||
@@ -5,0 +5,0 @@ "main": "./dist/consola.cjs.js", |
@@ -7,3 +7,3 @@ import types from './types' | ||
this.types = Object.assign({}, types, options.types) | ||
this.level = options.level || 30 | ||
this.level = options.level != null ? options.level : 3 | ||
@@ -10,0 +10,0 @@ Object.assign(this, this.withDefaults()) |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
23789
1