Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Canceled after 0s
29 lines
875 B
Plaintext
29 lines
875 B
Plaintext
import { n as preloadSchemas } from "./src-Cqbh3MYc.mjs";
|
|
import { t as CfWorkerJsonSchemaValidator } from "./cfWorkerProvider-p3WaZPqB.mjs";
|
|
|
|
//#region src/shimsWorkerd.ts
|
|
/**
|
|
* Cloudflare Workers runtime shims for server package
|
|
*
|
|
* This file is selected via package.json export conditions when running in workerd.
|
|
*/
|
|
preloadSchemas();
|
|
/**
|
|
* Stub process object for non-Node.js environments.
|
|
* StdioServerTransport is not supported in Cloudflare Workers/browser environments.
|
|
*/
|
|
function notSupported() {
|
|
throw new Error("StdioServerTransport is not supported in this environment. Use StreamableHTTPServerTransport instead.");
|
|
}
|
|
const process = {
|
|
get stdin() {
|
|
return notSupported();
|
|
},
|
|
get stdout() {
|
|
return notSupported();
|
|
}
|
|
};
|
|
|
|
//#endregion
|
|
export { CfWorkerJsonSchemaValidator as DefaultJsonSchemaValidator, process };
|
|
//# sourceMappingURL=shimsWorkerd.mjs.map |