@tmlmobilidade/utils 20250901.2037.53 → 20250901.2038.51
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/dist/src/logs/logs.d.ts +1 -1
- package/dist/src/logs/logs.js +3 -3
- package/package.json +1 -1
package/dist/src/logs/logs.d.ts
CHANGED
package/dist/src/logs/logs.js
CHANGED
|
@@ -131,10 +131,10 @@ class LogsClass {
|
|
|
131
131
|
if (typeof item === 'string')
|
|
132
132
|
return item;
|
|
133
133
|
if (!item.cols)
|
|
134
|
-
return item.txt;
|
|
134
|
+
return String(item.txt);
|
|
135
135
|
if (item.align === 'right')
|
|
136
|
-
return item.txt.padStart(item.cols);
|
|
137
|
-
return item.txt.padEnd(item.cols);
|
|
136
|
+
return String(item.txt).padStart(item.cols);
|
|
137
|
+
return String(item.txt).padEnd(item.cols);
|
|
138
138
|
})
|
|
139
139
|
.join(' ');
|
|
140
140
|
}
|
package/package.json
CHANGED