From 8c9d615c45acf15534ac880902a4c1ddec142ab1 Mon Sep 17 00:00:00 2001 From: Vicente Eduardo Ferrer Garcia Date: Wed, 18 Dec 2024 02:22:34 +0100 Subject: [PATCH] Version v0.8.7. --- VERSION | 2 +- source/ports/node_port/index.js | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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 {