1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

fix: finish stabilizing Deno.osRelease() (#16447)

Fixes: https://github.com/denoland/deno/issues/16446
This commit is contained in:
Colin Ihrig 2022-10-27 16:56:06 -04:00 committed by GitHub
parent c27942fee4
commit 1376c6932f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -40,7 +40,6 @@ const UNSTABLE_DENO_PROPS: &[&str] = &[
"listen", "listen",
"listenDatagram", "listenDatagram",
"dlopen", "dlopen",
"osRelease",
"ppid", "ppid",
"removeSignalListener", "removeSignalListener",
"shutdown", "shutdown",

View file

@ -119,13 +119,13 @@
removeSignalListener: __bootstrap.signals.removeSignalListener, removeSignalListener: __bootstrap.signals.removeSignalListener,
refTimer: __bootstrap.timers.refTimer, refTimer: __bootstrap.timers.refTimer,
unrefTimer: __bootstrap.timers.unrefTimer, unrefTimer: __bootstrap.timers.unrefTimer,
osRelease: __bootstrap.os.osRelease,
hostname: __bootstrap.os.hostname, hostname: __bootstrap.os.hostname,
consoleSize: __bootstrap.tty.consoleSize, consoleSize: __bootstrap.tty.consoleSize,
}; };
__bootstrap.denoNsUnstable = { __bootstrap.denoNsUnstable = {
DiagnosticCategory: __bootstrap.diagnostics.DiagnosticCategory, DiagnosticCategory: __bootstrap.diagnostics.DiagnosticCategory,
osRelease: __bootstrap.os.osRelease,
systemMemoryInfo: __bootstrap.os.systemMemoryInfo, systemMemoryInfo: __bootstrap.os.systemMemoryInfo,
networkInterfaces: __bootstrap.os.networkInterfaces, networkInterfaces: __bootstrap.os.networkInterfaces,
gid: __bootstrap.os.gid, gid: __bootstrap.os.gid,