// Hardcoded module "node:vm" const { throwNotImplemented } = require("$shared"); const vm = $lazy("vm"); const { createContext, isContext, Script, runInNewContext, runInThisContext } = vm; function runInContext(code, context, options) { return new Script(code, options).runInContext(context); } function compileFunction() { throwNotImplemented("node:vm compileFunction"); } function measureMemory() { throwNotImplemented("node:vm measureMemory"); } class Module { constructor() { throwNotImplemented("node:vm Module"); } } class SourceTextModule { constructor() { throwNotImplemented("node:vm Module"); } } class SyntheticModule { constructor() { throwNotImplemented("node:vm Module"); } } export default { createContext, runInContext, runInNewContext, runInThisContext, isContext, compileFunction, measureMemory, Script, Module, SourceTextModule, SyntheticModule, }; alue='4-legacy'>4-legacy Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/.github/workflows (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2021-05-12[wip] Fix CI (#202)Gravatar Drew Powers 4-46/+43
2021-05-11VS Code extension (#197)Gravatar Matthew Phillips 7-20/+182
2021-05-11Fix workflows! (#198)Gravatar Nate Moore 3-2/+4
2021-05-11Add Astro.request.canonicalURL and Astro.site to global (#199)Gravatar Drew Powers 25-98/+234
2021-05-11Fix portfolio example (#196)Gravatar Drew Powers 2-3/+5
2021-05-10fix: build stuck on unhandled promise reject (#191)Gravatar Kevin (Kun) "Kassimo" Qian 2-2/+13
2021-05-10Allow default import component to be renamed based on import statement defaul...Gravatar Kevin (Kun) "Kassimo" Qian 3-8/+30
2021-05-08Add more docs on styling (#186)Gravatar Drew Powers 1-3/+321
2021-05-08Fix running the extension (#181)Gravatar Matthew Phillips 5-11/+37