Socket
Socket
Sign inDemoInstall

windows-release

Package Overview
Dependencies
20
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.3.1 to 3.3.2

2

index.js

@@ -38,3 +38,3 @@ 'use strict';

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

@@ -41,0 +41,0 @@ }

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

@@ -14,3 +14,3 @@ "license": "MIT",

"engines": {
"node": ">=6"
"node": ">=10"
},

@@ -38,9 +38,9 @@ "scripts": {

"dependencies": {
"execa": "^1.0.0"
"execa": "^4.0.2"
},
"devDependencies": {
"ava": "^1.4.1",
"tsd": "^0.7.2",
"xo": "^0.24.0"
"ava": "^2.4.0",
"tsd": "^0.13.1",
"xo": "^0.33.0"
}
}

@@ -1,2 +0,2 @@

# windows-release [![Build Status](https://travis-ci.org/sindresorhus/windows-release.svg?branch=master)](https://travis-ci.org/sindresorhus/windows-release)
# windows-release [![Build Status](https://travis-ci.com/sindresorhus/windows-release.svg?branch=master)](https://travis-ci.com/github/sindresorhus/windows-release)

@@ -3,0 +3,0 @@ > Get the name of a Windows version from the release number: `5.1.2600` → `XP`

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