summaryrefslogtreecommitdiff
path: root/runtime/js/90_deno_ns.js
diff options
context:
space:
mode:
authorRodney van den Velden <rodneymichael2002@gmail.com>2022-01-09 23:42:14 +0100
committerGitHub <noreply@github.com>2022-01-09 23:42:14 +0100
commitc487b7ed54a36edcf324005a6ff6e76663544e06 (patch)
treeaedba39a381f1cfc7b98a83e80b12fd149921c8d /runtime/js/90_deno_ns.js
parentbd53567acf7d7bb28e51c0137054c5a9d9e19bf1 (diff)
fix: expose "Deno.memoryUsage()" in worker context (#13293)
Diffstat (limited to 'runtime/js/90_deno_ns.js')
-rw-r--r--runtime/js/90_deno_ns.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js
index b19f6d575..f7f518427 100644
--- a/runtime/js/90_deno_ns.js
+++ b/runtime/js/90_deno_ns.js
@@ -29,6 +29,7 @@
makeTempDir: __bootstrap.fs.makeTempDir,
makeTempFileSync: __bootstrap.fs.makeTempFileSync,
makeTempFile: __bootstrap.fs.makeTempFile,
+ memoryUsage: core.memoryUsage,
mkdirSync: __bootstrap.fs.mkdirSync,
mkdir: __bootstrap.fs.mkdir,
chdir: __bootstrap.fs.chdir,