@dxos/shell 0.4.8-main.c67d72c → 0.4.8-main.dcf422f
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 +24 -16
- package/dist/bundle/shell.mjs.map +1 -1
- package/dist/bundle/shell.umd.js +3 -3
- package/dist/bundle/shell.umd.js.map +1 -1
- package/package.json +19 -19
package/dist/bundle/shell.mjs
CHANGED
|
@@ -12860,11 +12860,14 @@ var a7 = Symbol("logInfoProperties"), o7 = (e) => {
|
|
|
12860
12860
|
value: a + "$log"
|
|
12861
12861
|
});
|
|
12862
12862
|
}, d7 = (e) => e && typeof e.then == "function", c7 = (e) => {
|
|
12863
|
-
|
|
12864
|
-
|
|
12865
|
-
|
|
12866
|
-
|
|
12867
|
-
|
|
12863
|
+
let n;
|
|
12864
|
+
if (typeof localStorage > "u" ? globalThis.localStorage_dxlog && (n = globalThis.localStorage_dxlog) : n = localStorage.getItem("dxlog") ?? void 0, !!n)
|
|
12865
|
+
try {
|
|
12866
|
+
return JSON.parse(n);
|
|
12867
|
+
} catch (t) {
|
|
12868
|
+
console.info("can't parse dxlog config", t);
|
|
12869
|
+
return;
|
|
12870
|
+
}
|
|
12868
12871
|
}, V0 = () => {
|
|
12869
12872
|
}, u7 = (e, n) => {
|
|
12870
12873
|
console.log(jt(n, !1, null, !0));
|
|
@@ -13000,7 +13003,7 @@ var g7 = {
|
|
|
13000
13003
|
file: process.env.LOG_CONFIG,
|
|
13001
13004
|
filter: process.env.LOG_FILTER,
|
|
13002
13005
|
processor: process.env.LOG_PROCESSOR
|
|
13003
|
-
} : void 0, t = AS({},
|
|
13006
|
+
} : void 0, t = AS({}, c7(n == null ? void 0 : n.file), n, e);
|
|
13004
13007
|
return {
|
|
13005
13008
|
options: t,
|
|
13006
13009
|
filters: zv(t.filter ?? Rn.INFO),
|
|
@@ -67821,22 +67824,27 @@ var Cd = "/home/runner/work/dxos/dxos/packages/common/context/src/context.ts", y
|
|
|
67821
67824
|
if (this._disposePromise)
|
|
67822
67825
|
return this._disposePromise;
|
|
67823
67826
|
this._isDisposed = !0;
|
|
67824
|
-
|
|
67825
|
-
|
|
67826
|
-
n
|
|
67827
|
+
let n;
|
|
67828
|
+
this._disposePromise = new Promise((r) => {
|
|
67829
|
+
n = r;
|
|
67830
|
+
});
|
|
67831
|
+
const t = [], i = Array.from(this._disposeCallbacks).reverse();
|
|
67832
|
+
for (const r of i)
|
|
67833
|
+
t.push((async () => {
|
|
67827
67834
|
try {
|
|
67828
|
-
await
|
|
67829
|
-
} catch (
|
|
67830
|
-
Ye.catch(
|
|
67835
|
+
await r();
|
|
67836
|
+
} catch (a) {
|
|
67837
|
+
Ye.catch(a, void 0, {
|
|
67831
67838
|
F: Cd,
|
|
67832
|
-
L:
|
|
67839
|
+
L: 132,
|
|
67833
67840
|
S: this,
|
|
67834
|
-
C: (
|
|
67841
|
+
C: (o, s) => o(...s)
|
|
67835
67842
|
});
|
|
67836
67843
|
}
|
|
67837
67844
|
})());
|
|
67838
|
-
return this._disposeCallbacks.length = 0,
|
|
67839
|
-
|
|
67845
|
+
return this._disposeCallbacks.length = 0, Promise.all(t).then(() => {
|
|
67846
|
+
n();
|
|
67847
|
+
}), this._disposePromise;
|
|
67840
67848
|
}
|
|
67841
67849
|
/**
|
|
67842
67850
|
* Raise the error inside the context.
|