summaryrefslogtreecommitdiff
path: root/runtime/js
diff options
context:
space:
mode:
authorTrickyPi <33021497+TrickyPi@users.noreply.github.com>2022-09-29 18:15:35 +0800
committerGitHub <noreply@github.com>2022-09-29 12:15:35 +0200
commit37887d4a1f2a4fc10347993143a50a17495e9f53 (patch)
treea440eb89152d261f23670708c75ed19a192a4339 /runtime/js
parent16bc9b16d2d66a6a15a34d579895f293e8685a7f (diff)
fix: move Deno.hostname() from denoNsUnstable to denoNs (#16086)
Diffstat (limited to 'runtime/js')
-rw-r--r--runtime/js/90_deno_ns.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js
index 33b5d531a..3054431d6 100644
--- a/runtime/js/90_deno_ns.js
+++ b/runtime/js/90_deno_ns.js
@@ -114,13 +114,13 @@
removeSignalListener: __bootstrap.signals.removeSignalListener,
refTimer: __bootstrap.timers.refTimer,
unrefTimer: __bootstrap.timers.unrefTimer,
+ hostname: __bootstrap.os.hostname,
};
__bootstrap.denoNsUnstable = {
consoleSize: __bootstrap.tty.consoleSize,
DiagnosticCategory: __bootstrap.diagnostics.DiagnosticCategory,
loadavg: __bootstrap.os.loadavg,
- hostname: __bootstrap.os.hostname,
osRelease: __bootstrap.os.osRelease,
systemMemoryInfo: __bootstrap.os.systemMemoryInfo,
networkInterfaces: __bootstrap.os.networkInterfaces,