summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Ihrig <cjihrig@gmail.com>2022-10-27 16:56:06 -0400
committerGitHub <noreply@github.com>2022-10-27 16:56:06 -0400
commit1376c6932f6357a38fa3d3d0f134951f3890964a (patch)
treefb5461d65de228f4024d07e26af800821c276430
parentc27942fee475a9220e2005a99455b6a77c73810e (diff)
fix: finish stabilizing Deno.osRelease() (#16447)
Fixes: https://github.com/denoland/deno/issues/16446
-rw-r--r--cli/diagnostics.rs1
-rw-r--r--runtime/js/90_deno_ns.js2
2 files changed, 1 insertions, 2 deletions
diff --git a/cli/diagnostics.rs b/cli/diagnostics.rs
index 7c27b62e5..88a92a1a8 100644
--- a/cli/diagnostics.rs
+++ b/cli/diagnostics.rs
@@ -40,7 +40,6 @@ const UNSTABLE_DENO_PROPS: &[&str] = &[
"listen",
"listenDatagram",
"dlopen",
- "osRelease",
"ppid",
"removeSignalListener",
"shutdown",
diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js
index 1f949f512..69a0ad484 100644
--- a/runtime/js/90_deno_ns.js
+++ b/runtime/js/90_deno_ns.js
@@ -119,13 +119,13 @@
removeSignalListener: __bootstrap.signals.removeSignalListener,
refTimer: __bootstrap.timers.refTimer,
unrefTimer: __bootstrap.timers.unrefTimer,
+ osRelease: __bootstrap.os.osRelease,
hostname: __bootstrap.os.hostname,
consoleSize: __bootstrap.tty.consoleSize,
};
__bootstrap.denoNsUnstable = {
DiagnosticCategory: __bootstrap.diagnostics.DiagnosticCategory,
- osRelease: __bootstrap.os.osRelease,
systemMemoryInfo: __bootstrap.os.systemMemoryInfo,
networkInterfaces: __bootstrap.os.networkInterfaces,
gid: __bootstrap.os.gid,