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.1.0 to 3.2.0

index.d.ts

4

index.js

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

module.exports = release => {
const windowsRelease = release => {
const version = /\d+\.\d/.exec(release || os.release());

@@ -44,1 +44,3 @@

};
module.exports = windowsRelease;
{
"name": "windows-release",
"version": "3.1.0",
"version": "3.2.0",
"description": "Get the name of a Windows version from the release number: `5.1.2600` → `XP`",

@@ -16,6 +16,7 @@ "license": "MIT",

"scripts": {
"test": "xo && ava"
"test": "xo && ava && tsd"
},
"files": [
"index.js"
"index.js",
"index.d.ts"
],

@@ -36,8 +37,9 @@ "keywords": [

"dependencies": {
"execa": "^0.10.0"
"execa": "^1.0.0"
},
"devDependencies": {
"ava": "*",
"xo": "*"
"ava": "^1.4.1",
"tsd": "^0.7.2",
"xo": "^0.24.0"
}
}
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