From 1376c6932f6357a38fa3d3d0f134951f3890964a Mon Sep 17 00:00:00 2001 From: Colin Ihrig Date: Thu, 27 Oct 2022 16:56:06 -0400 Subject: fix: finish stabilizing Deno.osRelease() (#16447) Fixes: https://github.com/denoland/deno/issues/16446 --- cli/diagnostics.rs | 1 - runtime/js/90_deno_ns.js | 2 +- 2 files changed, 1 insertion(+), 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, -- cgit v1.2.3