Skip to content

Commit 8c9d615

Browse files
committed
Version v0.8.7.
1 parent f79ddda commit 8c9d615

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.8.6
1+
0.8.7

source/ports/node_port/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,11 @@ const available_tags = new Set([...Object.values(file_extensions_to_tag), ...Obj
271271
/* Override require */
272272
mod.prototype.require = function (name) {
273273

274+
/* Try to load itself */
275+
if (name === 'metacall') {
276+
return module_exports;
277+
}
278+
274279
// TODO:
275280
// /* Check if the module is an URL */
276281
// try {

0 commit comments

Comments
 (0)