5htp-core 0.4.9-95 → 0.4.9-96
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "5htp-core",
|
|
3
3
|
"description": "Convenient TypeScript framework designed for Performance and Productivity.",
|
|
4
|
-
"version": "0.4.9-
|
|
4
|
+
"version": "0.4.9-96",
|
|
5
5
|
"author": "Gaetan Le Gac (https://github.com/gaetanlegac)",
|
|
6
6
|
"repository": "git://github.com/gaetanlegac/5htp-core.git",
|
|
7
7
|
"license": "MIT",
|
|
@@ -27,12 +27,10 @@
|
|
|
27
27
|
color: rgb(101, 103, 107);
|
|
28
28
|
font-weight: 700;
|
|
29
29
|
margin: 0;
|
|
30
|
-
text-transform: uppercase;
|
|
31
30
|
}
|
|
32
31
|
.PlaygroundEditorTheme__h3 {
|
|
33
32
|
font-size: 12px;
|
|
34
33
|
margin: 0;
|
|
35
|
-
text-transform: uppercase;
|
|
36
34
|
}
|
|
37
35
|
.PlaygroundEditorTheme__indent {
|
|
38
36
|
--lexical-indent-base-value: 40px;
|
|
@@ -449,6 +449,9 @@ Logs: ${this.config.enable ? `<br/>` + this.logsToHTML(report.logs) : 'Logs coll
|
|
|
449
449
|
|
|
450
450
|
public jsonToHTML( json: unknown ): string {
|
|
451
451
|
|
|
452
|
+
if (!json)
|
|
453
|
+
return 'No data';
|
|
454
|
+
|
|
452
455
|
const coloredJson = highlight(
|
|
453
456
|
JSON.stringify(json, null, 4),
|
|
454
457
|
{ language: 'json', ignoreIllegals: true }
|