From 875ac73f1e8459ecec3d0d7b275546740bfe007e Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Mon, 12 Apr 2021 17:27:38 +0800 Subject: feat(runtime): stabilize Deno.fstat and Deno.fstatSync (#10108) This commit stabilizes Deno.fstat and Deno.fstatSync which are well known system calls and have a stable interface. --- 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 3c13489c7..f563a20fe 100644 --- a/runtime/js/90_deno_ns.js +++ b/runtime/js/90_deno_ns.js @@ -86,6 +86,8 @@ connectTls: __bootstrap.tls.connectTls, listenTls: __bootstrap.tls.listenTls, sleepSync: __bootstrap.timers.sleepSync, + fstatSync: __bootstrap.fs.fstatSync, + fstat: __bootstrap.fs.fstat, fsyncSync: __bootstrap.fs.fsyncSync, fsync: __bootstrap.fs.fsync, fdatasyncSync: __bootstrap.fs.fdatasyncSync, @@ -124,8 +126,6 @@ listenDatagram: __bootstrap.netUnstable.listenDatagram, serveHttp: __bootstrap.http.serveHttp, startTls: __bootstrap.tls.startTls, - fstatSync: __bootstrap.fs.fstatSync, - fstat: __bootstrap.fs.fstat, umask: __bootstrap.fs.umask, futime: __bootstrap.fs.futime, futimeSync: __bootstrap.fs.futimeSync, -- cgit v1.2.3