const lazy = globalThis[Symbol.for("Bun.lazy")]; if (!lazy || typeof lazy !== "function") { throw new Error("Something went wrong while loading Bun. Expected 'Bun.lazy' to be defined."); } const vm = lazy("vm"); class TODO extends Error { constructor(messageName) { const message = messageName ? `node:vm ${messageName} is not implemented yet in Bun. Track the status & thumbs up the issue: https://github.com/oven-sh/bun/issues/401` : `node:vm is not implemented yet in Bun. Track the status & thumbs up the issue: https://github.com/oven-sh/bun/issues/401`; super(message); this.name = "TODO"; } } function notimpl(message) { throw new TODO(message); } const { createContext, isContext, Script, runInNewContext, runInThisContext } = vm; function runInContext(code, context, options) { return new Script(code, options).runInContext(context); } function compileFunction() { notimpl("compileFunction"); } function measureMemory() { notimpl("measureMemory"); } const defaultObject = { createContext, runInContext, runInNewContext, runInThisContext, isContext, compileFunction, measureMemory, Script, [Symbol.for("CommonJS")]: 0, }; export { defaultObject as default, createContext, runInContext, runInNewContext, runInThisContext, isContext, compileFunction, measureMemory, Script, }; 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/templates/base.html.php (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2025-02-24Fix data-lot-id not being correctly set so use href instead (#4453)Gravatar André Andersson 1-1/+1
2025-02-14fix(github): semi-repair (#4449)Gravatar Dag 1-12/+15
2025-02-14fix(vk): semi-disable broken bridge (#4448)Gravatar Dag 1-8/+15
2025-02-08fix nn.de description and paywall filter (#4444)Gravatar Christian Schabesberger 1-2/+2
2025-02-05fix CarThrottleBridge (#4442)Gravatar Tostiman 1-3/+3