[next] Drop web like events (#1578)

* Use registerJSModule when available (#1573)

* Updated version to publish latest
This commit is contained in:
Andrea Giammarchi
2023-07-06 17:56:06 +02:00
committed by GitHub
parent a14e701be4
commit c6b5ce7f55
14 changed files with 40 additions and 46 deletions

View File

@@ -1,6 +1,7 @@
import { fetchPaths, stdio } from "./_utils.js";
import {
run,
getGlobal,
setGlobal,
deleteGlobal,
registerJSModule,
@@ -22,6 +23,7 @@ export default {
if (config.fetch) await fetchPaths(this, interpreter, config.fetch);
return interpreter;
},
getGlobal,
setGlobal,
deleteGlobal,
registerJSModule,