@dxos/shell 0.6.3-main.6906e91 → 0.6.3-main.84ed9fe
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/bundle/shell.mjs
CHANGED
|
@@ -14955,7 +14955,7 @@ var logInfoProperties = Symbol("logInfoProperties"), gatherLogInfoFromScope = (_
|
|
|
14955
14955
|
I !== void 0 ? _.info(`.${formatFunction($)} ↲ ${greenCheck} ${chalk$1.gray("resolve")} ${formatPromise(j)} ${formatTimeElapsed(U)} ${chalk$1.gray("=>")} ${export_inspect(I, !1, 1, !0)}`, {}, q) : _.info(`.${formatFunction($)} ↲ ${greenCheck} ${chalk$1.gray("resolve")} ${formatPromise(j)} ${formatTimeElapsed(U)}`, {}, q);
|
|
14956
14956
|
}, logAsyncRejected = (_, $, I, j, U, q) => {
|
|
14957
14957
|
_.info(`.${formatFunction($)} ↲ 🔥 ${chalk$1.gray("reject")} ${formatPromise(j)} ${formatTimeElapsed(U)} ${chalk$1.gray("=>")} ${I}`, {}, q);
|
|
14958
|
-
}, greenCheck = chalk$1.green("✔"), formatTimeElapsed = (_) => chalk$1.gray(`${(performance.now() - _).toFixed(0)}ms`), COLOR_FUNCTION = [
|
|
14958
|
+
}, greenCheck = typeof chalk$1.green == "function" ? chalk$1.green("✔") : "✔", formatTimeElapsed = (_) => chalk$1.gray(`${(performance.now() - _).toFixed(0)}ms`), COLOR_FUNCTION = [
|
|
14959
14959
|
220,
|
|
14960
14960
|
220,
|
|
14961
14961
|
170
|
|
@@ -15002,9 +15002,9 @@ var logInfoProperties = Symbol("logInfoProperties"), gatherLogInfoFromScope = (_
|
|
|
15002
15002
|
const G = getContextFromEntry($);
|
|
15003
15003
|
G && q.push(G);
|
|
15004
15004
|
const K = {
|
|
15005
|
-
[LogLevel$1.ERROR]: console.error,
|
|
15006
|
-
[LogLevel$1.WARN]: console.warn,
|
|
15007
|
-
[LogLevel$1.DEBUG]: console.log
|
|
15005
|
+
[LogLevel$1.ERROR]: console.error.bind(console),
|
|
15006
|
+
[LogLevel$1.WARN]: console.warn.bind(console),
|
|
15007
|
+
[LogLevel$1.DEBUG]: console.log.bind(console)
|
|
15008
15008
|
};
|
|
15009
15009
|
(CONFIG.printFileLinks || safariCheck()) && (j != null && j.length ? q = [
|
|
15010
15010
|
`%c${U}
|
|
@@ -15015,7 +15015,7 @@ var logInfoProperties = Symbol("logInfoProperties"), gatherLogInfoFromScope = (_
|
|
|
15015
15015
|
`,
|
|
15016
15016
|
...q
|
|
15017
15017
|
]);
|
|
15018
|
-
const Y = K[$.level] ?? console.log;
|
|
15018
|
+
const Y = K[$.level] ?? console.log.bind(console);
|
|
15019
15019
|
typeof ((ee = $.meta) == null ? void 0 : ee.C) == "function" ? $.meta.C(Y, q) : Y(...q);
|
|
15020
15020
|
}, TEST_BROWSER_PROCESSOR = (_, $) => {
|
|
15021
15021
|
var Y, J, Z;
|