From 37340e23865b17b1466a7e32997b0add96dd3806 Mon Sep 17 00:00:00 2001 From: Colin Ihrig Date: Wed, 26 Oct 2022 16:37:48 -0400 Subject: chore(unstable): rename Deno.getUid() and Deno.getGid() (#16432) This commit renames `Deno.getUid()` to `Deno.uid()` and renames `Deno.getGid()` to `Deno.gid()`. --- 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 00d343f74..1f949f512 100644 --- a/runtime/js/90_deno_ns.js +++ b/runtime/js/90_deno_ns.js @@ -128,8 +128,8 @@ osRelease: __bootstrap.os.osRelease, systemMemoryInfo: __bootstrap.os.systemMemoryInfo, networkInterfaces: __bootstrap.os.networkInterfaces, - getGid: __bootstrap.os.getGid, - getUid: __bootstrap.os.getUid, + gid: __bootstrap.os.gid, + uid: __bootstrap.os.uid, listenDatagram: __bootstrap.net.listenDatagram, umask: __bootstrap.fs.umask, HttpClient: __bootstrap.fetch.HttpClient, -- cgit v1.2.3