Socket
Socket
Sign inDemoInstall

windows-release

Package Overview
Dependencies
19
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.3.0 to 3.3.1

4

index.js

@@ -37,5 +37,5 @@ 'use strict';

try {
stdout = execa.sync('wmic', ['os', 'get', 'Caption']).stdout || '';
} catch (_) {
stdout = execa.sync('powershell', ['(Get-CimInstance -ClassName Win32_OperatingSystem).caption']).stdout || '';
} catch (_) {
stdout = execa.sync('wmic', ['os', 'get', 'Caption']).stdout || '';
}

@@ -42,0 +42,0 @@

{
"name": "windows-release",
"version": "3.3.0",
"version": "3.3.1",
"description": "Get the name of a Windows version from the release number: `5.1.2600` → `XP`",

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc