diff --git a/VERSION b/VERSION index 120f53215..35864a97f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.8.6 \ No newline at end of file +0.8.7 \ No newline at end of file diff --git a/source/ports/node_port/index.js b/source/ports/node_port/index.js index 10fcbf24e..8d690b6d8 100644 --- a/source/ports/node_port/index.js +++ b/source/ports/node_port/index.js @@ -271,6 +271,11 @@ const available_tags = new Set([...Object.values(file_extensions_to_tag), ...Obj /* Override require */ mod.prototype.require = function (name) { + /* Try to load itself */ + if (name === 'metacall') { + return module_exports; + } + // TODO: // /* Check if the module is an URL */ // try {