@midscene/visualizer 1.0.4-beta-20251223105123.0 → 1.0.4-beta-20251223112206.0
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.
|
@@ -72,8 +72,10 @@ function _object_spread_props(target, source) {
|
|
|
72
72
|
return target;
|
|
73
73
|
}
|
|
74
74
|
function formatError(error) {
|
|
75
|
+
var _error_dump;
|
|
75
76
|
if (!error) return '';
|
|
76
77
|
if ('string' == typeof error) return error;
|
|
78
|
+
if (null == error ? void 0 : null == (_error_dump = error.dump) ? void 0 : _error_dump.error) return error.dump.error;
|
|
77
79
|
if (error.message) return String(error.message);
|
|
78
80
|
try {
|
|
79
81
|
return JSON.stringify(error);
|
|
@@ -100,8 +100,10 @@ function _object_spread_props(target, source) {
|
|
|
100
100
|
return target;
|
|
101
101
|
}
|
|
102
102
|
function formatError(error) {
|
|
103
|
+
var _error_dump;
|
|
103
104
|
if (!error) return '';
|
|
104
105
|
if ('string' == typeof error) return error;
|
|
106
|
+
if (null == error ? void 0 : null == (_error_dump = error.dump) ? void 0 : _error_dump.error) return error.dump.error;
|
|
105
107
|
if (error.message) return String(error.message);
|
|
106
108
|
try {
|
|
107
109
|
return JSON.stringify(error);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midscene/visualizer",
|
|
3
|
-
"version": "1.0.4-beta-
|
|
3
|
+
"version": "1.0.4-beta-20251223112206.0",
|
|
4
4
|
"repository": "https://github.com/web-infra-dev/midscene",
|
|
5
5
|
"homepage": "https://midscenejs.com/",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -60,10 +60,10 @@
|
|
|
60
60
|
"antd": "^5.21.6",
|
|
61
61
|
"buffer": "6.0.3",
|
|
62
62
|
"dayjs": "^1.11.11",
|
|
63
|
-
"@midscene/core": "1.0.4-beta-
|
|
64
|
-
"@midscene/playground": "1.0.4-beta-
|
|
65
|
-
"@midscene/shared": "1.0.4-beta-
|
|
66
|
-
"@midscene/web": "1.0.4-beta-
|
|
63
|
+
"@midscene/core": "1.0.4-beta-20251223112206.0",
|
|
64
|
+
"@midscene/playground": "1.0.4-beta-20251223112206.0",
|
|
65
|
+
"@midscene/shared": "1.0.4-beta-20251223112206.0",
|
|
66
|
+
"@midscene/web": "1.0.4-beta-20251223112206.0"
|
|
67
67
|
},
|
|
68
68
|
"license": "MIT",
|
|
69
69
|
"scripts": {
|