mol_data_all
Advanced tools
Comparing version 1.1.1333 to 1.1.1334
@@ -1,1 +0,2 @@ | ||
console.info( '%c ▫ $mol_build ▫ Audit passed', 'color:forestgreen; font-weight:bolder' ) | ||
console.info( '%c place: $mol_build | ||
message: Audit passed', 'color:forestgreen; font-weight:bolder' ) |
{ | ||
"name": "mol_data_all", | ||
"version": "1.1.1333", | ||
"version": "1.1.1334", | ||
"exports": { | ||
@@ -5,0 +5,0 @@ "node": { |
@@ -1,1 +0,2 @@ | ||
console.info( '%c ▫ $mol_build ▫ Audit passed', 'color:forestgreen; font-weight:bolder' ) | ||
console.info( '%c place: $mol_build | ||
message: Audit passed', 'color:forestgreen; font-weight:bolder' ) |
@@ -1032,8 +1032,8 @@ "use strict"; | ||
let tpl = '%c'; | ||
const chunks = Object.values(event); | ||
const chunks = Object.entries(event); | ||
for (let i = 0; i < chunks.length; ++i) { | ||
tpl += (typeof chunks[i] === 'string') ? ' ▫ %s' : ' ▫ %o'; | ||
tpl += (typeof chunks[i][1] === 'string') ? '%s: %s\n' : '%s: %o\n'; | ||
} | ||
const style = `color:${color};font-weight:bolder`; | ||
this.console[level](tpl, style, ...chunks); | ||
this.console[level](tpl, style, ...[].concat(...chunks)); | ||
const self = this; | ||
@@ -1040,0 +1040,0 @@ return () => self.console.groupEnd(); |
Sorry, the diff of this file is not supported yet
855919
8769