@typeberry/lib 0.1.2-953c012 → 0.1.2-b7cae5d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +2 -2
- package/index.js +2 -2
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -8052,8 +8052,8 @@ function print(level, levelAndName, strings, data) {
|
|
|
8052
8052
|
return;
|
|
8053
8053
|
}
|
|
8054
8054
|
const lvlText = Level[level].padEnd(5);
|
|
8055
|
-
const val = strings.map((v, idx) => `${v}${
|
|
8056
|
-
const msg = `${lvlText} [${levelAndName[1]}] ${val
|
|
8055
|
+
const val = strings.map((v, idx) => `${v}${data[idx]}`);
|
|
8056
|
+
const msg = `${lvlText} [${levelAndName[1]}] ${val}`;
|
|
8057
8057
|
if (level === Level.WARN) {
|
|
8058
8058
|
console.warn(msg);
|
|
8059
8059
|
}
|
package/index.js
CHANGED
|
@@ -8049,8 +8049,8 @@ function print(level, levelAndName, strings, data) {
|
|
|
8049
8049
|
return;
|
|
8050
8050
|
}
|
|
8051
8051
|
const lvlText = Level[level].padEnd(5);
|
|
8052
|
-
const val = strings.map((v, idx) => `${v}${
|
|
8053
|
-
const msg = `${lvlText} [${levelAndName[1]}] ${val
|
|
8052
|
+
const val = strings.map((v, idx) => `${v}${data[idx]}`);
|
|
8053
|
+
const msg = `${lvlText} [${levelAndName[1]}] ${val}`;
|
|
8054
8054
|
if (level === Level.WARN) {
|
|
8055
8055
|
console.warn(msg);
|
|
8056
8056
|
}
|