os: implement os.release() using uv_os_uname()
For non-Windows platforms, the happy path behavior should be identical. On Windows, uv_os_uname() attempts to use RtlGetVersion() before falling back to the deprecated GetVersionExW() that Node was previously using. PR-URL: https://github.com/nodejs/node/pull/25600 Reviewed-By:Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By:
Anna Henningsen <anna@addaleax.net> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
parent
907ff0a4
Please register or sign in to comment