@yuneta/gobj-ui 7.23.174 → 7.23.175
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/gobj-ui.cjs.js +2 -1
- package/dist/gobj-ui.es.js +2 -1
- package/package.json +3 -3
- package/src/yui_dev.js +5 -1
package/dist/gobj-ui.cjs.js
CHANGED
|
@@ -77017,13 +77017,14 @@ function info_log(level, msg, hora) {
|
|
|
77017
77017
|
}
|
|
77018
77018
|
if (text.length > 4e3) text = text.slice(0, 4e3) + "\n…(truncated)";
|
|
77019
77019
|
} else text = (0, _yuneta_gobj_js.is_string)(msg) ? msg : String(msg);
|
|
77020
|
+
let ts = (0, _yuneta_gobj_js.is_string)(hora) && hora.length >= 23 ? hora.slice(11, 23) : traffic_now();
|
|
77020
77021
|
let entry = {
|
|
77021
77022
|
kind: "log",
|
|
77022
77023
|
level: lvl,
|
|
77023
77024
|
text,
|
|
77024
77025
|
dir: 0,
|
|
77025
77026
|
size: 0,
|
|
77026
|
-
ts
|
|
77027
|
+
ts,
|
|
77027
77028
|
hay: (lvl + " " + text).toLowerCase(),
|
|
77028
77029
|
$node: null
|
|
77029
77030
|
};
|
package/dist/gobj-ui.es.js
CHANGED
|
@@ -77012,13 +77012,14 @@ function info_log(level, msg, hora) {
|
|
|
77012
77012
|
}
|
|
77013
77013
|
if (text.length > 4e3) text = text.slice(0, 4e3) + "\n…(truncated)";
|
|
77014
77014
|
} else text = is_string(msg) ? msg : String(msg);
|
|
77015
|
+
let ts = is_string(hora) && hora.length >= 23 ? hora.slice(11, 23) : traffic_now();
|
|
77015
77016
|
let entry = {
|
|
77016
77017
|
kind: "log",
|
|
77017
77018
|
level: lvl,
|
|
77018
77019
|
text,
|
|
77019
77020
|
dir: 0,
|
|
77020
77021
|
size: 0,
|
|
77021
|
-
ts
|
|
77022
|
+
ts,
|
|
77022
77023
|
hay: (lvl + " " + text).toLowerCase(),
|
|
77023
77024
|
$node: null
|
|
77024
77025
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yuneta/gobj-ui",
|
|
3
|
-
"version": "7.23.
|
|
3
|
+
"version": "7.23.175",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/gobj-ui.cjs.js",
|
|
6
6
|
"module": "dist/gobj-ui.es.js",
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@rollup/plugin-terser": "^1.0.0",
|
|
32
32
|
"@vitest/coverage-v8": "^4.1.10",
|
|
33
|
-
"@yuneta/gobj-js": "^7.22.
|
|
33
|
+
"@yuneta/gobj-js": "^7.22.2",
|
|
34
34
|
"vite": "^8.2.1",
|
|
35
35
|
"vitest": "^4.1.10"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@antv/g6": "^5.1.0",
|
|
39
|
-
"@yuneta/gobj-js": "^7.22.
|
|
39
|
+
"@yuneta/gobj-js": "^7.22.2",
|
|
40
40
|
"bulma": "^1.0.4",
|
|
41
41
|
"i18next": "^26.3.6",
|
|
42
42
|
"maplibre-gl": "^6.4.1",
|
package/src/yui_dev.js
CHANGED
|
@@ -1064,9 +1064,13 @@ function info_log(level, msg, hora)
|
|
|
1064
1064
|
} else {
|
|
1065
1065
|
text = is_string(msg) ? msg : String(msg);
|
|
1066
1066
|
}
|
|
1067
|
+
/* The time the line was WRITTEN, which the backlog replayed to a
|
|
1068
|
+
* late sink makes different from now: `hora` is gobj-js's local
|
|
1069
|
+
* timestamp (YYYY-MM-DDTHH:MM:SS.mmm±hhmm). */
|
|
1070
|
+
let ts = (is_string(hora) && hora.length >= 23) ? hora.slice(11, 23) : traffic_now();
|
|
1067
1071
|
let entry = {
|
|
1068
1072
|
kind: "log", level: lvl, text: text,
|
|
1069
|
-
dir: 0, size: 0, ts:
|
|
1073
|
+
dir: 0, size: 0, ts: ts,
|
|
1070
1074
|
hay: (lvl + " " + text).toLowerCase(), $node: null,
|
|
1071
1075
|
};
|
|
1072
1076
|
/* Buffered always: the window shows what the app logged before it
|