windows-release
Advanced tools
Comparing version 3.3.1 to 3.3.2
@@ -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` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6116
+ Addedcross-spawn@7.0.5(transitive)
+ Addedexeca@4.1.0(transitive)
+ Addedget-stream@5.2.0(transitive)
+ Addedhuman-signals@1.1.1(transitive)
+ Addedis-stream@2.0.1(transitive)
+ Addedmerge-stream@2.0.0(transitive)
+ Addedmimic-fn@2.1.0(transitive)
+ Addednpm-run-path@4.0.1(transitive)
+ Addedonetime@5.1.2(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedstrip-final-newline@2.0.0(transitive)
+ Addedwhich@2.0.2(transitive)
- Removedcross-spawn@6.0.5(transitive)
- Removedexeca@1.0.0(transitive)
- Removedget-stream@4.1.0(transitive)
- Removedis-stream@1.1.0(transitive)
- Removednice-try@1.0.5(transitive)
- Removednpm-run-path@2.0.2(transitive)
- Removedp-finally@1.0.0(transitive)
- Removedpath-key@2.0.1(transitive)
- Removedsemver@5.7.2(transitive)
- Removedshebang-command@1.2.0(transitive)
- Removedshebang-regex@1.0.0(transitive)
- Removedstrip-eof@1.0.0(transitive)
- Removedwhich@1.3.1(transitive)
Updatedexeca@^4.0.2