@brickkit/cli 0.11.0 → 0.13.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.
- package/dashboard-dist/CollapsiblePanel-CbUysOp5.js +2 -0
- package/dashboard-dist/CompositeRoot-D4sRkYq3.js +1 -0
- package/dashboard-dist/Geist-Variable.woff2 +0 -0
- package/dashboard-dist/GeistMono-Variable.woff2 +0 -0
- package/dashboard-dist/PopoverPopup-CiI2avT_.js +1 -0
- package/dashboard-dist/api-reference-mT9VNcPb.js +265 -0
- package/dashboard-dist/app.css +2 -2
- package/dashboard-dist/app.js +12 -13
- package/dashboard-dist/ccount-CcG1m-Yh.js +1 -0
- package/dashboard-dist/client-CwATkLJa.js +1 -0
- package/dashboard-dist/core-BEUWp6B5.js +1 -0
- package/dashboard-dist/docs-BRrtyxDB.js +4 -0
- package/dashboard-dist/docs.css +1 -1
- package/dashboard-dist/kit.js +1 -1
- package/dashboard-dist/popover-Bj9x-88h.js +1 -0
- package/dist/bin.d.ts +0 -2
- package/dist/bin.js +309 -211
- package/dist/bin.js.map +1 -1
- package/dist/build.js +463 -0
- package/dist/build.js.map +1 -0
- package/dist/client-contract-file.js +356 -1
- package/dist/client-contract-file.js.map +1 -0
- package/dist/compiler.d.ts +12 -3
- package/dist/compiler.js +1 -1
- package/dist/compiler2.js +13 -7
- package/dist/compiler2.js.map +1 -1
- package/dist/config.d.ts +3 -0
- package/dist/config.js +1 -252
- package/dist/config2.d.ts +122 -0
- package/dist/config2.js +207 -0
- package/dist/config2.js.map +1 -0
- package/dist/dashboard-extension.d.ts +3 -2
- package/dist/{dev-telemetry-store.js → dashboard-host.js} +1381 -1432
- package/dist/dashboard-host.js.map +1 -0
- package/dist/dashboard-protocol.js +189 -0
- package/dist/dashboard-protocol.js.map +1 -0
- package/dist/dashboard.d.ts +8 -135
- package/dist/definitions.js +33 -0
- package/dist/definitions.js.map +1 -0
- package/dist/dev-application.js +34 -0
- package/dist/dev-application.js.map +1 -0
- package/dist/dev-protocol.js +21 -0
- package/dist/dev-protocol.js.map +1 -0
- package/dist/dev-reporter.d.ts +0 -2
- package/dist/dev-reporter.js +3 -3
- package/dist/dev-reporter.js.map +1 -1
- package/dist/dev-telemetry.js +8 -24
- package/dist/dev-telemetry.js.map +1 -1
- package/dist/dev-worker.js +80 -21
- package/dist/dev-worker.js.map +1 -1
- package/dist/index.d.ts +18 -87
- package/dist/index.js +12 -6
- package/dist/index.js.map +1 -0
- package/dist/lint/oxlint.d.ts +0 -2
- package/dist/lint/oxlint.js +6 -5
- package/dist/lint/oxlint.js.map +1 -1
- package/dist/own-module.js +7 -0
- package/dist/own-module.js.map +1 -0
- package/dist/plugin.d.ts +6 -11
- package/dist/plugin.js +6 -42
- package/dist/plugin.js.map +1 -1
- package/dist/production-dashboard.d.ts +2 -0
- package/dist/production-dashboard.js +51 -0
- package/dist/production-dashboard.js.map +1 -0
- package/dist/production-dashboard2.d.ts +34 -0
- package/dist/{presets.js → project.js} +107 -113
- package/dist/project.js.map +1 -0
- package/dist/serve.d.ts +24 -0
- package/dist/serve.js +1 -0
- package/dist/serve2.js +49 -0
- package/dist/serve2.js.map +1 -0
- package/dist/vite.d.ts +0 -2
- package/dist/vite.js +28 -51
- package/dist/vite.js.map +1 -1
- package/dist/workflows.d.ts +2 -4
- package/dist/workflows2.js +60 -39
- package/dist/workflows2.js.map +1 -1
- package/inspector-dist/client/assets/api.rpc-BvRk9kiK.js +0 -0
- package/inspector-dist/client/assets/api.stream._streamId-BvRk9kiK.js +0 -0
- package/inspector-dist/client/assets/app-CeSwVsRm.css +2 -0
- package/inspector-dist/client/assets/dist-BK8w6xOr.js +3930 -0
- package/inspector-dist/client/assets/dist-CG2aVufI.js +197 -0
- package/inspector-dist/client/assets/entry.client-D9jbgmTR.js +9391 -0
- package/inspector-dist/client/assets/highlighted-body-B3W2YXNL-CfRnuITN.js +34 -0
- package/inspector-dist/client/assets/home-hwPlkNhv.js +4034 -0
- package/inspector-dist/client/assets/jsx-runtime-CPEah4WQ.js +7084 -0
- package/inspector-dist/client/assets/manifest-0e76e9ac.js +1 -0
- package/inspector-dist/client/assets/mermaid-3ZIDBTTL-ZDR2PNY_.js +1 -0
- package/inspector-dist/client/assets/root-ChBNTZd2.css +2 -0
- package/inspector-dist/client/assets/root-SLeEf-sT.js +320 -0
- package/inspector-dist/client/assets/run-detail-DYbVkIFH.js +1871 -0
- package/inspector-dist/client/assets/tabs-CaJisoyb.js +73751 -0
- package/inspector-dist/client/assets/tabs-L5XKzOpP.css +1 -0
- package/inspector-dist/client/assets/zstd-browser-decoder-D94wmfAU.js +41 -0
- package/inspector-dist/server/assets/app-DGlfWVUI.js +99330 -0
- package/inspector-dist/server/assets/chunk-RLXIAIE6-F0SJZlei.js +42975 -0
- package/inspector-dist/server/assets/dist-BCbwm6jl.js +10325 -0
- package/inspector-dist/server/assets/dist-CG2aVufI.js +197 -0
- package/inspector-dist/server/assets/dist-Ce0I2PUv.js +1137 -0
- package/inspector-dist/server/assets/dist-DY0UlahA.js +1642 -0
- package/inspector-dist/server/assets/encryption-DdQgC8Rk.js +886 -0
- package/inspector-dist/server/assets/event-metadata-n7E4zEmT.js +145 -0
- package/inspector-dist/server/assets/functions-CNVQtbgg.js +1170 -0
- package/inspector-dist/server/assets/global-singleton-D8sIN5du.js +80 -0
- package/inspector-dist/server/assets/highlighted-body-B3W2YXNL-CWRzMxYD.js +34 -0
- package/inspector-dist/server/assets/mermaid-3ZIDBTTL-D0v0ngVr.js +1 -0
- package/inspector-dist/server/assets/parse-Begau9cA.js +469 -0
- package/inspector-dist/server/assets/rolldown-runtime-C1I3wEg2.js +43 -0
- package/inspector-dist/server/assets/serialization-format-BbuGfHog.js +476 -0
- package/inspector-dist/server/assets/token-BgMmJNP5.js +60 -0
- package/inspector-dist/server/assets/token-BrUX0bxz.js +55 -0
- package/inspector-dist/server/assets/token-util-DZN32qmT.js +455 -0
- package/inspector-dist/server/assets/wrapper-CIC3w0oC.js +3624 -0
- package/inspector-dist/server/assets/ws-transport-CxTYB11n.js +29476 -0
- package/inspector-dist/server/assets/zstd-browser-decoder-D7bCXbGg.js +38 -0
- package/inspector-dist/server/index.js +1 -58
- package/package.json +39 -28
- package/vite-client.d.ts +1 -1
- package/dashboard-dist/CollapsiblePanel-BX79_W-b.js +0 -2
- package/dashboard-dist/CompositeRoot-xzybXjnx.js +0 -1
- package/dashboard-dist/PopoverPopup-CvlmC7EL.js +0 -1
- package/dashboard-dist/api-reference-BcAYVYwJ.js +0 -260
- package/dashboard-dist/core-BGO9JZ1r.js +0 -1
- package/dashboard-dist/docs-DHikPD2v.js +0 -4
- package/dashboard-dist/popover-DG498XHH.js +0 -1
- package/dist/app-entry.js +0 -1
- package/dist/app-entry2.js +0 -19
- package/dist/app-entry2.js.map +0 -1
- package/dist/bin.d.ts.map +0 -1
- package/dist/client-contract-file2.js +0 -34
- package/dist/client-contract-file2.js.map +0 -1
- package/dist/client-contract.js +0 -1
- package/dist/client-contract2.js +0 -294
- package/dist/client-contract2.js.map +0 -1
- package/dist/config.js.map +0 -1
- package/dist/dashboard-extension.d.ts.map +0 -1
- package/dist/dev-reporter.d.ts.map +0 -1
- package/dist/dev-telemetry-store.js.map +0 -1
- package/dist/emit.d.ts +0 -7
- package/dist/emit.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/lint/oxlint.d.ts.map +0 -1
- package/dist/plugin.d.ts.map +0 -1
- package/dist/presets.js.map +0 -1
- package/dist/runner.js +0 -523
- package/dist/runner.js.map +0 -1
- package/dist/vite.d.ts.map +0 -1
- package/dist/workflows.d.ts.map +0 -1
- package/inspector-dist/client/assets/api.rpc-l0sNRNKZ.js +0 -1
- package/inspector-dist/client/assets/api.stream._streamId-l0sNRNKZ.js +0 -1
- package/inspector-dist/client/assets/app-CvoGgWcV.css +0 -1
- package/inspector-dist/client/assets/entry.client-BJ6G3n5t.js +0 -11697
- package/inspector-dist/client/assets/highlighted-body-B3W2YXNL-C-3wZnxf.js +0 -19
- package/inspector-dist/client/assets/home-CSKAS4P2.js +0 -4979
- package/inspector-dist/client/assets/index-DECCyMR0.js +0 -4482
- package/inspector-dist/client/assets/index-Dot7CgrA.js +0 -9837
- package/inspector-dist/client/assets/index-HqNj_XIX.js +0 -200
- package/inspector-dist/client/assets/manifest-139c9319.js +0 -1
- package/inspector-dist/client/assets/mermaid-3ZIDBTTL-DC0K8uTy.js +0 -58626
- package/inspector-dist/client/assets/mermaid-3ZIDBTTL-F88p7PFX.css +0 -1
- package/inspector-dist/client/assets/root-BMHd_XHz.css +0 -1
- package/inspector-dist/client/assets/root-cbi6iYwg.js +0 -305
- package/inspector-dist/client/assets/run-detail-CWoGxu_0.css +0 -1
- package/inspector-dist/client/assets/run-detail-Cc7tSGNq.js +0 -6237
- package/inspector-dist/client/assets/world-config-context-BAD1QCrR.js +0 -26
- package/inspector-dist/client/assets/zstd-browser-decoder-BQoRpP7L.js +0 -28
- package/inspector-dist/server/assets/app-DUP5RybL.js +0 -174880
- package/inspector-dist/server/assets/highlighted-body-B3W2YXNL-D2g4hL2-.js +0 -71
- package/inspector-dist/server/assets/index-BfLBLRRi.js +0 -204
- package/inspector-dist/server/assets/index-BzrGWk7J.js +0 -1164
- package/inspector-dist/server/assets/index-D71yP6AL.js +0 -191
- package/inspector-dist/server/assets/index-wGSWRns3.js +0 -1296
- package/inspector-dist/server/assets/mermaid-3ZIDBTTL-DsvuKoEV.js +0 -58
- package/inspector-dist/server/assets/token-ClUZZwXl.js +0 -95
- package/inspector-dist/server/assets/token-util-DSxMZ6nI.js +0 -33
- package/inspector-dist/server/assets/wrapper-B3vstpCO.js +0 -67
- package/inspector-dist/server/assets/zstd-browser-decoder-Dn82m2BU.js +0 -77
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { createRequire as __wkfCreateRequire } from "node:module";
|
|
2
|
-
if (typeof require === "undefined") {
|
|
3
|
-
globalThis.require = __wkfCreateRequire(import.meta.url);
|
|
4
|
-
}
|
|
5
|
-
import { N as Nt } from "./app-DUP5RybL.js";
|
|
6
|
-
import "node:stream";
|
|
7
|
-
import "stream";
|
|
8
|
-
import "util";
|
|
9
|
-
import "crypto";
|
|
10
|
-
import "async_hooks";
|
|
11
|
-
import "node:crypto";
|
|
12
|
-
import "node:util";
|
|
13
|
-
import "node:async_hooks";
|
|
14
|
-
import "node:module";
|
|
15
|
-
import "node:url";
|
|
16
|
-
import "node:fs";
|
|
17
|
-
import "node:fs/promises";
|
|
18
|
-
import "node:path";
|
|
19
|
-
import "node:os";
|
|
20
|
-
import "node:child_process";
|
|
21
|
-
import "path";
|
|
22
|
-
import "fs";
|
|
23
|
-
import "constants";
|
|
24
|
-
import "assert";
|
|
25
|
-
import "events";
|
|
26
|
-
import "node:timers/promises";
|
|
27
|
-
import "node:buffer";
|
|
28
|
-
import "node:http";
|
|
29
|
-
import "node:https";
|
|
30
|
-
import "node:zlib";
|
|
31
|
-
import "node:assert";
|
|
32
|
-
import "node:net";
|
|
33
|
-
import "node:querystring";
|
|
34
|
-
import "node:events";
|
|
35
|
-
import "node:diagnostics_channel";
|
|
36
|
-
import "node:tls";
|
|
37
|
-
import "node:perf_hooks";
|
|
38
|
-
import "node:util/types";
|
|
39
|
-
import "node:sqlite";
|
|
40
|
-
import "node:worker_threads";
|
|
41
|
-
import "node:console";
|
|
42
|
-
import "node:timers";
|
|
43
|
-
import "node:dns";
|
|
44
|
-
import "os";
|
|
45
|
-
import "module";
|
|
46
|
-
import "assert/strict";
|
|
47
|
-
import "net";
|
|
48
|
-
import "node:assert/strict";
|
|
49
|
-
import "https";
|
|
50
|
-
import "http";
|
|
51
|
-
import "tls";
|
|
52
|
-
import "url";
|
|
53
|
-
import "zlib";
|
|
54
|
-
import "buffer";
|
|
55
|
-
import "node:process";
|
|
56
|
-
export {
|
|
57
|
-
Nt as Mermaid
|
|
58
|
-
};
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { createRequire as __wkfCreateRequire } from "node:module";
|
|
2
|
-
if (typeof require === "undefined") {
|
|
3
|
-
globalThis.require = __wkfCreateRequire(import.meta.url);
|
|
4
|
-
}
|
|
5
|
-
import { bw as requireTokenError, bv as requireTokenUtil, bu as getDefaultExportFromCjs } from "./app-DUP5RybL.js";
|
|
6
|
-
function _mergeNamespaces(n, m) {
|
|
7
|
-
for (var i = 0; i < m.length; i++) {
|
|
8
|
-
const e = m[i];
|
|
9
|
-
if (typeof e !== "string" && !Array.isArray(e)) {
|
|
10
|
-
for (const k in e) {
|
|
11
|
-
if (k !== "default" && !(k in n)) {
|
|
12
|
-
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
13
|
-
if (d) {
|
|
14
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: () => e[k]
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
24
|
-
}
|
|
25
|
-
var token$2;
|
|
26
|
-
var hasRequiredToken;
|
|
27
|
-
function requireToken() {
|
|
28
|
-
if (hasRequiredToken) return token$2;
|
|
29
|
-
hasRequiredToken = 1;
|
|
30
|
-
var __defProp = Object.defineProperty;
|
|
31
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
32
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
33
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
34
|
-
var __export = (target, all) => {
|
|
35
|
-
for (var name in all)
|
|
36
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
37
|
-
};
|
|
38
|
-
var __copyProps = (to, from, except, desc) => {
|
|
39
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
40
|
-
for (let key of __getOwnPropNames(from))
|
|
41
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
42
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
43
|
-
}
|
|
44
|
-
return to;
|
|
45
|
-
};
|
|
46
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
47
|
-
var token_exports = {};
|
|
48
|
-
__export(token_exports, {
|
|
49
|
-
refreshToken: () => refreshToken
|
|
50
|
-
});
|
|
51
|
-
token$2 = __toCommonJS(token_exports);
|
|
52
|
-
var import_token_error = requireTokenError();
|
|
53
|
-
var import_token_util = requireTokenUtil();
|
|
54
|
-
async function refreshToken(options) {
|
|
55
|
-
let projectId = options?.project;
|
|
56
|
-
let teamId = options?.team;
|
|
57
|
-
if (!projectId && !teamId) {
|
|
58
|
-
const projectInfo = (0, import_token_util.findProjectInfo)();
|
|
59
|
-
projectId = projectInfo.projectId;
|
|
60
|
-
teamId = projectInfo.teamId;
|
|
61
|
-
} else if (!projectId || !teamId) {
|
|
62
|
-
const projectInfo = (0, import_token_util.findProjectInfo)();
|
|
63
|
-
projectId = projectId ?? projectInfo.projectId;
|
|
64
|
-
teamId = teamId ?? projectInfo.teamId;
|
|
65
|
-
}
|
|
66
|
-
if (!projectId) {
|
|
67
|
-
throw new import_token_error.VercelOidcTokenError(
|
|
68
|
-
"Failed to refresh OIDC token: No project specified. Try re-linking your project with `vc link`"
|
|
69
|
-
);
|
|
70
|
-
}
|
|
71
|
-
let maybeToken = (0, import_token_util.loadToken)(projectId);
|
|
72
|
-
if (!maybeToken || (0, import_token_util.isExpired)((0, import_token_util.getTokenPayload)(maybeToken.token), options?.expirationBufferMs)) {
|
|
73
|
-
const authToken = await (0, import_token_util.getVercelToken)({
|
|
74
|
-
expirationBufferMs: options?.expirationBufferMs
|
|
75
|
-
});
|
|
76
|
-
maybeToken = await (0, import_token_util.getVercelOidcToken)(authToken, projectId, teamId);
|
|
77
|
-
if (!maybeToken) {
|
|
78
|
-
throw new import_token_error.VercelOidcTokenError("Failed to refresh OIDC token");
|
|
79
|
-
}
|
|
80
|
-
(0, import_token_util.saveToken)(maybeToken, projectId);
|
|
81
|
-
}
|
|
82
|
-
process.env.VERCEL_OIDC_TOKEN = maybeToken.token;
|
|
83
|
-
return;
|
|
84
|
-
}
|
|
85
|
-
return token$2;
|
|
86
|
-
}
|
|
87
|
-
var tokenExports = requireToken();
|
|
88
|
-
const token = /* @__PURE__ */ getDefaultExportFromCjs(tokenExports);
|
|
89
|
-
const token$1 = /* @__PURE__ */ _mergeNamespaces({
|
|
90
|
-
__proto__: null,
|
|
91
|
-
default: token
|
|
92
|
-
}, [tokenExports]);
|
|
93
|
-
export {
|
|
94
|
-
token$1 as t
|
|
95
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { createRequire as __wkfCreateRequire } from "node:module";
|
|
2
|
-
if (typeof require === "undefined") {
|
|
3
|
-
globalThis.require = __wkfCreateRequire(import.meta.url);
|
|
4
|
-
}
|
|
5
|
-
import { bu as getDefaultExportFromCjs, bv as requireTokenUtil } from "./app-DUP5RybL.js";
|
|
6
|
-
function _mergeNamespaces(n, m) {
|
|
7
|
-
for (var i = 0; i < m.length; i++) {
|
|
8
|
-
const e = m[i];
|
|
9
|
-
if (typeof e !== "string" && !Array.isArray(e)) {
|
|
10
|
-
for (const k in e) {
|
|
11
|
-
if (k !== "default" && !(k in n)) {
|
|
12
|
-
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
13
|
-
if (d) {
|
|
14
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: () => e[k]
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
24
|
-
}
|
|
25
|
-
var tokenUtilExports = requireTokenUtil();
|
|
26
|
-
const tokenUtil = /* @__PURE__ */ getDefaultExportFromCjs(tokenUtilExports);
|
|
27
|
-
const tokenUtil$1 = /* @__PURE__ */ _mergeNamespaces({
|
|
28
|
-
__proto__: null,
|
|
29
|
-
default: tokenUtil
|
|
30
|
-
}, [tokenUtilExports]);
|
|
31
|
-
export {
|
|
32
|
-
tokenUtil$1 as t
|
|
33
|
-
};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { createRequire as __wkfCreateRequire } from "node:module";
|
|
2
|
-
if (typeof require === "undefined") {
|
|
3
|
-
globalThis.require = __wkfCreateRequire(import.meta.url);
|
|
4
|
-
}
|
|
5
|
-
import { bm as WebSocket } from "./app-DUP5RybL.js";
|
|
6
|
-
import { bn, bo, bp, bq, br, bs, bt } from "./app-DUP5RybL.js";
|
|
7
|
-
import "node:stream";
|
|
8
|
-
import "stream";
|
|
9
|
-
import "util";
|
|
10
|
-
import "crypto";
|
|
11
|
-
import "async_hooks";
|
|
12
|
-
import "node:crypto";
|
|
13
|
-
import "node:util";
|
|
14
|
-
import "node:async_hooks";
|
|
15
|
-
import "node:module";
|
|
16
|
-
import "node:url";
|
|
17
|
-
import "node:fs";
|
|
18
|
-
import "node:fs/promises";
|
|
19
|
-
import "node:path";
|
|
20
|
-
import "node:os";
|
|
21
|
-
import "node:child_process";
|
|
22
|
-
import "path";
|
|
23
|
-
import "fs";
|
|
24
|
-
import "constants";
|
|
25
|
-
import "assert";
|
|
26
|
-
import "events";
|
|
27
|
-
import "node:timers/promises";
|
|
28
|
-
import "node:buffer";
|
|
29
|
-
import "node:http";
|
|
30
|
-
import "node:https";
|
|
31
|
-
import "node:zlib";
|
|
32
|
-
import "node:assert";
|
|
33
|
-
import "node:net";
|
|
34
|
-
import "node:querystring";
|
|
35
|
-
import "node:events";
|
|
36
|
-
import "node:diagnostics_channel";
|
|
37
|
-
import "node:tls";
|
|
38
|
-
import "node:perf_hooks";
|
|
39
|
-
import "node:util/types";
|
|
40
|
-
import "node:sqlite";
|
|
41
|
-
import "node:worker_threads";
|
|
42
|
-
import "node:console";
|
|
43
|
-
import "node:timers";
|
|
44
|
-
import "node:dns";
|
|
45
|
-
import "os";
|
|
46
|
-
import "module";
|
|
47
|
-
import "assert/strict";
|
|
48
|
-
import "net";
|
|
49
|
-
import "node:assert/strict";
|
|
50
|
-
import "https";
|
|
51
|
-
import "http";
|
|
52
|
-
import "tls";
|
|
53
|
-
import "url";
|
|
54
|
-
import "zlib";
|
|
55
|
-
import "buffer";
|
|
56
|
-
import "node:process";
|
|
57
|
-
export {
|
|
58
|
-
bn as PerMessageDeflate,
|
|
59
|
-
bo as Receiver,
|
|
60
|
-
bp as Sender,
|
|
61
|
-
WebSocket,
|
|
62
|
-
bq as WebSocketServer,
|
|
63
|
-
br as createWebSocketStream,
|
|
64
|
-
WebSocket as default,
|
|
65
|
-
bs as extension,
|
|
66
|
-
bt as subprotocol
|
|
67
|
-
};
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { createRequire as __wkfCreateRequire } from "node:module";
|
|
2
|
-
if (typeof require === "undefined") {
|
|
3
|
-
globalThis.require = __wkfCreateRequire(import.meta.url);
|
|
4
|
-
}
|
|
5
|
-
import { bl as registerZstdDecoder } from "./app-DUP5RybL.js";
|
|
6
|
-
import "node:stream";
|
|
7
|
-
import "stream";
|
|
8
|
-
import "util";
|
|
9
|
-
import "crypto";
|
|
10
|
-
import "async_hooks";
|
|
11
|
-
import "node:crypto";
|
|
12
|
-
import "node:util";
|
|
13
|
-
import "node:async_hooks";
|
|
14
|
-
import "node:module";
|
|
15
|
-
import "node:url";
|
|
16
|
-
import "node:fs";
|
|
17
|
-
import "node:fs/promises";
|
|
18
|
-
import "node:path";
|
|
19
|
-
import "node:os";
|
|
20
|
-
import "node:child_process";
|
|
21
|
-
import "path";
|
|
22
|
-
import "fs";
|
|
23
|
-
import "constants";
|
|
24
|
-
import "assert";
|
|
25
|
-
import "events";
|
|
26
|
-
import "node:timers/promises";
|
|
27
|
-
import "node:buffer";
|
|
28
|
-
import "node:http";
|
|
29
|
-
import "node:https";
|
|
30
|
-
import "node:zlib";
|
|
31
|
-
import "node:assert";
|
|
32
|
-
import "node:net";
|
|
33
|
-
import "node:querystring";
|
|
34
|
-
import "node:events";
|
|
35
|
-
import "node:diagnostics_channel";
|
|
36
|
-
import "node:tls";
|
|
37
|
-
import "node:perf_hooks";
|
|
38
|
-
import "node:util/types";
|
|
39
|
-
import "node:sqlite";
|
|
40
|
-
import "node:worker_threads";
|
|
41
|
-
import "node:console";
|
|
42
|
-
import "node:timers";
|
|
43
|
-
import "node:dns";
|
|
44
|
-
import "os";
|
|
45
|
-
import "module";
|
|
46
|
-
import "assert/strict";
|
|
47
|
-
import "net";
|
|
48
|
-
import "node:assert/strict";
|
|
49
|
-
import "https";
|
|
50
|
-
import "http";
|
|
51
|
-
import "tls";
|
|
52
|
-
import "url";
|
|
53
|
-
import "zlib";
|
|
54
|
-
import "buffer";
|
|
55
|
-
import "node:process";
|
|
56
|
-
let registered = false;
|
|
57
|
-
let modulePromise;
|
|
58
|
-
function loadWasmModule() {
|
|
59
|
-
if (!modulePromise) {
|
|
60
|
-
const url = new URL("@tootallnate/zstd-wasm/zstd.wasm", import.meta.url);
|
|
61
|
-
modulePromise = fetch(url).then((res) => res.arrayBuffer()).then((bytes) => WebAssembly.compile(bytes));
|
|
62
|
-
}
|
|
63
|
-
return modulePromise;
|
|
64
|
-
}
|
|
65
|
-
function ensureZstdDecoderRegistered() {
|
|
66
|
-
if (registered)
|
|
67
|
-
return;
|
|
68
|
-
registered = true;
|
|
69
|
-
registerZstdDecoder(async (payload) => {
|
|
70
|
-
const { decompressBytes } = await import("./index-BfLBLRRi.js");
|
|
71
|
-
const wasmModule = await loadWasmModule();
|
|
72
|
-
return decompressBytes(wasmModule, payload);
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
export {
|
|
76
|
-
ensureZstdDecoderRegistered
|
|
77
|
-
};
|