From 388274e02ea7e054f0bbbe4f863dc32447c5971d Mon Sep 17 00:00:00 2001 From: Muthu Kumar Date: Tue, 22 Jun 2021 06:33:00 +0530 Subject: fix: move stable/unstable types/APIs to their correct places (#10880) - Moved ppid and memoryUsage types from deno.unstable to deno.ns. - Moved sleepSync to unstable object, shutdown to stable object. --- runtime/js/90_deno_ns.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/js/90_deno_ns.js') diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js index f563a20fe..9d0590878 100644 --- a/runtime/js/90_deno_ns.js +++ b/runtime/js/90_deno_ns.js @@ -85,7 +85,7 @@ listen: __bootstrap.net.listen, connectTls: __bootstrap.tls.connectTls, listenTls: __bootstrap.tls.listenTls, - sleepSync: __bootstrap.timers.sleepSync, + shutdown: __bootstrap.net.shutdown, fstatSync: __bootstrap.fs.fstatSync, fstat: __bootstrap.fs.fstat, fsyncSync: __bootstrap.fs.fsyncSync, @@ -119,7 +119,7 @@ systemCpuInfo: __bootstrap.os.systemCpuInfo, applySourceMap: __bootstrap.errorStack.opApplySourceMap, formatDiagnostics: __bootstrap.errorStack.opFormatDiagnostics, - shutdown: __bootstrap.net.shutdown, + sleepSync: __bootstrap.timers.sleepSync, resolveDns: __bootstrap.net.resolveDns, listen: __bootstrap.netUnstable.listen, connect: __bootstrap.netUnstable.connect, -- cgit v1.2.3