@dpuse/dpuse-shared 1.0.218 → 1.0.219
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/README.md
CHANGED
|
@@ -270,16 +270,16 @@ _Note: Sonda's Vite reports currently exclude CSS files, since Vite does not gen
|
|
|
270
270
|
|
|
271
271
|
| Chunk/Module/File | Composition |
|
|
272
272
|
| :-------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------- |
|
|
273
|
-
| **dist/dpuse-shared.es.js** |
|
|
274
|
-
| src → index.ts + 16 more | `███████████████░░░░░`
|
|
275
|
-
| ↳ index.ts | `▒▒▒▒▒▒▒▒▒░░░░░░░░░░░` 46.
|
|
276
|
-
| ↳ objectParsing.ts | `▒▒▒░░░░░░░░░░░░░░░░░` 14.
|
|
273
|
+
| **dist/dpuse-shared.es.js** | 67.1 kB · gzip 16.0 kB · 100.0% of the build |
|
|
274
|
+
| src → index.ts + 16 more | `███████████████░░░░░` 74.0% · 49.6 kB |
|
|
275
|
+
| ↳ index.ts | `▒▒▒▒▒▒▒▒▒░░░░░░░░░░░` 46.4% · 31.1 kB |
|
|
276
|
+
| ↳ objectParsing.ts | `▒▒▒░░░░░░░░░░░░░░░░░` 14.6% · 9.8 kB |
|
|
277
277
|
| ↳ tableSchema.ts | `▒░░░░░░░░░░░░░░░░░░░` 3.0% · 2.0 kB |
|
|
278
278
|
| ↳ delimitedText.ts | `░░░░░░░░░░░░░░░░░░░░` 2.4% · 1.6 kB |
|
|
279
279
|
| ↳ connectorConfig.schema.ts | `░░░░░░░░░░░░░░░░░░░░` 2.0% · 1.3 kB |
|
|
280
280
|
| ↳ componentConfig.schema.ts | `░░░░░░░░░░░░░░░░░░░░` 1.4% · 942 B |
|
|
281
|
-
| ↳ 11 smaller files | `▒░░░░░░░░░░░░░░░░░░░`
|
|
282
|
-
| valibot → dist/index.mjs | `███░░░░░░░░░░░░░░░░░` 13.
|
|
281
|
+
| ↳ 11 smaller files | `▒░░░░░░░░░░░░░░░░░░░` 4.2% · 2.8 kB |
|
|
282
|
+
| valibot → dist/index.mjs | `███░░░░░░░░░░░░░░░░░` 13.4% · 9.0 kB |
|
|
283
283
|
| (bundler output, whitespace & JSON) | `███░░░░░░░░░░░░░░░░░` 12.6% · 8.4 kB |
|
|
284
284
|
|
|
285
285
|
Bars show each row's share of its output file. ↳ rows are part of the row above.
|
package/dist/dpuse-shared.es.js
CHANGED
|
@@ -2463,17 +2463,21 @@ function Ct(e) {
|
|
|
2463
2463
|
return e == null ? null : e instanceof Date ? e.toISOString() : String(e);
|
|
2464
2464
|
}
|
|
2465
2465
|
// src/component/module/connector/webLock.ts
|
|
2466
|
-
async function wt(e) {
|
|
2467
|
-
let
|
|
2468
|
-
if (e == null)
|
|
2469
|
-
else return new Promise((e) => {
|
|
2470
|
-
|
|
2466
|
+
async function wt(e, t = {}) {
|
|
2467
|
+
let n = Promise.withResolvers(), r = { isGranted: !1 }, i = navigator.locks.request(e, t.takeOver === !0 ? { steal: !0 } : { ifAvailable: !0 }, (e) => {
|
|
2468
|
+
if (e == null) n.resolve(void 0);
|
|
2469
|
+
else return r.isGranted = !0, new Promise((e) => {
|
|
2470
|
+
n.resolve(e);
|
|
2471
2471
|
});
|
|
2472
|
-
}),
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2472
|
+
}), a = (async () => {
|
|
2473
|
+
try {
|
|
2474
|
+
await i;
|
|
2475
|
+
} catch (e) {
|
|
2476
|
+
r.isGranted ? e instanceof DOMException && e.name === "AbortError" && t.onLost?.() : n.reject(e instanceof Error ? e : Error(String(e)));
|
|
2477
|
+
}
|
|
2478
|
+
})(), o = await n.promise;
|
|
2479
|
+
if (o != null) return async () => {
|
|
2480
|
+
o(), await a;
|
|
2477
2481
|
};
|
|
2478
2482
|
}
|
|
2479
2483
|
var Tt = /* @__PURE__ */ v({ fields: /* @__PURE__ */ h(/* @__PURE__ */ v({
|