ship 1.4.32:Arcrun@eebb691

This commit is contained in:
ship
2026-08-10 14:25:55 +00:00
parent 595a7c607e
commit c698ad4e41
8 changed files with 34467 additions and 484 deletions
+36 -36
View File
@@ -13,10 +13,10 @@ var __export = (target, all) => {
__defProp(target, name, { get: all[name], enumerable: true });
};
// ../../matrix/arcrun/registry/components/code/node_modules/@jitl/quickjs-ffi-types/dist/index.mjs
// ../arcrun/registry/components/code/node_modules/@jitl/quickjs-ffi-types/dist/index.mjs
var EvalFlags, IntrinsicsFlags, JSPromiseStateEnum, GetOwnPropertyNamesFlags, IsEqualOp;
var init_dist = __esm({
"../../matrix/arcrun/registry/components/code/node_modules/@jitl/quickjs-ffi-types/dist/index.mjs"() {
"../arcrun/registry/components/code/node_modules/@jitl/quickjs-ffi-types/dist/index.mjs"() {
EvalFlags = { JS_EVAL_TYPE_GLOBAL: 0, JS_EVAL_TYPE_MODULE: 1, JS_EVAL_TYPE_DIRECT: 2, JS_EVAL_TYPE_INDIRECT: 3, JS_EVAL_TYPE_MASK: 3, JS_EVAL_FLAG_STRICT: 8, JS_EVAL_FLAG_STRIP: 16, JS_EVAL_FLAG_COMPILE_ONLY: 32, JS_EVAL_FLAG_BACKTRACE_BARRIER: 64 };
IntrinsicsFlags = { BaseObjects: 1, Date: 2, Eval: 4, StringNormalize: 8, RegExp: 16, RegExpCompiler: 32, JSON: 64, Proxy: 128, MapSet: 256, TypedArrays: 512, Promise: 1024, BigInt: 2048, BigFloat: 4096, BigDecimal: 8192, OperatorOverloading: 16384, BignumExt: 32768 };
JSPromiseStateEnum = { Pending: 0, Fulfilled: 1, Rejected: 2 };
@@ -25,7 +25,7 @@ var init_dist = __esm({
}
});
// ../../matrix/arcrun/registry/components/code/node_modules/quickjs-emscripten-core/dist/chunk-JTKJZQYV.mjs
// ../arcrun/registry/components/code/node_modules/quickjs-emscripten-core/dist/chunk-JTKJZQYV.mjs
function debugLog(...args) {
QTS_DEBUG && console.log("quickjs-emscripten:", ...args);
}
@@ -109,7 +109,7 @@ function applyModuleEvalRuntimeOptions(runtime, options) {
}
var __defProp2, __export2, QTS_DEBUG, errors_exports, QuickJSUnwrapError, QuickJSWrongOwner, QuickJSUseAfterFree, QuickJSNotImplemented, QuickJSAsyncifyError, QuickJSAsyncifySuspended, QuickJSMemoryLeakDetected, QuickJSEmscriptenModuleError, QuickJSUnknownIntrinsic, QuickJSPromisePending, QuickJSEmptyGetOwnPropertyNames, AwaitYield, UsingDisposable, SymbolDispose, prototypeAsAny, Lifetime, StaticLifetime, WeakLifetime, Scope, AbstractDisposableResult, DisposableSuccess, DisposableFail, DisposableResult, QuickJSDeferredPromise, ModuleMemory, DefaultIntrinsics, QuickJSIterator, ContextMemory, QuickJSContext, QuickJSRuntime, QuickJSEmscriptenModuleCallbacks, QuickJSModuleCallbacks, QuickJSWASMModule;
var init_chunk_JTKJZQYV = __esm({
"../../matrix/arcrun/registry/components/code/node_modules/quickjs-emscripten-core/dist/chunk-JTKJZQYV.mjs"() {
"../arcrun/registry/components/code/node_modules/quickjs-emscripten-core/dist/chunk-JTKJZQYV.mjs"() {
init_dist();
init_dist();
__defProp2 = Object.defineProperty;
@@ -1041,7 +1041,7 @@ Attempted to suspend at:`);
}
});
// ../../matrix/arcrun/registry/components/code/node_modules/quickjs-emscripten-core/dist/module-6F3E5H7Y.mjs
// ../arcrun/registry/components/code/node_modules/quickjs-emscripten-core/dist/module-6F3E5H7Y.mjs
var module_6F3E5H7Y_exports = {};
__export(module_6F3E5H7Y_exports, {
QuickJSModuleCallbacks: () => QuickJSModuleCallbacks,
@@ -1050,19 +1050,19 @@ __export(module_6F3E5H7Y_exports, {
applyModuleEvalRuntimeOptions: () => applyModuleEvalRuntimeOptions
});
var init_module_6F3E5H7Y = __esm({
"../../matrix/arcrun/registry/components/code/node_modules/quickjs-emscripten-core/dist/module-6F3E5H7Y.mjs"() {
"../arcrun/registry/components/code/node_modules/quickjs-emscripten-core/dist/module-6F3E5H7Y.mjs"() {
init_chunk_JTKJZQYV();
}
});
// ../../matrix/arcrun/registry/components/code/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs
// ../arcrun/registry/components/code/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs
var ffi_exports = {};
__export(ffi_exports, {
QuickJSFFI: () => QuickJSFFI
});
var QuickJSFFI;
var init_ffi = __esm({
"../../matrix/arcrun/registry/components/code/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs"() {
"../arcrun/registry/components/code/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs"() {
QuickJSFFI = class {
constructor(module) {
this.module = module;
@@ -1140,7 +1140,7 @@ var init_ffi = __esm({
}
});
// ../../matrix/arcrun/registry/components/code/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.browser.mjs
// ../arcrun/registry/components/code/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.browser.mjs
var emscripten_module_browser_exports = {};
__export(emscripten_module_browser_exports, {
default: () => emscripten_module_browser_default
@@ -1587,12 +1587,12 @@ async function QuickJSRaw(moduleArg = {}) {
}
var emscripten_module_browser_default;
var init_emscripten_module_browser = __esm({
"../../matrix/arcrun/registry/components/code/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.browser.mjs"() {
"../arcrun/registry/components/code/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.browser.mjs"() {
emscripten_module_browser_default = QuickJSRaw;
}
});
// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/compose.js
// ../arcrun/registry/components/code/node_modules/hono/dist/compose.js
var compose = (middleware, onError, onNotFound) => {
return (context, next) => {
let index = -1;
@@ -1636,10 +1636,10 @@ var compose = (middleware, onError, onNotFound) => {
};
};
// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/request/constants.js
// ../arcrun/registry/components/code/node_modules/hono/dist/request/constants.js
var GET_MATCH_RESULT = /* @__PURE__ */ Symbol();
// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/utils/body.js
// ../arcrun/registry/components/code/node_modules/hono/dist/utils/body.js
var parseBody = async (request, options = /* @__PURE__ */ Object.create(null)) => {
const { all = false, dot = false } = options;
const headers = request instanceof HonoRequest ? request.raw.headers : request.headers;
@@ -1711,7 +1711,7 @@ var handleParsingNestedValues = (form, key, value) => {
});
};
// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/utils/url.js
// ../arcrun/registry/components/code/node_modules/hono/dist/utils/url.js
var splitPath = (path) => {
const paths = path.split("/");
if (paths[0] === "") {
@@ -1915,7 +1915,7 @@ var getQueryParams = (url, key) => {
};
var decodeURIComponent_ = decodeURIComponent;
// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/request.js
// ../arcrun/registry/components/code/node_modules/hono/dist/request.js
var tryDecodeURIComponent = (str) => tryDecode(str, decodeURIComponent_);
var HonoRequest = class {
/**
@@ -2198,7 +2198,7 @@ var HonoRequest = class {
}
};
// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/utils/html.js
// ../arcrun/registry/components/code/node_modules/hono/dist/utils/html.js
var HtmlEscapedCallbackPhase = {
Stringify: 1,
BeforeStream: 2,
@@ -2240,7 +2240,7 @@ var resolveCallback = async (str, phase, preserveCallbacks, context, buffer) =>
}
};
// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/context.js
// ../arcrun/registry/components/code/node_modules/hono/dist/context.js
var TEXT_PLAIN = "text/plain; charset=UTF-8";
var setDefaultContentType = (contentType, headers) => {
return {
@@ -2647,7 +2647,7 @@ var Context = class {
};
};
// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/router.js
// ../arcrun/registry/components/code/node_modules/hono/dist/router.js
var METHOD_NAME_ALL = "ALL";
var METHOD_NAME_ALL_LOWERCASE = "all";
var METHODS = ["get", "post", "put", "delete", "options", "patch"];
@@ -2655,10 +2655,10 @@ var MESSAGE_MATCHER_IS_ALREADY_BUILT = "Can not add a route since the matcher is
var UnsupportedPathError = class extends Error {
};
// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/utils/constants.js
// ../arcrun/registry/components/code/node_modules/hono/dist/utils/constants.js
var COMPOSED_HANDLER = "__COMPOSED_HANDLER";
// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/hono-base.js
// ../arcrun/registry/components/code/node_modules/hono/dist/hono-base.js
var notFoundHandler = (c) => {
return c.text("404 Not Found", 404);
};
@@ -3034,7 +3034,7 @@ var Hono = class _Hono {
};
};
// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/router/reg-exp-router/matcher.js
// ../arcrun/registry/components/code/node_modules/hono/dist/router/reg-exp-router/matcher.js
var emptyParam = [];
function match(method, path) {
const matchers = this.buildAllMatchers();
@@ -3055,7 +3055,7 @@ function match(method, path) {
return match2(method, path);
}
// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/router/reg-exp-router/node.js
// ../arcrun/registry/components/code/node_modules/hono/dist/router/reg-exp-router/node.js
var LABEL_REG_EXP_STR = "[^/]+";
var ONLY_WILDCARD_REG_EXP_STR = ".*";
var TAIL_WILDCARD_REG_EXP_STR = "(?:|/.*)";
@@ -3163,7 +3163,7 @@ var Node = class _Node {
}
};
// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/router/reg-exp-router/trie.js
// ../arcrun/registry/components/code/node_modules/hono/dist/router/reg-exp-router/trie.js
var Trie = class {
#context = { varIndex: 0 };
#root = new Node();
@@ -3219,7 +3219,7 @@ var Trie = class {
}
};
// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/router/reg-exp-router/router.js
// ../arcrun/registry/components/code/node_modules/hono/dist/router/reg-exp-router/router.js
var nullMatcher = [/^$/, [], /* @__PURE__ */ Object.create(null)];
var wildcardRegExpCache = /* @__PURE__ */ Object.create(null);
function buildWildcardRegExp(path) {
@@ -3398,7 +3398,7 @@ var RegExpRouter = class {
}
};
// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/router/smart-router/router.js
// ../arcrun/registry/components/code/node_modules/hono/dist/router/smart-router/router.js
var SmartRouter = class {
name = "SmartRouter";
#routers = [];
@@ -3453,7 +3453,7 @@ var SmartRouter = class {
}
};
// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/router/trie-router/node.js
// ../arcrun/registry/components/code/node_modules/hono/dist/router/trie-router/node.js
var emptyParams = /* @__PURE__ */ Object.create(null);
var hasChildren = (children) => {
for (const _ in children) {
@@ -3628,7 +3628,7 @@ var Node2 = class _Node2 {
}
};
// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/router/trie-router/router.js
// ../arcrun/registry/components/code/node_modules/hono/dist/router/trie-router/router.js
var TrieRouter = class {
name = "TrieRouter";
#node;
@@ -3650,7 +3650,7 @@ var TrieRouter = class {
}
};
// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/hono.js
// ../arcrun/registry/components/code/node_modules/hono/dist/hono.js
var Hono2 = class extends Hono {
/**
* Creates an instance of the Hono class.
@@ -3665,7 +3665,7 @@ var Hono2 = class extends Hono {
}
};
// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/middleware/cors/index.js
// ../arcrun/registry/components/code/node_modules/hono/dist/middleware/cors/index.js
var cors = (options) => {
const opts = {
origin: "*",
@@ -3747,7 +3747,7 @@ var cors = (options) => {
};
};
// ../../matrix/arcrun/registry/components/code/node_modules/quickjs-emscripten-core/dist/index.mjs
// ../arcrun/registry/components/code/node_modules/quickjs-emscripten-core/dist/index.mjs
init_chunk_JTKJZQYV();
init_dist();
async function newQuickJSWASMModuleFromVariant(variantOrPromise) {
@@ -3810,14 +3810,14 @@ function newMockExtensions(log) {
} };
}
// ../../matrix/arcrun/registry/components/code/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs
// ../arcrun/registry/components/code/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs
var variant = { type: "sync", importFFI: () => Promise.resolve().then(() => (init_ffi(), ffi_exports)).then((mod) => mod.QuickJSFFI), importModuleLoader: () => Promise.resolve().then(() => (init_emscripten_module_browser(), emscripten_module_browser_exports)).then((mod) => mod.default) };
var src_default = variant;
// ../../matrix/arcrun/registry/components/code/index.ts
// ../arcrun/registry/components/code/index.ts
import wasmModule from "./quickjs.wasm";
// ../../matrix/arcrun/registry/components/code/sandbox.mjs
// ../arcrun/registry/components/code/sandbox.mjs
var _variant = null;
function setVariant(v) {
_variant = v;
@@ -3987,7 +3987,7 @@ function err(message, error_type) {
return { success: false, error: message, error_type };
}
// ../../matrix/arcrun/registry/components/code/index.ts
// ../arcrun/registry/components/code/index.ts
setVariant(newVariant(src_default, { wasmModule }));
var app = new Hono2();
app.use("*", cors());
@@ -4012,7 +4012,7 @@ app.post("/", async (c) => {
);
}
});
var index_default = app;
var code_default = app;
export {
index_default as default
code_default as default
};