summaryrefslogtreecommitdiff
path: root/runtime/js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js')
-rw-r--r--runtime/js/30_os.js12
-rw-r--r--runtime/js/90_deno_ns.js4
2 files changed, 8 insertions, 8 deletions
diff --git a/runtime/js/30_os.js b/runtime/js/30_os.js
index 4fa71fa83..723b52132 100644
--- a/runtime/js/30_os.js
+++ b/runtime/js/30_os.js
@@ -33,12 +33,12 @@
return ops.op_network_interfaces();
}
- function getGid() {
- return ops.op_getgid();
+ function gid() {
+ return ops.op_gid();
}
- function getUid() {
- return ops.op_getuid();
+ function uid() {
+ return ops.op_uid();
}
// This is an internal only method used by the test harness to override the
@@ -101,13 +101,13 @@
env,
execPath,
exit,
- getGid,
- getUid,
+ gid,
hostname,
loadavg,
networkInterfaces,
osRelease,
setExitHandler,
systemMemoryInfo,
+ uid,
};
})(this);
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,