Comparing version 1.0.0-alpha.2 to 1.0.0-alpha.3
CHANGELOG | ||
v1.0.0-alpha.2 | ||
- Fix groupEnd issue under Node.js | ||
v1.0.0-alpha.2 | ||
- Support functions that generate messages: log.log(() => `message ${message}`) | ||
@@ -5,0 +8,0 @@ - Support `log.table` |
@@ -381,2 +381,4 @@ 'use strict'; | ||
// TODO - groups need some support under Node.js | ||
}, { | ||
@@ -402,3 +404,3 @@ key: 'group', | ||
message: message, | ||
method: console.groupEnd | ||
method: console.groupEnd || noop | ||
}); | ||
@@ -405,0 +407,0 @@ } |
@@ -24,3 +24,3 @@ 'use strict'; | ||
/* global __VERSION__ */ | ||
var VERSION = typeof '1.0.0-alpha.2' !== 'undefined' ? '1.0.0-alpha.2' : 'untranspiled source'; | ||
var VERSION = typeof '1.0.0-alpha.3' !== 'undefined' ? '1.0.0-alpha.3' : 'untranspiled source'; | ||
@@ -27,0 +27,0 @@ exports.window = window_; |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "1.0.0-alpha.2", | ||
"version": "1.0.0-alpha.3", | ||
"keywords": [ | ||
@@ -8,0 +8,0 @@ "javascript", |
@@ -288,2 +288,3 @@ // Copyright (c) 2017 Uber Technologies, Inc. | ||
// TODO - groups need some support under Node.js | ||
group(priority, message, opts = {}) { | ||
@@ -303,3 +304,3 @@ const {collapsed = false} = opts; | ||
message, | ||
method: console.groupEnd | ||
method: console.groupEnd || noop | ||
}); | ||
@@ -306,0 +307,0 @@ } |
Sorry, the diff of this file is not supported yet
185027
2889