@masterkeymaterial/ui 0.2.18 → 0.2.19
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.
|
@@ -302,6 +302,11 @@ class LibUtil {
|
|
|
302
302
|
LOG(1, "⚠️ JSON Inválido: Não foi possível formatar o JSON.");
|
|
303
303
|
return texto;
|
|
304
304
|
}
|
|
305
|
+
if (!retorno) {
|
|
306
|
+
console.log("⚠️ JSON Vazio: O JSON é vazio ou nulo.", texto);
|
|
307
|
+
return texto;
|
|
308
|
+
}
|
|
309
|
+
;
|
|
305
310
|
if (colorir) {
|
|
306
311
|
let keyNameStart = '<span class="json-key">';
|
|
307
312
|
let nullStart = '<span class="json-null">';
|